digiKam
Digikam::Haar::SignatureMap Class Reference

Public Types

typedef bool MapIndexType
 

Public Member Functions

void fill (Haar::Idx *const coefs)
 Load a set of coefficients. More...
 
bool operator[] (Haar::Idx index) const
 Query if the given index is set. Index must be in the range -16383..16383. More...
 
 SignatureMap ()
 
 ~SignatureMap ()
 

Public Attributes

MapIndexTypem_indexList = nullptr
 

Detailed Description

This class provides very fast lookup if a certain pixel is set (positive or negative) in the loaded coefficient set.

Member Typedef Documentation

◆ MapIndexType

Constructor & Destructor Documentation

◆ SignatureMap()

Digikam::Haar::SignatureMap::SignatureMap ( )
inline

◆ ~SignatureMap()

Digikam::Haar::SignatureMap::~SignatureMap ( )
inline

References m_indexList.

Member Function Documentation

◆ fill()

void Digikam::Haar::SignatureMap::fill ( Haar::Idx *const  coefs)
inline

◆ operator[]()

bool Digikam::Haar::SignatureMap::operator[] ( Haar::Idx  index) const
inline

Query if the given index is set. Index must be in the range -16383..16383.

References m_indexList, and Digikam::Haar::NumberOfPixelsSquared.

Member Data Documentation

◆ m_indexList

MapIndexType* Digikam::Haar::SignatureMap::m_indexList = nullptr

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