This class provide cloud detection. More...
#include <CloudDetection.h>
Public Member Functions | |
| CloudDetection () | |
| te::rst::Raster * | executeCloudDetection (te::rst::Raster *cloudRaster, te::rst::Raster *shadowRaster, int cloudBand, int shadowBand, double minCloud, double maxCloud, double minShadow, double maxShadow, std::vector< te::rp::Filter::InputParameters::FilterType > vecFilter, std::vector< int > vecIt) |
| This method is used to run cloud detection operation. More... | |
| ~CloudDetection () | |
Protected Member Functions | |
| te::rst::Raster * | generateCloudRaster (te::rst::Raster *raster, int cloudBand, double minCloud, double maxCloud) |
| te::rst::Raster * | generateShadowRaster (te::rst::Raster *raster, int shadowBand, double minShadow, double maxShadow) |
| te::rst::Raster * | generateSumRasters (te::rst::Raster *cloudRaster, te::rst::Raster *shadowRaster) |
This class provide cloud detection.
Definition at line 66 of file CloudDetection.h.
|
default |
|
default |
| te::rst::Raster * te::rp::CloudDetection::executeCloudDetection | ( | te::rst::Raster * | cloudRaster, |
| te::rst::Raster * | shadowRaster, | ||
| int | cloudBand, | ||
| int | shadowBand, | ||
| double | minCloud, | ||
| double | maxCloud, | ||
| double | minShadow, | ||
| double | maxShadow, | ||
| std::vector< te::rp::Filter::InputParameters::FilterType > | vecFilter, | ||
| std::vector< int > | vecIt | ||
| ) |
This method is used to run cloud detection operation.
Definition at line 35 of file CloudDetection.cpp.
References te::rp::Filter::execute(), generateCloudRaster(), generateShadowRaster(), generateSumRasters(), te::rst::Raster::getBand(), te::rst::Raster::getNumberOfBands(), te::rst::Band::getProperty(), te::rp::Filter::initialize(), te::rp::Filter::InputParameters::m_enableProgress, te::rp::Filter::InputParameters::m_filterType, te::rp::Filter::InputParameters::m_inRasterBands, te::rp::Filter::InputParameters::m_inRasterPtr, te::rp::Filter::InputParameters::m_iterationsNumber, te::rst::BandProperty::m_noDataValue, te::rp::Filter::OutputParameters::m_outputRasterPtr, te::rp::Filter::OutputParameters::m_rInfo, and te::rp::Filter::OutputParameters::m_rType.
|
protected |
Definition at line 96 of file CloudDetection.cpp.
References col, te::rst::Raster::getBand(), te::rst::Raster::getGrid(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rst::BandProperty::m_noDataValue, te::rst::RasterFactory::make(), nCols, te::rst::Raster::setValue(), and te::dt::UCHAR_TYPE.
Referenced by executeCloudDetection().
|
protected |
Definition at line 131 of file CloudDetection.cpp.
References col, te::rst::Raster::getBand(), te::rst::Raster::getGrid(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rst::BandProperty::m_noDataValue, te::rst::RasterFactory::make(), nCols, te::rst::Raster::setValue(), and te::dt::UCHAR_TYPE.
Referenced by executeCloudDetection().
|
protected |
Definition at line 166 of file CloudDetection.cpp.
References col, te::rst::Raster::getBand(), te::rst::Raster::getGrid(), te::rst::Raster::getNumberOfColumns(), te::rst::Raster::getNumberOfRows(), te::rst::Band::getValue(), te::rst::RasterFactory::make(), nCols, te::rst::Raster::setValue(), and te::dt::UCHAR_TYPE.
Referenced by executeCloudDetection().