Source-linked AI summary

Density Map Guided Object Detection in Aerial Images

Changlin Li, Taojiannan Yang, Sijie Zhu, Chen Chen, Shanyue Guan

arXiv:2004.05520v1cs.CV

TL;DR

High-resolution aerial detection faces object-scale variation and non-uniform object distributions, making uniform cropping inadequate. DMNet generates density maps, thresholds sliding-window intensities to form object-focused crops, and combines crop and global detections. The method achieves state-of-the-art performance on VisionDrone and UAVDT, including 14.7 AP on UAVDT.

  • Problem

    Aerial detection must handle scale variance, non-uniform object distributions, occlusion, truncation, and many small objects, while uniform or random crops can contain mostly background.

  • Method

    DMNet predicts object density maps, uses window intensity and thresholding to generate connected cropping regions, and applies detection to both crops and the global image.

  • Results

    DMNet achieves state-of-the-art performance on VisionDrone and UAVDT; on UAVDT, it substantially outperforms ClusDet with 14.7 AP.

  • Takeaways & Limitations

    Density-map-based cropping provides a promising direction for improving detection accuracy in high-resolution aerial images.

  • Takeaways & Limitations

    The fixed-kernel density-map method uses one constant Gaussian standard deviation for all objects, which can truncate large objects such as buses during cropping.

Abstract

from arXiv · show

Object detection in high-resolution aerial images is a challenging task because of 1) the large variation in object size, and 2) non-uniform distribution of objects. A common solution is to divide the large aerial image into small (uniform) crops and then apply object detection on each small crop. In this paper, we investigate the image cropping strategy to address these challenges. Specifically, we propose a Density-Map guided object detection Network (DMNet), which is inspired from the observation that the object density map of an image presents how objects distribute in terms of the pixel intensity of the map. As pixel intensity varies, it is able to tell whether a region has objects or not, which in turn provides guidance for cropping images statistically. DMNet has three key components: a density map generation module, an image cropping module and an object detector. DMNet generates a density map and learns scale information based on density intensities to form cropping regions. Extensive experiments show that DMNet achieves state-of-the-art performance on two popular aerial image datasets, i.e. VisionDrone and UAVDT.

1. Introduction

Aerial detection is difficult because object scales, category frequencies, occlusion, truncation, and small-object prevalence vary substantially. DMNet uses density maps to guide cropping toward informative regions and reports state-of-the-art results on VisionDrone and UAVDT.

  • Challenges: Aerial images differ from natural images and contain scale variance, category imbalance, occlusion, truncation, and a higher proportion of small objects.These properties make aerial-image detection especially challenging.
  • Cropping motivation: Uniform or random cropping can improve small-object resolution but ignores semantics, producing many background-only crops and potentially truncating large objects.The cropping strategy therefore becomes critical for aerial detection.
  • Proposed approach: DMNet uses object density maps to indicate object presence and density, enabling crops that filter background and reduce objects per crop for small-object recognition.A density threshold can suppress low-intensity regions before crops are formed.
  • Contributions: DMNet introduces density-map-based cropping for aerial detection and uses spatial and contextual information between objects to improve detection performance.The paper presents this as the first use of density maps for aerial image object detection.
  • Contributions: The cropping algorithm avoids training additional deep neural networks, offering an alternative to approaches that use separate cluster-proposal and scale-estimation subnetworks.This is presented as a simpler design than the cited alternative.
  • Results: DMNet achieves state-of-the-art performance on representative aerial image datasets, including VisionDrone and UAVDT.The paper reports extensive experiments supporting this result.

2. Related work

Related work covers general detectors, aerial-image detection, and density-map methods from crowd counting. DMNet connects density estimation with object-focused cropping for aerial detection.

  • General object detection: General object detectors use proposal-based or one-stage architectures, including Faster R-CNN, Mask R-CNN, and RetinaNet.These methods were primarily developed for general object detection.
  • Aerial image object detection: Aerial detection emphasizes small objects, scale variation, category imbalance, and occlusion, which differ from common natural-image detection conditions.These challenges motivate specialized aerial-image methods.
  • Aerial image object detection: Tiling improves small-object detection, while other approaches address scale variation through receptive-field changes, spatial refinement, or multi-scale detection.Prior work uses several architectural strategies for aerial imagery.
  • Cropping methods: Cluster-based cropping methods select dense regions and use scale estimation, whereas DMNet generates crops from density-map information.The cited cluster approach fuses detections from cropped images.
  • Density-map methods: Crowd-counting research uses density maps to represent spatial distributions because integrating a density map can approximate object counts.Geometry-adaptive and geometry-fixed Gaussian kernels are established density-map construction methods.

3.1. Overview

DMNet comprises density-map generation, image cropping, and fusion detection. It thresholds sliding-window density sums, connects selected windows into crops, and fuses crop and global detections.

  • Framework components: DMNet contains density-map generation, image-cropping, and fusion-detection modules.The framework first predicts a density map for each aerial image.
  • Density-guided cropping: A sliding window sums density-map pixel intensities and compares the result with a density threshold to form a density mask.Windows below the threshold are filtered out.
  • Detection and fusion: Connected above-threshold windows are merged into image crops, while the original global image and generated crops are processed by the object detector.Their detection results are fused into the final output.

3.2. Density map generation

DMNet generates aerial-image density maps with a learned network and Gaussian kernels, then improves scale alignment by using class-wise object-size estimates to reduce truncation during cropping.

  • Density map generation network: The density map generation network learns maps from aerial images using pixel-wise mean absolute error against ground-truth density maps.The loss compares generated and ground-truth maps over the training images.
  • Density map generation network: The generated density map is upsampled by 4× with cubic interpolation to restore the original image resolution.Additional upsampling layers were avoided because they enlarge feature maps and may cause memory issues for high-resolution images.
  • Ground truth object density map: Ground-truth density maps blur each object annotation with a normalized Gaussian kernel, using fixed or geometry-adaptive spread parameters.The adaptive spread is computed with K-nearest-neighbor distances, whereas the fixed spread is constant.
  • Improving ground truth with class-wise kernel: The fixed kernel can truncate large objects because its Gaussian standard deviation is constant regardless of object shape.Buses are given as an example of objects that may not be fully covered by a crop.
  • Improving ground truth with class-wise kernel: The class-wise kernel estimates average object scale separately for each category and applies the resulting σ values to generate density maps.This accommodates medium and large objects more suitably than a single fixed kernel, as illustrated by the bus example.

3.3. Image cropping based on density map

DMNet converts predicted density maps into crop regions by thresholding non-overlapping windows according to summed density intensity, then grouping retained windows into candidate regions.

  • Density mask generation: Density-map pixel intensities indicate object presence and relative object concentration within image regions.Thresholding can remove regions with no or limited objects.
  • Density mask generation: A non-overlapping sliding window uses the average training-set object size, sums density values, and compares each sum with a density threshold.The window is advanced by its own size, so adjacent windows do not overlap.
  • Density mask generation: Windows below the threshold are assigned zero values, while windows meeting the threshold are assigned one values in the density mask.Algorithm 1 initializes the mask to zeros and sets qualifying windows to one.
  • Density threshold: Increasing the density threshold changes the cropping boundary and filters more boundary pixels, producing more crops containing only a few objects.The threshold controls noise from the predicted density map and dynamically adjusts the number of objects collected per crop.
  • Candidate crop generation: The method selects mask-positive pixels, merges eight-neighbor connected pixels into candidate regions, and crops using each region’s circumscribed rectangle.Crops with resolution below the density threshold are filtered out.

3.4. Object detection on density crops

DMNet detects objects on density-guided crops and the original image, then fuses both sets of predictions with nonmaximum suppression.

  • Density crops and whole-image detections are combined before applying nonmaximum suppression.Predicted crop boxes are added back to the original-image detections, and NMS is then applied to all boxes.
  • The density-mask visualization varies crop candidates by threshold, with higher thresholds producing smaller and more disconnected regions.Yellow regions mark candidate crops, while the light blue box marks the full region to crop.
  • Final-result visualizations retain and label detections from both density crops and whole images alongside ground-truth boxes.The plot omits the post-fusion NMS boxes because NMS is applied after the fusion step.

4. Experiments

Experiments evaluate DMNet on VisionDrone and UAVDT using COCO-style metrics, benchmark comparisons, ablations, and inference-speed measurements. DMNet reaches reported state-of-the-art AP on both datasets, improves small-object detection, and benefits from density-guided rather than uniform cropping.

  • Implementation: The detector uses Faster R-CNN with FPN, while MCNN generates density maps within the MMDetection implementation.The reported experiments use ImageNet-pretrained detector weights and dataset-specific density thresholds.
  • Datasets and metrics: DMNet is evaluated on VisionDrone and UAVDT using AP, AP50, AP75, APsmall, APmedium, and APlarge, with AP as the primary overall metric.AP averages precision across IoU thresholds from 0.50 to 0.95 in steps of 0.05.
  • Quantitative results: 29.4 AP is the reported state-of-the-art result for DMNet with ResNetXt101 on VisionDrone.DMNet consistently exceeds ClusDet by 1–2 points across three backbones, while AP75 improves nearly four points.
  • Quantitative results: 14.7 AP is the reported state-of-the-art result for DMNet on UAVDT, with improvements across small, medium, and large objects.The comparison reports substantial gains over ClusDet on this dataset.
  • Inference speed: Inference takes 0.29, 0.36, and 0.61 s/img for ResNet 50, ResNet 101, and ResNeXt 101, respectively, on one GTX 1080 Ti.
  • Ablation study: Without density thresholding, AP drops drastically because larger crops include more objects and background, hindering small-object detection.The ablation keeps all windows whose pixel intensity exceeds zero.
  • Ablation study: Small uniform crops improve baseline AP by nearly three points but underperform DMNet because they reduce APmedium and APlarge by cutting off large objects.Their APsmall is comparable with DMNet, while density crops better accommodate object-scale variation.
  • Ablation study: Density-crop detection contributes mainly to APsmall and APmid, whereas original-image detection contributes more to APlarge.

5. Conclusion

DMNet uses density maps to guide image cropping for aerial object detection, achieving state-of-the-art performance across two popular datasets and different backbone networks.

  • DMNet uses density maps to provide spatial distributions and implicitly form potential cropping-region boundaries.This guides the subsequent image-cropping process.
  • DMNet achieves state-of-the-art performance on two popular aerial image detection datasets under different backbone networks.
  • Extensive ablation studies analyze the contributions of DMNet’s individual components.
Loading 2004.05520v1…