RVC::OP::RASTER_THRESHOLD Class Reference

Class to perform raster thresholding. More...

#include <rvc/oprasterthreshold.h>

List of all members.

Public Types

enum  FLAGS { FLAG_None = 0x00, FLAG_OutputBelowAs1 = 0x01, FLAG_OutputNullAs1 = 0x02, FLAG_KeepNulls = 0x04 }

Static Public Member Functions

static ERRVALUE Process (const RVC::OBJITEM &ObjItemSrcRaster, RVC::OBJITEM &ObjItemTgtRaster, double threshold, FLAGS flags=FLAG_None, const LRECT2D *pSrcRect=0)
static ERRVALUE Process (RVC::RASTER &ObjSrcRaster, RVC::RASTER &ObjTgtRaster, double threshold, FLAGS flags=FLAG_None, const LRECT2D *pSrcRect=0)

Detailed Description

Class to perform raster thresholding.


Member Enumeration Documentation

Flags to control processing.

Enumerator:
FLAG_None 
FLAG_OutputBelowAs1 

Output 1 for values below threshold, default is to output 1 if above.

FLAG_OutputNullAs1 

Output 1 for null cells, default is to output 0 for null cells.

FLAG_KeepNulls 

Keep null cells from source, default is to discard nulls.


Member Function Documentation

static ERRVALUE RVC::OP::RASTER_THRESHOLD::Process ( const RVC::OBJITEM ObjItemSrcRaster,
RVC::OBJITEM ObjItemTgtRaster,
double  threshold,
FLAGS  flags = FLAG_None,
const LRECT2D pSrcRect = 0 
) [static]
Parameters:
ObjItemSrcRaster Source raster location
ObjItemTgtRaster Target raster location, if exists must be binary with same dimensions as source raster/rectangle
threshold Threshold value
pSrcRect Source rectangle, NULL for entire source raster
static ERRVALUE RVC::OP::RASTER_THRESHOLD::Process ( RVC::RASTER ObjSrcRaster,
RVC::RASTER ObjTgtRaster,
double  threshold,
FLAGS  flags = FLAG_None,
const LRECT2D pSrcRect = 0 
) [static]
Parameters:
ObjSrcRaster Source raster
ObjTgtRaster Target raster, must be binary with same dimensions as source raster/rectangle
threshold Threshold value
pSrcRect Source rectangle, NULL for entire source raster

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

Generated on Sun Oct 7 21:38:35 2012 for TNTsdk 2012 by  doxygen 1.6.1