dmIZFocus Class Reference

Reconstruct an image from list of images using a Laplacian pyramid fusion/reconstruction algorithm. More...

#include <CCI_ZFocus.h>

Inherits dmINotify.

List of all members.

Public Types

enum  Constants { flColorSpaceGrey = CCIV_ZFocus_ColorSpaceGrey, flCopyBack = CCIV_ZFocus_CopyBack, flFinalize = CCIV_ZFocus_Finalize, flColorSpaceRGB = CCIV_ZFocus_ColorSpaceRGB }

Public Member Functions

bool Initialize (dm_uint flags=0, dm_uint levels=-1)
 Initialize the object before processing.
bool Process (cci_object *params, cci_object *imagelist, dm_uint index=-1, dm_uint flags=0, dm_uint mapindex=-1)
 Process images.
bool Reconstruct (cci_object *params, dm_uint index=-1)
 Reconstruct an image from the computed pyramid.
bool Reset ()
 Reset results by clearing accumulated data and resetting image count to 0. Index mapping will not be modified.
dmImage * GetImage (dm_uint channel)
 Just after Reconstruct, return the reconstructed image. Otherwise return the last processed image.
dm_uint GetCount ()
 Return the number of images processed.


Detailed Description

Reconstruct an image from list of images using a Laplacian pyramid fusion/reconstruction algorithm.


Member Enumeration Documentation

enum dmIZFocus::Constants
 

Flags Constants

Enumerator:
flColorSpaceGrey  Convert images to gray scale before processing images
flCopyBack  Copy result image back to the processed image
flFinalize  Reconstruct result image
flColorSpaceRGB  Use RGB decomposition before processing images


Member Function Documentation

bool dmIZFocus::Initialize dm_uint  flags = 0,
dm_uint  levels = -1
[inline]
 

Initialize the object before processing.

Parameters:
flags initialization flags, can be set to the following values:
  • flColorSpaceGrey
  • flColorSpaceRGB
levels the number of levels in the pyramid algorithm This method must be called before any new processing.

bool dmIZFocus::Process cci_object *  params,
cci_object *  imagelist,
dm_uint  index = -1,
dm_uint  flags = 0,
dm_uint  mapindex = -1
[inline]
 

Process images.

Parameters:
params a dmIParameters object.
imagelist the imagelist to process (the whole list is processed)
index the buffer index to get a single image from the imagelist held by the param object. If set to -1, the image is taken out from the default image held by the params object. The index parameter is ignored on input if imagelist is not null.
flags options passed that modify processing and output
If flags has flCopyBack and flFinalize set then the result will be stored back into the input image defined by the index parameter.

See also:
dmIParameters for details about the params interface.

bool dmIZFocus::Reconstruct cci_object *  params,
dm_uint  index = -1
[inline]
 

Reconstruct an image from the computed pyramid.

Parameters:
params a dmIParameters object.
index the index of the buffer to store the result if set to -1, the default image held by params will be used if it exists.

bool dmIZFocus::Reset  )  [inline]
 

Reset results by clearing accumulated data and resetting image count to 0. Index mapping will not be modified.

This method is called prior to processing images based on the map previously updated with the flUpdateMap process flag.


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