Printable Version of Topic

Click here to view this topic in its original format

Unmanned Spaceflight.com _ Phoenix _ Manipulating Phoenix RDR images

Posted by: elakdawalla Mar 24 2009, 01:03 AM

In anticipation of writing about the "droplets on the legs" story I wanted to go play with the calibrated RAC images of Holy Cow. But the RDRs are 32-bit images, and I'm not sure how to open them. NASAView can at least open and display them, but it applies an automatic contrast stretch (I think) and only permits output as 8-bit GIFs or JPEGs. In an ideal world I'd like to be able to convert them all to 16-bit images in any format that Photoshop can read, using a common conversion from 32 to 16 bits -- does anybody have any advice?

http://pds-imaging.jpl.nasa.gov/data/phoenix/phxsci_0xxx/data/rac/sol005/rs005rad896663219_11730mdr1.img (the first, from sol 5). Text header is at the beginning of the file. I would be quite happy to track down and provide all the .IMG files for the Holy Cow images that have been released to date to anyone who wants to play with them.

--Emily

Posted by: ugordan Mar 24 2009, 05:20 PM

How many images do you need converted? If it's not too many I could do it manually, rather than releasing this 15-minute hack job of QUB2PNG I just did. Here's the sample 16 bit PNG:


Posted by: elakdawalla Mar 24 2009, 05:35 PM

I found 19 images of spotty struts in the PDS, but the money shots seem to be these three:

http://pds-imaging.jpl.nasa.gov/data/phoenix/phxsci_0xxx/data/rac/sol008/rs008rad896930338_11856mdr1.img
http://pds-imaging.jpl.nasa.gov/data/phoenix/phxsci_0xxx/data/rac/sol031/rs031rad898970546_13820mdr1.img
http://pds-imaging.jpl.nasa.gov/data/phoenix/phxsci_0xxx/data/rac/sol044/rs044rad900125912_14de0mdr1.img

Thanks for your help. I think I could probably use GIMP to do this but I really need to learn how to use GIMP to manipulate 8- and 16-bit images (which I haven't done yet) before I start mucking about with 32-bit ones.

--Emily

Posted by: ugordan Mar 24 2009, 05:41 PM

Here they are. Note the calibrated output uses physical units (I *think*) so it's impossible for me to find a scaling factor that stretches saturated pixels to white. These are scaled the same amount as the one above.




Posted by: elakdawalla Mar 24 2009, 05:48 PM

Lovely, thank you, I feel much better about staring at these pixels than I do with the NASAView -> GIF versions.

In the end though I just don't know what to make of the images. The Renno abstract uses the phrase "smoking gun" three times. I don't see anything wrong with his arguments but I just don't feel comfortable agreeing with the statement "we see liquids on Mars right now!" based upon images of "drops" that are only a few pixels across. Guess they're the experts though.

--Emily

Posted by: siravan Mar 25 2009, 02:27 AM

I just wrote a small utility file to convert 32 bits IMG files to 16 bits FITS format. I cannot upload it to the forum (it is an EXE file), but I can email it (or the C code) to anyone who is interested.[attachment=17662:test.png][attachment=17662:test.png]

 

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)