Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image Point Transforms » CropPixels

CropPixels


Sets pixels below the low value to the low value and above the high value to the high value.

Name Type Description
inImage Image Input image
inRoi Region* Range of pixels to be processed
inLowValue Real* The lower threshold for the image pixel values
inHighValue Real* The higher threshold for the image pixel values
outImage Image Output image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in CropPixels.
DomainError The low value cannot be higher than the high value in CropPixels.

Complexity Level

This filter is available on Basic Complexity Level.