AbstractImageMetricsTest Class Referenceabstract

Confirm that the image metrics InterOp works properly in C# More...

Inheritance diagram for AbstractImageMetricsTest:
ImageMetricsTestV1 ImageMetricsTestV2

Public Member Functions

void TestHardCodedBinaryData ()
 Confirms that reading the hard coded binary data matches the expected values of the metric More...
 

Protected Member Functions

abstract void SetUp ()
 The setup should be overridden by the specific version of the format More...
 
void SetupBuffers (int[] tmp, short version, ushort channelCount)
 Setup the expected and actual metric sets More...
 

Protected Attributes

base_image_metrics expected_metric_set
 The expected metric set. More...
 
vector_image_metrics expected_metrics = new vector_image_metrics()
 Vector of the expected metrics More...
 

Detailed Description

Confirm that the image metrics InterOp works properly in C#

Member Function Documentation

abstract void SetUp ( )
protectedpure virtual

The setup should be overridden by the specific version of the format

Implemented in ImageMetricsTestV2, and ImageMetricsTestV1.

void SetupBuffers ( int[]  tmp,
short  version,
ushort  channelCount 
)
inlineprotected

Setup the expected and actual metric sets

Parameters
tmpHard coded binary data
versionVersion of the format
channelCountNumber of channels
void TestHardCodedBinaryData ( )
inline

Confirms that reading the hard coded binary data matches the expected values of the metric

Member Data Documentation

base_image_metrics expected_metric_set
protected

The expected metric set.

vector_image_metrics expected_metrics = new vector_image_metrics()
protected

Vector of the expected metrics


The documentation for this class was generated from the following file: