MrSID Decode SDK for Raster Reference Manual  9.5.1.4427
LTICropFilter Class Reference

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

#include <lti_cropFilter.h>

Inheritance diagram for LTICropFilter:
LTIEmbeddedImage LTIOverrideDimensions< LTIOverridePixelProps< LTIOverrideBackgroundPixel< LTIOverrideGeoCoord< LTIImageFilter > > > > LTIOverridePixelProps< LTIOverrideBackgroundPixel< LTIOverrideGeoCoord< LTIImageFilter > > > LTIOverrideDimensionsData LTIOverrideBackgroundPixel< LTIOverrideGeoCoord< LTIImageFilter > > LTIOverridePixelPropsData LTIOverrideGeoCoord< LTIImageFilter > LTIOverrideBackgroundPixelData LTIImageFilter LTIOverrideGeoCoordData LTIImageStage LTIImage LTIReferenceCountedObject

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:
srcImagethe base image
xOffsetx-position of the origin of the new image (specified relative to the input image)
yOffsety-position of the origin of the new image (specified relative to the input image)
newWidthwidth of the new image
newHeightheight of the new image

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