SAMCLASSIFIER Class Reference

Spectral Angle Mapper classifier. More...

#include <mi32/samclass.h>

List of all members.

Public Member Functions

 SAMCLASSIFIER (RVC::OBJITEM &objitem)
 ~SAMCLASSIFIER ()
int AddSample (INT32 lin, INT32 col)
int ClassifyBegin ()
int ClassifyLine (UINT32 lin, UINT32 startcol, UINT32 numcols, UINT8 *outmask)
void Close ()
void DeleteAllSamples ()
void DeleteSample (INT32 lin, INT32 col)
ERRVALUE Open ()
void SetAverageSamples (bool AverageSamples=true)
void SetIgnoreAbsorptionBands (bool IgnoreAbsorptionBands=true)

Detailed Description

Spectral Angle Mapper classifier.


Constructor & Destructor Documentation

SAMCLASSIFIER::SAMCLASSIFIER ( RVC::OBJITEM objitem  ) 

Constructor.

Parameters:
objitem Hyperspectral objitem
SAMCLASSIFIER::~SAMCLASSIFIER (  ) 

Destructor.


Member Function Documentation

int SAMCLASSIFIER::AddSample ( INT32  lin,
INT32  col 
)

Add sample point to classifier.

Parameters:
lin Sample point - lin
col Sample point - col
int SAMCLASSIFIER::ClassifyBegin (  ) 

Setup classification.

int SAMCLASSIFIER::ClassifyLine ( UINT32  lin,
UINT32  startcol,
UINT32  numcols,
UINT8 outmask 
)

Do classification on specified line.

Parameters:
lin Line to classify
startcol Starting column of line
numcols Number of columns
outmask Which columns to use
void SAMCLASSIFIER::Close (  ) 

Close hyperspectral object.

void SAMCLASSIFIER::DeleteAllSamples (  ) 

Delete all sample points.

void SAMCLASSIFIER::DeleteSample ( INT32  lin,
INT32  col 
)

Delete sample point.

Parameters:
lin Sample point - lin
col Sample point - col
ERRVALUE SAMCLASSIFIER::Open (  ) 

Open hyperspectral object.

void SAMCLASSIFIER::SetAverageSamples ( bool  AverageSamples = true  )  [inline]

Set average sample value.

Parameters:
AverageSamples Average samples
void SAMCLASSIFIER::SetIgnoreAbsorptionBands ( bool  IgnoreAbsorptionBands = true  )  [inline]

Set ignore absorption bands.

Parameters:
IgnoreAbsorptionBands Ignore absorption bands

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

Generated on Sun Oct 7 21:33:49 2012 for TNTsdk 2012 by  doxygen 1.6.1