Hot answers tagged

24 votes
Accepted

RAW files store 3 colors per pixel, or only one?

Raw files don't really store any colors per pixel. They only store a single brightness value per pixel. It is true that with a Bayer mask over each pixel the light is filtered with either a Red, Green,...
Michael C's user avatar
  • 175k
14 votes
Accepted

Why is the IR filter present when there is already the Bayer filter on an image sensor?

The Bayer filter passbands are designed to be make the sensor have a reasonable match to the human eye, while not costing too much. They're fairly leaky even in the visible part of their stop band, ...
Chris H's user avatar
  • 3,812
7 votes

Can the human eye be seen as more like a Bayer sensor than a Foveon sensor?

It's more complicated than this because: Moiré appears when there is a slight difference of spatial frequency between the image and the sensor. But the cones and the rods, being organic, are not in a ...
xenoid's user avatar
  • 21.1k
7 votes

Why do Bayer images of total darkness contain stripes?

They don't. You're interpreting the raw data wrong. According to the PiCamera documentation, the Pi's 10-bit raw data is encoded as 5 bytes in the following manner: The Pi's Bayer array is BGGR. So ...
scottbb's user avatar
  • 32.6k
6 votes

RAW files store 3 colors per pixel, or only one?

Ken is right in the claim you quote — sort of. It is correct that digital cameras today (with the exception of those with Sigma's Foveon sensors) work by using a Bayer matrix, and sensor resolution is ...
mattdm's user avatar
  • 143k
6 votes

Can we improve phone cameras using separate sensors for each of RGB?

Your idea is very interesting. But there are some very serious problems. Parallax. Because the sensors will be shifted to each other they will "see" different picture. And the process of creating one ...
Romeo Ninov's user avatar
  • 11.9k
5 votes

Can we improve phone cameras using separate sensors for each of RGB?

Modern smartphone image quality is limited by their tiny sensor size, lens quality and diffraction, not the demosaicing process. Therefore, the idea does not seem to be useful. Note that ...
szulat's user avatar
  • 5,060
5 votes

Can we improve phone cameras using separate sensors for each of RGB?

Many video cameras already do just what you propose. But they use a beam splitting system between the lens and the sensors which essentially cuts the amount of light reaching each sensor by roughly ...
Michael C's user avatar
  • 175k
4 votes
Accepted

What are the peak wavelengths passing through a bayer filter?

thus there must be a certain specific peak wavelength for all the three Not it must not. 1) The spectral sensitivities may have two or more extremums with IR filter removed. 2) Colorimetry does ...
Euri Pinhollow's user avatar
4 votes

Pixels and Subpixels usage in TIFF and RAW

Basically, a RAW file stores data directly from the sensor of your camera. Most DSLR are using what is called a Bayer filter (https://en.wikipedia.org/wiki/Bayer_filter) to retrieve information about ...
Olivier's user avatar
  • 4,173
4 votes
Accepted

The meaning of Y in sRGB color space

The table shows the CIE 1931 xyY color space equivalents for the 3 primary colors of sRGB and for white (sRGB 1 1 1). So all the table says is: ...
szulat's user avatar
  • 5,060
3 votes

Why do Bayer images of total darkness contain stripes?

Your premise is wrong and lies already in the definition of noise. if it would affect all sensor sites equally, it wouldn't be noise but only an offset. Noise means that some more-or-less random ...
ths's user avatar
  • 7,152
3 votes

Can we improve phone cameras using separate sensors for each of RGB?

This technology exists in the form of a 3ccd / 3-chip camera. There would be some issues with fitting the prism into the space available in a phone. I think you would end up with something at least as ...
PhotoScientist's user avatar
2 votes

Pixels and Subpixels usage in TIFF and RAW

pixel has different meaning in spheres of display technology and sensor technology. pixel of RGB Bayer sensor is represented by ...
Euri Pinhollow's user avatar
2 votes

RAW files store 3 colors per pixel, or only one?

It is all true, but the interpretation can be stretched. That specific raw color pattern is called a Bayer pattern. Yes, raw is one color per pixel, and that one pixel is (typically) 12 bits. So ...
WayneF's user avatar
  • 12.9k
2 votes

What demosaic algorithm is best for DNG to B&W conversion?

I figure that at some point someone has devised a demosaic algorithm that is optimal for converting a Bayer DNG to a B&W photograph. Well "optimal" is in the eye of the beholder. Your idea of an ...
StephenG - Help Ukraine's user avatar
2 votes

is it possible to retrace back to the values of intensities that have been captured by the digital camera from the image's RGB values?

Only if you still have the original data from the raw file. You cannot normally derive the original monochromatic luminance values from each sensel (pixel well) on the sensor from the demosaiced data ...
Michael C's user avatar
  • 175k
2 votes

Bayer color effective true resolution

I saw multiple posts online which said it's reduced by 1 / sqrt(2), but they offered no explanation of why this is the case. This one is easy to explain. The typical Bayer tile has two identical ...
Ruslan's user avatar
  • 560
2 votes

Why do Bayer images of total darkness contain stripes?

Given that sensor noise affects all sensor sites equally/randomly, why does the raw unprocessed Bayer data have such prominent vertical stripes? As @scottbb already explained the RAW format layout ...
2 votes

Advantages of complex demosaicing algorithms on images to be scaled down

Demosaicing is a bit more complex than you think and the relative position of the R/G/B sensels is important. If you take groups of sensels instead the algorithm would be different. Combine that with ...
xenoid's user avatar
  • 21.1k
2 votes

The meaning of Y in sRGB color space

Government regulators that control TV broadcast transmissions were faced with the problem of allowing color TV to be broadcasted without hampering the majority of TV sets that were monochromatic (...
Alan Marcus's user avatar
  • 38.9k
1 vote

Is it possible to read one bayer raw data steam file using RawTherapee?

RawTherapee uses an embedded copy of the DCRAW utility to read and decode the RAW file (original source code). So, you need to add support for your file format here.
user24582's user avatar
  • 771
1 vote

Advantages of complex demosaicing algorithms on images to be scaled down

Your idea of "four pixel grouping" doesn't work for several reasons. But the primary one is a BIG one. The colors of our color filter arrays (typically a Bayer mask, but some camera makers ...
Michael C's user avatar
  • 175k
1 vote

Advantages of complex demosaicing algorithms on images to be scaled down

The advanced "Aliasing Minimization and Zipper Elimination" (AMaZE) demosaicing algorithm explicitly has "Zipper Elimination" in its name, and zippering is a non-local mosaicing/...
user102869's user avatar
1 vote

Can the human eye be seen as more like a Bayer sensor than a Foveon sensor?

With regard to moire, not really. Both Bayer masked sensors and Foveon sensors have regular grids of photosites that contribute in a large way to moire. Cones (and rods, for that matter) in the human ...
Michael C's user avatar
  • 175k
1 vote

Bayer color effective true resolution

IF the filters in Bayer masks created three discrete color ranges in which any particular wavelength could only pass through a single filter, then the resolution would be 1/2 for the "green" filtered ...
Michael C's user avatar
  • 175k
1 vote
Accepted

At which point do cameras scale photos down when using quarter sensor resolution?

Commonly cameras capture data using the full sensor which gives full-resolution RAW data which is converted into an image and then downscaled. As a matter, if you select to shoot JPEG+RAW, you do ...
Itai's user avatar
  • 103k
1 vote

The CCTV cameras that show black and white images, do they have bayer filters attached on their CCD/CMOS image sensors?

If you want to do "astro-photography" , spend your money on the telescope and tracking gear. The camera is almost incidental by comparison. While a grayscale CCTV camera may be cheap, it'll also have ...
Carl Witthoft's user avatar
1 vote

How can I simulate a bayer filter (or just RGB channels) using photoshop layers?

How can I essentially combine pure red, green, and blue info in 3 layers to create full color? You have to start with pure 'Red', pure 'Green', and pure 'Blue' color information. But that's not what ...
Michael C's user avatar
  • 175k
1 vote

How can I simulate a bayer filter (or just RGB channels) using photoshop layers?

When talking about blending the layers, creating 3 layers with red/green/blue data and choosing a blend mode of Difference can achieve what you want.
D. Jurcau's user avatar
  • 881

Only top scored, non community-wiki answers of a minimum length are eligible