Back to Adaptive Vision Library Lite website
You are here: Start » Image Combinators » DifferenceImage_Shifted
DifferenceImage_Shifted
Computes the non-negative distances between corresponding pixel values.
Syntax
void avl::DifferenceImage_Shifted ( const avl::Image& inImage1, const avl::Image& inImage2, const avl::Box& inBox1, const avl::Box& inBox2, avl::Image& outImage )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage1 | const Image& | First input image | |
![]() |
inImage2 | const Image& | Second input image | |
![]() |
inBox1 | const Box& | ||
![]() |
inBox2 | const Box& | ||
![]() |
outImage | Image& | Output image |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT8, UINT16, SINT16, REAL.
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
| Error type | Description |
|---|---|
| DomainError | Image formats are not the same in DifferenceImage_Shifted. |
| DomainError | Not equal box dimensions in DifferenceImage_Shifted. |
| DomainError | Input boxes are not completely inside the input images in DifferenceImage_Shifted. |


