Simd Library Documentation.

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

The Hash structure is a reduced-image descriptor used for fast matching. More...

#include <SimdImageMatcher.hpp>

Data Fields

Tag tag
 

Detailed Description

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

The Hash structure is a reduced-image descriptor used for fast matching.

Create it with Simd::ImageMatcher::Create() after Init. The public tag is an arbitrary value linked with the source image. Typical usage stores a size_t index and later reads it from Result::hash->tag (for example src[results[r].hash->tag]). Skip() marks a hash so later Find ignores it.

Field Documentation

◆ tag

Tag tag

An arbitrary tag linked with the image. Typical usage stores a source index (size_t).