26 #ifndef __TERRALIB_RP_INTERNAL_RASTERATTRIBUTES_H 27 #define __TERRALIB_RP_INTERNAL_RASTERATTRIBUTES_H 30 #include "../statistics/core/NumericStatisticalSummary.h" 31 #include "../statistics/core/NumericStatisticalComplexSummary.h" 38 #include <boost/numeric/ublas/io.hpp> 39 #include <boost/numeric/ublas/matrix.hpp> 77 bool isInitialized()
const;
134 std::vector<std::vector<std::complex<double> > > getComplexValuesFromRaster(
const te::rst::Raster& raster,
const te::gm::Polygon& polygon, std::vector<unsigned int> bands,
unsigned int rowstep = 1,
unsigned int colstep = 1);
147 std::vector<std::vector<double> > getValuesFromRaster(
const te::rst::Raster& raster,
const te::gm::Polygon& polygon, std::vector<unsigned int> bands,
unsigned int rowstep = 1,
unsigned int colstep = 1);
189 boost::numeric::ublas::matrix<double> getCovarianceMatrix(
const std::vector<std::vector<double> >& vpixels,
const std::vector<double>& vmeans);
201 boost::numeric::ublas::matrix<std::complex <double> > getComplexCovarianceMatrix(
const std::vector<std::vector<std::complex < double> > >& vpixels,
const std::vector<std::complex < double > >& vmeans);
222 boost::numeric::ublas::matrix<double> getGLCM(
const te::rst::Raster& rin,
unsigned int band,
int dx,
int dy,
223 double minPixel,
double maxPixel,
double gLevels = 256);
245 boost::numeric::ublas::matrix<double> getGLCM(
const te::rst::Raster& rin,
unsigned int band,
int dx,
int dy,
246 const te::gm::Polygon& polygon,
double minPixel,
double maxPixel,
double gLevels = 256);
258 te::rp::Texture getGLCMMetrics(boost::numeric::ublas::matrix<double> glcm,
double noDataValue = 0.0);
267 #endif // __TERRALIB_RP_INTERNAL_RASTERATTRIBUTES_H A structure to hold the set of statistics from a set of numerical values.
A structure to hold the set of GLCM metrics.
Raster Processing algorithm output parameters base interface.
Raster Processing algorithm base interface class.
bool m_enableTaskProgress
Extraction of attributes from Raster, Bands, and Polygons.
Raster Processing algorithm base interface.
An abstract class for raster data strucutures.
#define TERPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Configuration flags for the Raster Processing module of TerraLib.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
A structure to hold the set of GLCM metrics.