vil1_pyramid Struct Reference

#include <vil1_pyramid.h>

List of all members.


Detailed Description

vil1_pyramid is *not* an image.

It is like an array of images, with the 0th element as the given image and the ith element a subsampled version of the (i-1)th element. The subsampled images are computed on demand and cached for later use.

Definition at line 19 of file vil1_pyramid.h.


Public Types

enum  cache_strategy { none = 0, memory = 1, blocked = 2 }

Public Member Functions

 vil1_pyramid (vil1_image const &, cache_strategy=memory)
 ~vil1_pyramid ()
unsigned size () const
vil1_image operator[] (unsigned i)

Private Attributes

cache_strategy cs
vcl_vector< vil1_imagelevels

Member Enumeration Documentation

enum vil1_pyramid::cache_strategy

Enumerator:
none 
memory 
blocked 

Definition at line 21 of file vil1_pyramid.h.


Constructor & Destructor Documentation

vil1_pyramid::vil1_pyramid ( vil1_image const &  ,
cache_strategy  = memory 
)

Definition at line 15 of file vil1_pyramid.cxx.

vil1_pyramid::~vil1_pyramid (  ) 

Definition at line 21 of file vil1_pyramid.cxx.


Member Function Documentation

unsigned vil1_pyramid::size (  )  const [inline]

Definition at line 30 of file vil1_pyramid.h.

vil1_image vil1_pyramid::operator[] ( unsigned  i  ) 

Definition at line 25 of file vil1_pyramid.cxx.


Member Data Documentation

cache_strategy vil1_pyramid::cs [private]

Definition at line 34 of file vil1_pyramid.h.

vcl_vector<vil1_image> vil1_pyramid::levels [private]

Definition at line 35 of file vil1_pyramid.h.


The documentation for this struct was generated from the following files:
Generated on Tue Oct 7 05:08:21 2008 for core/vil1 by  doxygen 1.5.1