Author Topic: L RGB  (Read 5303 times)

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
L RGB
« on: 2009 February 20 10:13:23 »
Hi Everybody
 
I am adding some Lum to a OSC RGB and ask peoples advice on the following

1) It seems to be best add stretched images together but is fully stretched best or do we leave a bit to
    work with when combined?
2) would you fully work each image inc things like HDR wavlets, noise reduction or again leave this till
   combined.
3) Advice on how to handle the transfer functions


Plus any other brilliant advice other people have as I have struggled with this on other programs , and I just know when I can do it Pixinsight will be better



Regards Harry
Harry Page

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Re: L RGB
« Reply #1 on: 2009 February 20 11:10:10 »
Quote from: "Harry page"
2) would you fully work each image inc things like HDR wavlets, noise reduction or again leave this till
   combined.


There's a guy in the spanish astrophoto community who performs, at least, a NR before stacking the images. His images are really clean, I must say...
--
 David Serrano

Offline mmirot

  • PixInsight Padawan
  • ****
  • Posts: 881
L RGB
« Reply #2 on: 2009 February 20 12:28:06 »
These are answers I would like to know myself.

I find it easy to put together the RGB and stay linear.

I generally need a non-linear strech to add Luminence to the image.

Otherwise, I have trouble with getting proper color saturation.

I wish could find a way to put a total linear LRGB together and still get control of color saturation.


Max

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
L RGB
« Reply #3 on: 2009 February 23 06:15:03 »
Hi Harry,

Quote
1) It seems to be best add stretched images together but is fully stretched best or do we leave a bit to work with when combined?

Quote
2) would you fully work each image inc things like HDR wavlets, noise reduction or again leave this till combined.


My recommendation is to combine the RGB image and stretch it. Then stretch the luminance and use the LRGBCombination tool. Just stretch the images with a single instance of HistogramTransformation; leave the rest for the combined LRGB image. PixInsight can apply most processes to luminance and chrominance selectively, so it is definitely better and easier to work with the combined image.

Quote
3) Advice on how to handle the transfer functions


The key point is that luminance and chrominance must be correctly adapted, or the LRGB combination thing will lead to more problems than solutions. If the luminance is too strong you'll lose color. If the chrominance is too strong you'll get too much noise. For this reason we included luminance and color saturation transfer functions. Use these to achieve the best possible result in terms of color richness and noise. Use the chrominance noise reduction algorithm, if necessary, to fix the noise that results after a strong color saturation increase. Use previews with LRGBCombination to ease your work.

Hope this helps. Hopefully we'll produce a video tutorial on the LRGBCombination tool (the current tutorial is obsolete).
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
L RGB
« Reply #4 on: 2009 February 23 06:40:38 »
Hi Max,

Quote
I generally need a non-linear strech to add Luminence to the image.


Of course. This is because LRGBCombination works in the CIE L*a*b* and CIE L*c*h* color spaces. Both are nonlinear spaces. For this reason you need to stretch (nonlinearly) the RGB and luminance images prior to combine them.

Quote
I wish could find a way to put a total linear LRGB together


Yes we can :) Do the following:

- Open your luminance and RGB images. We assume both are linear images.

- Open the RGBWorkingSpace tool and define a linear RGB color space. A linear space has a value of gamma equal to one. So expand the Gamma section, disable the "Use sRGB gamma function" option, and set gamma = 1.0.

- In addition, if you're working with a deep sky image, you may want to define custom RGB weights. On the Luminance Coefficients section, my advice is to set equal weights for the three channels (for example R=G=B=1).

- Apply this instance of RGBWorkingSpace to the RGB and luminance linear images.

- Open the ChannelCombination tool. Select the CIE XYZ space. Disable the X and Z components. For the Y component, select your linear luminance image. Apply this instance to your linear RGB image.

Now you have a YRGB linear image :)

Don't forget to apply the linear RGB working space that you defined above to your YRGB image each time you open it, or otherwise all luminance/chrominance separations will be incorrect! Also, to apply a process to the luminance, use the linear luminance option with the tools that support it, notably Deconvolution, ATrousWaveletTransform, and RestorationFilter.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
L RGB
« Reply #5 on: 2009 February 24 10:00:16 »
Hi Juan

Thanks for the info and look forward to seeing your next video


Regards Harry
Harry Page

Offline C. Sonnenstein

  • PixInsight Addict
  • ***
  • Posts: 262
    • http://astrosurf.com/astro35mm
L RGB
« Reply #6 on: 2009 March 29 11:01:39 »
Quote from: "Juan Conejero"
- Open your luminance and RGB images. We assume both are linear images.

- Open the RGBWorkingSpace tool and define a linear RGB color space. A linear space has a value of gamma equal to one. So expand the Gamma section, disable the "Use sRGB gamma function" option, and set gamma = 1.0.

- In addition, if you're working with a deep sky image, you may want to define custom RGB weights. On the Luminance Coefficients section, my advice is to set equal weights for the three channels (for example R=G=B=1).

- Apply this instance of RGBWorkingSpace to the RGB and luminance linear images.

- Open the ChannelCombination tool. Select the CIE XYZ space. Disable the X and Z components. For the Y component, select your linear luminance image. Apply this instance to your linear RGB image.

Now you have a YRGB linear image


I've tried this to obtain a YRGB linear image, but when I combined the Y luminance with the linear RGB data, all statistical information for the background red channel turns to zero. It seems something I'm loosing.  :(
Carlos Sonnenstein