RemoveBadPixels

Syntax

Document.RemoveBadPixels ( MapName, Noise )

Parameters

String MapName - specifies the bad pixel map to be used

Float Noise - specifies the level of Gaussian noise which is added to the nominal interpolated values of any bad pixels being replaced

Returns

Nothing

Remarks

Corrects for known bad pixels, columns, and rows in an image according to the previously-defined bad pixel map identified by parameter MapName. (Bad pixel maps are editable and can be named using the Remove Bad Pixels command, but not directly by the scripting interface.) Bad pixels defined in the map are replaced by a value interpolated from the surrounding pixels, augmented by Gaussian noise having standard deviation given by the parameter Noise.

This method is equivalent to the Remove Bad Pixels command.