Raster post classification.
More...
#include <PostClassification.h>
Raster post classification.
Definition at line 40 of file PostClassification.h.
◆ PostClassification()
te::rp::PostClassification::PostClassification |
( |
| ) |
|
◆ ~PostClassification()
te::rp::PostClassification::~PostClassification |
( |
| ) |
|
◆ execute()
◆ getErrorMessage()
const std::string& te::rp::Algorithm::getErrorMessage |
( |
| ) |
const |
|
inherited |
Return the current error message if there is any.
- Returns
- Return the current error message if there is any.
◆ initialize()
Initialize the algorithm instance making it ready for execution.
- Parameters
-
inputParams | Input parameters. |
- Returns
- true if OK, false on errors.
- Note
- A return error string can be obtained via Algorithm::getErrorMessage()
Implements te::rp::Algorithm.
◆ isInitialized()
bool te::rp::PostClassification::isInitialized |
( |
| ) |
const |
|
virtual |
Returns true if the algorithm instance is initialized and ready for execution.
- Returns
- true if the algorithm instance is initialized and ready for execution.
Implements te::rp::Algorithm.
◆ reset()
void te::rp::PostClassification::reset |
( |
| ) |
|
|
virtual |
Clear all internal allocated objects and reset the algorithm to its initial state.
Reimplemented from te::rp::Algorithm.
◆ runPostClassification()
bool te::rp::PostClassification::runPostClassification |
( |
const te::rst::Raster & |
srcRaster, |
|
|
te::rst::Raster & |
dstRaster, |
|
|
unsigned int |
weight, |
|
|
unsigned int |
threshold |
|
) |
| |
|
protected |
Apply the post classification.
- Parameters
-
srcRaster | Source raster. |
srcBandIdx | Source raster band index. |
dstRaster | Destination raster. |
dstBandIdx | Destination raster band index. |
weight | Weight value. |
threshold | Threshold value. |
useProgress | if true, the progress interface must be used. |
◆ setErrorMessage()
void te::rp::Algorithm::setErrorMessage |
( |
const std::string & |
newErrorMessage | ) |
|
|
protectedinherited |
Set the current error message.
- Parameters
-
newErrorMessage | New error message; |
◆ m_errorMessage
std::string te::rp::Algorithm::m_errorMessage |
|
privateinherited |
◆ m_inputParameters
◆ m_isInitialized
bool te::rp::PostClassification::m_isInitialized |
|
protected |
The documentation for this class was generated from the following file: