Open MER Analyst's Notebook

  HomeLog InRegisterCommunity CalendarSearch the ForumHelp
   
MER Analyst's Notebook Forum > MER Analyst's Notebook > MER Notebook Questions > Exposure times  Forum Quick Jump
 
New Topic Post Reply Printable Version
[ << Previous Thread | Show Newest Post First ]

Roman
Registered Member



Email Address Not AvailableClick to visit Roman's website.Send a Private Message to RomanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2009
Total Posts : 16
 
   Posted 10/26/2009 2:56 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
Recently I began to create panoramas from Spirit and Opportunity, but soon realized that without knowing exposure times it is nearly impossible to get color, luminosity and brightness right.
On typical Analyst's Notebook data info page I found two lines related to time:

    UTC Start/Stop Time
    Space Craft Clock Start/Stop Count


My question is: which one of these display the true exposure time? For example:

Spirit. Sol 215

2 P 145448456 EFF 85 00 P2275 L2 C1:
UTC exposure - 231 ms.
Space Craft Clock - 230 ms.

The second question: how to calculate exposure time for RGB composite if they are all different for each filter?

Post Edited (SheeUn) : 10/26/2009 9:05:17 PM GMT

Back to Top
 

Jennifer
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to JenniferAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Apr 2005
Total Posts : 31
 
   Posted 10/27/2009 1:59 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
SheeUn,
 
The keyword EXPOSURE_DURATION in the PDS label will give the best answer.  In this example, it is 230.4 ms.
 
Regarding your second question, it is not clear what you mean by "RGB composite."  If you mean a composite like that you can build in the Notebook from the product group "Image" menu, we suggest making a grayscale mosaic of each band you want in the color composite, and then creating an RGB from those. 
 
Please let me know if this doesn't answer your questions.
 
Thanks you,
Jennifer
Back to Top
 

Roman
Registered Member



Email Address Not AvailableClick to visit Roman's website.Send a Private Message to RomanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2009
Total Posts : 16
 
   Posted 10/28/2009 5:10 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
Thank you for the answer to first Q.

In regards to the second one.
Making a mosaic from 3 greyscale images doesn't work either. The panorama still needs a color balance/equalisation. I would like to know the method (and software, hope it isn't ISIS) by which imaging department of JPL creates pans from both MERs. In particular, how they deal with exposure differences between images featuring sky and ground, only ground, ground and parts of the rover.
In press releases by MER science team images are always uniform in color and brightness. For example: Sol1162.

I also made an observation that in press-releases there are usually two renderings of the same image shot through the same filters: approximately true color and false color. But how can this be? False color is one that represents colors beyond visible spectrum. And there is, apparently, no such thing as "approximately" true color. There is just true color, i. e. RGB composite where red is L4, green - L5 and blue - L6; everything else - false color. Could you please comment on this as I cannot get feedback from MER team.
Back to Top
 

Jennifer
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to JenniferAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Apr 2005
Total Posts : 31
 
   Posted 10/29/2009 8:20 AM (GMT -6)    Quote This PostAlert An Admin About This Post.
SheeUn,
 
We have forwarded your questions to Jim Bell, Cornell University.  He will provide a response as soon as he can.
 
In the meantime, you may wish to check out these links:
 
 
 
Jennifer
Back to Top
 

Roman
Registered Member



Email Address Not AvailableClick to visit Roman's website.Send a Private Message to RomanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2009
Total Posts : 16
 
   Posted 10/29/2009 2:11 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
Thank you very much!
Back to Top
 

Roman
Registered Member



Email Address Not AvailableClick to visit Roman's website.Send a Private Message to RomanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2009
Total Posts : 16
 
   Posted 10/29/2009 2:29 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
Please ask him to provide, if he can, raw/processed pre-flight MER's Pancam images shot through any 3 filters (L4L5L6 are better).
Back to Top
 

Roman
Registered Member



Email Address Not AvailableClick to visit Roman's website.Send a Private Message to RomanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2009
Total Posts : 16
 
   Posted 11/2/2009 1:52 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
How is it going? I need to contact Jim Bell even more urgently as I've just discovered yet another (3rd, actually) method to extract color from MER Science EDRs.

Add
It turns out that this "method" is erroneous. But I still eager to know practical info (software used, algorithm of work, etc.) regarding the color extraction as done by scientists at NASA/JPL/Cornell.

Post Edited (SheeUn) : 11/4/2009 10:00:09 PM GMT

Back to Top
 

Jennifer
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to JenniferAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Apr 2005
Total Posts : 31
 
   Posted 11/9/2009 2:18 PM (GMT -6)    Quote This PostAlert An Admin About This Post.

Here are Jim Bell's responses:

 

SheeUn:

"The second question: how to calculate exposure time for RGB composite if they are all different for each filter?"

 

"In regards to the second one. Making a mosaic from 3 greyscale images doesn't work either. The panorama still needs a color balance/equalisation. I would like to know the method (and software, hope it isn't ISIS) by which imaging department of JPL creates pans from both MERs. In particular, how they deal with exposure differences between images featuring sky and ground, only ground, ground and parts of the rover."

 

Jim Bell:

The first thing we do is calibrate the images to radiance units (physical brightness units like Watts per meter squared per micron per steradian, etc.).  Calibration is done by the Pancam team at Cornell University. Calibration "corrects" for exposure time differences between different images within the same sequence.  Calibrated images are archived on the PDS as files with "RAD" or "IOF" in the file name ("RAD" stands for radiance; "IOF" stands for "I over F", where I is the radiance of the scene and pi*F is the radiance of sunlight incident on the scene (at the top of the martian atmosphere)--so the ratio I/F is approximately the reflectance of the scene).  If you want more details, either I or the PDS folks here can send you copies of two papers published in 2003 and 2006 in the Journal of Geophysical Research that describe the cameras and calibration in LOTS more detail, and a third JGR paper from 2006 describing some of the challenges of generating color images from Pancam data.

 

We then mosaic the images at Cornell using some home-grown software that uses the altitude and azimuth information in each image label to place each part of the mosaic in the right position.  The program uses a process similar to the auto-mosaiking software that is now common on commercial digital cameras or commercial programs like Photoshop.  Our software is written in the "IDL" array processing language.  It is not publicly available (we don't have the staff/time to support public software distributions), but if you are an IDL user I would be happy to discuss getting you a copy of the code to use informally...

 

Finally, sometimes I still have to manually "smooth" out brightness gradients/seams in the sky, using software like Photoshop, if a mosaic was taken over the course of many days or at many different times of day or dust conditions.  This is purely an "artistic" step--a judgement call--used for generating the prettiest pictures, and designed to simulate what the sky might seem like if the images had all been taken at one time.  If done, this is a tweak that is done at the end, to the JPEG or TIFF images--not something done to the actual raw or calibrated data.  If you re-create mosaics using calibrated images released from the PDS, you might see some of the original seams in sky brightness that could not be corrected by calibration.

 

SheeUn:

"In press releases by MER science team images are always uniform in color and brightness. For example: Sol1162."

 

Jim Bell:

Yes, a good calibration of the individual images making up a mosaic will indeed result in a relatively seamless result!

 

SheeUn:

I also made an observation that in press-releases there are usually two renderings of the same image shot through the same filters: approximately true color and false color. But how can this be? False color is one that represents colors beyond visible spectrum. And there is, apparently, no such thing as "approximately" true color. There is just true color, i. e. RGB composite where red is L4, green - L5 and blue - L6; everything else - false color. Could you please comment on this as I cannot get feedback from MER team."

 

Jim Bell:

This is a big thorny topic, which I go into in some detail in the second 2006 JGR paper that I mention above (and the first URL below).  The short answer is that "true color" has specific mathematical definitions in the colorimetry community/literature, and those turn out to be very specific (naturally) to color as viewed by humans on Earth.  For example, "true color" renderings often make assumptions about the scene being illuminated by average sunlight at Earth and include a scattered light component from average Earth blue sky (and different components/assumptions for cloudy days, etc.).  Obviously none of this applies at Mars, and so to be true to the mathematical definitions of the true color community, our attempts to modify that scheme for Mars are often referred to as "approximate true color".  Maybe we should call it "Mars true color" or something else, who knows.  The topic of "true color" on Mars is quite immature; unfortunately, none of us on the rover team have had time to develop it more fully.

 

False color is just that--a false rendering of the color of a scene, required when taking pictures through our filters that go farther into the UV or IR than human vision does.  I am not sure what your concern is--think Andy Warhol and Campbell's Soup cans...

 

For more details on the particular issues that we deal with for "true" or false color renderings, here are some useful web sites:

 

http://marswatch.astro.cornell.edu/pancam_instrument/projects_1.html

http://www.cg.tuwien.ac.at/research/theses/matkovic/node9.html

http://www.badastronomy.com/bad/misc/hoagland/mars_colors.html

http://marsrovers.jpl.nasa.gov/spotlight/spirit/a12_20040128.html

 

 

I hope this information is helpful--sorry I don't have more time to get into a more detailed discussion on this.  There are many online forums and resources, however--hopefully they will help too.

 

Have fun with the images!

 

-Jim Bell

Cornell U.

Post Edited (Jennifer) : 11/9/2009 8:49:00 PM GMT

Back to Top
 

Roman
Registered Member



Email Address Not AvailableClick to visit Roman's website.Send a Private Message to RomanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2009
Total Posts : 16
 
   Posted 11/12/2009 1:50 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
Thank you Jennifer!

Please, forward to Jim the following and post his response.

My whole concern with not only MER image data but with almost every single press-release picture from all NASA unmanned missions ever is this - Auto white balance.
It matters not by which method you get the color - "canon" or just 3 greyscale combine together on which I'll elaborate further - it matters why you do not apply auto white balance build in Photoshop, GIMP, Paint.NET, etc and in digital cameras as well. This is a legitimate processing procedure if an image was taken in sun-lit only environment, i. e. there are no artificial light sources present in the scene. Why is this so?
Well, here is a little experiment I did in my kitchen to find out the truth - this is scientific method, right?

First, I took my Nikon L12 digital cam and 3 color filters (they are, by the way, of a very poor quality and were not intended to serve as photo filters):

Note: all images, except those from Mars, were scaled down to 1024x768 for convenience.
Then I shot a scene using these filters:
Red

Green

Blue


And combined them in GIMP 2.6 as is:

Then I applied auto white balance (light source - a white daylight lamp (6000K)):

Now compare the result with the reference picture below, keeping in mind bad physical quality of filters


Let's move on to MER images. I used java-based ImageJ with PDS Process plugin to view and save raw PDS .img files. The algorithm is just the same as above. In the last image saturation was decreased by 25%.

Sol 1532

Red - L4

Green - L5

Blue - L6


Combined as is

Auto white balance applied


So, am I wrong with this processing method and why? Is it really legitimate to apply auto white balance?

Post Edited (Roman) : 11/12/2009 7:55:39 PM GMT

Back to Top
 

Jennifer
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to JenniferAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Apr 2005
Total Posts : 31
 
   Posted 11/13/2009 10:24 AM (GMT -6)    Quote This PostAlert An Admin About This Post.
The use of white balance depends on your goal.  The science data are calibrated by the science team.  Please see the Pancam web site:
 
Back to Top
 

Roman
Registered Member



Email Address Not AvailableClick to visit Roman's website.Send a Private Message to RomanAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2009
Total Posts : 16
 
   Posted 11/13/2009 2:09 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
They've never performed this operation, Jennifer, and I'd like to know why. It's in fact a necessary operation when processing raw data from any digital camera as I concluded from my experiment. Such a terrible mistake, I think.

This is the same image form sol 1532 only it was calibrated by the science team.


White balance


All images that were calibrated by the science team lacks white balance and therefore unfinished.
Back to Top
 
New Topic Post Reply Printable Version
 
Forum Information
Currently it is Monday, November 23, 2009 10:11 PM (GMT -6)
There are a total of 89 posts in 27 threads.
In the last 3 days there were 0 new threads and 0 reply posts. View Active Threads
Who's Online
This forum has 79 registered members. Please welcome our newest member, kiran jast.
3 Guest(s), 0 Registered Member(s) are currently online.  Details