• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

Digikam::Haar

Digikam::Haar Namespace Reference

Classes

class  Calculator
class  ImageData
class  SignatureData
class  SignatureMap
 This class provides very fast lookup if a certain pixel is set (positive or negative) in the loaded coefficient set. More...
class  WeightBin
class  Weights

Typedefs

typedef qint32 Idx
typedef double Unit
typedef std::priority_queue
< valStruct > 
valqueue

Enumerations

enum  { NumberOfPixels = 128 }
enum  { NumberOfPixelsSquared = NumberOfPixels * NumberOfPixels }
enum  { NumberOfCoefficients = 40 }

Variables

static const float s_haar_weights [2][6][3]

Typedef Documentation

typedef qint32 Digikam::Haar::Idx

Definition at line 92 of file haar.h.

typedef double Digikam::Haar::Unit

Definition at line 89 of file haar.h.

typedef std::priority_queue<valStruct> Digikam::Haar::valqueue

Definition at line 71 of file haar.cpp.


Enumeration Type Documentation

anonymous enum

Number of pixels on one side of image; required to be a power of 2.

Enumerator:
NumberOfPixels 

Definition at line 79 of file haar.h.

anonymous enum

Total pixels in a square image.

Enumerator:
NumberOfPixelsSquared 

Definition at line 83 of file haar.h.

anonymous enum

Number of Haar coefficients we retain as signature for an image.

Enumerator:
NumberOfCoefficients 

Definition at line 87 of file haar.h.


Variable Documentation

const float Digikam::Haar::s_haar_weights[2][6][3] [static]
Initial value:
{
    
    
    {{ 5.00F, 19.21F, 34.37F },   
     { 0.83F,  1.26F,  0.36F },   
     { 1.01F,  0.44F,  0.45F },   
     { 0.52F,  0.53F,  0.14F },   
     { 0.47F,  0.28F,  0.18F },   
     { 0.30F,  0.14F,  0.27F }},  

    
    
    {{ 4.04F, 15.14F, 22.62F },
     { 0.78F,  0.92F,  0.40F },
     { 0.46F,  0.53F,  0.63F },
     { 0.42F,  0.26F,  0.25F },
     { 0.41F,  0.14F,  0.15F },
     { 0.32F,  0.07F,  0.38F }}
}

Weights for the Haar coefficients.

Straight from the referenced paper "Fast Multiresolution Image Querying" by Charles E. Jacobs, Adam Finkelstein and David H. Salesin. http://www.cs.washington.edu/homes/salesin/abstracts.html

Definition at line 56 of file haar.h.

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal