Author Topic: Learning deconvolution  (Read 5267 times)

Offline nmontec

  • Member
  • *
  • Posts: 73
    • SkyMonsters
Learning deconvolution
« on: 2012 May 08 07:30:26 »
I know the many times spelled mantra "you should not use deconvolution on non linear images".
But yesterday I tried to deconvolve an image of mine and with the linear image I was getting a lot of artifacts, while I was getting exactly what I wanted (star tightening) with the stretched one.
I asked myself why, and the only answer I got is: "deconvolution is very sensitive to SNR, therefore I get artifacts becaue in the linear image the SNR is lower then in the stretched one."
Is it this assumption correct ? If so there is an exception to the mantra, otherwise I might not be working with the right parameters...

Offline sreilly

  • PixInsight Padawan
  • ****
  • Posts: 791
    • Imaging at Dogwood Ridge Observatory
Re: Learning deconvolution
« Reply #1 on: 2012 May 09 00:49:20 »
It might help to describe the artifacts and/or post an image showing these along with the steps you used. To use Decon I first take the linear image and use Histogram Stretch. With that result I then make my star mask, saving the mask and throwing away the stretched image. Then I open the saved linear image again and apply the star mask and then use Decon. I also make sure that I have Ringing checked and the star mask listed in that "Local Support" location. See the attached screen shot.

Steve
Steve
www.astral-imaging.com
AP1200
OGS 12.5" RC
Tak FSQ-106ED
ST10XME/CFW8/AO8
STL-11000M/FW8/AO-L
Pyxis 3" Rotator
Baader LRGBHa Filters
PixInsight/MaxIm/ACP/Registar/Mira AP/PS CS5

Offline Raymond

  • Member
  • *
  • Posts: 55
    • Astrophotography
Re: Learning deconvolution
« Reply #2 on: 2012 May 09 04:03:55 »
For learning deconvolution, this tutorial helped me a lot:
http://pixinsight.com/forum/index.php?topic=4048.0
Raymond

Planewave 14" CDK - 10Micron GM2000HPS
William Optics 110/770 & FF | HEQ5-Pro
Omegon 66/400 | MGEN-Lacerta
Canon 500d mod

Offline nmontec

  • Member
  • *
  • Posts: 73
    • SkyMonsters
Re: Learning deconvolution
« Reply #3 on: 2012 May 09 06:49:02 »
Thanks Steve and Raymond.

@Steve: I do the same thing, and the result is attached (starmask and after deconvolution).

@Raymond: I read that and didn't help me on understanding how to proceed.  :(

Mask is nicer then the real image! :D
« Last Edit: 2012 May 09 07:38:22 by nmontec »

Offline cs_pixinsight

  • PixInsight Addict
  • ***
  • Posts: 156
Re: Learning deconvolution
« Reply #4 on: 2012 May 09 12:12:40 »
nmontec, with deconvolution on a linear debayered image you need to assign a linear RGB working space to the image prior to running deconvolution.  Use RGBWorkingSpace and set R=G=B=1 and Gamma=1 and drag the process triangle over the linear image.

Now you can proceed with the deconvolution steps.  Once you perform a non-linear stretch you need to change the RGB working space back to a nonlinear one for the rest of your processing steps.

Hope this helps,
Craig

Offline sreilly

  • PixInsight Padawan
  • ****
  • Posts: 791
    • Imaging at Dogwood Ridge Observatory
Re: Learning deconvolution
« Reply #5 on: 2012 May 09 12:53:25 »
I did not know this was with a DSLR image data. There are steps you need to take before processing the image and I'll have to step back as I have no idea what they are. I use a mono camera and filters.
Steve
www.astral-imaging.com
AP1200
OGS 12.5" RC
Tak FSQ-106ED
ST10XME/CFW8/AO8
STL-11000M/FW8/AO-L
Pyxis 3" Rotator
Baader LRGBHa Filters
PixInsight/MaxIm/ACP/Registar/Mira AP/PS CS5

Offline nmontec

  • Member
  • *
  • Posts: 73
    • SkyMonsters
Re: Learning deconvolution
« Reply #6 on: 2012 May 09 13:49:12 »
In fact it is not a DSLR image...

Offline sreilly

  • PixInsight Padawan
  • ****
  • Posts: 791
    • Imaging at Dogwood Ridge Observatory
Re: Learning deconvolution
« Reply #7 on: 2012 May 09 14:11:32 »
Well maybe better clarification is needed. Just what has been done to the image in question from start to the image you are trying to use decon on.  And maybe the camera you are using.

Steve
Steve
www.astral-imaging.com
AP1200
OGS 12.5" RC
Tak FSQ-106ED
ST10XME/CFW8/AO8
STL-11000M/FW8/AO-L
Pyxis 3" Rotator
Baader LRGBHa Filters
PixInsight/MaxIm/ACP/Registar/Mira AP/PS CS5

Offline nmontec

  • Member
  • *
  • Posts: 73
    • SkyMonsters
Re: Learning deconvolution
« Reply #8 on: 2012 May 09 15:20:23 »
A quick update. I managed to have smaller stars with almost no artifact.
The trick was:
- not using a global star mask
- using the star mask for the local deringing
- increasing the stddev to 4
- Inserting aspect ration and rotation as suggested by Manuel in his tutorial instead of relying on the calculated PSF

Soon I'll post the result in the appropriate section. Thanks a lot for your comments.