Start » Filter Reference » Image » Image Point Transforms » ResaturateImage
Module: | FoundationLite |
---|
Sets pixels below the low value to minimum, above the high value to maximum, and interpolates the rest.
Name | Type | Description | |
---|---|---|---|
inImage | Image | Input image | |
inRoi | Region* | Range of pixels to be processed | |
inLowValue | Real | The value that will be changed to minimum (usually 0) | |
inHighValue | Real | The value that will be changed to maximum (usually 255) | |
outImage | Image | Output image |
Requirements
For input inImage only pixel formats are supported: int8, uint8, int16, uint16, int32.
Read more about pixel formats in Image documentation.
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT16.
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 ResaturateImage. |
DomainError | Not supported inImage pixel format in ResaturateImage. Supported formats: Int8, UInt8, Int16, UInt16, Int32. |
Complexity Level
This filter is available on Basic Complexity Level.
See Also
- NormalizeImage – Rescales an image linearly, so that its minimum becomes inNewMinimum and the maximum of the remaining pixels becomes inNewMaximum.
- AddToImage – Adds a scalar value to each pixel.
- RescalePixels – Applies linear transformation to pixel values.