Skip to content

Latest commit

 

History

History
78 lines (45 loc) · 3.57 KB

File metadata and controls

78 lines (45 loc) · 3.57 KB

Can Exposure, Noise and Compression affect Image Recognition?

An Assessment of the Impacts on State-of-the-art ConvNets

Convolutional Neural Networks stand the current state-of-the-art in image recognition, as well as many computer vision tasks. Nevertheless, these architectures have been shown to be vulnerable to image manipulations, which may undermine the reliability and safety of CNN-based models in autonomous and robotic applications. We present a rigorous evaluation of the robustness of several high-level image recognition models and investigate their performance under distinct image distortions. We propose a testing framework which emulates ill exposure conditions, low-range image sensors, lossy compression, as well as commonly observed noise types. One one side results measured in terms of accuracy, precision, and F1-Score, indicate that most CNN models are marginally affected by mild miss-exposure, heavy compression, and Poisson noise. Severe miss-exposure, impulse noise, or signal-dependent noise, on the other side, show a substantial drop in accuracy and precision. A careful evaluation of some typical image distortions, commonly observed in computer vision and machine vision pipelines, provides insights and directions for further developments in the field.

This repo contains code and data to reproduce the results shown in:

@inproceedings{steffens2019canexposure,
  title={Can Exposure, Noise and Compression affect Image Recognition? An Assessment of the Impacts on State-of-the-art ConvNets},
  author={Cristiano Rafael Steffens, Lucas Ricardo Vieira Messias, Paulo Lilles Jorge Drews-Jr, and Silvia Silva da costa Botelho},
  booktitle={2019 Latin American Robotics Symposium (LARS), 2019 Brazilian Symposium on Robotics (SBR) and 2019 Workshop on Robotics in Education (WRE)},
  pages={6},
  year={2019},
  organization={IEEE}
}

All results were obtained using Keras 2.2.4 and Tensorflow 1.14. Image loading, resizing, and colorspace transformations were performed using Scikit-Image. For further details please refer to the presentation [https://www.slideshare.net/steffensbola/can-exposure-noise-and-compression-affect-image-recognition-an-assessment-of-the-impacts-on-stateoftheart-convnets] or to the original paper.

Example results for distinc miss-exposure and noise conditions (Confusion-matrix 1000 classes)

Original

alt text

Overcompressed

alt text

Gamma 1/2

alt text

Gamma 1/4

alt text

Gamma 1/8

alt text

Gamma 2

alt text

Gamma 4

alt text

Gamma 8

alt text

Gaussian noise

alt text

Poisson Noise

alt text

Saturation (25% of the pixels)

alt text

Salt and pepper noise

alt text

Speckle noise

alt text

Under-exposure (25% of the pixels are 0 in at least one color channel)

alt text