LTICropFilter Class Reference

crops the image stage to a smaller width and height More...

#include <lti_cropFilter.h>

Inheritance diagram for LTICropFilter:

Inheritance graph
[legend]
Collaboration diagram for LTICropFilter:

Collaboration graph
[legend]

List of all members.

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 LTICropFiltercreate (void)

Protected Member Functions

 LTICropFilter (void)
virtual ~LTICropFilter (void)


Detailed Description

This class crops the image stage to a smaller width and height.
Examples:

Pipeline.cpp.

Definition at line 27 of file lti_cropFilter.h.


Constructor & Destructor Documentation

LTICropFilter::LTICropFilter ( void   )  [protected]

virtual LTICropFilter::~LTICropFilter ( void   )  [protected, virtual]


Member Function Documentation

static LTICropFilter* LTICropFilter::create ( void   )  [static]

Reimplemented from LTIEmbeddedImage.

Examples:
Pipeline.cpp.

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.

Parameters:
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


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

LizardTech