|
MrSID Decode SDK for Raster Reference Manual
9.5.4.4709
|
crops the image stage to a smaller width and height More...
#include <lti_cropFilter.h>
Public Member Functions | |
| LT_STATUS | initialize (LTIImageStage *srcImage, lt_int32 xOffset, lt_int32 yOffset, lt_int32 newWidth, lt_int32 newHeight) |
| initializer | |
Static Public Member Functions | |
| static LTICropFilter * | create (void) |
Protected Member Functions | |
| LTICropFilter (void) | |
| virtual | ~LTICropFilter (void) |
This class crops the image stage to a smaller width and height.
Definition at line 27 of file lti_cropFilter.h.
| LTICropFilter::LTICropFilter | ( | void | ) | [protected] |
| virtual LTICropFilter::~LTICropFilter | ( | void | ) | [protected, virtual] |
| static LTICropFilter* LTICropFilter::create | ( | void | ) | [static] |
Reimplemented from LTIEmbeddedImage.
| LT_STATUS LTICropFilter::initialize | ( | LTIImageStage * | srcImage, |
| lt_int32 | xOffset, | ||
| lt_int32 | yOffset, | ||
| lt_int32 | newWidth, | ||
| lt_int32 | newHeight | ||
| ) |
Creates an image stage which corresponds to a cropped subsection of the input image, according to the given offset, width, and height.
| srcImage | the base image |
| xOffset | x-position of the origin of the new image (specified relative to the input image) |
| yOffset | y-position of the origin of the new image (specified relative to the input image) |
| newWidth | width of the new image |
| newHeight | height of the new image |