#include <vil1_pyramid.h>
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_image > | levels |
| 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.
| 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.
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.
1.5.1