Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Metrics » CompareImages_CVG
CompareImages_CVG
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationPro |
Compares two images tile by tile using one of several available methods.
Syntax
C++
C#
void avl::CompareImages_CVG ( const avl::Image& inImage1, const avl::Image& inImage2, float inChromaAmount, float inValueAmount, float inGradientAmount, avl::Image& outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage1 | const Image& | First input image | |||
inImage2 | const Image& | Second input image | |||
inChromaAmount | float | 0.0 - | 0.6f | Proportion of chromatic information in output image | |
inValueAmount | float | 0.0 - | 0.3f | Proportion of value information in output image | |
inGradientAmount | float | 0.0 - | 0.1f | Proportion of gradient information in output image | |
outImage | Image& | Output image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Formats of input images differ in CompareImages_CVG. |
DomainError | Images sizes are not equal in CompareImages_CVG. |