ImageMatcher< Tag, Allocator >::Result Struct Reference
The Result structure is one match of the current image against images earlier added to ImageMatcher. More...
#include <SimdImageMatcher.hpp>
Public Member Functions | |
| Result (const Hash *h, double d) | |
Data Fields | |
| const Hash * | hash |
| const double | difference |
Detailed Description
template<class Tag, template< class > class Allocator>
struct Simd::ImageMatcher< Tag, Allocator >::Result
struct Simd::ImageMatcher< Tag, Allocator >::Result
The Result structure is one match of the current image against images earlier added to ImageMatcher.
Find() fills a Results vector. Typical usage reads hash->tag (the source index stored in Create) and difference (printed as a percentage: difference * 100).
Constructor & Destructor Documentation
◆ Result()
Field Documentation
◆ hash
◆ difference
| const double difference |
Normalized root-mean-square difference of the reduced images (range [0, 1]). Typical usage prints difference * 100 as a percent.