#include <fusion.h>
Inheritance diagram for CFusion:
Public Types | |
enum | { FUSION_OK = CFilter::FILTER_OK, FUSION_CANCELLED = CFilter::FILTER_CANCELLED, FUSION_ERROR = CFilter::FILTER_ERROR } |
enum | { FusionRule, ColorConverter, CloneDetail, TransformMinSize, Callback, CFUSION_USER } |
Public Member Functions | |
CFusion * | Clone () const |
int | Init (void *o=NULL) |
int | StartFusion () |
int | FuseImage (ILuint) |
int | GetImage (ILuint &) |
int | ImageCount () const |
bool | FusionInProgress () const |
const char * | ErrorMessage () const |
CParams & | Params () |
const CParams & | Params () const |
virtual const char * | GetName () |
Protected Member Functions | |
virtual int | init (void *)=0 |
virtual int | start ()=0 |
virtual int | fuse (ILuint image)=0 |
virtual int | getimage (CMatrix< TCoeff > &fused)=0 |
virtual CFusion * | clone () const =0 |
virtual bool | requireFixedSize () |
virtual bool | requirePow2Size () |
int | imageToMatrix (CMatrix< TCoeff > &, ILuint, CColorConverter *) |
int | matrixToImage (ILuint, CMatrix< TCoeff > &) |
int | resizeToPow2 (ILuint, ILenum) |
int | dyadicMin (int, int) |
|
Available parameters.
|
|
Clone the object. Subclasses must overload this method.
Implemented in CFusionCDWT, CFusionDWT, and CFusionLaplace. |
|
Clone the object.
|
|
Finds minimal value by dyadic shrinking of Value which is not smaller than Min.
|
|
Fusion. Subclasses must overload this method.
Implemented in CFusionCDWT, CFusionDWT, and CFusionLaplace. |
|
Fuse single image.
|
|
Return true if fusion is in progress, false otherwise.
|
|
Retrieve fused image. Subclasses must overload this method.
Implemented in CFusionCDWT, CFusionDWT, and CFusionLaplace. |
|
Retrieve fused image. The image data is administered by the fusion object.
|
|
Return pointer to string containing name of the fusion method.
Reimplemented in CFusionCDWT, CFusionDWT, and CFusionLaplace. |
|
Return number of images fused so far.
|
|
Convert image into a matrix. Color images are converted to grayscale using color converter class.
|
|
Initialization. Subclasses must overload this method.
Implemented in CFusionCDWT, CFusionDWT, and CFusionLaplace. |
|
Initialize the object. User may supply an object to help the initialization.
|
|
Convert matrix into a DevIL image in IL_LUMINANCE format and IL_UNSIGNED_BYTE data type.
|
|
Return parameter list.
|
|
Return parameter list.
|
|
Return true if all images must be of the same size. Default is true, subclasses should override this method to change it. |
|
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 in CFusionCDWT, CFusionDWT, and CFusionLaplace. |
|
Resizes image to power-2 dimensions using scaling filter.
|
|
Allocate necessary buffers. Subclasses must overload this method.
Implemented in CFusionCDWT, CFusionDWT, and CFusionLaplace. |
|
Initialize the object. User may supply an object to help the initialization.
|