Simd Library Documentation.

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

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

#include <SimdImageMatcher.hpp>

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()

Result ( const Hash h,
double  d 
)

Creates a new Result structure.

Parameters
[in]h- a pointer to hash of found similar image.
[in]d- A mean squared difference.

Field Documentation

◆ hash

const Hash* hash

A hash to found similar image.

◆ difference

const double difference

A mean squared difference between current and found similar image.