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

Welcome Guest ( Log In | Register )

Using Flatfields for processing images (removing vignettes), Specifically MSL images with AstroImageJ (but also in general)
GBAE001
post Feb 19 2019, 03:41 AM
Post #1


Newbie
*

Group: Members
Posts: 4
Joined: 21-January 19
From: Australia
Member No.: 8532



Hey all,

I'm just starting to get into space processing as a hobby and need some guidance. I've been making MSL/MER panoramas and have run against a wall in terms of vignettes that appear in each image. I also wanted to make this thread general with the interest of also informing other newbies of this issue and how to correct it. I decided to make a little write-up in case other newbies don't know what I mean, but if I make any mistakes let me know and I'll update the original post. Here's one of my attempts, which should highlight the problem: https://www.flickr.com/photos/gbae/33257950...ublic/lightbox/ and https://www.flickr.com/photos/gbae/33112785...ublic/lightbox/

Background

When dealing with spacecraft images and photography in general, often dust/speck accumulate on the lens. A photograph or several are often taken of a flat subject, such as the twilight sky, so that the values of this "flatfield" can be divided through an algorithm against any other image to produce a "clean" image. This is especially useful for mosaics as it can become quite noticeable, as shown above. MER/MSL have occasional "twilight flats" taken of the twilight sky to use as flats.

The Problem

My example is from Sol 2318 from MSL's right MastCam. Here is an example of a hill with a clear vignette a speck in the center: https://mars.jpl.nasa.gov/msl-raw-images/ms...875C00_DXXX.jpg

Here's a twilight flat from Sol 2317, the same vignetting and speck also visible: https://mars.jpl.nasa.gov/msl-raw-images/ms...869D01_DXXX.jpg

First issue: the flat isn't even the same size as the image! The flat looks further out and has black bars around the side, assuredly from the MastCam case. Is it simply cropped for the first image or is there lens distortion between the images?

What I'm trying to get at is: how do you people use flatfields in this manner? Especially for MER/MSL? I don't have photoshop, I have GIMP 2.10. But I do have AstroImageJ, which is a subset of ImageJ for astrophotgraphy. I have fiddled around with the flatfield functionality in the program with no success, as its documentation is both sparse and goes over my head. Here's an image of what I found, under Process > Data Reduction Facility (chosen paths are from myself trying to play around with the software): https://imgur.com/a/XMxF22M

I'd appreciate any guidance both on how to use flatfields in MER/MSL processing both in the programs I have and those I don't so the thread can be of good use to anyone else with my issues.

Best regards, Gabe.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
elakdawalla
post Feb 19 2019, 09:36 PM
Post #2


Administrator
****

Group: Admin
Posts: 5172
Joined: 4-August 05
From: Pasadena, CA, USA, Earth
Member No.: 454



GBAE001, thanks very much for making this discussion a general one and sharing what you've done so far -- that'll be helpful for other people trying to work out the same problems for themselves in the future.

I usually deal with the CCD crud with a judicious application of the Photoshop healing brush, but haven't tried to fix vignetting with anything other than trial and error with Photoshop filters, so I'm looking forward to watching this conversation.


--------------------
My website - My Patreon - @elakdawalla on Twitter - Please support unmannedspaceflight.com by donating here.
Go to the top of the page
 
+Quote Post
mcaplinger
post Feb 19 2019, 11:08 PM
Post #3


Senior Member
****

Group: Members
Posts: 2559
Joined: 13-September 05
Member No.: 497



Terminology: vignetting is a global shading across the field unrelated to the little bits of crud on the focal plane. https://en.wikipedia.org/wiki/Vignetting


--------------------
Disclaimer: This post is based on public information only. Any opinions are my own.
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: 17th December 2024 - 05:16 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.