CFusionLaplace Class Reference

#include <fusionlaplace.h>

Inheritance diagram for CFusionLaplace:

Inheritance graph
List of all members.

Detailed Description

Wavelet transform based image fusion.


Public Types

enum  { KernelSize = CFusion::CFUSION_USER }
enum  {
  FusionRule, ColorConverter, CloneDetail, TransformMinSize,
  Callback, CFUSION_USER
}

Public Member Functions

CFusionClone () const
int Init (void *o=NULL)
int StartFusion ()
int FuseImage (ILuint)
int GetImage (ILuint &)
int ImageCount () const
bool FusionInProgress () const
const char * ErrorMessage () const
CParamsParams ()
const CParamsParams () const

Protected Member Functions

virtual int init (void *)
virtual int start ()
virtual int fuse (ILuint)
virtual int getimage (CMatrix< TCoeff > &)
virtual CFusionclone () const
virtual const char * GetName ()
virtual bool requirePow2Size ()
virtual bool requireFixedSize ()
int imageToMatrix (CMatrix< TCoeff > &, ILuint, CColorConverter *)
int matrixToImage (ILuint, CMatrix< TCoeff > &)
int resizeToPow2 (ILuint, ILenum)
int dyadicMin (int, int)
virtual bool requireFixedSize ()
int imageToMatrix (CMatrix< TCoeff > &, ILuint, CColorConverter *)
int matrixToImage (ILuint, CMatrix< TCoeff > &)
int resizeToPow2 (ILuint, ILenum)
int dyadicMin (int, int)

Classes

class  CLaplaceCallback
struct  CPyramid


Member Enumeration Documentation

anonymous enum [inherited]
 

Available parameters.

Enumerator:
FusionRule  Fusion rule pointer, default CMaxSelectRule.
ColorConverter  Color converter pointer.
CloneDetail  Clone detail modifier, default 1.
TransformMinSize  Minimal size of signal to transform recursively.
Callback  Minimal size of signal to transform recursively.
CFUSION_USER  Subclasses may use this to define own parameters.


Member Function Documentation

CFusion * Clone  )  const [inherited]
 

Clone the object.

Returns:
Cloned object on success, NULL otherwise.

CFusion * clone  )  const [protected, virtual]
 

Clone the object using CFusion::CloneDetail.

Implements CFusion.

int dyadicMin int  Value,
int  Min
[protected, inherited]
 

Finds minimal value by dyadic shrinking of Value which is not smaller than Min.

Parameters:
Value DevIL image name.
Min DevIL scaling filter.
Returns:
True on success.

int fuse ILuint   )  [protected, virtual]
 

Fusion.

Subclasses must overload this method.

Returns:
true if succesfull, false otherwise.

Implements CFusion.

int FuseImage ILuint  Image  )  [inherited]
 

Fuse single image.

Parameters:
Image DevIL image name.

bool FusionInProgress  )  const [inherited]
 

Return true if fusion is in progress, false otherwise.

int GetImage ILuint &  image  )  [inherited]
 

Retrieve fused image.

The image data is administered by the fusion object.

Returns:
Fused image. Copy image to user supplied name, no buffering at all.

int getimage CMatrix< TCoeff > &   )  [protected, virtual]
 

Better handling of copies.

Implements CFusion.

const char * GetName  )  [protected, virtual]
 

Return pointer to string containing name of the fusion method.

Reimplemented from CFusion.

int ImageCount  )  const [inherited]
 

Return number of images fused so far.

int imageToMatrix CMatrix< TCoeff > &  M,
ILuint  image,
CColorConverter CC
[protected, inherited]
 

Convert image into a matrix.

Color images are converted to grayscale using color converter class.

Parameters:
M Matrix to store image into.
Image DevIL image name.
CC Color converter class.
Returns:
True on success.

int Init void *  o = NULL  )  [inherited]
 

Initialize the object.

User may supply an object to help the initialization.

Parameters:
o User supplied object.

int init void *   )  [protected, virtual]
 

Initialization.

Subclasses must overload this method.

Returns:
true if succesfull, false otherwise.

Implements CFusion.

int matrixToImage ILuint  image,
CMatrix< TCoeff > &  M
[protected, inherited]
 

Convert matrix into a DevIL image in IL_LUMINANCE format and IL_UNSIGNED_BYTE data type.

Parameters:
Image DevIL image name.
M Matrix with image.
Returns:
True on success.

const CParams & Params  )  const [inherited]
 

Return parameter list.

CParams & Params  )  [inherited]
 

Return parameter list.

bool requireFixedSize  )  [protected, virtual, inherited]
 

Return true if all images must be of the same size.

Default is true, subclasses should override this method to change it.

bool requirePow2Size  )  [protected, virtual]
 

Return true if all images must be of power-two size in each dimension.

Default is false, subclasses should override this method to change it.

Reimplemented from CFusion.

int resizeToPow2 ILuint  Image,
ILenum  Filter
[protected, inherited]
 

Resizes image to power-2 dimensions using scaling filter.

Parameters:
Image DevIL image name.
Filter DevIL scaling filter.
Returns:
True on success.

int start  )  [protected, virtual]
 

Allocate necessary buffers.

Subclasses must overload this method.

Returns:
true if succesfull, false otherwise.

Implements CFusion.

int StartFusion  )  [inherited]
 

Initialize the object.

User may supply an object to help the initialization.

Parameters:
o User supplied object.


Generated on Tue Jul 11 11:22:32 2006 for ImgFusion by  doxygen 1.4.6