IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Desmearing Voyager images (and other images), What's the best way?
Bjorn Jonsson
post Sep 13 2015, 11:26 PM
Post #1


IMG to PNG GOD
****

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



I'm curious to know how people have been dealing with badly smeared images to reduce or eliminate the smear. I'm making 20000x10000 pixel global maps of Ganymede and Callisto. Lots of the highest resolution Voyager 1 images are badly smeared but I really want to use them in the maps if possible - and use them without smear (otherwise the maps get too ugly). I've been experimenting with the Smart Sharpen filter in Photoshop. I'm rather happy with the results I've had but before I start reprojecting these images and adding them to the maps I'm curious to know if anyone knows of something even better.

Here are two examples from Voyager 1 where I attempted to desmear smeared images using the PS Smart Sharpen filter. The original is shown together with a desmeared image. One is from a moderately smeared partial image of Callisto and another one is a badly smeared image of Ganymede. As indicated above I'm rather happy with the results but if something better is possible I'd like to know.

Callisto:
Attached Image

Attached Image


Ganymede:
Attached Image

Attached Image
Go to the top of the page
 
+Quote Post
machi
post Sep 14 2015, 12:28 AM
Post #2


Member
***

Group: Members
Posts: 796
Joined: 27-February 08
From: Heart of Europe
Member No.: 4057



There are some programs specially designed to do that. I heard about Topaz InFocus or Huygens. Both aren't free and I haven't them so I'm not sure about quality (but Huygens has some good references in scientific literature).
Topaz and others are using blind deconvolution. Only freeware with this function is Image Analyzer by the Michael Vinther.
Unfortunately it doesn't work with images with more than 8 bits per channel which limits its capabilities.
Problem with blind deconvolution is that it very often fails in case of images with complex blur.
But there is the hard way of classic deconvolution with known PSF (point spread function).
If you don't know PSF, you can try to deduce it. Small bright craters are good guideline or you can even try them as PSF.
This is quick result of Wiener deconvolution with your blurred image of Ganymede.
(It's made in the "Swiss knife" of the image processing - ImageJ).



Attached thumbnail(s)
Attached Image
 


--------------------
Go to the top of the page
 
+Quote Post
Bjorn Jonsson
post Sep 14 2015, 11:29 PM
Post #3


IMG to PNG GOD
****

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



Thanks for highly useful information - this quick result is much better than what I achieved using Photoshop (it's possible to get slightly better results there than what I posted above but not nearly as good as the ImageJ result).

I now have ImageJ and the "FFTJ and DeconvolutionJ" plugin - is that what you used? If so what does the image you used for the PSF look like? I have experimented a bit but the results are bad (it would be interesting to see the PSF image here).

But I'm now very optimistic that I'll eventually be able to desmear and use all of the smeared images that are interesting.
Go to the top of the page
 
+Quote Post
machi
post Sep 15 2015, 12:51 AM
Post #4


Member
***

Group: Members
Posts: 796
Joined: 27-February 08
From: Heart of Europe
Member No.: 4057



I'm using mostly Parallel Iterative Deconvolution plugin made by Piotr Wendykier (method WPL- Wiener Filter Preconditioned Landweber).
Here is PSF which I used for the Ganymede image. It was quick derivation from one of the small bright craters with some fiddling with brightness and eraser
(so results could be even better with more effort).
Attached image(s)
Attached Image
 


--------------------
Go to the top of the page
 
+Quote Post
ZLD
post Sep 15 2015, 02:15 AM
Post #5


Member
***

Group: Members
Posts: 555
Joined: 27-September 10
Member No.: 5458



Wow, thats great and very simple Machi. I've had some good luck with the tools from AstraImage (also not free) and Focus Magic (not free) but they don't allow you to input a PSF as an image. I've done the similar PSF input method with MaximDL in the past but never got results this good. This is both free and produces pretty good results. Thanks for the tip!


--------------------
Go to the top of the page
 
+Quote Post
Guest_alex_k_*
post Sep 15 2015, 10:04 AM
Post #6





Guests






Fourier processing gives also not bad results. It allows to slightly increase resolution (about x2).
http://i0.simplest-image-hosting.net/pictu...es-proc-avg.png
Because it doesn't use deconvolution it can be useful when the kernel is unknown or varying.

(updated)
Go to the top of the page
 
+Quote Post
JohnVV
post Sep 17 2015, 03:22 AM
Post #7


Member
***

Group: Members
Posts: 890
Joined: 18-November 08
Member No.: 4489



isis3 dstripe dose a decent job

a Fourier dose a good job on sharpening but there is a SMEAR -- camera motion
c1640216.imq
voy2isis > spiceinit > voycal > findrx( null) > lowpass( on NULL) > dstripe ( 1,73/73,1)

before dstripe and after


you can use the arrows on imagebox to flip between the two ( upper right of the image)
Go to the top of the page
 
+Quote Post
Bjorn Jonsson
post Sep 23 2015, 10:16 PM
Post #8


IMG to PNG GOD
****

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



The Parallel Iterative Deconvolution plugin mentioned above is awesome. I have been able to get similar results to machi's results above for images that had a similar 'type' of smear (it was slightly less in my case). Comparing the results to other images that are not smeared and were obtained at a similar time with a different filter reveals that the smeared images were almost completely restored.

But interestingly, I've had some problems with images where the smear is much less. This image of Ganymede is an example:

Attached Image


I experimented with lots of PSF images but got the best results using this one:

Attached Image

But the resutling image isn't particularly good. There's less smear and some details are restored but there's also a lot of noise:

Attached Image


In a different thread, jccwrt has been experimenting with smeared images of Io using this same plugin. He ran into similar problems and wrote:

QUOTE
The most severe smearing was in the first frame of each sequence, so I'm guessing that's a result of imaging before the scan platform had entirely stabilized after slewing.

This could be my problem too. Another related possibility is that in some of the less smeared images (the ones that are difficult to desmear), the scan platform started moving just before the end of the exposure or stopped moving just after the start of the exposure and introduced 'vibrations' or other irregular motion while in the more smeared images the motion was even and regular throughout the exposure, with the regular motion making the images relatively easy to desmear.

Needless to say, if anyone is interested in trying to get better results and succeeds I'm interested in knowing about it.
Go to the top of the page
 
+Quote Post
jccwrt
post Sep 24 2015, 01:44 AM
Post #9


Member
***

Group: Members
Posts: 306
Joined: 4-October 14
Member No.: 7273



Looks like the main source of noise in your deblurred image is the vertical striping noise that's present in Voyager images. I did a quick deinterlacing filter to get rid of those and it helps reduce the noise a little bit. Probably a good idea to remove those before applying the deblurring process, since the noise is getting incorporated into real features.

Another thing I've found experimenting with this is decreasing the brightness and increasing the contrast of the psf a little bit helps. I assume this is because in reality most features that are bright enough to form streaks are large enough to contribute to adjacent pixels, so fiddling with brightness and contrast to make a smaller, less intense psf is compensating a little bit for that.

Finally, it looks like the filter isn't quite finishing the job with the default of 5 iterations, so I increased the maximum number of iterations to 10 and wrung a little more out of it.

Here's the modified psf I used:
Attached Image

And the resulting deblurred image:
Attached Image


It's a marginal improvement (some of the ghosting of prominent features is reduced, a little bit less marbling of the image) but that's about as much as I can think to do with it.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 18th April 2024 - 02:11 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.