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

Welcome Guest ( Log In | Register )

Color images from spacecraft images and a spectrum, Image processing experiments
Bjorn Jonsson
post Jun 2 2013, 12:31 AM
Post #1


IMG to PNG GOD
****

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



In a different thread where I posted recently processed Voyager 2 images of Europa I mentioned an image processing idea: Somehow combining Europa's entire visible spectrum with color information from spacecraft images to compute a synthetic, visible spectrum for each point in an image and use this to make synthetic R/G/B images.

I experimented a bit with this and wrote a small program to do this - the result was successful:

Attached Image


This image was generated by combining Europa's visible light spectrum from 380 to 770 nm with data from orange, green, blue and violet filtered Voyager 2 images. I used calibrated images from the PDS Rings Node. What I did was to use Europa's spectrum instead of linear interpolation to create a synthetic spectrum that is then converted to sRGB. It's illustrated in this graph:

Attached Image


Everything is done with an interval of 10 nm, this is also the reason the Europan spectrum appears rather smooth.The spectrum I used is of Europa's leading hemisphere which is visible in the right half (and actually extends a bit into the left half) in the image above. The Voyager 2 data and the synthetic spectrum is in arbitrary units.

The Voyager data represent an average from a north-south intensity profile from Europa's leading hemisphere in the Voyager 2 images I used. Interestingly, the green filter value from Voyager 2 is clearly too high and I'm pretty sure this is real since compared to the spectrum, it's too high relative to OR, BL and VI almost everywhere in the source images. A possible reason is that the Voyager filters are broadband filters; even though the green filter's effective wavelength is 564 nm it is sensitive to a range of wavelengths. This can be corrected by multiplying the orange, blue and violet data with ~1.08 before creating the synthetic spectrum and I decided to do this even though I'm usually not a big fan of fudge factors. The image above is the result after this correction. If I omit this correction the resulting image looks rather green - almost certainly too green.

Looking at Europa's spectrum it is clear that this method should be more accurate than using linear interpolation between the Voyager filters. In particular, linear interpolation underestimates the amount of green since a straight line between the blue and green Voyager 2 data points lies below Europa's spectrum everywhere with the exception of the data points (the effective wavelength of the Voyager 2 filters is VI=402 nm, BL=475, GR=564 and OR=589).

The algorithm I'm using for converting the spectrum to R/G/B is discussed in this interesting thread (one of the most interesting image processing threads I've seen here at UMSF). The spectrum -> RGB conversion really is the crucial part in all this. Like Gordan I'm also using Andrew Young's color matching code. My code therefore has at least partially the same issues as Gordan's - in particular the illuminant C issue mentioned by Gordan in the first post. I'm using the correction factors near the top of this post to deal with it.

The spectrum to RGB conversion is probably the biggest possible source of error and the problem is that I'm not exactly an expert in that stuff. But *if* the spectrum to RGB conversion works correctly (and it is probably either correct or nearly so) the resulting image of Europa should be extremely close to Europa's true color - at least on a global scale.

There is some additional, interesting image processing discussion in this thread (it starts here) and also in this thread (the image processing discussion starts here).
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
ugordan
post Jun 2 2013, 04:43 PM
Post #2


Senior Member
****

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



I also found the green filter to be too bright and I'm not even sure if it's equally bright between the 4 different cameras. I suspect it's not an issue related to bandpass since Mimas and Enceladus appear too green as well and yet, they have fairly flat visible spectra. In fact, all the O/G/B/V channels look funky to me, when compared to Cassini (or in Jupiter case Galileo). I tried working out some correction factors from Mimas and Enceladus myself, but the results are inconsistent since the datasets are pretty poor. It appears to me it's not simply the green filter, it's the relationship between orange and green, orange and blue, etc.

Here's my quick take on that image, simple linear spectral interpolation from PDS calibrated OGB data (I noticed V doesn't contribute much when you have B so I didn't bother) and using the following correction factors: 0.96*O, 0.93*G, 1.02*B:

Attached Image


On the left is a gamma-correct representation, on the right a version similar to yours.

Personally, I wouldn't trust Voyager-derived color much. The filter ranges are limited and the calibration is at odds with later missions.
As far as color matching code is concerned, I moved on to simply integrating over the entire spectrum the XYZ components multiplied by source spectra and D65 illuminant and then just converting that to sRGB with no correction factors applied later. When I switched to this method in VIMS code, the results looked pretty much the same as the old method.


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

Posts in this topic


Reply to this topicStart new topic

 



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