Object Remover Performance Evaluation Methods Using Classwise Object Removal Images

Changsuk Oh, Dongseok Shim, Taekbeom Lee, H. Jin Kim

TL;DR

Evaluating object removal algorithms is tricky because standard methods using original images as references fail to capture the nuances of object removal. This paper introduces a novel class-wise evaluation approach that uses images without the target objects as a comparison set, demonstrating better alignment with human judgment and ground truth.

What Problem Does This Paper Address?

Object removal, the process of erasing specific objects from an image while maintaining realism, is a crucial component of image editing and manipulation. Quantitatively evaluating the performance of these removers is challenging. Existing methods often rely on full-reference (FR) metrics, comparing the output to the original image. However, the core difference between an original image and an object removal result is the absence of the target object. This fundamental difference means that comparing directly to the original image can be misleading, as it doesn't account for the quality of the inpainted region or the preservation of the background. The paper argues that current FR methods, by using original images as references, cannot accurately assess object removal performance and proposes a new paradigm.

Methods

The paper's core contribution is a new set of evaluation methods that move away from using the original image as a reference. Instead, they propose:

  • Class-wise Object Removal: Instead of removing arbitrary objects, the evaluation focuses on removing all instances of a specific class of objects (e.g., all cars).
  • Comparison Set without Target Objects: The key innovation is using a comparison set of images that are identical to the original images except that they do not contain any objects of the target class. This is achieved by using virtual environments (like the CARLA simulator) where scenes can be rendered with and without specific object classes.
  • Unpaired Metrics (FID and U-IDS): The proposed methods leverage existing unpaired metrics, specifically FID (Fréchet Inception Distance) and U-IDS (Unpaired Image-to-Image Translation Quality Assessment), but apply them to the class-wise removal results (query set) and the comparison set without target objects. By ensuring both sets lack features from the target class, these metrics can better assess the realism and coherence of the generated (inpainted) regions. The paper introduces FID and U-IDS to denote these modified metrics.

Datasets

  • CARLA Dataset: A new dataset was generated using the CARLA simulator. It consists of 50,000 images captured from five different virtual environments. Crucially, for each scene, two sets of images were captured: one with vehicles present and another of the exact same scene but without vehicles. This allows for the creation of object removal ground truth and the proposed comparison sets.
  • COCO Dataset: Used for evaluating the proposed methods on a public dataset. The authors leveraged images with "person" class objects for removal and the remaining images in the dataset (without persons) as the comparison set.

Key Insights and Ideas

  • Original images are poor references for object removal: The paper convincingly demonstrates that standard FR metrics (PSNR, SSIM, LPIPS, FID, U-IDS) yield contradictory results when comparing evaluations based on original images versus object removal ground truth. This highlights a fundamental flaw in existing evaluation practices.
  • Class-wise removal is more informative: Focusing on removing entire classes of objects provides a more structured and comparable evaluation than arbitrary object removal.
  • Images without the target class are the ideal comparison: By using scenes devoid of the target objects, the proposed FID and U-IDS metrics can effectively isolate the quality of the inpainting process without being confounded by the presence of the original objects.
  • Proposed methods align with human judgment: The evaluations using FID and U-IDS on the COCO dataset showed a strong correlation with human evaluations, suggesting their practical utility.

Key Results

  • Discrepancies in existing methods: Experiments on the CARLA dataset showed that standard FR methods often favored object removers that performed poorly when compared to object removal ground truth. For instance, many methods judged a "kernel_size=0" (minimal removal) as best when using original images, while ground truth indicated "kernel_size=10" was superior.
  • Proposed methods show consistency: FID and U-IDS on the CARLA dataset showed results consistent with object removal ground truth.
  • COCO validation: On the COCO dataset, FID and U-IDS demonstrated performance rankings that closely matched human evaluations, unlike standard FID and U-IDS.
  • Reliable sample size: The paper suggests that for reliable evaluation using FID and U-IDS on the COCO dataset, approximately 7K-9K samples are needed.

Limitations and Future Work

  • Dataset Generation: While the CARLA dataset is useful, generating realistic object removal ground truth and comparison sets for diverse real-world scenarios remains a challenge. The paper acknowledges the need for more diverse real-world datasets.
  • Computational Cost: Unpaired metrics like FID can be computationally intensive, especially with large datasets.
  • Future Work: The authors suggest that their proposed methods can be applied to model selection during object remover training and performance assessment of off-the-shelf models. Further research could explore extending these methods to other image manipulation tasks or developing even more efficient evaluation metrics.

Summary updated

BibTeX
@article{oh2024object,
  author = {Changsuk Oh and Dongseok Shim and Taekbeom Lee and H. Jin Kim},
  title = {{Object Remover Performance Evaluation Methods Using Classwise Object Removal Images}},
  journal = {IEEE Sensors Letters},
  year = {2024},
  doi = {10.1109/lsens.2024.3404139},
}
Figure