[读论文]Referring Camouflaged Object Detection

news/2024/12/2 16:46:58/

 摘要

In this paper, we consider the problem of referring camouflaged object detection (Ref-COD), a new task that aims to segment specified camouflaged objects based on some form of reference, e.g. , image, text.
We first assemble a large-scale dataset, called R2C7K, which consists of 7K images covering 64 object categories in real-world scenarios.
Then, we develop a simple but strong dual-branch framework, dubbed R2CNet, with a reference branch learning common representations from the referring information and a segmentation branch identifying and segmenting camouflaged objects under the guidance of the common representations.
In particular, we design a Referring Mask Generation module to generate pixel-level prior mask and a Referring Feature Enrichment module to enhance the capability of identifying camouflaged objects.
Extensive experiments show the superiority of our Ref-COD methods over their COD counterparts in segmenting specified camouflaged objects and identifying the main body of target objects.

在本文中,我们考虑了参考伪装目标检测(Ref-COD)问题,这是一种基于某种形式的参考(如图像、文本)来分割指定伪装目标的新任务。
我们首先组装了一个名为R2C7K的大规模数据集,该数据集由7K图像组成,涵盖了现实场景中的64个对象类别。
然后,我们开发了一个简单而强大的双分支框架,称为R2CNet,其中参考分支从参考信息中学习共同表征,分割分支在共同表征的指导下识别和分割伪装对象。
我们设计了参考遮罩生成模块来生成像素级的先验遮罩,设计了参考特征增强模块来增强识别伪装对象的能力。
大量的实验表明,我们的Ref-COD方法在分割指定伪装对象和识别目标对象主体方面优于其他COD方法。

Introduction

object detection (COD), which aims to segment objects that are visually hidden in their sur
roundings, has been attracting more and more attention [1], 
[2], [2], [3], [4]. This research topic plays an important role
in a wide range of real-world applications, e.g. , medical
image segmentation [5], [6], surface defect detection [7], and
pest detection [8]. It is noteworthy that although there may
be multiple camouflaged objects in a real scene, a large
number of applications hope to find the specified ones. A
typical example should be the explorers are looking for
some special species but most of them may be hidden deep
together with other similar objects. In this case, if we have
some references about the targets, the finding process will
become orientable and thus get easier. As a result, it is
promising to explore the COD with references, which is
abbreviated as Ref-COD in this paper.

 

Fig. 1 illustrates the task relationship between the stan
dard COD and our Ref-COD. In particular, our Ref-COD
leverages the referring information to guide the identifi
cation of specified camouflaged objects, which is consis
tent with that of human visual perception to camouflaged
objects [9]. It transforms COD from searching aimlessly
for differential regions in camouflage scenes to matching
target objects with specified purposes, and the key issue
lies on which form of information is appropriate to be
used as a reference. Recent works have explored several
forms of referring information for image segmentation, e.g. ,
referring expression segmentation with text reference [10],
and few-shot segmentation with image reference [11]. How
ever, whether the annotated images containing specified
camouflaged objects or detailed textual descriptions of cam
ouflaged objects for existing images, the acquisition process
is time-consuming and laborious, which hinders the transfer
of these methods to COD. Considering that images with
salient objects are readily available on the Internet, the com
mon representations of specified objects can also be obtained
from them with advanced research on foreground predic
tion. Besides, the increasingly popular CLIP and prompt
engineering [12] also make simple text expressions become
powerful referring information for specified objects.

Based on the aforementioned two references, we propose a novel Ref-COD benchmark. To enable a comprehensive study on this new benchmark, we build a large-scale dataset, named R2C7K, which contains a large number of samples without copyright disputes in real-world scenarios.
And the outline of this dataset is as follows:
1) It has 7K images covering 64 object categories;
2) It consists of two subsets,
i.e., the Camo-subset composed of images containing camouflaged objects and the Ref-subset composed of images containing salient objects;
3) The number of images  for each category in the Ref-subset is fixed, while the one in the Camo-subset is not.
4) The expression ‘a photo of [CLASS]’ forms the textual reference for specified objects.

在上述两篇文献的基础上,我们提出了一个新的reff - cod基准。为了对这个新基准进行全面的全面研究,我们构建了一个名为R2C7K的大规模数据集,其中包含了大量在现实场景中没有版权纠纷的样本。 该数据集的概要如下:
1)拥有7K图像,覆盖64个对象类别;
2)由两个子集组成,即含有隐藏目标的图像组成的Camo-subset和含有显著目标的图像组成的Ref-subset;
3) Ref-subset中每个类别的图像数量是固定的,而Camo-subset中的图像数量是不固定的。
4)表达“a photo of [CLASS]”构成了对特定对象的文本引用。

 
To investigate the role of the referring information in Ref-COD,
we design a dual-branch network architecture and develop a simple but effective framework, named R2CNet .
This framework includes a reference branch and a segmentation branch.
The reference branch aims to capture common feature representations of specified objects from the referring images composed of salient objects or textual descriptions, which will be used to retrieve the target objects.
Particularly, we build a Referring Mask Generation (RMG) module to generate pixel-level referring information.
In this module, a dense comparison is performed between the common representations from the reference branch and each position of the visual features from the segmentation branch to generate a referring prior mask.
However, there may exist variances in appearance between the camouflaged objects and the salient objects even though they belong to the same category, as well as modal differences between text expressions and images, which may increase the difficulty of retrieving accurate camouflaged objects.
To overcome this shortcoming, a dual-source information fusion motivated by multi-modal fusion is employed to eliminate the information differences between two information sources.
In addition, we also design a Referring Feature Enrichment (RFE) module to achieve the  interaction among multi-scale visual features, and further highlight the target objects.

为探讨Ref-COD中参考信息的作用,
我们设计了一个双分支网络架构,并开发了一个简单而有效的框架,命名为R2CNet。
这个框架包括一个参考分支和一个分段执行分支
参考分支旨在从由显著对象或文本描述组成的参考图像中捕获指定对象的共同特征表示,用于检索目标对象对象。
特别地,我们构建了一个参考掩码生成(RMG)模块来生成像素级参考信息。
在该模块中,将来自参考分支的常见表示与来自分割分支的视觉特征的每个位置进行密集比较,以生成参考先验掩码。
然而,尽管伪装对象与显著对象属于同一类别,但它们在外观上可能存在差异,并且文本表达和图像之间存在模态差异,这可能会增加准确检索伪装对象的难度。
为了克服这一缺点,采用多模态融合的双源信息融合动机来消除两个信息源之间的信息差异。
此外,我们还设计了参考特征增强(RFE)模块,实现多尺度视觉特征之间的交互,进一步突出目标对象。
 

Extensive experiments are conducted to validate the effectiveness of our Ref-COD.
To be specific, we choose the segmentation branch with multi-scale feature fusion based on feature pyramid network (FPN) [13] as the baseline COD model, and compare it with our R2CNet in terms of the common metrics [14], [15], [16], [17] of COD research on the R2C7K dataset.
Remarkably, our R2CNet outperforms the baseline model by a large margin.
Furthermore, we also apply the design of Ref-COD on recent 7 state-of-the-art COD methods, and the Ref-COD methods consistently surpass their COD counterparts without bells and whistles.
Besides, the visualization results also show quality predictions of the Ref-COD methods (e.g., R2CNet) in the segmentation of specified objects and the identification of the main body of camouflaged objects over the COD model (e.g., baseline).
To sum up, the contributions of this paper can be summarized as follows:

进行了大量的实验来验证我们的reff - cod的有效性。
具体而言,我们选择基于特征金字塔网络(FPN)的多尺度特征融合分割分支[13FPN]作为基线COD模型,并将其与我们的R2CNet在R2C7K数据集上进行COD研究的常用指标[14]、[15]、[16]、[17]进行比较。
值得注意的是,我们的R2CNet在很大程度上优于基线模型。
此外,我们还将在最近7种最先进的COD方法上进行了ref-COD设计,re -COD方法始终优于同类方法。
此外,可视化结果还显示了Ref-COD方法(如R2CNet)在COD模型(如基线)上对指定目标的分割和伪装目标主体的识别方面的高质量预测。
综上所述,本文的贡献可以总结为如下:
 

1 We propose a new benchmark, termed Ref-COD, which, to the best of our knowledge, is the first attempt to directionally segment the camouflaged objects with simple referring information.
2 We build a large-scale dataset, named R2C7K, which could help provide data basis and deeper insights for the Ref-COD research.
3 We design a new framework for Ref-COD research, dubbed R2CNet, whose excellent experimental results suggest that it could offer an effective solution to this novel topic


1 我们提出了一个新的基准,称为Ref-COD,据我们所知,这是第一次尝试用简单的参考信息对伪装对象进行定向分割。
2 我们构建了一个名为R2C7K的大规模数据集,可以为Ref-COD的研究提供数据基础和更深入的见解。
3 我们设计了一个新的Ref-COD研究框架,称为R2CNet,其出色的实验re结果表明它可以为这一新颖的主题提供有效的解决方案

 2 RELATED WORK

 

2.1 Camouflaged Object Detection
 
multi-scale feature fusion
multi-stage refinement
graph learning [26],
weakly supervised [27],
uncertainty [28], [29],[30],
foreground and background separation [31], [32], [33]
attention mechanism 

boundary [4], [37], [38], [39], [40],
texture [3], [41], [42],
frequency [43], [44]
depth [45], [46], [47],[47],

[45] J. Zhang, Y. Lv, M. Xiang, A. Li, Y. Dai, and Y. Zhong, “ Depth-guided camouflaged object detection ,” arXiv preprint arXiv:2106.13217 , 2021.
[46] M. Xiang, J. Zhang, Y. Lv, A. Li, Y. Zhong, and Y. Dai, “ Exploring depth contribution for camouflaged object detection ,” arXiv eprints , pp. arXiv–2106, 2021.
[47] Z. Wu, D. P. Paudel, D.-P. Fan, J. Wang, S. Wang, C. Demonceaux, R. Timofte, and L. Van Gool, “ Source-free depth for object popout ,” arXiv preprint arXiv:2212.05370 , 2022.
 
2.2 Salient Object Detection 
2.3 Referring Object Segmentation
Referring Object Segmentation means segmenting visual objects from a given image under a certain form of references, e.g. , image, text, etc.
Few-shot segmentation (FSS) explores object segmentation guided by annotated images containing objects of the same category, where the model is trained on a large number of images whose pixels are labeled with base classes (query set) and performs dense pixel prediction on unseen classes given a few annotated samples (support set).
Particularly, most existing FSS networks include two branches, i.e.
, support branch and query branch, to extract the features of support images and query images and achieve the interaction between them.
The pioneering work of FSS research is proposed by [67], where the support branch
directly predicts the weights of the last layer in the query branch for segmentation.
Then, the masked average pooling operation is proposed by [68] to extract representative support features, which is widely adopted by subsequent works.
More recently, a large number of works [11], [69], [69] build powerful modules on the frozen backbone network to improve the
adaptability of the models to unseen categories.

参考对象分割(reference Object Segmentation)是指从给定的图像中,按照一定的参考形式,如图像、文本等,分割出视觉对象
few-shot segmentation (FSS)通过包含同一类别对象的注释图像来探索对象分段定位,其中模型在大量图像上进行训练,这些图像的像素被标记为基类(查询集),并在给定几个注释样本(支持集)的未见类上执行密集的像素预测。
特别是,大多数现有的FSS网络包括两个分支,即支持分支和查询分支,用于提取支持图像和查询图像的特征,并实现它们之间的交互。
FSS研究的开创性工作是由[67]提出的,其中支持分支机构直接预测查询分支中最后一层的权重进行分割。
然后,[68]提出了 masked average pooling operation,提取有代表性的支持特征,被后续作品广泛采用。

[67]A. Shaban, S. Bansal, Z. Liu, I. Essa, and B. Boots, “One-shot learning for semantic segmentation,” in BMVC, 2017.
[68]X. Zhang, Y. Wei, Y. Yang, and T. S. Huang, “Sg-one: Similarity guidance network for one-shot semantic segmentation,IEEE TCYB, vol. 50, no. 9, pp. 3855–3865, 2020.


最近,大量研究[11]、[69]、[69]在冻结骨干网上构建了强大的模块,以提高模型对未知类别的适应性。

[11] C. Zhang, G. Lin, F. Liu, R. Yao, and C. Shen, “ Canet: Class agnostic segmentation networks with iterative refinement and attentive few-shot learning ,” in IEEE CVPR, 2019.
[69] Z. Tian, H. Zhao, M. Shu, Z. Yang, R. Li, and J. Jia, “ Prior guided feature enrichment network for few-shot segmentation, IEEE TPAMI , vol. 44, no. 2, pp. 1050–1065, 2020.
Referring Expression Segmentation (RES) explores object segmentation guided by a text expression.
RES aims to segment visual objects based on a given textual expression, and the two-branch architecture is also adopted by the networks in this research.
The first work is introduced by [10], where the visual and linguistic features are first extracted
by a visual encoder and a language encoder respectively, and their concatenation is employed to generate the segmentation mask.
Subsequently, a series of methods based on multi-level visual features [70], multi-modal LSTM [71], attention mechanism [72], [73], collaborative network [74] are incorporated in RES methods successively to generate more accurate results.
In addition, the text descriptions are also adopted by [75] as references for the richness of image content to achieve a better fixation prediction.

引用表达式分割(RES)研究由文本表达式引导的对象分割。
RES的目标是基于给定的文本表达对视觉对象进行分割,net作品在本研究中也采用了双分支架构。
第一项工作由[10]介绍,其中首先提取了视觉和语言特征分别使用视觉编码器和语言编码器,并利用它们的连接生成分段定位掩码。
随后,一系列基于多层次视觉特征[70]、多模态LSTM[71]、注意机制[72]、[73]、协同网络[74]的方法被陆续纳入RES方法,以获得更准确的结果。
此外,文本描述也被[75]作为图像内容丰富程度的参考,以达到更好的注视预测。

With the rise of CLIP and prompt engineering, a series of works [76], [77] adopt image or text prompts to facilitate vision tasks.
It is noteworthy that such prompts can also be re
garded as reference information.
For example, CLIPSeg [76]
employs visual or text prompts from the pre-trained CLIP model as references to address image segmentation.

随着CLIP和提示工程的兴起,一系列作品[76]、[77]采用图像或文字提示来方便vi视觉任务。
值得注意的是,这些提示也可以重新视为参考信息。
例如,CLIPSeg[76]使用来自预训练CLIP模型的视觉或文本提示作为参考来解决图像分割问题。
T. Luddecke and A. Ecker, “Image segmentation using text and image prompts,” in IEEE CVPR, 2022.

Y. Rao, W. Zhao, G. Chen, Y. Tang, Z. Zhu, G. Huang, J. Zhou, and J. Lu,
Denseclip: Language-guided dense prediction with context aware prompting,” in IEEE CVPR, 2022.

In this paper, the proposed Ref-COD also belongs to a referring object segmentation task. However, different from the existing methods, the collection of its referring information does not take much effort.
To be specific, it
neither  needs to collect rare and hard-to-label images containing camouflaged objects of the same category nor annotates detailed text descriptions for existing COD datasets, which is convenient for academia and industry to follow.
 

本文提出的Ref-COD也属于参考对象分割任务。
然而,与现有方法不同的是,它的参考信息的收集不需要太多的努力
具体而言,它既不需要收集包含同一类别伪装对象的罕见且难以标记的图像,也不需要对现有COD数据集注释详细的文本描述,方便学术界和工业界遵循。

 
3 P ROPOSED D ATASET
The emergence of a series of datasets build the basis for carrying out artificial intelligence research, especially in the current data-hunger deep learning era.
Besides, the quality of a dataset plays an important role in its lifespan as a benchmark, as stated in [78], [79].
With this in mind, we build a large-scale dataset, named R2C7K, for the proposed Ref-COD task. In this section, we introduce the construction
process and statistics of this dataset, respectively.

一系列数据集的出现为开展人工智能研究奠定了基础,尤其是在当前数据饥渴的深度学习时代。
此外,数据集的质量在其作为基准的寿命中起着重要作用,如[78],[79]所述。
考虑到这一点,我们为建议的Ref-COD任务构建了一个名为R2C7K的大规模数据集。在本节中,我们将介绍该结构数据集的处理和统计。

3.1 Data Collection and Annotations
To construct the R2C7K dataset, the first step is to deter mine which camouflaged objects to detect.
To this end, we investigate the most popular datasets in COD research,
i.e. ,
COD10K [1], CAMO [80], and NC4K [81].
Considering that COD10K is the largest and most comprehensively annotated camouflage dataset, we build the Camo-subset of R2C7K mainly based on it.
Specifically, we eliminate a few unusual categories,
e.g. pagurian, crocodile-fish, etc , and attain 4,966 camouflaged images covering 64 categories.
For the images containing only one camouflaged object, we directly adopt the annotations provided by COD10K, and for other images containing multiple camouflaged objects, we erase the annotated pixels except for objects of the referring category.
Note that we also supplement 49 samples from NC4K for some categories due to their extremely small sample numbers.

Next, we construct the Ref-subset of R2C7K according to the selected 64 categories.
We use these category names as keywords and search 25 images that come from real-world
scenarios and contain the desired salient objects from the Internet for each category.
In particular, these referring images, which have no copyright disputes, are collected from
Flickr and Unsplash.
For the details on the image collection scheme, we recommend the readers to refer to [82].

Finally, we present the image and annotation samples of the R2C7K dataset in Fig.2

为了构建R2C7K数据集,第一步是deter mine,其中隐藏了要检测的对象。
为此,我们调查了COD研究中最流行的数据集,即:
COD10K [1], CAMO[80],和NC4K[81]。
考虑到COD10K是目前最大、标注最全面的迷彩数据集,我们主要基于COD10K构建了R2C7K的迷彩子集。
具体来说,我们消除了一些不寻常的类别,例如pagurian,鳄鱼鱼等,并获得了覆盖64个类别的4,966张伪装图像
对于只包含一个伪装对象的图像,我们直接采用COD10K提供的注释,对于包含多个伪装对象的其他图像,我们擦除除引用类别对象外的所有标记像素
请注意,由于某些类别的样本数极小,我们还从NC4K中补充了49个样本
接下来,我们根据选择的64个类别构建R2C7K的ref子集。
我们使用这些类别名称作为关键字,并搜索来自现实世界的25张图片场景,并包含来自互联网的每个类别所需的突出对象。
特别是,这些涉及到的年龄,没有版权纠纷,收集Flickr和Unsplash。
关于图像采集方案的详细信息,建议读者参考文献[82]。
最后,我们给出了R2C7K数据集的图像和标注样本,如图2所示

 

3.2 Data Statistics
Subset Comparisons.
Fig. 3 presents 4 attribute comparisons between the images in Ref-subset and Camo-subset.
Specifically, the object area refers to the size of the objects in a given image, the object ratio is the proportion of objects in an image, the object distance is the distance from the object
center to the image center, and the global contrast is a metric to evaluate how challenging an object is to detect.
It can be observed that the objects in the Ref-subset are bigger than those objects in the Camo-subset, and the images in the Ref-subset contain more contrast cues.
Therefore, the objects in the Ref-subset are easier to be detected, which means that this form of referring information is readily available and suitable for the Ref-COD research.

图3给出ref -子集和camo -子集图像的4个属性对比。
具体来说,物体面积是指给定图像中物体的大小,物体比例是物体在图像中所占的比例,物体距离是物体到物体的距离
中心到图像中心,全局对比度是评估物体检测难度的度量。
可以观察到Ref-子集中的对象比camo -子集中的对象更大,Ref-子集中的图像包含更多的对比度线索。
因此,ref -子集中的对象更容易被检测到,这意味着这种形式的参考信息是现成的,适合于Ref-COD的研究。

Categories and Number.
The R2C7K dataset contains 6,615 samples covering 64 categories, where the Camo-subset consists of 5,015 samples and the Ref-subset has 1,600 samples.
Note that, each category of this dataset contains a fixed number of referring images, namely 25, while the number of COD images in each category is unevenly distributed, as illustrated in Fig. 4.

R2C7K数据集包含6,615个样本,涵盖64个类别,
其中camo子集包含包含5,015个样本,
ref子集包含1,600个样本。

需要注意的是,该数据集的每个类别包含固定数量的参考图像,即25张,而每个类别的COD图像数量分布不均匀,如图4所示。


蓝色是ref-subset 红色是camo-subset

Resolution Distribution.
Fig. 5(a) and Fig. 5(b) shows the resolution distribution of the images in the Camo-subset and
Ref-subset.
As can be seen, these two subsets contain a large number of Full HD images, which can provide more details on the object boundaries and textures.
Dataset Splits.
To facilitate the development of models for Ref-COD research, we provide a referring split for the R2C7K dataset.
For the Ref-subset, 20 samples are randomly selected from each category for training while the remaining samples in each category are used for testing;
As far as the Camo-subset, the samples coming from the training
set of COD10K are also utilized for training and the ones belonging to the test set are used for testing.
And the samples from NC4K are randomly assigned to the training and testing sets to ensure that each category in these two splits contains at least 6 samples.

分辨率分布。Resolution Distribution
图5(a)和图5(b)显示了Camo-subset and Ref-subset的图像分辨率分布
可以看到,这两个子集包含了大量的Full HD图像,可以提供更多关于物体边界和纹理的细节。
数据集分割。Dataset Splits.
为了方便Ref-COD研究模型的开发,我们对R2C7K数据集提供了一个参考分割
对于Ref-subset,从每个类别中随机抽取20个样本进行训练,每个类别中剩余的样本用于测试;
至于camo子集,来自训练的样本COD10K集也用于训练,属于测试集的COD10K集用于测试
并且将NC4K的样本随机分配到训练集和测试集,以确保这两个分裂中的每个类别至少包含6个样本。

 

4 P ROPOSED F RAMEWORK

 


http://www.ppmy.cn/news/387971.html

相关文章

编程示例: 计算CRC校验码

编程示例: 计算CRC校验码 循环冗余检查(CRC)是一种数据传输检错功能,对数据进行 多项式计算,并将得到的结果附在帧的后面,接收设备也执行 类似的算法,进而可以保证在软件层次上数据传输的正确性…

经典文献阅读之--A Review of Motion Planning(轨迹规划回顾)

0. 简介 对于自动驾驶以及机器人而言,除了SLAM以外,另一个比较重要的部分就是轨迹规划了。而最近作者看到了几篇比较好的文章,分别为《A Review of Motion Planning Techniques for Automated Vehicle》、《A review of motion planning alg…

C++初阶—list深度解剖及模拟实现

目录 ➡️0. 前言 😊1.简易框架实现 🐔1. list和__list_node分析实现 🐔2. 无参构造 😊2.迭代器实现 🐔1. list普通迭代器面临问题及解决方案 🐔2. __list_node\iterator\list三类分析 &#x1f41…

VALSE 2023 无锡线下参会个人总结 6月11日-2

VALSE2023无锡线下参会个人总结 6月11日-2 6月11日会议日程安排Workshop:目标检测与分割程明明:粒度自适应的图像感知技术张兆翔:基于多传感器融合的视觉物体检测与分割 Workshop:ChatGPT与计算机视觉白翔:再谈ChatGPT…

三星Android Pie软件,至少在AndroidPie版本上的三星GalaxyS9现在具有缺陷检测功能

昨天,我们获得了在 Qualcomm Snapdragon Samsung Galaxy S9 上运行的最新版本的Samsung Experience,即Samsung Experience 10 。在最新更新中,我们还有很多要做的工作,到目前为止,我们已经看到了完全重新设计的用户界…

三星s9 测试性能软件,三星Galaxy S9+屏幕、性能和续航评测:这台机皇不止有点强...

拼 命 加 载 中 ... 三星Galaxy S9+在上周五正式开卖,作为三星今年最重要的旗舰级手机,我们此前也分享了上手体验感受,但相信不少有意购买的用户或玩家不够喉,还想知道更多关于三星机皇的表现,所以这里先为大家带来Galaxy S9+的屏幕、性能和续航三项测试,帮助大家对其有更…

软件测试面试题整理(二)之测试用例集

https://blog.csdn.net/weixin_45912307/article/details/109457138 1. 设计一个登录页面的用例 功能测试: 正确输入、为空输入、字符类型校验、长度校验、密码是否加密显示、大写提示、跳转页面是否成功、登出后用另一个账号登录 UI: 界面布局合理、风格…

软件测试面试题整理(六)之app测试篇

https://blog.csdn.net/weixin_45912307/article/details/109501092 1. Web 端测试和 App 端测试有何不同(常见) 系统结构方面 Web 项目,b/s架构,基于浏览器的;Web 测试只要更新了服务器端,客户端就会同步…