Filmlexikon.
Support
RGGB / Bayer Pattern / Bayer Filter Array / CFA
Camera · Technique

RGGB / Bayer Pattern / Bayer Filter Array / CFA

Murnau AI illustration
bayer pattern cmos ccd raw

Color filter array pattern used in most digital image sensors where each pixel is covered by either a red, green, or blue filter in a repeating 2x2 mosaic with two green pixels, one red, and one blue – mimics human vision's greater sensitivity to green and requires demosaicing to produce full-color images.

What is RGGB?

RGGB is the standard Color Filter Array (CFA) on digital image sensors. In this Bayer pattern, each pixel is covered by a color filter – two green, one red, one blue per 2x2 block – to capture color information.

Basic Principle

AspectDescription
Pattern2x2 Mosaic
Composition50% G, 25% R, 25% B
InventorBryce Bayer (Kodak, 1976)
PurposeColor capture with single sensor

Pattern Arrangement

PositionFilter
Top LeftRed (R)
Top RightGreen (G)
Bottom LeftGreen (G)
Bottom RightBlue (B)

Why 50% Green?

ReasonExplanation
Human PerceptionEye is more sensitive to green
LuminanceGreen contributes most brightness
SharpnessBetter detail resolution
ContrastHigher sensitivity

Demosaicing

AspectDescription
DefinitionInterpolation of missing colors
ProcessAlgorithm-based
GoalFull-color pixel
QualityAlgorithm-dependent

Demosaicing Algorithms

AlgorithmCharacteristics
BilinearSimple, fast
VNGVariable Number Gradients
AHDAdaptive Homogeneity
AMaZEHigh-Quality

Artifacts

ArtifactCause
MoiréFine patterns
Color FringingInterpolation errors
False ColorEdge problems
Zipper EffectDiagonal edges

Resolution

AspectDescription
NominalPixel count
Effective~70% due to CFA
Color ResolutionHalf nominal
Luma Resolution~Full nominal

Alternative CFAs

PatternDifference
RGBW+ White pixel
RGBE+ Emerald
X-Trans6x6 irregular
Quad Bayer4-pixel groups

Fuji X-Trans

AspectDescription
Pattern6x6 non-periodic
AdvantageLess moiré
DisadvantageMore complex demosaicing
UsageFujifilm X-Series

Quad Bayer

FeatureDescription
Concept2x2 same color
AdvantagePixel binning
Low-LightBetter performance
SmartphoneWidely used

Sensor Without CFA

TypeDescription
Foveon X3Three layers
MonochromeNo filter
3-CCDSeparate sensors
3-CMOSSeparate sensors

RAW Processing

PhaseDescription
CaptureBayer data
ProcessingDemosaicing
OutputRGB image
CompressionOptional

ISO and RGGB

AspectRelationship
SignalSeparate per channel
NoiseVaries by color
GreenTypically best SNR
BlueOften highest noise

White Balance

ElementDescription
MultiplierPer-channel adjustment
GreenTypically reference
Red/BlueScaled to green
RAWPossible before demosaicing

Camera Implementations

ManufacturerCFA Variant
CanonStandard RGGB
NikonStandard RGGB
SonyRGGB + Quad
REDRGGB

Best Practices

PracticeReason
RAW ShootingMaximum color data
Proper ExposureMinimize noise
Quality DemosaicReduce artifacts
Consider OLPFAnti-aliasing

Today

RGGB remains the dominant standard for digital image sensors – from smartphones to cinema cameras. Variants like Quad Bayer improve low-light performance, while X-Trans and other alternatives offer specific advantages. Understanding the Bayer pattern is fundamental for optimizing RAW workflows and maximizing image quality.

More in the lexikon

Related terms

Report an error
From the Filmfarm ecosystem

Understand visual language, budget productions, connect crew.

The Lexikon is part of the Filmfarm ecosystem — alongside budgeting (FilmBalance), an industry magazine (FilmCircus) and crew networking (FilmCall, CrewMesh). One shared vocabulary for the whole production.

FilmFarm FilmRadarComing soonFilmPulseComing soonFilmNumbersComing soonFilmCapitalComing soonFilmLabComing soonFilmBalanceComing soonFilmCircusComing soon