TL;DR
CPDDNet is the first joint deep-learning framework designed to handle both denoising and demosaicking for color-polarization filter array (CPFA) sensors. By introducing a gated fusion module that bridges raw noisy features with denoised structures, it avoids the error propagation inherent in traditional sequential pipelines and significantly improves polarization parameter accuracy.
What Problem Does This Paper Address?
Color-polarization filter array (CPFA) sensors are highly valuable in computer vision because they can capture both color texture and polarization information (such as orientation and degree of polarization) in a single shot. However, because the sensor's physical layout is a mosaic of 12 distinct channels (3 color channels $\times$ 4 polarization angles), the raw output requires an interpolation process called demosaicking (DM) to reconstruct the full-resolution image.
To make matters worse, in low-light or high-speed imaging scenarios, these sensors suffer from severe noise. Traditionally, engineers handle this by sequentially stacking denoising (DN) and demosaicking (DM) algorithms. However, this separation introduces a nasty trade-off:
- DM-to-DN propagates and amplifies noise artifacts during the interpolation step.
- DN-to-DM tends to oversmooth signal-dependent structures during denoising, destroying the high-frequency details essential for calculating accurate polarization parameters.
Methods
The authors propose CPDDNet (Color-Polarization Denoising and Demosaicking Network), which adopts a DN-to-DM pipeline as its base but introduces a novel feature-bridging mechanism.
The architecture consists of three main stages:
- CPFA-Domain Denoising: The 4×4 mosaic pattern is rearranged into a 16-channel tensor and passed through a U-Net architecture to remove noise while preserving polarization-aware structures.
- Bayer-Domain Color Demosaicking with GFM: Instead of passing only the denoised output to the demosaicking stage, CPDDNet utilizes a dual-encoder branch. One branch processes the denoised data, while the other processes the original noisy raw data. These features are adaptively combined using a Gated Fusion Module (GFM). The GFM uses point-wise and depth-wise convolutions alongside a gating mechanism to preserve high-frequency details from the raw input while leveraging robust, low-frequency structures from the denoised input.
- Polar Demosaicking: The final step rearranges the color-demosaicked images into a polarization mosaic and interpolates them into the final 12-channel color-polarization output.
Training Strategy
To effectively train the network, the authors use a two-stage strategy:
- Stage I: The demosaicking backbone is trained entirely on clean, noise-free data to learn the interpolation task.
- Stage II: The backbone parameters are frozen, and the GFMs are introduced and trained on noisy/denoised pairs to learn the optimal feature fusion.
Datasets
The model was evaluated using a recently published real-world polarization dataset containing 40 distinct scenes captured under three different noise levels. To test the model under the most challenging conditions, the authors utilized the "High" noise-level condition. The dataset was split into 30 scenes for training, 5 for validation, and 5 for testing.
Key Insights and Ideas
- Raw Data is a Feature Goldmine: Even when highly noisy, raw data retains high-frequency spatial details that standard denoising filters accidentally smooth away. By feeding the raw noisy data directly into the demosaicking stage via a gated module, the network can "recover" fine details that the denoising step lost.
- More Parameters, Fewer FLOPs: Counterintuitively, while CPDDNet has a larger parameter count than standard sequential pipelines due to its dual-encoder design, it requires fewer FLOPs than a DM-to-DN pipeline. This is because the denoising module operates in the downsampled, channel-separated RAW domain ($16 \times \frac{H}{4} \times \frac{W}{4}$) rather than the full-resolution RGB space.
Key Results
CPDDNet consistently outperformed both signal-processing baselines and deep-learning sequential pipelines across all evaluated metrics:
- Image Quality: For individual polarization channels ($I_0, I_{45}, I_{90}, I_{135}$), CPDDNet achieved a PSNR improvement of up to ~0.16 dB over the standard DN-to-DM deep learning baseline ($U\text{-Net} \rightarrow \text{TCPDNet}$).
- Polarization Accuracy: It achieved the highest accuracy for the Stokes parameter ($S_0$) and Degree of Polarization (DoP), reaching a DoP PSNR of 34.50 dB (compared to 34.21 dB for the baseline).
- Angle of Polarization (AoP): CPDDNet minimized the Mean Angular Error (MAE) to 41.47, outperforming all other sequential combinations.
Limitations and Future Work
The primary limitation acknowledged by the authors is that CPDDNet is currently trained under a fixed, specific noise level. If the sensor encounters a completely different noise profile, performance might degrade. The authors note that their future work will focus on generalizing CPDDNet to handle a diverse, blind range of noise levels within a single unified model.
Summary updated