SPATMOD::IMAGE::FILTER_EXTEND Class Reference

Filter to "extend" image by adding null pixels around outside. More...

#include <spatmod/imagefilterextend.h>

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

List of all members.

Public Member Functions

 FILTER_EXTEND (STAGE *pInputImage, bool TakeOwnership, INT32 NumColumnsAdd, INT32 NumRowsAdd, UINT32 NewTotalColumns=0, UINT32 NewTotalRows=0)
virtual ~FILTER_EXTEND ()

Detailed Description

Filter to "extend" image by adding null pixels around outside.

Will "crop" image if necessary if result does not entirely contain input image.


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_EXTEND::FILTER_EXTEND ( STAGE pInputImage,
bool  TakeOwnership,
INT32  NumColumnsAdd,
INT32  NumRowsAdd,
UINT32  NewTotalColumns = 0,
UINT32  NewTotalRows = 0 
)

Construct with specified rectangle.

Resulting image must overlap source by at least one pixel or Initialize will return error.

Parameters:
pInputImage Input image stage
TakeOwnership Filter takes ownership of source stage and will delete when needed
NumColumnsAdd Number of columns to add at "left" of source stage, can be negative
NumRowsAdd Number of rows to add at "top" of source image, can be negative
NewTotalColumns New total number of columns, 0 to not extend at "right" or source
NewTotalRows New total number of rows, 0 to not extend at "bottom" or source
virtual SPATMOD::IMAGE::FILTER_EXTEND::~FILTER_EXTEND (  )  [virtual]

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

Generated on Sun Oct 7 21:39:36 2012 for TNTsdk 2012 by  doxygen 1.6.1