Detecting Camouflaged Object in Frequency Domain

Yijie Zhong, Bo Li, Lv Tang, Senyun Kuang, Shuang Wu, Shouhong Ding

Abstract

Camouflaged Object Detection (COD) is a challenging task due to the high degree of visual similarity between objects and their backgrounds. While traditional methods focus on spatial RGB information, this paper proposes a novel approach that leverages the frequency domain to identify hidden objects. By introducing a Frequency Enhancement Module (FEM) and a High-Order Relation (HOR) module within a dual-stream architecture, the model effectively captures subtle texture and boundary discontinuities that are nearly invisible to the human eye. Experimental results on four major benchmarks—COD10K, CAMO, CHAMELEON, and NC4K—demonstrate that our method achieves state-of-the-art performance, significantly outperforming existing spatial-based models.

Introduction

Camouflaged Object Detection (COD) is often described as the "Where's Waldo?" of computer vision. It involves identifying objects that perfectly blend into their surroundings, such as a leaf-tailed gecko on a tree trunk or a predator hidden in tall grass. The core challenge lies in the fact that these objects share almost identical textures, colors, and patterns with their backgrounds.

Most existing deep learning models attempt to solve this by mimicking human vision in the RGB (spatial) domain. However, human biological vision has inherent limitations. To truly "break" camouflage, we need to look at image components that humans aren't naturally tuned to see. This research targets the frequency domain, where subtle differences in texture and boundaries—often lost in pixel-space—become mathematically distinct signatures.

Methodology

The authors propose a dual-stream network that processes both RGB and frequency information simultaneously. The architecture is designed to integrate frequency-aware clues into the standard segmentation pipeline.

The proposed dual-stream network architecture, featuring the Frequency Enhancement Module (FEM) and High-Order Relation (HOR) module.

Key Components

  1. Frequency Enhancement Module (FEM): The input image is converted into the frequency domain using an offline Discrete Cosine Transform (DCT) on $8 \times 8$ patches. An online learnable enhancement module then uses Multi-Head Self-Attention (MHSA) to boost specific frequency bands, separately processing high-frequency (detail/edges) and low-frequency (shape/structure) components.
  2. Feature Alignment (FA): Because RGB and frequency features are semantically different, the FA module uses a transformation matrix to fuse these two streams, ensuring that frequency clues effectively guide the RGB-based segmentation.
  3. High-Order Relation Module (HOR): Camouflaged objects often resemble background noise. Standard low-order attention mechanisms may fail to distinguish them. The HOR module uses position-aware gating and channel-aware relations to model complex, high-order dependencies, helping the model separate the true target from similar-looking background clutter.
  4. Frequency Perception Loss ($L_f$): A novel loss function supervises the model directly in the frequency domain, ensuring the predicted mask's DCT coefficients match those of the ground truth.

Experimental Results

The model was evaluated on several widely-used COD benchmarks, including COD10K (the largest dataset with 10,000 images), CAMO, CHAMELEON, and NC4K.

Quantitative Performance

The proposed method, utilizing a Res2Net backbone, achieved a new state-of-the-art (SOTA) across all metrics:

  • COD10K: Achieved a Structure-measure ($S_\alpha$) of 0.837, significantly higher than the previous best, UGTR (0.818).
  • CAMO: Reached an $S_\alpha$ of 0.844, outperforming the previous SOTA (SInet-V2 at 0.820).
  • Efficiency: Even with a simpler ResNet50 backbone, the method outperformed many sophisticated models using much heavier backbones.

Qualitative Comparison

As shown in the visual comparisons, the proposed model produces much sharper and more complete masks in "impossible" scenes where other models either miss the object entirely or produce fragmented results.

Qualitative comparison of the proposed method against other state-of-the-art COD models across various challenging scenes.

Discussion and Key Insights

  • Beyond Human Vision: The most provocative finding is that COD models should not just mimic human eyes. By analyzing DCT coefficients, the model can "see" mathematical signatures of textures evolutionarily designed to fool biological brains.
  • Frequency as a Texture Proxy: High-frequency components act as a powerful proxy for edge discontinuities. Even if a predator and prey look identical in color, the boundary where they meet often creates a unique frequency signature.
  • High-Order Modeling: The research found that "low-order" self-attention is insufficient for COD. Because the foreground and background are so similar, the model needs to reason about the relationships between relationships to find the subtle discrepancies that break the camouflage.

Conclusion and Future Work

This work demonstrates that the frequency domain is a vital frontier for camouflaged object detection. While the addition of MHSA and high-order modeling adds some computational overhead, the gains in accuracy and mask quality are substantial. Future research may explore how these frequency-enhancement modules perform in other difficult vision tasks, such as medical image segmentation (e.g., polyp detection) or identifying transparent objects.

Summary updated

BibTeX
@inproceedings{zhong2022detecting,
  author = {Yijie Zhong and Bo Li and Lv Tang and Senyun Kuang and Shuang Wu and Shouhong Ding},
  title = {{Detecting Camouflaged Object in Frequency Domain}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.00446},
}
Figure