Filter to crop an image. More...
#include <spatmod/imagefiltercrop.h>

Public Member Functions | |
| FILTER_CROP (STAGE *pInputImage, bool TakeOwnership, const LRECT2D &InputRect) | |
| virtual | ~FILTER_CROP () |
| ERRVALUE | SetOrigin (INT32 StartColumn, INT32 StartRow) |
Filter to crop an image.
| SPATMOD::IMAGE::FILTER_CROP::FILTER_CROP | ( | STAGE * | pInputImage, | |
| bool | TakeOwnership, | |||
| const LRECT2D & | InputRect | |||
| ) |
Construct with specified rectangle.
Rectangle must be contained within source image or error will be returned by Initialize.
| pInputImage | Input image stage | |
| TakeOwnership | Filter takes ownership of source stage and will delete when needed | |
| InputRect | Rectangle in source image coordinates |
| virtual SPATMOD::IMAGE::FILTER_CROP::~FILTER_CROP | ( | ) | [virtual] |
Destructor.
Set origin to new location.
Origin may not result in part of area being outside input stage extents. Use care if filter is already part of a pipeline as this will result in change of both georeference and tile sizes. Total dimensions will remain unchanged.
1.6.1