SPATMOD::IMAGE::FILTER_ZOOM Class Reference

Filter to zoom image (up or down) by fixed amount. More...

#include <spatmod/imagefilterzoom.h>

Inheritance diagram for SPATMOD::IMAGE::FILTER_ZOOM:
Inheritance graph
[legend]

List of all members.

Public Types

enum  PREVSTAGEUSAGE { PREVSTAGEUSAGE_None, PREVSTAGEUSAGE_Exact, PREVSTAGEUSAGE_Nearest }

Public Member Functions

 FILTER_ZOOM (STAGE *pPreviousStage, bool TakeOwnership, INT32 NumColumns, INT32 NumRows, PREVSTAGEUSAGE PrevStageUsage, RESAMPLEMETHOD ResampleMethod)
 FILTER_ZOOM (STAGE *pPreviousStage, bool TakeOwnership, const BASE &RefImage, PREVSTAGEUSAGE PrevStageUsage, RESAMPLEMETHOD ResampleMethod)
 FILTER_ZOOM (STAGE *pPreviousStage, bool TakeOwnership, double Scale, PREVSTAGEUSAGE PrevStageUsage, RESAMPLEMETHOD ResampleMethod)
virtual ~FILTER_ZOOM ()

Detailed Description

Filter to zoom image (up or down) by fixed amount.


Member Enumeration Documentation

How to use previous stage to help in zooming if supported.

Enumerator:
PREVSTAGEUSAGE_None 

Don't use previous stage zooming capability at all.

PREVSTAGEUSAGE_Exact 

Use previous stage if supports exact zoom value.

PREVSTAGEUSAGE_Nearest 

Use nearest supported zoom value for previous stage and zoom from there.


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_ZOOM::FILTER_ZOOM ( STAGE pPreviousStage,
bool  TakeOwnership,
double  Scale,
PREVSTAGEUSAGE  PrevStageUsage,
RESAMPLEMETHOD  ResampleMethod 
)

Construct with specified scale.

RESAMPLEMETHOD_Average is only supported for zoom factors resulting in integer sampling and only up to 1/16.

Parameters:
pPreviousStage Pointer to previous stage
TakeOwnership Filter takes ownership of previous stage and will delete when needed
Scale Scale, negative values equivalent to 1/abs(scale)
PrevStageUsage How to use previous stage to help in zooming if supported
ResampleMethod Resampling method if zooming not done entirely by previous stage
SPATMOD::IMAGE::FILTER_ZOOM::FILTER_ZOOM ( STAGE pPreviousStage,
bool  TakeOwnership,
const BASE RefImage,
PREVSTAGEUSAGE  PrevStageUsage,
RESAMPLEMETHOD  ResampleMethod 
)

Construct with scale to match specified reference image.

Zoom values based on reference image are used during construction, so must have total dimension available. RESAMPLEMETHOD_Average is only supported for zoom factors resulting in integer sampling and only up to 1/16.

Parameters:
pPreviousStage Pointer to previous stage
TakeOwnership Filter takes ownership of previous stage and will delete when needed
RefImage Reference image to match in total dimensions
PrevStageUsage How to use previous stage to help in zooming if supported
ResampleMethod Resampling method if zooming not done entirely by previous stage
SPATMOD::IMAGE::FILTER_ZOOM::FILTER_ZOOM ( STAGE pPreviousStage,
bool  TakeOwnership,
INT32  NumColumns,
INT32  NumRows,
PREVSTAGEUSAGE  PrevStageUsage,
RESAMPLEMETHOD  ResampleMethod 
)

Construct with scale to match specified dimensions.

RESAMPLEMETHOD_Average is only supported for zoom factors resulting in integer sampling and only up to 1/16.

Parameters:
pPreviousStage Pointer to previous stage
TakeOwnership Filter takes ownership of previous stage and will delete when needed
NumColumns Number of resulting columns
NumRows Number of resulting rows
PrevStageUsage How to use previous stage to help in zooming if supported
ResampleMethod Resampling method if zooming not done entirely by previous stage
virtual SPATMOD::IMAGE::FILTER_ZOOM::~FILTER_ZOOM (  )  [virtual]

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:40:00 2012 for TNTsdk 2012 by  doxygen 1.6.1