Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
HuginBase::ImageCache::PyramidKey Struct Reference

get a pyramid image. More...

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).

Parameters
filenameof source image
levelof 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.

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

Member Data Documentation

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

Definition at line 385 of file ImageCache.h.

int HuginBase::ImageCache::PyramidKey::level

Definition at line 386 of file ImageCache.h.


The documentation for this struct was generated from the following files: