You are here: Start » AVL.NET » Function Reference » Image » Image Metrics » AVL.CompareImages_CVG

AVL.CompareImages_CVG

Compares two images tile by tile using one of several available methods.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CompareImages_CVG
(
	AvlNet.Image inImage1,
	AvlNet.Image inImage2,
	float inChromaAmount,
	float inValueAmount,
	float inGradientAmount,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImage1AvlNet.ImageFirst input image.
inImage2AvlNet.ImageSecond input image.
inChromaAmountfloat<0.0f, INF>0.6fProportion of chromatic information in output image. Default value: 0.6f.
inValueAmountfloat<0.0f, INF>0.3fProportion of value information in output image. Default value: 0.3f.
inGradientAmountfloat<0.0f, INF>0.1fProportion of gradient information in output image. Default value: 0.1f.
outImageAvlNet.ImageOutput image.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

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.

See also