Author Topic: VNG vs Bilinear deBayer - colour calibration  (Read 4063 times)

astropixel

  • Guest
VNG vs Bilinear deBayer - colour calibration
« on: 2011 October 31 17:15:31 »
As before except colour calibration is quite different.

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: VNG vs Bilinear deBayer - colour calibration
« Reply #1 on: 2011 November 01 00:39:23 »
Now, this is quite strange. Something like this never happened to me on any of testing images. As with the previous one, cropped version of your bayered data would be a lot of help.

Zbynek

astropixel

  • Guest
Re: VNG vs Bilinear deBayer - colour calibration
« Reply #2 on: 2011 November 01 10:07:31 »
Thanks Zbynek. Here is the top left corner 200x200 in 32bit floating point  tiff format.

« Last Edit: 2011 November 01 10:22:51 by astropixel »

Offline zvrastil

  • PixInsight Addict
  • ***
  • Posts: 179
    • Astrophotography
Re: VNG vs Bilinear deBayer - colour calibration
« Reply #3 on: 2011 November 01 12:28:23 »
Hello,

thanks for the data. I tried it and got a result I'd expect. It's green but the color is same for Bilinear an VNG. My guess is that you applied STF with linked channels to VNG result and STF with unlinked channels to Bilinear result. I tried it and got something very similar to images attached to your post. Can you please try it again and stretch both Bilinear and VNG images with same STF process instance?

On the attached image (which has moderate manual STF), you can see that same dark pixels are in the Bilinear image as well, they are just less pronounced. So they are part of the original data noise. Bilinear debayering tends to smooth things, acting as low-pass filter. For smooth surfaces, it works great. But on sharp edges, it produces color artifacts - you can see these strange colors on star edges. VNG on the other hand tries to detect and keep edges. Result is sharper and there are no color artifacts. But the noise is also sharper  as it is not smoothed out by low-pass filtering of Bilinear interpolation. So individual pixels, which are darker because of noise tend to stay individual dark pixels after VNG debayering.

I personally don't consider this as an disadvantage. Small-scale noise is easier to deal with when compared to large-scale one.

best regards, Zbynek

astropixel

  • Guest
Re: VNG vs Bilinear deBayer - colour calibration
« Reply #4 on: 2011 November 01 13:59:21 »
Thanks. I suspect that is correct. I'm not sure how I managed to use different STF on each image.

I'll try it again.

EDIT: I processed an image set twice, ~40 frames, once with Bilinear and a second time with VNG - other than the differences in sharpness and colour  that you mention there are no black pixels.

I intend reprocessing two other sets that I have to see what improvements it will make.

Thanks again.

ap