Filter to "extend" image by adding null pixels around outside. More...
#include <spatmod/imagefilterextend.h>

Public Member Functions | |
| FILTER_EXTEND (STAGE *pInputImage, bool TakeOwnership, INT32 NumColumnsAdd, INT32 NumRowsAdd, UINT32 NewTotalColumns=0, UINT32 NewTotalRows=0) | |
| virtual | ~FILTER_EXTEND () |
Filter to "extend" image by adding null pixels around outside.
Will "crop" image if necessary if result does not entirely contain input image.
| 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.
| 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] |
1.6.1