Home / Camera Sensors / Article
PHOTOLABGUIDE TECHNICAL GUIDE

Color Filter Arrays (CFA) and Pixel Architectures: Bayer vs. Fujifilm X-Trans vs. Foveon vs. Monochrome Sensors

🌈
Colorimetry & Spectral Filtering Architectures

An authoritative imaging science dissertation analyzing Color Filter Arrays (CFA) and spectral separation physics. We evaluate Bryce Bayer’s RGGB Mosaic, Fujifilm’s 6×6 Aperiodic X-Trans matrix, Optical Low-Pass Filters (OLPF) and Moire aliasing, Sigma’s Foveon X3 vertical silicon wavelength absorption, Quad-Bayer / Tetrapixel binning, and true Achromatic Monochrome sensors.

Here is a fundamental physical truth that surprises many photographers: Every silicon photodiode on a digital camera sensor is completely colorblind. Silicon is a monochromatic semiconductor; it can count the intensity of arriving photons (luminance), but it cannot distinguish whether a photon is a 450nm blue wavelength, a 530nm green wavelength, or a 620nm red wavelength without discarding energy.

To reconstruct full-color photographs from a monochromatic grid of silicon photodiodes, camera engineers must place a microscopic matrix of spectral dye or pigment filters directly above the pixel wells—a structure known as the Color Filter Array (CFA). The design of this filter array dictates a camera’s color accuracy, fine-detail spatial resolution, susceptibility to false-color moire patterns, and high-ISO sensitivity.

1. The Bryce Bayer RGGB Pattern: 50% Green, 25% Red, 25% Blue

Patented by Eastman Kodak scientist Bryce Bayer in 1976 (US Patent 3,971,065), the Bayer Filter Mosaic remains the overwhelming industry standard across 95% of digital cameras. The Bayer array arranges primary absorptive color filters over a repeating 2 × 2 pixel grid consisting of two Green filters, one Red filter, and one Blue filter (RGGB).

Why Twice as Many Green Pixels?
Bayer engineered his filter matrix to mimic the physiological spectral sensitivity of the human eye. Under daytime photopic vision, human retinal M-cones and L-cones exhibit peak luminance sensitivity around 550 nanometers (emerald green light). By dedicating 50% of the sensor’s pixels to the green channel, the Bayer array maximizes perceived spatial sharpness (acutance) and luminance signal-to-noise ratio, while relying on chrominance interpolation for the red and blue channels where human visual acuity is naturally lower.

The Mathematical Price of Bayer Filtering:
Because each individual pixel records only one-third of the required RGB color triplet (either Red, Green, or Blue) and blocks the remaining two-thirds of incoming light wavelengths via absorptive dyes, roughly 60% to 65% of incoming visible photons are absorbed and wasted in the color filter layer before ever reaching the silicon photodiode! Furthermore, the missing two color values for every pixel must be mathematically guessed from neighboring pixels during raw conversion—a process known as Demosaicing.

2. Moire Aliasing, Nyquist Frequency, and the Optical Low-Pass Filter (OLPF)

Because a standard 2 × 2 Bayer grid repeats with strict geometric regularity, it is mathematically vulnerable to Spatial Aliasing and Color Moire when photographing fine repeating patterns (such as woven suit fabrics, architectural window screens, bird feathers, or distant roof tiles) whose spatial frequency approaches or exceeds the sensor’s Nyquist Limit:

Nyquist Frequency (fN) = 1 / ( 2 × Pixel Pitch [mm] )   [measured in Line Pairs per Millimeter, lp/mm]

When high-frequency optical details beat against the regular 2 × 2 RGGB sampling grid, demosaicing algorithms misinterpret luminance lines as false rainbow-colored swirls (chrominance moire).

Birefringent Lithium Niobate OLPF Stacks:
To prevent moire, traditional cameras place a two-layer Optical Low-Pass Filter (Anti-Aliasing Filter) constructed from birefringent crystalline quartz or lithium niobate in front of the sensor. The OLPF splits every incoming light ray into four micro-displaced points across a 2 × 2 pixel square, intentionally blurring spatial frequencies above the Nyquist limit so moire cannot form—at the cost of slightly softening pixel-level micro-contrast.

3. Fujifilm X-Trans CFA: Conquering Moire via 6×6 Aperiodic Randomness

To eliminate the blurring penalty of an Optical Low-Pass Filter without suffering severe color moire on 26MP and 40MP APS-C sensors, Fujifilm engineered the proprietary X-Trans Color Filter Array.

Inspired by the random, non-repeating distribution of silver halide grains in traditional photographic film, X-Trans replaces the simple 2 × 2 Bayer pattern with a complex, pseudo-random 6 × 6 pixel matrix (36 pixels per repeating block):

  • Every Row and Column Contains R, G, and B: In a standard Bayer sensor, alternating rows lack either Red or Blue pixels entirely. In X-Trans, every single horizontal and vertical line of pixels contains at least one Red, Green, and Blue pixel, preventing false-color streaks along horizontal and vertical structural edges.
  • 2×2 Green Clusters for Acutance: The 6 × 6 X-Trans grid incorporates diagonal 2 × 2 clusters of green pixels (increasing green coverage to 55.6% vs Bayer’s 50%), preserving fine luminance edge detail without an OLPF.
  • The Demosaicing Trade-Off: Because the 6 × 6 pattern spans a wider physical radius than a 2 × 2 Bayer block, X-Trans requires specialized, computationally intensive demosaicing algorithms (such as Capture One or Iridient Transformer) to avoid subtle “worm-like” artifacts in fine foliage textures.

4. Foveon X3 and Pure Monochrome Sensors: Eliminating Interpolation Entirely

Two specialized sensor architectures reject side-by-side color filter mosaics altogether, achieving true 100% pixel-level spatial resolution without demosaicing interpolation:

1. Foveon X3 Vertical Direct Image Sensors:
Rather than filtering colors horizontally across adjacent pixels, Foveon sensors exploit the physical law that different wavelengths of light penetrate crystalline silicon to different physical depths! Blue light (short wavelength, ~450nm) is absorbed near the top surface of silicon; Green light (~530nm) penetrates to the middle depth; Red light (long wavelength, ~620nm) penetrates deepest. By stacking three photodiodes vertically at precise silicon depths within every single pixel location, a Foveon sensor captures full 100% Red, Green, and Blue values at every pixel with zero color moire and breathtaking micro-contrast—though it suffers at high ISOs due to heavy light attenuation in the deep silicon layers.

2. Dedicated Achromatic Monochrome Sensors (Leica M11 Monochrom, Pentax K-3 III Monochrome):
On a true Monochrome camera, the Color Filter Array and OLPF are physically omitted during semiconductor manufacturing. Every silicon photodiode is exposed directly to the full spectrum of incoming light. This delivers two massive optical advantages:

  • Zero Demosaicing Blur: Because there is no color interpolation across neighboring pixels, a 60MP Monochrome sensor resolves fine spatial detail equivalent to an 85MP to 90MP Bayer color sensor!
  • 1.5-Stop Quantum Efficiency Boost: Because no photons are absorbed by red, green, or blue dye filters, nearly 100% of incident photons reach the silicon well, improving high-ISO noise performance and tonal gradation by over 1.5 stops.

5. Color Filter Array Architectural Comparison Matrix

The comparative engineering characteristics across the primary CFA and non-CFA sensor designs are summarized below:

CFA Architecture Color Channel Ratio Moire Aliasing Susceptibility Demosaicing Complexity Representative Camera Implementations
Bayer Mosaic (2×2 RGGB) 50% G, 25% R, 25% B High (Requires OLPF or high MP) Universal fast demosaicing Standard across Sony, Canon, Nikon, Leica
Fujifilm X-Trans (6×6) 55.6% G, 22.2% R, 22.2% B Very Low (No OLPF needed) Complex 6×6 interpolation Fujifilm X-T5, X-H2, X-Pro3
Quad-Bayer / Tetrapixel (4×4) 2×2 grouped same-color clusters Moderate Dynamic pixel binning for video/HDR Smartphones, OM-1, Sony a7S III
Foveon X3 Vertical Silicon 3 vertical layers per pixel (100% RGB) Zero Color Moire Zero spatial interpolation needed Sigma sd Quattro, dp Merrill series
True Monochrome (No CFA) 100% Panchromatic Luminance Zero Color Moire Direct 1:1 pixel luminance mapping Leica M11 Monochrom, Phase One Achromatic

6. Quad-Bayer, Nonacell, and Octa-PD Sensor Architectures

Over the past five years, high-end smartphones, action cameras, and hybrid mirrorless cameras (such as the OM System OM-1 and Sony a7S III) have pioneered grouped Color Filter Array layouts known as Quad-Bayer (2 × 2 same-color clusters, 4 × 4 total grid) and Nonacell (3 × 3 same-color clusters).

How Quad-Bayer Sensors Operate:
In a Quad-Bayer sensor, four adjacent photodiodes sit underneath a single shared color filter (e.g., four Red pixels grouped together, four Blue pixels grouped together, and two 2 × 2 groups of Green pixels). This architecture unlocks three dynamic operating modes:

  • 1. High-Resolution Remosaic Mode (Daylight): In bright light, an on-chip hardware DSP executes a real-time remosaicing algorithm to convert the 4 × 4 Quad-Bayer array into a standard full-resolution Bayer file (e.g., 48MP or 50MP).
  • 2. 2×2 Charge/Voltage Binning Mode (Low Light): In dim environments, the four adjacent same-color pixels are summed together in hardware before readout, acting as a single giant super-pixel with 4x the surface area and 4x the Full-Well Capacity (e.g., outputting a super-clean 12MP file).
  • 3. Staggered Single-Frame HDR Mode: Two pixels in each 2 × 2 cluster expose for a short duration (preserving highlights) while the other two pixels expose for a long duration (capturing shadows), fusing an instant HDR frame with zero multi-frame motion blur!
  • 4. Cross-Type Quad-Pixel Phase Detection Autofocus (Quad-PD): By placing a single shared microlens over each 2 × 2 pixel group, the sensor can compare phase differences both horizontally (left vs. right pixels) and vertically (top vs. bottom pixels) across 100% of the sensor area!

7. Pixel-Shift Multi-Shot: Achieving True RGB Resolution on Bayer Sensors

Because a standard Bayer or X-Trans sensor records only one color channel per pixel location, studio photographers and archival museum technicians utilize Pixel-Shift Multi-Shot (supported on Sony a7R V, Nikon Z8, Fujifilm GFX 100 II, and Hasselblad) to bypass Bayer interpolation completely when shooting static subjects on a tripod.

The Piezoelectric IBIS Sub-Pixel Shift Sequence:

  • 4-Shot True Color Mode: Using the camera’s In-Body Image Stabilization (IBIS) voice-coil actuators, the camera shifts the sensor by exactly 1 pixel pitch horizontally and vertically across four consecutive exposures (Up, Left, Down, Right). Every single point in the scene is now physically sampled by a Red pixel, two Green pixels, and a Blue pixel!
  • 16-Shot Sub-Pixel Super-Resolution Mode: After completing the 4-shot RGB sequence, the IBIS unit shifts the sensor by 0.5 pixel pitch (half-pixel increments) across four quadrants, combining 16 raw files into a massive 240-megapixel or 400-megapixel composite image with zero color moire, zero demosaicing artifacts, and 2 stops of random noise reduction.

8. Infrared (IR), Ultraviolet (UV), and Full-Spectrum Sensor Conversions

Raw crystalline silicon is naturally sensitive to wavelengths spanning from 300nm (Ultraviolet) all the way to 1,100nm (Near-Infrared)—far wider than the human visual spectrum (400nm to 700nm). If left unfiltered, invisible infrared light flooding through the lens would contaminate visible color channels, turning black synthetic fabrics magenta and green tree foliage pale pink, while introducing focus shift because infrared wavelengths focus at a different plane than visible light.

To prevent this, camera manufacturers install a dichroic Hot Mirror (IR/UV Cut Filter) directly over the sensor stack that reflects wavelengths above 680nm and below 400nm. Astrophotographers and fine-art infrared photographers modify their sensors in two ways:

  • Hydrogen-Alpha (H-α 656.3nm) Astrophotography Modification: Replaces the aggressive stock hot mirror—which blocks 75% of deep-red 656nm Hydrogen-Alpha emission nebula light—with an astro-clear filter that passes 99% of H-α while still cutting beyond 700nm.
  • Full-Spectrum Conversion: Replaces the hot mirror with pure fused silica optical glass, allowing the photographer to mount external 590nm, 720nm, or 850nm infrared filters on the lens to capture surreal, glowing white foliage and pitch-black skies.

9. Color Filter Dye Chemistry: Thick Colorimetric Filters vs. Thin High-ISO Filters

Not all Bayer RGGB Color Filter Arrays are created equal! Even when two cameras use the exact same Sony or Canon 24MP or 45MP sensor architecture, camera manufacturers specify custom Organic Pigment Dye Formulations and Filter Thicknesses that prioritize either Colorimetric Accuracy (Color Separation) or High-ISO Light Transmission.

1. Strong / Thick Colorimetric CFA Dyes (Phase One, Hasselblad, Leica, Canon Studio):
By using denser, spectrally narrow pigment filters with minimal spectral overlap between Red, Green, and Blue bands, the sensor achieves extraordinary Spectral Discrimination. Subtle variations in human skin tones (such as crimson capillaries vs. golden-peach epidermis), fine art oil paints, and autumn foliage are separated cleanly into distinct RGB ratios. The trade-off is lower light transmission, requiring slightly more exposure at base ISO.

2. Weak / Permissive High-Transmission CFA Dyes (Sports & Low-Light Bodies):
To maximize high-ISO performance at ISO 12,800 and 25,600, sports cameras utilize thinner, broader-band color filters that allow more photons through to the photodiode. While this boosts raw photon count and reduces luminance grain in dark stadiums, the overlapping spectral bands cause Red, Green, and Blue channels to bleed into one another—requiring aggressive 3 × 3 Color Matrix multiplication during raw conversion, which amplifies chrominance (color) blotches in the shadows.

10. Demosaicing Algorithms Compared: AMaZE, RCD, VNG, and Neural AI Demosaicing

Because a Color Filter Array captures only one color channel per pixel, the mathematical algorithm used to interpolate the missing two color channels—Demosaicing—plays a decisive role in final image sharpness and artifact control. In professional raw processors (RawTherapee, Darktable, Capture One, Lightroom), photographers can select specialized demosaicing engines tailored to the scene:

  • AMaZE (Aliasing Minimization and Zipper Elimination): Evaluates local directional gradients across 5 × 5 pixel neighborhoods before interpolating chrominance. AMaZE is the gold standard for low-ISO landscape and architectural raw files, delivering razor-sharp 1-pixel detail without “zipper” artifacts along high-contrast diagonal edges.
  • RCD (Ratio Corrected Demosaicing): Utilizes color-ratio invariance over local luminance gradients. RCD prevents false color spikes on high-contrast point light sources, making it the premier choice for astrophotography star fields and night cityscapes.
  • LMMSE (Linear Minimum Mean Square Error): Designed specifically for high-ISO noisy raw files (ISO 6400+). Instead of chasing single-pixel edges that might actually be random shot noise spikes, LMMSE applies statistical smoothing during color interpolation, preventing single noisy pixels from turning into ugly 3 × 3 colored maze patterns.
  • Markesteijn & 3-Pass X-Trans Demosaicing: Engineered specifically for Fujifilm’s 6 × 6 X-Trans matrix, analyzing multi-directional green pixel clusters over a larger radius to reconstruct artifact-free color transitions.

By pairing the right Color Filter Array hardware with precision demosaicing software, photographers unlock the full resolving power of their optical systems.

TC

Taryn Crooks

Senior Photolabguide Specialist

Senior Agricultural Researcher & Livestock Husbandry Specialist at Photolabguide. Dedicated to advancing sustainable flock management, genetic conservation, and precision ovine nutrition.

Leave a Comment