DifferenceImage_Shifted
Computes the non-negative distances between corresponding pixel values.
Applications:Useful for things like comparing an image against a template or for detecting differences between consecutive video frames.
Syntax
C++
Python
def DifferenceImage_Shifted( inImage1: Image, inImage2: Image, inBox1: Box, inBox2: Box, outImage: Image, / ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage1 | Image | First input image | |
![]() |
inImage2 | Image | Second input image | |
![]() |
inBox1 | Box | ||
![]() |
inBox2 | 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 is optimized for AVX2 technology for pixels of types: UINT8, SINT8, UINT16, SINT16, REAL.
This operation is optimized for NEON technology for pixels of types: UINT8, SINT8, UINT16, SINT16, SINT32, REAL.
This operation supports automatic parallelization for multicore and multiprocessor systems.


