Ugly Hedgehog - Photography Forum
Home Active Topics Newest Pictures Search Login Register
Main Photography Discussion
Is it worth it to remove the Bayer array?
Page <<first <prev 3 of 3
Feb 23, 2021 22:28:07   #
JBRIII
 
selmslie wrote:
You asked about converting a color image to B&W. That means that the color filter array (CFA) is still present. That's what I thought you were asking about.

If you look in this post you will see this chart:



Blue, green and red filters overlap in a typical CFA and they extend into the IR range if the IR cut filter is removed.

But you are probably not going to find a plot like this for your specific camera. For that matter you might find it difficult to find one for an specific color filter you can screw onto your lens.

If you want to keep the CFA and supplement it with a separate color filter over the lens, knock yourself out. You will just be spitting into the wind. I would not bother.
You asked about converting a color image to B&... (show quote)


I guess I am not being cleared. Many say why remove the Bayer or pay for a mono camera when you can just convert a color image to B&W in software. One argument is increase in resolution of which there are images on web to support this. My question is: Is it even possible to guarantee a proper B&W luminance conversion. One writer said you adjust each different color pixel by so many stops each to account for different inherent luminance differences between colors. But to me that assumes something about the number of photos reaching a pixel is coming from that color. This would not be true for an all blue picture where all the photons on the red pixel come from blue wavelength, photos with more energy than red ones. In writing this, it occurred to me that maybe the process solves simultaneous equations to get the contribution from each color to each pixel. Thus red = 100%R + X%G + Y%B; blue = W%R + ...; factors for color energy response would be needed, etc. The values for X, etc. would be obtained from the curves you provided and might well be somewhat camera specific which would make the process again only somewhat accurate depending probably more on the Bayer filter than the sensor I would think.

Just wondering how it is really done in software if anyone knows? I'll look sometime and see if anything I have in Python or other code shows anything. I don't see how other than a pre-written option in something like PhotoShop could get it correct for a solid one color image or something close.

Thanks for response and sorry for any confusion;
Jim

Reply
Feb 24, 2021 03:31:36   #
selmslie Loc: Fernandina Beach, FL, USA
 
JBRIII wrote:
I guess I am not being cleared. Many say why remove the Bayer or pay for a mono camera when you can just convert a color image to B&W in software. One argument is increase in resolution of which there are images on web to support this. My question is: Is it even possible to guarantee a proper B&W luminance conversion. One writer said you adjust each different color pixel by so many stops each to account for different inherent luminance differences between colors. But to me that assumes something about the number of photos reaching a pixel is coming from that color. This would not be true for an all blue picture where all the photons on the red pixel come from blue wavelength, photos with more energy than red ones. In writing this, it occurred to me that maybe the process solves simultaneous equations to get the contribution from each color to each pixel. Thus red = 100%R + X%G + Y%B; blue = W%R + ...; factors for color energy response would be needed, etc. The values for X, etc. would be obtained from the curves you provided and might well be somewhat camera specific which would make the process again only somewhat accurate depending probably more on the Bayer filter than the sensor I would think.

Just wondering how it is really done in software if anyone knows? I'll look sometime and see if anything I have in Python or other code shows anything. I don't see how other than a pre-written option in something like PhotoShop could get it correct for a solid one color image or something close.

Thanks for response and sorry for any confusion;
Jim
I guess I am not being cleared. Many say why remov... (show quote)

You are over-thinking this.

Just take a picture and edit it until it looks right.

Reply
Page <<first <prev 3 of 3
If you want to reply, then register here. Registration is free and your account is created instantly, so you can post right away.
Main Photography Discussion
UglyHedgehog.com - Forum
Copyright 2011-2024 Ugly Hedgehog, Inc.