IPB
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

QUB2PNG, Playing with Cassini VIMS cubes
ugordan
post Nov 9 2007, 12:59 AM
Post #1


Senior Member
****

Group: Members
Posts: 3652
Joined: 1-October 05
From: Croatia
Member No.: 523



I've made some progress with the IR channel on VIMS, have managed to do partial calibration of the cubes. It's still buggy, but at least it's something. Here's a couple of rough results, all using R=5um, G=2um, B=1.26um.
Attached Image


In case of Saturn the green and blue channels were scaled up to match the intense thermal radiation. The cubes were flatfielded, quantum efficiency corrected and divided by solar spectrum, though I don't know if all the steps were carried out correctly. Dark current subtraction remains to be done - it's possibly the reason why the lower left Titan insets have banding in the red channel. I'm actually pretty satisfied with the way these two turned out, they are reminiscent of official VIMS surface composites, including the "blue" material.

Hopefully I'll be able to put something out to convert cubes to PNGs before long. A better solution would be a GUI but that's the tedious part for me.


--------------------
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
ugordan
post Nov 11 2007, 12:39 AM
Post #2


Senior Member
****

Group: Members
Posts: 3652
Joined: 1-October 05
From: Croatia
Member No.: 523



Preliminary, test release of QUB2PNG which dumps the entire cube to PNG files.
It expects the following files to be located in a directory named "calib" which should be in the same directory as QUB2PNG.EXE:

vis_flatfield.qub
vis_hires_flatfield.qub
vis_lowres_dark_model.tab
vis_hires_dark_model.tab
vis_perf.qub
ir_flatfield.qub
ir_hires_flatfield.qub
ir_perf.qub
solar.qub

These calibration files can be located on every VIMS PDS DVD, for example http://pdsimg.jpl.nasa.gov/data/cassini/ca...ims_0015/calib/

At the moment there are a number of limitations to the program - it doesn't correctly work on spectrally summed cubes nor ones where either VIS or IR part of the instrument is turned off. It also doesn't yet work with IR sampling mode "UNDER" a.k.a. NYQUIST mode.

When searching the PDS you want cubes where the mode is IMAGE, not LINE or OCCULTATION.
By default, running the program with just the name of the VIMS cube it will dump the 352 wavelengths into the same folder - not a very good idea, read on.
The second parameter is a scaling factor, useful for tweaking the brightness of various targets and managing underexposure/overexposure. Note that due to significant detector quantum efficiency variation over the spectral range, raw data that was saturated at certain wavelengths doesn't necessarily appear saturated (maxed-out brightness) in the output PNG data.
The third parameter is the output directory.
An example: qub2png v1356762057_2.qub 10 output\

The resulting filenames are as follows:
v1356762057_2 - [072] 0.87863.png

Where 072 is the channel number, 0-95 is VIS channel, 96-351 is IR channel. 0.87863 is the wavelength in microns. In general you do not want to mix the VIS and IR channel data in your processings, they aren't compatible currently (different scale factors, not entirely calibrated), have slightly different boresights, FOVs and distortions depending on mode. You'll notice the last few VIS channels and the first few IR channels overlap.

VIS HI-RES mode is 3x spatial resolution of NORMAL mode on both axes, IR HI-RES mode is 2x spatial resolution in the horizontal axis while the vertical axis is the same as in NORMAL so it "squashes" the images.
VIS and IR NORMAL modes are almost identical in FOV, but the boresights are slightly shifted a pixel or two in both axes.

Looking forward to any feedback.

Attached File  QUB2PNGv01.zip ( 43.96K ) Number of downloads: 690


--------------------
Go to the top of the page
 
+Quote Post
ugordan
post Nov 11 2007, 01:02 AM
Post #3


Senior Member
****

Group: Members
Posts: 3652
Joined: 1-October 05
From: Croatia
Member No.: 523



In the meantime, a few more "results":


Airglow in Titan's atmosphere extending to huge altitudes. Note the "reddish" cloud just peeking over the limb at 1 o'clock in the surface view. Another shot of the airglow, 3.316 um is mapped to red, 3.283 um to green and 3.213 um to blue:



Jupiter with Europa (seen in natural color composite) and the green splotch in IR at the left edge is Ganymede.

Finally, a scan through the 256 IR wavelengths in a Quicktime movie, just for fun:
Attached File  titan_vims.mov ( 534.98K ) Number of downloads: 672


--------------------
Go to the top of the page
 
+Quote Post

Posts in this topic
- ugordan   QUB2PNG   Nov 9 2007, 12:59 AM
- - djellison   Ahh - congratulations - to be honest, command line...   Nov 9 2007, 07:40 AM
|- - ugordan   QUOTE (djellison @ Nov 9 2007, 08:40 AM) ...   Nov 9 2007, 08:02 AM
- - remcook   That looks very impressive! I think PDS also h...   Nov 9 2007, 10:20 AM
|- - ugordan   I'm "reverse-engineering" that softw...   Nov 9 2007, 11:33 AM
- - elakdawalla   ugordan, this is awesome. I particularly liked th...   Nov 9 2007, 06:20 PM
- - ugordan   Preliminary, test release of QUB2PNG which dumps t...   Nov 11 2007, 12:39 AM
|- - ugordan   In the meantime, a few more "results": ...   Nov 11 2007, 01:02 AM
|- - ElkGroveDan   Wow Gordan. This stuff is amazing. That atmosph...   Nov 11 2007, 03:08 AM
- - nprev   Beautiful work, Gordan; really awe-inspiring, actu...   Nov 11 2007, 02:50 PM
- - ugordan   New version is up, improved IR background subtract...   Nov 11 2007, 03:44 PM
- - nprev   Wow... ...just don't know what to say, man. T...   Nov 11 2007, 05:48 PM
- - Bjorn Jonsson   This is awesome, I'll definitely try this out ...   Nov 12 2007, 12:49 AM
|- - ugordan   QUOTE (Bjorn Jonsson @ Nov 12 2007, 01:49...   Nov 12 2007, 07:46 AM
- - remcook   I assume it would be relatively straightforward to...   Nov 14 2007, 10:08 AM
|- - ugordan   I don't have access to that paper to really kn...   Nov 14 2007, 07:42 PM
- - remcook   They used filters from ground-based telescopes, so...   Nov 15 2007, 10:58 AM
- - Bjorn Jonsson   This is slightly off-topic but has anyone been abl...   Jan 10 2008, 10:45 PM
|- - ugordan   Yeah, the TIFFs don't work for me either, it d...   Jan 10 2008, 10:59 PM
- - elakdawalla   Rest assured, ugordan, it's not lack of intere...   Jan 11 2008, 12:08 AM
|- - Bjorn Jonsson   A similar situation in my case - lack of time so o...   Jan 11 2008, 01:28 AM
|- - ugordan   Emily, I'm curious - why do you think the VIMS...   Jan 11 2008, 07:29 PM
- - djellison   >2 year old thread time warp. Version 1 and 2 ...   Jun 21 2010, 05:40 PM
|- - ugordan   Hmmm, did v3 ever work for you properly? Does it c...   Jun 21 2010, 06:43 PM
- - djellison   I don't think I ever tried V3 before today - s...   Jun 21 2010, 09:05 PM
|- - ugordan   Here's a standalone version of the tool for ...   Jul 4 2010, 04:51 PM
- - djellison   RESULT http://twitpic.com/23vggd   Jul 10 2010, 05:42 AM
|- - mhoward   QUOTE (djellison @ Jul 9 2010, 10:42 PM) ...   Jul 10 2010, 02:26 PM
- - machi   My first larger work with VIMS spectral qubes. Tha...   Apr 28 2011, 09:54 AM
|- - ugordan   Nice! I do have one question, though - if that...   Apr 28 2011, 09:52 PM
- - machi   I suppose, that it's southern hemisphere, beca...   Apr 29 2011, 09:36 AM


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 16th December 2024 - 08:54 AM
RULES AND GUIDELINES
Please read the Forum Rules and Guidelines before posting.

IMAGE COPYRIGHT
Images posted on UnmannedSpaceflight.com may be copyrighted. Do not reproduce without permission. Read here for further information on space images and copyright.

OPINIONS AND MODERATION
Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators.
SUPPORT THE FORUM
Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member.