Author Topic: Help with artifacts during decon  (Read 3005 times)

Offline Jim_

  • Newcomer
  • Posts: 30
Help with artifacts during decon
« on: 2013 January 16 13:03:43 »
I'm having a hard time not getting the bluish-green artifacts while deconvoluting.
My star and regular masks look good.
I've played around with the global dark and light slides.
Sometimes I don't have any problems but once in a while I get an image that I just can't seem to get right.
The attached image shows before and after.
Sure would appreciate any help/ideas on how to get rid of these.

Thanks
Jim

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: Help with artifacts during decon
« Reply #1 on: 2013 January 16 13:57:42 »
Just adjust your mask to protect more the core of the bright stars. You may use a simple luminance mask instead of the star mask, and modify ir with the histogram/curves.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Help with artifacts during decon
« Reply #2 on: 2013 January 16 14:56:47 »
with my DSLR and camera lenses, i'd sometimes notice that the 3 color planes are not all in focus. many times the red channel would be out of focus compared to the green and blue channels. i'm not sure if this is due to IR bloat, or simply that when using refracting optics, chromatic aberrations are always with us.

at any rate, because the FHWM in the red channel is higher than the other two, the PSF computed from the RGB is probably going to be the wrong size for the red channel, which leads to ringing in the red channel, and blue/green artifacts in the final product.

so if i deconvolved this data, i would do a separate PSF on the R channel. usually the same PSF was useable on the G and B channels. but you have to deconvolve 3 times on the extracted R,G,B which is kind of a pain.

there's also the topic of making a synthetic luminance channel from your RGB data. however, this is not quite as simple as just extracting L* from the RGB. at the very least you need to set the RGB weights to 1,1,1 with the RGBWorkingSpace tool before doing this. Juan tried to explain this all to me in the context of deconvolution, but i'm still not sure what the right way is to create synthetic luminance. L* is actually Lightness and is not the same thing as Luminance. and Lum created from RGB is not actually the same as the true luminance because of the gaps between the RGB filters in the bayer matrix.

anyway, assuming you can properly create a synthetic L channel, you could deconvolve that and then do an LRGB merge. this avoids having to do per-channel deconvolution on the RGB.

Offline Jim_

  • Newcomer
  • Posts: 30
Re: Help with artifacts during decon
« Reply #3 on: 2013 January 17 12:08:39 »
I'll try playing around with a luminance and see what I can get.
My star mask is about as strong as you can get so it probably is something to do with the color channels not being on the same plane.
Thanks for the input guys!!!

Jim

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Help with artifacts during decon
« Reply #4 on: 2013 January 17 13:56:51 »
i think i may have been drinking when i wrote that.  :o

i'm trying to say that you need to extract a PSF for each channel separately and deconvolve each channel separately. sometimes though the PSF computed for G will also work okay with B. then reunite the 3 channels into a new RGB image and continue processing.

alternatively, construct synthetic luminance, deconvolve that (and process it all the way thru stretch, etc.) and then use that L in an LRGB combine with the RGB data, which has been stretched/processed similarly to the L.