HuginBase::ImageCache::PyramidKey Struct Reference

get a pyramid image. More...

List of all members.

Public Member Functions

 PyramidKey (const std::string &str, int lv)
std::string toString ()

Public Attributes

std::string filename
int level

Detailed Description

get a pyramid image.

A image pyramid is a image in multiple resolutions. Usually it is used to accelerate image processing, by using lower resolutions first. they are properly low pass filtered, so no undersampling occurs (it would if one just takes every 2^level pixel instead).

filename of source image
level of pyramid. height and width are calculated as follows: height/(level^2), width/(level^1)

Definition at line 383 of file ImageCache.h.

Constructor & Destructor Documentation

HuginBase::ImageCache::PyramidKey::PyramidKey ( const std::string str,
int  lv 
) [inline]

Definition at line 389 of file ImageCache.h.

Member Function Documentation

std::string HuginBase::ImageCache::PyramidKey::toString (  ) 

Definition at line 153 of file ImageCache.cpp.

References filename, and level.

Referenced by HuginBase::ImageCache::removeImage().

Member Data Documentation

std::string HuginBase::ImageCache::PyramidKey::filename

Definition at line 385 of file ImageCache.h.

Referenced by toString().

int HuginBase::ImageCache::PyramidKey::level

Definition at line 386 of file ImageCache.h.

Referenced by toString().

The documentation for this struct was generated from the following files:
Generated on 21 May 2018 for Hugintrunk by  doxygen 1.4.7