Create a mosaic from a set of geo-referenced rasters.
More...
#include <GeoMosaic.h>
|
| bool | getEqualizationParams (const te::rst::Raster &inRaster, const unsigned int inRasterIndex, const std::vector< unsigned int > &inputRastersBands, ProcessedRastersInfosT &processedRastersInfos, const te::sam::rtree::Index< unsigned int > &blendedRastersInfosTree, te::gm::MultiPolygon const *const validAreaDelimiterPolPtr, const te::rst::Raster &mosaicRaster, const unsigned int mosaicCenterRasterIdx, te::gm::MultiPolygon const *const mosaicValidAreaDelimiterPolPtr, std::vector< double > &rasterMeans, std::vector< double > &rasterStdDevs, std::vector< double > &offsets, std::vector< double > &scales, std::vector< double > &newRasterMeans, std::vector< double > &newRasterStdDevs) const |
| | Calcule of input raster equalization parameters.
|
| |
| bool | getNextRasterIndex2Process (const double &globalMosaicCenterX, const double &globalMosaicCenterY, ProcessedRastersInfosT &procRastersInfos, te::gm::MultiPolygon const *const mosaicValidAreasUnionPtr, bool &mextRasterWasFound, unsigned int &mextRasterIndex) |
| | Find the index of the next raster to process.
|
| |
| bool | getRasterDataValidArea (const te::rst::Raster &inputRaster, const unsigned int inputRasterIdx, std::unique_ptr< te::gm::Polygon > &vAreaPolygon, std::unique_ptr< te::gm::MultiPolygon > &vAreaMultiPolygon) |
| | Returns the given raster valid data area.
|
| |
| bool | getRasterStats (const te::rst::Raster &inRaster, const std::vector< unsigned int > &inputRastersBands, te::gm::MultiPolygon const *const validAreaDelimiterPolPtr, std::vector< double > &rasterMeans, std::vector< double > &rasterStdDevs) const |
| | Calcule of raster statistics.
|
| |
| void | setErrorMessage (const std::string &newErrorMessage) |
| | Set the current error message.
|
| |
Create a mosaic from a set of geo-referenced rasters.
Definition at line 53 of file GeoMosaic.h.
◆ ProcessedRastersInfosT
◆ GeoMosaic()
| te::rp::GeoMosaic::GeoMosaic |
( |
| ) |
|
◆ ~GeoMosaic()
| te::rp::GeoMosaic::~GeoMosaic |
( |
| ) |
|
◆ execute()
◆ getEqualizationParams()
| bool te::rp::GeoMosaic::getEqualizationParams |
( |
const te::rst::Raster & | inRaster, |
|
|
const unsigned int | inRasterIndex, |
|
|
const std::vector< unsigned int > & | inputRastersBands, |
|
|
ProcessedRastersInfosT & | processedRastersInfos, |
|
|
const te::sam::rtree::Index< unsigned int > & | blendedRastersInfosTree, |
|
|
te::gm::MultiPolygon const *const | validAreaDelimiterPolPtr, |
|
|
const te::rst::Raster & | mosaicRaster, |
|
|
const unsigned int | mosaicCenterRasterIdx, |
|
|
te::gm::MultiPolygon const *const | mosaicValidAreaDelimiterPolPtr, |
|
|
std::vector< double > & | rasterMeans, |
|
|
std::vector< double > & | rasterStdDevs, |
|
|
std::vector< double > & | offsets, |
|
|
std::vector< double > & | scales, |
|
|
std::vector< double > & | newRasterMeans, |
|
|
std::vector< double > & | newRasterStdDevs ) const |
|
protected |
Calcule of input raster equalization parameters.
- Parameters
-
| inRaster | Input raster. |
| inRasterIndex | Input raster index. |
| inputRastersBands | Input raster bands to use. |
| processedRastersInfos | Current processed rasters info. |
| blendedRastersInfosTree | A tree indexing blendedRastersInfos. |
| validAreaDelimiterPolPtr | A pointer (or a null pointer) to the current input raster valid data area. |
| mosaicRaster | The mosaic raster reference. |
| mosaicValidAreaDelimiterPolPtr | A pointer (or a null pointer) to the current mosaic raster valid data area. |
| rasterMeans | InRaster calculated original means values. |
| rasterStdDevs | InRaster calculated original standart deviation values. |
| offsets | InRaster calculated offsets to mosaic. |
| scales | InRaster calculated scales to mosaic. |
| newRasterMeans | InRaster calculated new means values after merging into the mosaic. |
| newRasterStdDevs | InRaster calculated new standart deviation values after merging into the mosaic. |
| mosaicCenterRasterIdx | The index of the first blended raster at the mosaic center. |
◆ getErrorMessage()
| const std::string & te::rp::Algorithm::getErrorMessage |
( |
| ) |
const |
|
inherited |
◆ getNextRasterIndex2Process()
| bool te::rp::GeoMosaic::getNextRasterIndex2Process |
( |
const double & | globalMosaicCenterX, |
|
|
const double & | globalMosaicCenterY, |
|
|
ProcessedRastersInfosT & | procRastersInfos, |
|
|
te::gm::MultiPolygon const *const | mosaicValidAreasUnionPtr, |
|
|
bool & | mextRasterWasFound, |
|
|
unsigned int & | mextRasterIndex ) |
|
protected |
Find the index of the next raster to process.
- Parameters
-
| globalMosaicCenterX | Global mosaic center X. |
| globalMosaicCenterY | Global mosaic center Y. |
| procRastersInfos | Global processed rasters infos. |
| mosaicValidAreasUnionPtr | Current blended rasters area union geometry. |
| mextRasterIndex | The found next raster index to process. |
| mextRasterWasFound | True if the next raster was found. |
- Returns
- true if OK, false on errors.
◆ getRasterDataValidArea()
Returns the given raster valid data area.
- Parameters
-
| inputRaster | Input Raster to process. |
| inputRasterIdx | Input raster index. |
| vAreaPolygon | Data valid area in a polygon form. |
| vAreaMultiPolygon | Data valid area in a multi-polygon form. |
- Returns
- true if OK, false on errors.
◆ getRasterStats()
| bool te::rp::GeoMosaic::getRasterStats |
( |
const te::rst::Raster & | inRaster, |
|
|
const std::vector< unsigned int > & | inputRastersBands, |
|
|
te::gm::MultiPolygon const *const | validAreaDelimiterPolPtr, |
|
|
std::vector< double > & | rasterMeans, |
|
|
std::vector< double > & | rasterStdDevs ) const |
|
protected |
Calcule of raster statistics.
- Parameters
-
| inputRastersBands | Input raster bands to use. |
| validAreaDelimiterPolPtr | A pointer to a valid geometry where the raster valid data is or a null pointer to processe the entire raster. |
| rasterMeans | Output means values |
| rasterStdDevs | Output standart deviation values |
◆ initialize()
◆ isInitialized()
| bool te::rp::GeoMosaic::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.
References isInitialized().
Referenced by isInitialized().
◆ reset()
| void te::rp::GeoMosaic::reset |
( |
| ) |
|
|
virtual |
◆ setErrorMessage()
| void te::rp::Algorithm::setErrorMessage |
( |
const std::string & | newErrorMessage | ) |
|
|
protectedinherited |
◆ m_errorMessage
| std::string te::rp::Algorithm::m_errorMessage |
|
privateinherited |
◆ m_inputParameters
Input execution parameters.
Definition at line 229 of file GeoMosaic.h.
◆ m_isInitialized
| bool te::rp::GeoMosaic::m_isInitialized |
|
protected |
Tells if this instance is initialized.
Definition at line 231 of file GeoMosaic.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/rp/GeoMosaic.h