top | item 46415718

(no title)

ranger207 | 2 months ago

It's a single value per pixel, but each pixel has a different color filter in front of it, so it's effectively that each pixel is one of R, G, or B

discuss

order

XCSme|2 months ago

So, for a 3x3 image, the input data would be 9 values like:

   R G B
   B R G
   G B R

?

jeeyoungk|2 months ago

If you want "3x3 colored image", you would need 6x6 of the bayer filter pixels.

Each RGB pixel would be 2x2 grid of

``` G R B G ```

So G appears twice as many as other colors (this is mostly the same for both the screen and sensor technology).

There are different ways to do the color filter layouts for screens and sensors (Fuji X-Trans have different layout, for example).

card_zero|2 months ago

In the example ("let's color each pixel ...") the layout is:

  R G
  G B
Then at a later stage the image is green because "There are twice as many green pixels in the filter matrix".