Create a mosaic from a set of geo-referenced rasters.
More...
#include <GeoMosaic.h>
|
bool | getEqualizationParams (const te::rst::Raster &inRaster, const std::vector< unsigned int > &inputRastersBands, const BlendedRastersInfosT &blendedRastersInfos, const te::sam::rtree::Index< std::size_t > &blendedRastersInfosTree, te::gm::MultiPolygon const *const validAreaDelimiterPolPtr, const te::rst::Raster &mosaicRaster, 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. More...
|
|
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. More...
|
|
void | setErrorMessage (const std::string &newErrorMessage) |
| Set the current error message. More...
|
|
Create a mosaic from a set of geo-referenced rasters.
Definition at line 53 of file GeoMosaic.h.
◆ BlendedRasterInfosDataT
◆ BlendedRastersInfosT
◆ GeoMosaic()
te::rp::GeoMosaic::GeoMosaic |
( |
| ) |
|
◆ ~GeoMosaic()
te::rp::GeoMosaic::~GeoMosaic |
( |
| ) |
|
◆ execute()
◆ getEqualizationParams()
bool te::rp::GeoMosaic::getEqualizationParams |
( |
const te::rst::Raster & |
inRaster, |
|
|
const std::vector< unsigned int > & |
inputRastersBands, |
|
|
const BlendedRastersInfosT & |
blendedRastersInfos, |
|
|
const te::sam::rtree::Index< std::size_t > & |
blendedRastersInfosTree, |
|
|
te::gm::MultiPolygon const *const |
validAreaDelimiterPolPtr, |
|
|
const te::rst::Raster & |
mosaicRaster, |
|
|
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
-
inputRastersBands | Input raster bands to use. |
blendedRastersInfos | Infos about rasters that already were blended into the mosaic. |
blendedRastersInfosTree | A tree indexing blendedRastersInfos. |
validAreaDelimiterPolPtr | A pointer (or a null pointer) to the current input raster valid data area. |
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. |
◆ 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.
◆ 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()
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::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.
◆ reset()
void te::rp::GeoMosaic::reset |
( |
| ) |
|
|
virtual |
Clear all internal allocated objects and reset the algorithm to its initial state.
Reimplemented from te::rp::Algorithm.
◆ 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
Input execution parameters.
Definition at line 202 of file GeoMosaic.h.
◆ m_isInitialized
bool te::rp::GeoMosaic::m_isInitialized |
|
protected |
Tells if this instance is initialized.
Definition at line 204 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