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 377 of file ImageCache.h.

Constructor & Destructor Documentation

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

Definition at line 383 of file ImageCache.h.

Member Function Documentation

std::string HuginBase::ImageCache::PyramidKey::toString (  )  [inline]

Definition at line 387 of file ImageCache.h.

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

Member Data Documentation

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

Definition at line 379 of file ImageCache.h.

int HuginBase::ImageCache::PyramidKey::level

Definition at line 380 of file ImageCache.h.

The documentation for this struct was generated from the following file:
Generated on 1 Jul 2015 for Hugintrunk by  doxygen 1.4.7