Skip to main content

Detect Image Anomalies (Image Analyst Tools)

Summary

Processes a multiband or hyperspectral image and creates an anomaly score raster. An anomaly score raster is a single band raster, with values between 0 and 1.

Usage

  • An anomaly in an image refers to pixels that are significantly different from the background values, such as ships in the ocean, vehicles on a road, or human development in natural areas.  The tool supports the Reed-Xiaoli Detector (RXD), Uniform Target Detector (UTD), and KMEANS image anomaly detection methods.

  • The RXD option of the Anomaly Calculation Method parameter calculates the pixels' Mahalanobis distance to the background that is defined by the mean. It has the following formula:

    \(δ _{RXD} (r)=(r-µ) ^{T} K ^{-1} _{LxL} (r-µ)\)

    Where r is the sample pixel spectra, µ is the mean spectra, K is covariance, and L is the number of bands.

  • The UTD option of the Anomaly Calculation Method parameter is similar to the RXD option but extracts a background using a unit vector. It has the following formula:

    \(δ _{UTD} (r)=(1-µ) ^{T} K ^{-1} _{LxL} (1-µ)\)

    Which defines the anomaly by replacing (r-u) in the RXD method with (1-u).

  • The KMEANS option of the Anomaly Calculation Method parameter identifies pixels that deviate significantly from the established clusters in the data using K-means clustering algorithms.

  • The output is an anomaly score raster with decimal values between 0 and 1, where 0 is the background and large values approaching 1 are potential anomalies. The anomaly pixels can be filtered using raster functions, such as the Remap or Mask function. The entire anomaly detection workflow can be performed using the Anomaly Detection Wizard.

  • Use Dynamic Range Adjustment (DRA) in the output layer symbology to better visualize anomaly pixels.

Parameters

Label Explanation Data type

Input Raster

A multiband or hyperspectral image.

Raster Dataset; Raster Layer; Mosaic Dataset; Mosaic Layer; Image Service

Output Raster

A single band raster that stores the anomaly scores between 0-1 as a floating point number. Zero (0) is the background value, and large values approaching 1 are potential anomaly pixels. Use the file extension to specify the output format, including .tif (TIFF), .crf (CRF), .mrf (MRF), and .dat (ENVI DAT).

Raster Dataset

Anomaly Calculation Method

(Optional)

Specifies the anomaly calculation method that will be used.

  • RXDThe RXD method will be used to extract pixels that are significantly different from the background pixel values. This is the default.

  • UTDThe UTD method will be used to extract background pixels from the input image.

  • KMEANSThe KMEANS method will be used to extract pixels that significantly deviate from the established clusters in the data using K-means clustering algorithms.

String

Number of Clusters

(Optional)

The number of clusters that will be used when the Anomaly Calculation Method parameter is set to KMEANS.

Long

Background Region

(Optional)

A polygon feature class that will define the region to be used to calculate background statistics when the Anomaly Calculation Method parameter is set to RXD or UTD.

Feature Set

Recompute Statistics

(Optional)

Specifies whether statistics will be recomputed for the input raster when the Anomaly Calculation Method parameter is set to RXD or UTD. The RXD and UTD options require accurate statistics in which the skip factor must be 1 when statistics are computed.

  • CheckedStatistics will be recomputed for the output score raster. This is the default.

  • UncheckedStatistics will not be recomputed for the output score raster.

Boolean

Environments

Cell Alignment, Cell Size, Compression, Current Workspace, Geographic Transformations, NoData, Output CONFIG Keyword, Output Coordinate System, Extent, Pyramid, Raster Statistics, Resampling Method, Scratch Workspace, Snap Raster, Tile Size

Licensing information

  • Basic: Requires Image Analyst
  • Standard: Requires Image Analyst
  • Advanced: Requires Image Analyst