View 10GB .bin picture (in Matlab?)

In summary, the NASA Blue Marble topografical image of Earth (2.4GB when I downloaded it, I decompressed and... wtf, 10GB+), when imported into Matlab, went 'hahaha, you seriously think this comp has enough memory?' or something (512 RAM, plenty of HD space).
  • #1
Antimatter
26
0
So I downloaded a NASA Blue Marble topografical image of Earth (2.4GB when I downed it, I decompressed and... wtf, 10GB+). Now I have no idea how to view the resulting .bin picture. I tried to somehow import the data to Matlab, because I heard that program can somehow do the trick, but it went 'hahaha, you seriously think this comp has enough memory?' or something (512 RAM, plenty of HD space).
Searched the net for hours, still nothing.
Maybe one of you has experience in the matter. Thx already for eventual replies.
 
Physics news on Phys.org
  • #2
This might help : http://digg.com/technology/NASA_embraces_bittorrent_-_download_a_2.9GB_(single)_picture_today_

Specifically this bit :

Ok. I finished downloading it and am in the process of extracting it from the gzip file.

Man. How am I supposed to open a .bin file as an image?
[reply]
by noonebutme on 1/27/06
+ 0 diggs
To view the file, open Photoshop CS2 (Older versions won't work) and hit ctrl + shift + alt + o and open it as a Photoshop Raw image. Use the default settings and it'll open eventually.
 
Last edited by a moderator:
  • #3
If you don't have PS, you can always try the GIMP, according to the File Menu it can open raw files too.

The GIMP is a free download.
 
  • #4
I may come out as a fool here and forgive me for being so very ignorant, but am I reading this correctly - a 2.4 GB picture file? What format is this file in? And what resolution? PS I don't know a anything about MATLAB (u must have probably guessed that by now)
 
  • #5
Thank you for your efforts, none of the proposed solutions seemed to do it, I'm affraid.
My search has lead me to some amazing software, NASA World Wind (check it out at www.worldwindcentral.com ), it's kinda like Google Earth, but you can download serious cache packs for offline availability. And the plugins are yummie (like they have data for other planets and stuff, or you can have links to the CIA fact files from every country pop up, too much to mention).

Indeed man, a 2.4GB picture (.gz compressed, I understand that to be some super-zip or something) decompressed it is 86400 (pixels longitude) x 43200 (pxls lat.) x 24 bit colour depth amounting to over 10GB providing a picture of the world with just under 500m resolution. To get it, do a search for NASA Blue Marble, I suspect that will lead you the way.

Still no luck viewing it :frown:
 
  • #6
.bin is an executable file, from what I know. Gotta ./ it
 
  • #7
.bin is a image file (CD DVD images that is) also...
 
  • #8
That's right too, but doesn't image .bin need also another file .cue to work?
 
  • #9
AFAIK no it doesnt, the cue will tell you where the tracks are on a CD for example but if it is just data u don't need it, the .bin holds the data the .cue contains track layout info
 
  • #10
I tried it a while ago, mounted it as a virtual disc (with deamon tools) (had to convert it to some other format first, that went ok). But when I clicked the drive... 'format not supported'
I'll try renaming it to .exe (or ./ lol) but I'm not getting my hopes up with that, as it has a filesize that matches the # of pixels x colour depth, matches it to the byte; so I'm guessing it's raw data, with nothing else.
I'd better wait a couple of years, till they have computers (that I can afford) with 16GB of RAM.
 
  • #11
by ./ I meant you got to execute it, either by linux emulator or on any linux/or like systems.

Antimatter, can you please post a links of a website with that file you've downloaded? I think that'd do half a job.
 
  • #12
http://veimages.gsfc.nasa.gov//7100/world.topo.bathy.200401.3x21600x21600.panels.png.tar.torrent

BitTorrent Feed
~ 5 hr, with broadband
~ 104 hr, via 56k modem
 
Last edited by a moderator:

1. How can I open a 10GB .bin picture in Matlab?

To open a 10GB .bin picture in Matlab, you can use the "fopen" function to create a file identifier and then use the "fread" function to read the binary data into a variable. You can then use this variable to manipulate and view the picture.

2. Why is my computer running slow when trying to view a 10GB .bin picture in Matlab?

Viewing a 10GB .bin picture in Matlab can require a lot of memory and processing power, which can slow down your computer. It is recommended to have a computer with a large amount of RAM and a fast processor when working with large files in Matlab.

3. Can I compress a 10GB .bin picture in Matlab?

Yes, you can use the "imwrite" function in Matlab to compress a 10GB .bin picture. This function allows you to specify the desired compression method and quality level for the image.

4. How can I edit a specific section of a 10GB .bin picture in Matlab?

To edit a specific section of a 10GB .bin picture in Matlab, you can use the "fseek" function to move the file pointer to the desired location and then use the "fwrite" function to write the new data to that location. You can also use the "fread" function to read the data at that location and make changes to it before writing it back to the file.

5. Is it possible to view a 10GB .bin picture in Matlab without loading the entire file into memory?

Yes, you can use the "memmapfile" function in Matlab to create a memory-mapped file object that allows you to access and manipulate the data in the .bin picture without loading it all into memory. This can be useful for working with large files that cannot fit in memory.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
3K
Back
Top