![]() |
digiKam
|
#include <haar.h>
Public Member Functions | |
unsigned char | bin (int index) const |
unsigned char | binAbs (int index) const |
WeightBin () | |
Public Attributes | |
unsigned char | m_bin [16384] = { 0 } |
Digikam::Haar::WeightBin::WeightBin | ( | ) |
Setup initial fixed Haar weights that each coefficient represents
References m_bin, and Digikam::Haar::NumberOfPixelsSquared.
|
inline |
References m_bin.
|
inline |
References m_bin.
Referenced by Digikam::HaarIface::getBestAndWorstPossibleScore().
unsigned char Digikam::Haar::WeightBin::m_bin[16384] = { 0 } |
Fixed weight mask for pixel positions (i,j). Each entry x = i*NUM_PIXELS + j, gets value max(i,j) saturated at 5. To be treated as a constant.
Referenced by bin(), binAbs(), and WeightBin().