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

Welcome Guest ( Log In | Register )

Calibrating And Processing Pds Cassini Images
Bjorn Jonsson
post Jul 30 2005, 09:30 PM
Post #1


IMG to PNG GOD
****

Group: Moderator
Posts: 2257
Joined: 19-February 04
From: Near fire and ice
Member No.: 38



This may be a bit specialized to say the least but if anyone can help I'd be grateful. I have now downloaded most of the raw Cassini images from the PDS imaging node plus the coiss_0011 volume from the PDS rings node. Volume coiss_0011 contains calibration stuff like flatfields, masks for removing dust rings and mottling etc.

I have been implementing calibration code which will eventually be added to my IMG2PNG utility, assuming there is interest in this. This utility is mentioned in this thread: http://www.unmannedspaceflight.com/index.p...wtopic=291&st=0 .

My code has been largely based on the CISSCAL source code on volume coiss_0011 but cleaned up a bit and rewritten using C++. This has been very successful despite a wide variety of rather arcane data formats on the coiss_0011 volume (bigendians, littleendians, IEEE and VAX floating point numbers, a weird TIFF file containing floating point data etc.). For example, flatfielding, linearization etc. works very well and in particular, for images of low contrast targets like Saturn and Titan makes a big difference if the images are to be greatly sharpened (no mottling or dustrings).

There is one problem though: Darkcurrent subtraction. This is a problem, the CISSCAL code for this is somewhat complex and may contain some bugs - what it does is to generate 'synthetic' darkcurrent images based on a model taking various factors into account. These 'synthetic' darkcurrent images get written to disk so each of them only has to be generated once. If anyone has 'sample' synthetic darkcurrent images I would greatly appreciate if at least one of these could be emailed to me wink.gif since without this it is almost impossible for me to know if the images my code is generating are correct.

These images should (assuming my code is correct !) have names like \calib\darkcurrent\darks04228\n_dark027102410100_04228.img where '\calib' is in my case the calib-directory on the coiss_0011 DVD volume (which is lying on my hard disk).

Bjorn
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
volcanopele
post Nov 14 2005, 09:32 PM
Post #2


Senior Member
****

Group: Moderator
Posts: 3242
Joined: 11-February 04
From: Tucson, AZ
Member No.: 23



Sounds like some of you are joining me in the hell that is calibrating Titan images. The only thing I can tell you is that you will need a secondary flatfield file. The flatfield file that comes with the PDS delivery is not sufficient. In this delivery, and in PDS deliveries to come, look for bland CB3 images with similar camera settings (gain state, exposure time. etc.) as the images you want to flatfield, and sum those to get a secondary flatfield file.


--------------------
&@^^!% Jim! I'm a geologist, not a physicist!
The Gish Bar Times - A Blog all about Jupiter's Moon Io
Go to the top of the page
 
+Quote Post
ugordan
post Nov 19 2005, 04:05 PM
Post #3


Senior Member
****

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



Bjorn: concerning the way your app does shutter offset treatment, I'm personally confused with the way cisscal handles this and the 1 ms it adds to the overall offset slope. I don't understand whether the actual exposure is (exp+offset[sample_number]) or (exp-offset[]) and whether we're supposed to add or subtract a fixed value from the offset file.
It's not so much of a point for NAC, but for WAC, which tends to use very short exposures (only a few ms) for the R/G/B filters, the different approaches produce dramatically different results.


--------------------
Go to the top of the page
 
+Quote Post
Bjorn Jonsson
post Nov 21 2005, 09:28 PM
Post #4


IMG to PNG GOD
****

Group: Moderator
Posts: 2257
Joined: 19-February 04
From: Near fire and ice
Member No.: 38



The true exposure is commanded_exposure-offset[sample_number]-1.0.

The 1.0 constant seems to be a temporary 'quick-and-dirty' way of doing things if I understand the ground calibration report (section 4.3) and the comments in CISSCAL correctly.

However, I now notice that there seems to be a bug in CISSCAL (and consequently also in IMG2PNG), 1.0 should only be subtracted when calibrating NAC data.

I'll need to fix this in IMG2PNG and also make it possible to specify additional flatfielding files as tfisher's processing of Titan data has demonstrated.
Go to the top of the page
 
+Quote Post
ugordan
post Nov 22 2005, 08:04 AM
Post #5


Senior Member
****

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



QUOTE (Bjorn Jonsson @ Nov 21 2005, 11:28 PM)
The true exposure is commanded_exposure-offset[sample_number]-1.0.

The 1.0 constant seems to be a temporary 'quick-and-dirty' way of doing things if I understand the ground calibration report (section 4.3) and the comments in CISSCAL correctly.

However, I now notice that there seems to be a bug in CISSCAL (and consequently also in IMG2PNG), 1.0 should only be subtracted when calibrating NAC data.
*

I only bring this up because my two "testbed" image sets, Jupiter flyby WAC R/G/V and the Dione flyby WAC R/G/B frames both exhibit excessive overexposure in the violet/blue filter after radiometric correction. I might be off, but I'm attributing this to the fact that in both cases the red and green exposures were 5 and 15 ms or so, respectivelly, while the violet/blue exposures were around 150 ms. This would be the reason small variations in the shutter offset (+/- 1 ms) tend to dramatically darken/brighten the red and green channels compared to the blue/violet.
OTOH, the offset read from the file, for the middle sample in the WAC is somewhere around -2.7 ms which is why I got the feeling the actual offsets should be added instead of subtracted. The official document did say the actual exposures were always less than the commanded ones.


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

Posts in this topic
- Bjorn Jonsson   Calibrating And Processing Pds Cassini Images   Jul 30 2005, 09:30 PM
- - Malmer   Hi bjorn! I downloaded IDL and requested a tr...   Aug 22 2005, 11:53 AM
- - edstrick   The US Geologic Survey's Branch of AstroGeolog...   Aug 22 2005, 12:00 PM
|- - um3k   QUOTE (edstrick @ Aug 22 2005, 08:00 AM)The U...   Aug 22 2005, 06:42 PM
|- - volcanopele   QUOTE (edstrick @ Aug 22 2005, 05:00 AM)The U...   Aug 22 2005, 07:01 PM
|- - elakdawalla   QUOTE (volcanopele @ Aug 22 2005, 12:01 PM)I ...   Aug 22 2005, 07:41 PM
- - scalbers   FYI, I'm working in IDL if anyone knows of app...   Aug 22 2005, 06:58 PM
- - djellison   The ISIS developers are aware that a Windows versi...   Aug 22 2005, 08:24 PM
|- - Bjorn Jonsson   The most important parts of my software for calibr...   Aug 23 2005, 12:14 PM
- - ugordan   Can anyone help me on the whole calibration/radiom...   Oct 21 2005, 08:12 AM
|- - Bjorn Jonsson   I have written a program that calibrates Cassini i...   Oct 21 2005, 09:22 AM
|- - ugordan   I always thought the following press image was too...   Oct 21 2005, 09:52 AM
|- - Bjorn Jonsson   Actually "underexposed" is not what...   Oct 21 2005, 10:08 AM
|- - ugordan   QUOTE (Bjorn Jonsson @ Oct 21 2005, 12:08 PM)...   Oct 21 2005, 10:59 AM
|- - ugordan   I've been experimenting with "determinist...   Nov 5 2005, 08:11 PM
|- - Bjorn Jonsson   QUOTE (ugordan @ Nov 5 2005, 08:11 PM)I'v...   Nov 6 2005, 01:26 PM
||- - ugordan   QUOTE (Bjorn Jonsson @ Nov 6 2005, 03:26 PM)T...   Nov 6 2005, 01:59 PM
|||- - Bjorn Jonsson   QUOTE (ugordan @ Nov 6 2005, 01:59 PM)Regardi...   Nov 6 2005, 02:22 PM
||- - tfisher   QUOTE (Bjorn Jonsson @ Nov 6 2005, 09:26 AM)B...   Nov 12 2005, 05:40 AM
||- - Bjorn Jonsson   QUOTE (tfisher @ Nov 12 2005, 05:40 AM)Am I d...   Nov 12 2005, 07:18 PM
||- - tfisher   QUOTE (Bjorn Jonsson @ Nov 12 2005, 03:18 PM)...   Nov 12 2005, 10:32 PM
||- - tfisher   QUOTE (Bjorn Jonsson @ Nov 12 2005, 03:18 PM)...   Nov 13 2005, 01:51 AM
||- - Bjorn Jonsson   QUOTE (tfisher @ Nov 13 2005, 01:51 AM)I...   Nov 13 2005, 08:09 PM
||- - tfisher   QUOTE (Bjorn Jonsson @ Nov 13 2005, 04:09 PM)...   Nov 13 2005, 08:38 PM
||- - Bjorn Jonsson   This problem was due to two subtle bugs which were...   Nov 14 2005, 12:03 AM
||- - tfisher   QUOTE (Bjorn Jonsson @ Nov 13 2005, 08:03 PM)...   Nov 14 2005, 01:12 AM
||- - Bjorn Jonsson   The warning because of nacg0p5_bwt.tab is normal. ...   Nov 14 2005, 10:39 AM
|- - Bjorn Jonsson   QUOTE (ugordan @ Nov 5 2005, 08:11 PM)I'v...   Nov 8 2005, 09:33 AM
|- - ugordan   QUOTE (Bjorn Jonsson @ Nov 8 2005, 11:33 AM)I...   Nov 8 2005, 11:00 AM
|- - Bjorn Jonsson   If you haven't done so you should take a look ...   Nov 8 2005, 11:32 AM
|- - tedstryk   QUOTE (Bjorn Jonsson @ Nov 8 2005, 11:32 AM)I...   Nov 8 2005, 11:39 AM
|- - ugordan   I have a question somewhat related to this issue. ...   Nov 8 2005, 12:59 PM
- - mike   I would say the second, I suppose because the left...   Nov 5 2005, 11:20 PM
|- - ugordan   The right one also looks more natural to me. Well,...   Nov 6 2005, 12:22 PM
- - djellison   I find it a bit dissapointing that the flatfield/d...   Nov 12 2005, 11:13 PM
|- - Bjorn Jonsson   This is probably because the calibration files may...   Nov 12 2005, 11:30 PM
- - volcanopele   Sounds like some of you are joining me in the hell...   Nov 14 2005, 09:32 PM
- - ugordan   Bjorn: concerning the way your app does shutter of...   Nov 19 2005, 04:05 PM
- - Bjorn Jonsson   The true exposure is commanded_exposure-offset[sam...   Nov 21 2005, 09:28 PM
- - ugordan   QUOTE (Bjorn Jonsson @ Nov 21 2005, 11:28 PM)...   Nov 22 2005, 08:04 AM


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 16th December 2024 - 08:49 PM
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.