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;
83 void reset()
throw(te::rp::Exception);
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);
187 boost::numeric::ublas::matrix<double> getCovarianceMatrix(
const std::vector<std::vector<double> >& vpixels,
const std::vector<double>& vmeans);
199 boost::numeric::ublas::matrix<std::complex <double> > getComplexCovarianceMatrix(
const std::vector<std::vector<std::complex < double> > >& vpixels,
const std::vector<std::complex < double > >& vmeans);
220 boost::numeric::ublas::matrix<double> getGLCM(
const te::rst::Raster& rin,
unsigned int band,
int dx,
int dy,
221 double minPixel,
double maxPixel,
double gLevels = 256);
243 boost::numeric::ublas::matrix<double> getGLCM(
const te::rst::Raster& rin,
unsigned int band,
int dx,
int dy,
244 const te::gm::Polygon& polygon,
double minPixel,
double maxPixel,
double gLevels = 256);
253 te::rp::Texture getGLCMMetrics(boost::numeric::ublas::matrix<double> glcm);
262 #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.