Back to Adaptive Vision Library website

You are here: Start » Function Reference » System » Assertions » AssertImageEqualTo

AssertImageEqualTo


Header: AVL.h
Namespace: avl
Module: FoundationLite

Asserts that two images are equal or differ by a small given margin.

Syntax

C++
C#
 
void avl::AssertImageEqualTo
(
	const avl::Image& inImage,
	const avl::Image& inExpectedImage,
	const float inMaxDifference,
	const atl::String& inDescription
)

Parameters

Name Type Range Default Description
inImage const Image& Input image
inExpectedImage const Image&
inMaxDifference const float 0.0 - 0.0f Maximum absolute difference between a specific pixel of the two images
inDescription const String&