Set Region Value


The Set Region Value command changes the pixel values inside a rectangular region of interest (ROI) which may be explicitly specified or may be defined by the image cursor. The region is assigned a value plus or minus Gaussian random noise. The noise may be set to 0 to set the region to a constant value. This tool is useful for removing large cosmetic blemishes or artifacts that may interfere with a measurement.

The related Set Pixel Value command sets single pixels to a target value. The Edit Pixel Values command allows you to view or edit a region of pixels using a tabular listing format.

Properties of the Set Region Value command

Profile

Selects the parameter profile for this command.

[Select]

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

Region Value

Specifies the value assigned to the region.

Region Noise

Specifies the sigma value for Gaussian random noise assigned to the region.

Source Region

Specifies the rectangular region to be processed. The options are as follows:

Entire image: The entire image is processed.

Image Cursor: The region to be processed is selected using the Image Cursor .

Rectangle: The region specified by Min and Max limits for Column and Row coordinates is processed.

Column and Row, Min and Max: When Rectangle is selected, these values specify the column and row limits to be processed.

Example

The example below shows the effect of using the Properties shown above on the named image. Before setting the replacement values, the image cursor and image statistics were used to sample the median and standard deviation in a nearby blank region. Then the image cursor was enlarged to encompass the replacement region.

Related Topics

Region Commands, Set Pixel Value, Edit Pixel Values