Cosmic Ray Filter


The Cosmic Ray Filter removes cosmic rays and other impulse noise events by statistically comparing each pixel value with neighboring values.

Properties of the Cosmic Ray Filter

Profile

Selects the parameter profile for this command.

[Select]

Selects the source images from an image window, folder, files, pattern, or a file list.

Rejection Statistic

Selects the rejection statistic used for detecting and rejecting a pixel value if it is too extreme in comparison with neighboring values. The rejected pixel is replaced with the statistical value if its value exceeds the statistical value by Threshold number of sigmas. The statistical alternatives are as follows:

Median of 4: Compares the pixel at the center of the kernel with the median value of 4 closest neighbors.

Median of 8: Compares the pixel at the center of the kernel with the median value of 8 neighbors in a square centered on the pixel.

Median of 16: Compares the pixel at the center of the kernel with the median value of 16 closest neighbors.

Median of 24: Compares the pixel at the center of the kernel with the median value of 24 neighbors in a square centered on the pixel.

Mean of 4: Compares the pixel at the center of the kernel with the mean value of 4 closest neighbors.

Threshold

Specifies the detection threshold in terms of locally calculated sigmas.

Related Topics

Spatial Filter Commands, Clean Image Set