SPATMOD::IMAGE::FILTER_TESTRANGE Class Reference

Filter to test pixel for containment inside (or outside) range(s). More...

#include <spatmod/imagefiltertestrange.h>

Inheritance diagram for SPATMOD::IMAGE::FILTER_TESTRANGE:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FILTER_TESTRANGE (STAGE *pPreviousStage, bool TakeOwnership, double MinValue, double MaxValue, bool outside=false)
 FILTER_TESTRANGE (STAGE *pPreviousStage, bool TakeOwnership, const PIXEL &MinValue, const PIXEL &MaxValue, bool outside=false)
virtual ~FILTER_TESTRANGE ()

Detailed Description

Filter to test pixel for containment inside (or outside) range(s).

Resulting image will have single sample of type UINT8 and precision 1. All ranges are inclusive - values equal to range limits are included in range.


Constructor & Destructor Documentation

SPATMOD::IMAGE::FILTER_TESTRANGE::FILTER_TESTRANGE ( STAGE pPreviousStage,
bool  TakeOwnership,
const PIXEL MinValue,
const PIXEL MaxValue,
bool  outside = false 
)

Constructor using single range of PIXEL values to test for.

Parameters:
pPreviousStage Pointer to previous stage
TakeOwnership Filter takes ownership of previous stage and will delete when needed
MinValue Minimum value (inclusive)
MaxValue Maximum value (inclusive)
outside True to output 1 if outside, otherwise output is 1 if inside
SPATMOD::IMAGE::FILTER_TESTRANGE::FILTER_TESTRANGE ( STAGE pPreviousStage,
bool  TakeOwnership,
double  MinValue,
double  MaxValue,
bool  outside = false 
)

Constructor using single range of 'double' values to test for.

Input image must have single component.

Parameters:
pPreviousStage Pointer to previous stage
TakeOwnership Filter takes ownership of previous stage and will delete when needed
MinValue Minimum value (inclusive)
MaxValue Maximum value (inclusive)
outside True to output 1 if outside, otherwise output is 1 if inside
virtual SPATMOD::IMAGE::FILTER_TESTRANGE::~FILTER_TESTRANGE (  )  [virtual]

Destructor.


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

Generated on Sun Oct 7 21:39:59 2012 for TNTsdk 2012 by  doxygen 1.6.1