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 | |
This class crops the image stage to a smaller width and height.
Definition at line 27 of file lti_cropFilter.h.
| 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 |
| LizardTech |