Simd Library Documentation.

Home | Release Notes | Download | Documentation | Forum | SourceForge | GitHub
ImageMatcher< Tag, Allocator >::Result Struct Reference

The Result structure is a result of matching current image and images added before to ImageMatcher. More...

Public Member Functions

 Result (const Hash *h, double d)
 

Data Fields

const Hashhash
 
const double difference
 

Detailed Description

template<class Tag, template< class > class Allocator>
struct Simd::ImageMatcher< Tag, Allocator >::Result

The Result structure is a result of matching current image and images added before to ImageMatcher.

Constructor & Destructor Documentation

Result ( const Hash h,
double  d 
)

Creates a new Result structure.

Parameters
[in]t- a tag of arbitrary type.
[in]d- A mean squared difference.

Field Documentation

const Hash* hash

A hash to found similar image.

const double difference

A mean squared difference between current and found similar image.