Start » Filter Reference » Image » Image Combinators » MinimumImage
Module: | FoundationLite |
---|
Creates an image from the lower pixel values of each corresponding pair.
Name | Type | Description | |
---|---|---|---|
inImage1 | Image | First input image | |
inImage2 | Image | Second input image | |
inRoi | Region* | Range of pixels to be processed | |
outImage | Image | Output image |
Description
The operation computes the minimum of two images. Each outImage pixel is equal to the darker of the corresponding pixels of the input images.
In multichannel (color) images each pixel channel is processed separately.
The operation requires that the images being processed have equal format and dimensions, otherwise an error with appropriate description occurs. To obtain an image of desired dimensions one can use ResizeImage or CropImage filter. To alter the pixel type of an image one can use ConvertPixelType filter. ConvertToMultichannel and AverageChannels filters allow to alter the number of image channels.
Examples
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT16, REAL.
This operation is optimized for SSE4.1 technology for pixels of types: SINT8, UINT16, SINT32.
This operation is optimized for AVX2 technology for pixels of types: UINT8, SINT8, UINT16, SINT16, SINT32, REAL.
This operation is optimized for NEON technology for pixels of types: UINT8, SINT8.
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 | Image formats are not the same in MinimumImage. |
DomainError | Image sizes are not equal in MinimumImage. |
DomainError | Region exceeds an input image in MinimumImage. |
Complexity Level
This filter is available on Advanced Complexity Level.
See Also
- MaximumImage – Creates an image from the higher pixel values of each corresponding pair.