dmIPyramid Class Reference

Build a pyramid by downsampling with a convolution kernel. More...

#include <CCI_Pyramid.h>

Inherits dmINotify.

List of all members.

Public Member Functions

bool Generate (cci_object *params, dm_uint limit=0)
 Construct the pyramid from source image in buffer 0.
bool Reconstruct (cci_object *params, dm_uint from, dm_uint to, cci_object *imagelist)
 Reconstruct an image from buffer index from to buffer index to.
bool DownSample (cci_object *params, dm_uint index)
 Construct a down sampling of the image parameter.
bool Laplacian (cci_object *params, dm_uint limit=0)
 Construct the Laplacien pyramid the from source image in buffer 0.
bool SetKernel (const char_t *kernel)
 Set the convolution kernel to be used for the construction of the pyramid, if the kernel is set to a empty string then downsampling is done without filtering.


Detailed Description

Build a pyramid by downsampling with a convolution kernel.


Member Function Documentation

bool dmIPyramid::DownSample cci_object *  params,
dm_uint  index
[inline]
 

Construct a down sampling of the image parameter.

the resulting image will be stored int the image buffer index of the params object.

See also:
dmIParameters for details about the params interface.

bool dmIPyramid::Generate cci_object *  params,
dm_uint  limit = 0
[inline]
 

Construct the pyramid from source image in buffer 0.

Pyramid images will be stored into the buffer list of the params object starting from index 1.

See also:
dmIParameters for details about the params interface.

bool dmIPyramid::Reconstruct cci_object *  params,
dm_uint  from,
dm_uint  to,
cci_object *  imagelist
[inline]
 

Reconstruct an image from buffer index from to buffer index to.

The reconstruction will be applied from-to times on the source image. If to >= from : the source image is copied into the output buffer at index to.

Parameters:
params an instance of dmIParameters class.
imagelist the imagelist in which to store the result If imagelist is null the image will be stored in the image member of the params object or in the
buffer if there is no image.
from the buffer index of the imagelist handled by the params object.
to the buffer index of the result image.
imagelist the imagelist in which result is stored.
See also:
dmIParameters for details about the params interface.


Generated on Tue May 9 12:34:57 2006 for Daim Library Module Set by  doxygen 1.4.6-NO