The factor used to divide the image into blocks of SampleX pixels along its width. The output image is produced from either most central pixel of each block specified by SampleX and SampleY, or if SpatialAverage is enabled, the average of the block.
Namespace: Cognex.VisionPro.ImageProcessingAssembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 93.1.0.0
Syntax
Property Value
Type: Int32Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The sampling block size is <= 0. |
Remarks
The size of the sampling block in pixels along the width of the image. Each pixel in the output image is produced by using either the most central pixel of each block, or if SpatialAverage is True, by taking the average of all the pixels in the block.
Default Value: 1
See Also