MCP
arXivarXiv
Preprint
Published: August 4, 2026
cs.CV

FreqAdapt: Frequency-Adaptive Processing for RAW Object Detection

Abstract
Existing object detection methods predominantly utilize sRGB inputs, which are compressed from RAW sensor data using Image Signal Processors (ISP) originally designed for visualization purposes. Compared to RGB images, RAW images possess favorable noise characteristics and richer information representation, which are crucial for object detection, particularly under challenging conditions such as adverse weather or low-light environments. In this paper, we propose FreqAdapt, a lightweight module for adaptive RAW data enhancement in the frequency domain. Unlike traditional spatial domain processing methods, FreqAdapt innovatively maps ISP operations to the Fourier frequency domain and performs domain separation based on the physical properties of ISP operations, ensuring each operation is performed in its most suitable domain. Meanwhile, through an adaptive frequency domain encoder that jointly analyzes amplitude spectrum, phase spectrum, and RAW image features, we provide global context for ISP parameter prediction and employ a learnable fusion mechanism to achieve adaptive feature enhancement. Extensive experiments on multiple datasets with diverse lighting and weather conditions demonstrate that FreqAdapt achieves state-of-the-art performance while maintaining lightweight efficiency and good physical interpretability. Furthermore, our module can be seamlessly incorporated into existing object detection frameworks, providing a novel solution for visual perception tasks in the RAW domain.
0
AI overview
Reviews
Citation graph
References · 58
Structured
This preview uses generator v1; v2 is available

Overview

This paper proposes FreqAdapt, a lightweight frequency-domain RAW data augmentation module for RAW-domain visual perception tasks. It maps ISP operations into the Fourier frequency domain to achieve adaptive feature enhancement, and can be seamlessly integrated into existing object detection frameworks.

Research Background of RAW-Domain Object Detection and Classification of Existing Methods

Compared with conventional sRGB images, RAW images offer higher bit depth, a wider dynamic range, and physically meaningful noise characteristics.

Existing RAW-domain object detection methods can be divided into three categories. The first is an early research route that performs vision tasks directly on RAW images without explicitly modeling camera noise; the practical performance of such schemes has clear limitations. The second category consists of ISP parameter retuning schemes, which adjust hyperparameters via evolutionary algorithms or gradient-based optimization to adapt the traditional imaging pipeline to pre-trained sRGB detectors; later methods such as DynamicISP and AdaptiveISP further achieved per-image dynamic control to accommodate different imaging conditions. The third category comprises end-to-end optimization schemes that jointly train and optimize the ISP module and the object detector within a single framework.

Core Design Ideas and New Contributions of FreqAdapt

FreqAdapt is the lightweight frequency-domain adaptive module for RAW data augmentation proposed in the paper. Its core difference from traditional spatial-domain RAW processing methods lies in the innovative mapping of ISP operations into the Fourier frequency domain for processing, rather than following the uniform spatial-domain processing paradigm.

The module's core design insight comes from a re-examination of the mathematical properties of ISP operations: different types of ISP operations exhibit markedly different properties in the frequency domain, which can be exploited to achieve more efficient and better-performing image processing. The Fourier transform decomposes an image into two orthogonal components: the amplitude spectrum encodes the image's energy distribution and contrast information, while the phase spectrum fully preserves the image's structure and edge information. This decomposition naturally aligns with the physical characteristics of ISP operations.

On this basis, the paper further performs domain separation based on the physical properties of ISP operations, ensuring that each class of ISP operation is executed in its most suitable domain. It also builds an adaptive frequency-domain encoder that jointly analyzes the amplitude spectrum, the phase spectrum, and RAW image features to provide global context for ISP parameter prediction, and finally completes adaptive feature enhancement through a learnable fusion mechanism.

Frequency-Domain Processing Architecture and Operating Mechanism of FreqAdapt

Different ISP operations have clear correspondences in the frequency domain: operations such as white balance and gamma correction mainly affect the amplitude spectrum; sharpening and detail enhancement mainly adjust the high-frequency components of the phase spectrum; and noise is mainly distributed in the high-frequency region of the amplitude spectrum. In the frequency domain, simple multiplicative masks can achieve direct and precise control over specific frequency bands — this property is the core design motivation behind FreqAdapt's choice of the frequency-domain processing route. Please refer to the accompanying diagram that follows to fully grasp the complete pipeline of FreqAdapt from RAW image input to downstream detection network integration, and the division of labor among the sub-modules.

Fig. 1: Architecture diagram of the FreqAdapt framework: the RAW image is decomposed via FFT into amplitude and phase spectra, processed by frequency-domain specialized ISP branches, reconstructed into an enhanced image via IFFT, and output to the detection network.

FreqAdapt first performs an FFT transform on the input RAW image, decomposing it into independent amplitude and phase spectra. A frequency-domain RAW encoder jointly analyzes the amplitude spectrum, the phase spectrum, and the original RAW image features, providing global context information for the adaptive parameter prediction of subsequent ISP operations. The amplitude ISP branch is dedicated to brightness-related enhancement tasks, processing different components of the amplitude spectrum through cascaded ISP operations. White balance corrects color casts via per-channel scaling factors in the form of a diagonal matrix, with the scaling factors constrained to a reasonable range to avoid extreme color casts; brightness enhancement modulates the low-frequency components of the amplitude spectrum through a center-symmetric Gaussian mask, achieving smooth adjustment of global brightness. The phase ISP branch is dedicated to image-structure-related processing tasks, covering operations such as color correction, sharpening, and detail enhancement.

After frequency-domain processing, the amplitude and phase spectra are reconstructed into an enhanced image via the IFFT inverse transform. Finally, an adaptive fusion module combines the frequency-domain enhancement result with the original input image to produce the final processing result. The entire FreqAdapt framework is fully end-to-end differentiable and can be jointly optimized directly using the loss function of the downstream detection task, achieving coordinated tuning of frequency-domain ISP operations and downstream detection performance.

Performance Comparison Across Multiple Scenarios and Verification of the Frequency-Domain Advantage

FreqAdapt achieves state-of-the-art performance on all evaluated object detection datasets. On the highly challenging low-light LOD-Dark dataset, the method's detection accuracy surpasses the second-best method RAM; the performance gain on the normally lit LOD-Normal dataset is even more pronounced, verifying its robustness across different lighting conditions. Cross-camera generalization is validated on the NOD series datasets: on test subsets captured by cameras of different brands, FreqAdapt consistently outperforms the existing best baselines. This consistent cross-device performance improvement demonstrates that frequency-domain processing can effectively adapt to the distribution differences introduced by different imaging systems.

In low-exposure scenarios, other compared methods generally suffer from missed detections and false detections, while FreqAdapt's detection results align closely with the annotated ground truth. In high-noise nighttime cross-camera scenarios, its frequency-domain denoising capability enables the method to reliably identify pedestrians and cyclists that other methods cannot detect. In test scenarios with extreme imaging conditions, the method likewise maintains stable detection outputs. Readers can refer to the detection predictions across multiple challenging scenarios for an intuitive comparison of the output differences between methods.

Fig. 2: Visual comparison of detection results from different methods on three types of challenging datasets — low light, nighttime, and adverse weather — showing predictions with confidence above 0.3.

Comparison experiments against purely spatial-domain processing schemes show that FreqAdapt significantly outperforms the spatial-domain baseline methods in detection accuracy across all test scenarios. The inherent characteristics of frequency-domain processing are the core reason for the performance gap: global context awareness based on frequency-domain components enables more effective parameter prediction; the decoupled amplitude-phase processing pipeline avoids mutual interference between brightness adjustment and structure enhancement; and frequency-domain operations can handle noise and imaging artifacts more efficiently than spatial convolutions.

Ablation experiments on FreqAdapt's core components verified each part's contribution by progressively adding modules: using only the frequency-domain RAW encoder yields baseline frequency-domain feature extraction performance; adding the phase ISP branch brings a small performance gain through structure enhancement; the most significant performance gain comes from adding the amplitude ISP branch, a result that directly proves the key role of brightness and contrast adjustment in low-light detection performance; finally, adding the adaptive fusion module effectively combines the frequency-domain enhanced features with the original features, yielding the best performance of the complete method.

On the ADE20K RAW dataset semantic segmentation task under different exposure conditions, FreqAdapt consistently outperforms all baseline methods across the three exposure scenarios.

Scope of Applicability and Summary of Core Conclusions

Controlled experiments on the NOD-Nikon and NOD-Sony datasets show that the performance gains FreqAdapt obtains with RAW inputs are significantly higher than in the scenarios using sRGB inputs.

This performance difference fundamentally stems from the native frequency-domain advantages of RAW data: RAW images fully preserve the entire spectrum output by the sensor, with no irreversible frequency-domain modifications from prior ISP processing. FreqAdapt's amplitude branch can perform frequency-selective adjustments without interference, including noise suppression and brightness modulation, and the phase branch can directly enhance structural details without being disturbed by artifacts introduced by existing image transformations. In contrast, sRGB images have already undergone a series of processing steps such as demosaicing, tone mapping, and gamma correction; their dynamic range has been compressed and their phase relationships altered. Such pre-existing frequency-domain distortions directly limit FreqAdapt's ability to perform targeted frequency-domain operations.

The gains from this frequency-domain design are also validated on the semantic segmentation task: under test scenarios with different exposure conditions, FreqAdapt outperforms all compared baseline methods.

Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first