Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Metrics » ImageDifferenceImage_Deprecated
ImageDifferenceImage_Deprecated
Header: | AVL.h |
---|---|
Namespace: | avl |
Computes an image of differences between a moving pattern and the input image.
Syntax
C++
void avl::ImageDifferenceImage_Deprecated ( const avl::Image& inImage, const avl::Image& inPatternImage, atl::Optional<const avl::Region&> inRoi, atl::Optional<const avl::Region&> inPatternRoi, avl::DistanceMeasure::Type inDistanceMeasure, avl::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inImage | const Image& | Input image | ||
inPatternImage | const Image& | Pattern to be compared with input image | ||
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed | |
inPatternRoi | Optional<const Region&> | NIL | Range of pixels in the pattern to be processed | |
inDistanceMeasure | DistanceMeasure::Type | Measure of distance | ||
outImage | Image& | Output image |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8 (for inDistanceMeasure = MeanError).
This operation is optimized for SSE3 technology for pixels of types: UINT16 (for inDistanceMeasure = MeanError), UINT8 (for inDistanceMeasure = MeanSquaredError), REAL.
This operation is optimized for SSE4 technology for pixels of types: INT16, UINT16 (for inDistanceMeasure = MeanSquaredError).
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Not supported distance measure in ImageDifferenceImage. |