Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vimt_image_pyramid Class Reference

#include <vimt_image_pyramid.h>

List of all members.


Detailed Description

Pyramid of images of arbitrary type.

Definition at line 17 of file vimt_image_pyramid.h.

Public Member Functions

 vimt_image_pyramid ()
 Dflt ctor.
 vimt_image_pyramid (const vimt_image_pyramid &)
 Copy ctor.
virtual ~vimt_image_pyramid ()
 Destructor.
void resize (int n_levels, const vimt_image &im_type)
 Resize to n_levels pyramid.
int lo () const
 Lowest level (highest resolution image) of pyramid.
int hi () const
 Highest level (lowest resolution image) of pyramid.
int n_levels () const
 Number of levels.
vimt_imageoperator() (int L)
 Image at level L.
const vimt_imageoperator() (int L) const
 Image at level L.
const vimt_image_pyramidoperator= (const vimt_image_pyramid &that)
 Copy operator.
void deep_copy (const vimt_image_pyramid &im_pyr)
 Take a deep copy of the given pyramid.
double base_pixel_width () const
 Mean width (in world coordinates) of pixels at level zero.
double scale_step () const
 Scaling per level.
vcl_vector< vimt_image * > & data ()
 Access to image data.
void set_widths (double base_pixel_width, double scale_step)
 Define pixel widths.
void print_summary (vcl_ostream &os) const
void print_all (vcl_ostream &os) const
 Print whole of each image to os.

Private Member Functions

void deleteImages ()

Private Attributes

vcl_vector< vimt_image * > image_
double base_pixel_width_
double scale_step_


Constructor & Destructor Documentation

vimt_image_pyramid::vimt_image_pyramid  ) 
 

Dflt ctor.

Definition at line 16 of file vimt_image_pyramid.cxx.

vimt_image_pyramid::vimt_image_pyramid const vimt_image_pyramid  ) 
 

Copy ctor.

Makes a shallow copy of each vimt_image object, not of the underlying data

Definition at line 74 of file vimt_image_pyramid.cxx.

vimt_image_pyramid::~vimt_image_pyramid  )  [virtual]
 

Destructor.

Definition at line 30 of file vimt_image_pyramid.cxx.


Member Function Documentation

double vimt_image_pyramid::base_pixel_width  )  const
 

Mean width (in world coordinates) of pixels at level zero.

Definition at line 122 of file vimt_image_pyramid.cxx.

vcl_vector< vimt_image * > & vimt_image_pyramid::data  ) 
 

Access to image data.

Should only be used by pyramid builders

Definition at line 137 of file vimt_image_pyramid.cxx.

void vimt_image_pyramid::deep_copy const vimt_image_pyramid im_pyr  ) 
 

Take a deep copy of the given pyramid.

Definition at line 57 of file vimt_image_pyramid.cxx.

void vimt_image_pyramid::deleteImages  )  [private]
 

Definition at line 23 of file vimt_image_pyramid.cxx.

int vimt_image_pyramid::hi  )  const
 

Highest level (lowest resolution image) of pyramid.

Definition at line 97 of file vimt_image_pyramid.cxx.

int vimt_image_pyramid::lo  )  const
 

Lowest level (highest resolution image) of pyramid.

Definition at line 91 of file vimt_image_pyramid.cxx.

int vimt_image_pyramid::n_levels  )  const
 

Number of levels.

Definition at line 102 of file vimt_image_pyramid.cxx.

const vimt_image & vimt_image_pyramid::operator() int  L  )  const
 

Image at level L.

Definition at line 115 of file vimt_image_pyramid.cxx.

vimt_image & vimt_image_pyramid::operator() int  L  ) 
 

Image at level L.

Definition at line 108 of file vimt_image_pyramid.cxx.

const vimt_image_pyramid & vimt_image_pyramid::operator= const vimt_image_pyramid that  ) 
 

Copy operator.

Makes a shallow copy of each vimt_image object, not of the underlying data

Definition at line 40 of file vimt_image_pyramid.cxx.

void vimt_image_pyramid::print_all vcl_ostream &  os  )  const
 

Print whole of each image to os.

Definition at line 158 of file vimt_image_pyramid.cxx.

void vimt_image_pyramid::print_summary vcl_ostream &  os  )  const
 

Definition at line 150 of file vimt_image_pyramid.cxx.

void vimt_image_pyramid::resize int  n_levels,
const vimt_image im_type
 

Resize to n_levels pyramid.

Each level of which is a clone of im_type

Definition at line 80 of file vimt_image_pyramid.cxx.

double vimt_image_pyramid::scale_step  )  const
 

Scaling per level.

Pixels at level L have width basePixelWidth() * scaleStep()^L

Definition at line 130 of file vimt_image_pyramid.cxx.

void vimt_image_pyramid::set_widths double  base_pixel_width,
double  scale_step
 

Define pixel widths.

Definition at line 143 of file vimt_image_pyramid.cxx.


Member Data Documentation

double vimt_image_pyramid::base_pixel_width_ [private]
 

Definition at line 20 of file vimt_image_pyramid.h.

vcl_vector<vimt_image*> vimt_image_pyramid::image_ [private]
 

Definition at line 19 of file vimt_image_pyramid.h.

double vimt_image_pyramid::scale_step_ [private]
 

Definition at line 21 of file vimt_image_pyramid.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 10 14:44:00 2008 for contrib/mul/vimt by  doxygen 1.4.4