Jump to content

NLCbanner2024.jpg.2478be509670e60c2d6efd04834b8b47.jpg

Help needed please with GREEN !!!!!!


Trevor N

Recommended Posts

I recently purchased an Altair 138C camera. Seems to work very well and impressed with the detail in the images. I cannot however seem to stack these without the results being seriously GREEN !. I've saved using altair capture as fits and used dss to stack. I've opened the "RAW FITS" dialogue and changed to RGGB but to no avail. I guess I'm missing something here but after many attempts I'm going no where. Any help greatly appreciated. Trevor

Link to comment
Share on other sites

First check if you got your debayer settings right.

Most of the time, LP is dominant in red part of spectrum and most people have issues with red cast rather than green. I'm assuming you in fact have Altair 183C rather than 138C and above is typo - altair website says proper bayer pattern is:

GBRG

image.png.07a0adf3539588321957ca781a959935.png

It is either that or GRBG edit: RGGB (image can only be flipped upside down by software but not left to right, and that depends if one observes Y coordinate to go up or Y to go down. X always goes to the right).

If you are sure about your bayer settings and get those confirmed, here is "in depth" explanation on how color works and how to get proper color balance. Even when you get your debayer settings right, it is important to understand this.

Each sensor has different sensitivity curve regardless if it is mono + filters or OSC sensor. R, G and B from sensor do not map to R, G and B for display directly. Here is what published sensor response looks like for 183 model:

image.png.4be91e98daa954a4d52c73c8db1fe705.png

And here is what "response" for sRGB (color space most likely to be used by computer and therefore you should transform to this color space when working with computers / computer screens):

image.png.847afbccc95c510b9931de9cee67d716.png

Now, don't be confused by the fact that there is "negative" part of the curve in sRGB matching functions. sRGB color space has lower gamut than human vision and three primaries used for sRGB (type of blue, type of red and type of green) don't allow for all colors to be reproduced. Here is sRGB color gamut compared to human vision:

image.png.47382cdcd113b6afb6594a026061c555.png

sRGB color space can only display section in inner triangle, while humans can perceive everything that has been shown as color - much larger "area" in this chromaticity diagram.

You need to "subtract" some light to get things that eye can see but sRGB can't reproduce. In any case, that should not worry you much.

Important thing to note is that red and blue are "higher" then green in this graph. If you examine 183 spectral response - green is higher than other two. Raw color information from the sensor is not going to represent true color. You need to do color calibration to transform raw color information into sRGB color space. Most people don't do this, and they adjust color balance as they please (reduce green, boost blue and things like that - until they get result that they want). There are other ways to accurately transform raw color into sRGB (linear - it needs gamma adjustment later) color.

One of the ways is to do star color calibration. PI has script for this for example. Another way is to use precomputed matrix (from someone who did general color calibration for this sensor - this works only if you use same filters as that person), or alternatively doing color cards. You can purchase standard color cards that you can use for color calibration. In fact that is what they are designed for. Photographers use them to calibrate equipment. It looks something like this:

image.png.53a08e73ebd9e3f13b97400d117bef15.png

you take such card, provide uniform daylight illumination to it (or specific illuminant like D65) and shoot a picture of it with your sensor. From actual raw color values and expected color values for such chart you can derive transform matrix.

Btw, transformation is as simple as channel mixer and it goes something like this:

sRGB_red = a * raw_red + b * raw_green + c * raw_blue

sRGB_green = d * raw_red + e * raw_green + f * raw_blue

....

so you need nine numbers a, b, c, ..., i that represent your color transform matrix.

Bottom line is - don't expect raw color information to be properly white balanced, you need to do white balance on your data to get good results. Some ways of doing color balancing will produce accurate color results (star color calibration, color cards, ....), while others will be only approximate.

 

Edited by vlaiv
Wrong bayer pattern quoted for flipped image
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.