논문 해설
NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images
NWPU-MOC: 항공 영상에서의 세분화된 다범주 객체 계수를 위한 벤치마크
- 연구 문제 항공 영상에서 여러 범주의 객체를 한 번에 세는 연구용 데이터와 평가 기준이 부족합니다.
- 연구 방법 RGB와 NIR을 dual-attention으로 융합하여 범주별 다중 채널 밀도맵을 회귀하고, spatial contrast loss로 채널 간 겹침을 줄입니다.
- 주요 결과 MOC-6 설정에서 제안 방법이 비교 단일 범주 방법들보다 MSE와 RMSE에서 우수하다고 보고되며, NIR 융합과 γ=0.0001 설정이 더 낮은 오차를 보입니다.
여러 범주를 동시에 세는 항공 영상의 문제
기존 객체 계수 연구는 대부분 한 장면에서 한 범주의 객체만 셉니다. 군중 계수 데이터셋은 주로 보행자를 다루고, 원격탐사 계수 데이터셋(RSOC 등)도 건물, 소형 차량, 대형 차량, 선박처럼 범주별로 따로 주석을 달았습니다. 따라서 한 항공 영상에서 여러 범주의 객체 수를 동시에 추정하는 과제를 평가할 데이터가 부족합니다.
이 논문은 이 빈틈을 메우기 위해 Multi-category Object Counting(MOC) 과제를 정의하고, 3,416개의 1024×1024 항공 장면에 RGB와 NIR 영상을 함께 담은 NWPU-MOC 데이터셋을 구축합니다. 14개 세분 범주에 중심점 주석을 달았으며, 전체 주석 점은 383,195개입니다. 항공 영상에서는 식생, 조명 변화, 날씨로 인해 RGB에서 객체가 가려질 수 있어 근적외선(NIR) 밴드를 함께 쓰는 것이 이 연구의 중요한 변경점입니다.

Fig. 3 . Examples of annotations in the NWPU-MOC dataset. Different categories of objects are labeled with center points of different colors (The color of object categories refer to Fig. 1). As shown in the bottom left corner of the figure, we blurred the tree for the difficult-to-recognize by humans in the annotation, and therefore its count will be ignored in the counting algorithm.
원문 · CC BY 4.0 · Junyu Gao, Liangliang Zhao, Xuelong Li · NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Fig. 4 . The first column is the RBG images, the second column is the pseudo-color images of the NIR band, and the third column is the images after annotation.
원문 · CC BY 4.0 · Junyu Gao, Liangliang Zhao, Xuelong Li · NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.RGB-NIR 융합과 다중 채널 밀도맵 회귀
제안 방법 MCC는 RGB와 NIR 영상을 입력으로 받습니다. 정답은 범주별 점 주석 맵을 가우시안 커널로 합성곱하여 만든 N채널 밀도맵입니다. 백본(Swin Transformer)이 Concat된 입력에서 다중 스케일 특징을 추출하고, FPN이 이를 융합하며, 업샘플링 후 연결하여 RGB와 NIR 정보를 담은 특징 P를 만듭니다.

Fig. 7 . Overview of the proposed multi-channel density map counting framework (MCC). The arrows in the figure represent the flow of data, while the arrows in feature map P denote the NIR-RGB features after multi-scale feature fusion through FPN.
원문 · CC BY 4.0 · Junyu Gao, Liangliang Zhao, Xuelong Li · NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.융합 단계에서는 위치 주의 모듈과 채널 주의 모듈로 구성된 dual-attention 모듈이 P를 처리합니다. 위치 주의 모듈은 공간 주의 맵을 계산해 결과를 P에 더하고, 채널 주의 모듈은 채널 간 상관으로 특징을 강화합니다. 두 출력을 연결하고 1×1 합성곱으로 채널 수를 줄여 f를 만든 뒤, 다시 1×1 합성곱 투영으로 N채널 예측 밀도맵을 얻습니다. 각 범주의 예측 개수는 해당 채널 밀도의 합으로 계산됩니다.

Fig. 8 . Dual attention for RGB-NIR fusion.
원문 · CC BY 4.0 · Junyu Gao, Liangliang Zhao, Xuelong Li · NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.학습 손실은 counting loss L_C와 spatial contrast loss L_S를 L = L_C + γL_S로 결합합니다. 여기서 γ는 L_S의 가중치를 조절하는 하이퍼파라미터입니다.
spatial contrast loss의 정의와 역할
counting loss만으로는 채널과 범주 사이의 일대일 대응이 충분히 학습되지 않습니다. 이 논문은 예측 밀도맵의 각 채널 Y_i를 길이 h×w의 벡터 u_i로 펼치고, 두 벡터 사이의 코사인 유사도 M_ij를 계산하여 N×N 유사도 행렬 M을 만듭니다.
손실 L_S는 행렬 M의 모든 원소의 평균으로 정의됩니다. 이 구성은 서로 다른 채널의 같은 공간 위치에서 예측이 겹치는 것을 벌점으로 주어, 채널 간 공간 유사도를 낮추도록 유도합니다. 따라서 이 손실의 목적은 채널 간 겹침을 줄이는 것이며, 객체 자체를 제거하는 장치가 아닙니다.

Fig. 13 . Comparison of visualization results before and after using LS.
원문 · CC BY 4.0 · Junyu Gao, Liangliang Zhao, Xuelong Li · NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.평가 지표와 실험 설정
평가는 NWPU-MOC를 MOC-6 설정으로 묶어 수행하며, 사용한 가우시안 커널은 (σ,s)=(2,5)와 (4,15)입니다. 기존 MAE와 RMSE는 범주별로 보고되지만, 범주 빈도 차이가 큰 데이터에서는 작은 범주의 오차가 낮게 나와 비교를 어렵게 한다고 저자들은 설명합니다. 이에 저자들은 범주별 MSE의 평균인 MSE와, 범주 빈도에 따른 가중치를 곱한 WMSE를 제안합니다.

Fig. 6 . The statistics about the number of images for each category in the NWPU-MOC.
원문 · CC BY 4.0 · Junyu Gao, Liangliang Zhao, Xuelong Li · NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.WMSE의 가중치는 median 기반 빈도에 대한 softmax로 정규화된 값이며, 빈도가 낮은 범주에 더 큰 가중치를 줍니다. 이 지표는 장기 꼬리 분포에서의 편향을 보기 위한 것입니다. 학습은 AdamW를 사용하고 200 epoch 동안 같은 전략으로 수행합니다.

Fig. 5 . Histogram of the distribution of the labeled points for each category of objects in the NWPU-MOC dataset.
원문 · CC BY 4.0 · Junyu Gao, Liangliang Zhao, Xuelong Li · NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.MOC-6 비교 결과와 채널 겹침 관찰
MOC-6에서 MCC는 RGB 입력만으로도 기존 단일 범주 계수 방법들을 MSE와 RMSE에서 앞섰다고 보고됩니다. RGB와 NIR을 함께 쓴 MCC+는 (σ,s)=(2,5) 설정에서 MSE 10.3441, WMSE 37.8798을 기록합니다. 두 설정 모두에서 더 작은 커널 설정이 대부분의 방법에서 더 좋은 계수 성능을 보였다는 점도 함께 나타납니다.
시각 비교에서는 여러 단일 범주 방법이 다른 범주 채널에 겹치는 예측과 음수에 가까운 잡음을 보였다고 설명합니다. 저자들은 이 관찰을 spatial contrast loss가 채널 간 혼선을 줄인다는 해석으로 제시합니다. 이 결과는 주어진 데이터셋과 설정에서 얻은 것입니다.

Fig. 9 . Visual comparison results of multi-category object counting. The first row is the original RGB image and the NIR false color image.
원문 · CC BY 4.0 · Junyu Gao, Liangliang Zhao, Xuelong Li · NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.NIR 융합, 손실 가중치, 다중 스케일 설정의 절제
NIR과 dual-attention의 효과를 나누어 보면, NIR 없이 dual-attention만 쓴 설정과 NIR만 쓰고 융합 없이 쓴 설정은 MSE와 WMSE가 각각 다르게 나타납니다. 저자들은 NIR 특징이 더 많은 판별 정보를 준다고 해석하며, dual-attention이 RGB와 NIR을 더 잘 결합한다고 보고합니다.

Fig. 12 . Comparison of visualization results before and after using NIR.
원문 · CC BY 4.0 · Junyu Gao, Liangliang Zhao, Xuelong Li · NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.γ 절제에서는 γ를 1에서 0.00001까지 바꿨을 때 γ=0.0001에서 MSE 10.3441과 WMSE 37.8798이 가장 낮았고, γ=0(손실 없음)보다 오차가 낮았습니다. 다중 스케일 절제에서는 FPN의 융합 수 N이 늘수록 파라미터와 FLOPs가 크게 증가했고, 저자들은 N=3을 계산량과 성능의 균형점으로 선택했습니다.
MOC-14 설정과 지표의 한계
MCC를 기준으로 출력 채널만 14개로 바꾼 MOC-14 실험에서, 전체 WMSE는 MOC-6 설정보다 높게 나타납니다. 저자들은 이 결과를 MOC-6에서 더 우수하다는 근거로 제시합니다. 또한 MAE와 RMSE는 범주가 많을수록 장기 꼬리 분포에서 모델의 일반화를 충분히 반영하지 않을 수 있다고 설명합니다.
세분 범주는 객체 크기가 작고 범주 간 차이가 작으며 공간 해상도가 0.25 m/pixel이므로 계수가 어렵다고 저자들은 해석합니다. 이 실험은 14개 범주 설정에서 같은 방법을 그대로 적용한 결과이며, 세분 범주 전용 설계를 검증한 것은 아닙니다.
논문 정보
- 저자
- Junyu Gao, Liangliang Zhao, Xuelong Li
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2024년 1월 19일
- 등록일
- 2026년 11월 6일
- 수정일
- 2024년 1월 19일
- 버전
- v1
- arXiv
- 2401.10530
- DOI
- 10.1109/tgrs.2024.3356492
- 분류
- cs.CV
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Object counting is a hot topic in computer vision, which aims to estimate the number of objects in a given image. However, most methods only count objects of a single category for an image, which cannot be applied to scenes that need to count objects with multiple categories simultaneously, especially in aerial scenes. To this end, this paper introduces a Multi-category Object Counting (MOC) task to estimate the numbers of different objects (cars, buildings, ships, etc.) in an aerial image. Considering the absence of a dataset for this task, a large-scale Dataset (NWPU-MOC) is collected, consisting of 3,416 scenes with a resolution of 1024 $\times$ 1024 pixels, and well-annotated using 14 fine-grained object categories. Besides, each scene contains RGB and Near Infrared (NIR) images, of which the NIR spectrum can provide richer characterization information compared with only the RGB spectrum. Based on NWPU-MOC, the paper presents a multi-spectrum, multi-category object counting framework, which employs a dual-attention module to fuse the features of RGB and NIR and subsequently regress multi-channel density maps corresponding to each object category. In addition, to modeling the dependency between different channels in the density map with each object category, a spatial contrast loss is designed as a penalty for overlapping predictions at the same spatial position. Experimental results demonstrate that the proposed method achieves state-of-the-art performance compared with some mainstream counting algorithms. The dataset, code and models are publicly available at https://github.com/lyongo/NWPU-MOC.
원문 인용
Junyu Gao, Liangliang Zhao, Xuelong Li (2024). NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images. arXiv:2401.10530v1. https://doi.org/10.1109/tgrs.2024.3356492
BibTeX
@article{gao2024nwpu,
title = {{NWPU-MOC: A Benchmark for Fine-grained Multi-category Object Counting in Aerial Images}},
author = {Junyu Gao and Liangliang Zhao and Xuelong Li},
year = {2024},
eprint = {2401.10530},
archivePrefix = {arXiv},
doi = {10.1109/tgrs.2024.3356492},
url = {https://arxiv.org/abs/2401.10530v1}
}