Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Combinators » DifferenceImage_Flex
DifferenceImage_Flex
Computes the non-negative distances between corresponding pixel values using tiles.
Syntax
C++
C#
void avl::DifferenceImage_Flex ( const avl::Image& inImage1, const avl::Image& inImage2, int inTileWidth, atl::Optional<int> inTileHeight, avl::TileTranslationMode::Type inTileTranslationMode, avl::Image& outImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage1 | const Image& | First input image | ||
![]() |
inImage2 | const Image& | Second input image | ||
![]() |
inTileWidth | int | 1 - ![]() |
16 | |
![]() |
inTileHeight | Optional<int> | 1 - ![]() |
NIL | |
![]() |
inTileTranslationMode | TileTranslationMode::Type | FourDirections | ||
![]() |
outImage | Image& | Output image |
Errors
| Error type | Description |
|---|---|
| DomainError | Image sizes are not equal in DifferenceImage_Flex. |
| DomainError | Image formats are not the same in DifferenceImage_Flex. |



