26 #ifndef __TERRALIB_RASTER_INTERNAL_BAND_H 27 #define __TERRALIB_RASTER_INTERNAL_BAND_H 81 virtual Raster* getRaster()
const = 0;
90 virtual Band& operator=(
const Band& rhs);
103 virtual void getValue(
unsigned int c,
unsigned int r,
double& value)
const = 0;
116 virtual void setValue(
unsigned int c,
unsigned int r,
const double value) = 0;
129 virtual void getIValue(
unsigned int c,
unsigned int r,
double& value)
const = 0;
142 virtual void setIValue(
unsigned int c,
unsigned int r,
const double value) = 0;
155 virtual void getValue(
unsigned int c,
unsigned int r, std::complex<double>& value)
const;
168 virtual void setValue(
unsigned int c,
unsigned int r,
const std::complex<double>& value);
181 virtual void read(
int x,
int y,
void* buffer)
const = 0;
193 virtual void* read(
int x,
int y) = 0;
206 virtual void write(
int x,
int y,
void* buffer) = 0;
223 virtual std::complex<double> getMinValue(
bool readall =
false,
unsigned int rs = 0,
unsigned int cs = 0,
unsigned int rf = 0,
unsigned int cf = 0)
const;
240 virtual std::complex<double> getMaxValue(
bool readall =
false,
unsigned int rs = 0,
unsigned int cs = 0,
unsigned int rf = 0,
unsigned int cf = 0)
const;
256 virtual std::complex<double> getStdValue(
unsigned int rs = 0,
unsigned int cs = 0,
unsigned int rf = 0,
unsigned int cf = 0)
const;
272 virtual std::complex<double> getMeanValue(
unsigned int rs = 0,
unsigned int cs = 0,
unsigned int rf = 0,
unsigned int cf = 0)
const;
289 virtual std::map<double, unsigned> getHistogramR(
unsigned int rs = 0,
unsigned int cs = 0,
unsigned int rf = 0,
unsigned int cf = 0,
unsigned int b = 0)
const;
308 virtual void getHistogramR(
const unsigned int rowStart,
309 const unsigned int colStart,
310 const unsigned int finalRow,
311 const unsigned int finalCol,
312 const unsigned int histoBins,
313 const unsigned int sampleStep,
314 std::map<double, unsigned>& histogram )
const;
331 virtual std::map<double, unsigned> getHistogramI(
unsigned int rs = 0,
unsigned int cs = 0,
unsigned int rf = 0,
unsigned int cf = 0,
unsigned int b = 0)
const;
334 std::complex<double> getScaleValue()
const;
341 void setScaleValue(
const std::complex<double> s);
344 std::complex<double> getOffsetValue()
const;
351 void setOffsetValue(
const std::complex<double> o);
368 Band& callOperator(std::complex<double>(*f)(std::complex<double>, std::complex<double>),
Band& rhs);
379 Band& callOperator(std::complex<double>(*f)(std::complex<double>, std::complex<double>), std::complex<double>& cvalue);
393 virtual Band& operator+=(
Band& rhs);
405 virtual Band& operator+=(std::complex<double>& cvalue);
419 virtual Band& operator-=(
Band& rhs);
431 virtual Band& operator-=(std::complex<double>& cvalue);
445 virtual Band& operator*=(
Band& rhs);
457 virtual Band& operator*=(std::complex<double>& cvalue);
471 virtual Band& operator/=(
Band& rhs);
483 virtual Band& operator/=(std::complex<double>& cvalue);
486 virtual int getBlockSize()
const;
506 #endif // __TERRALIB_RASTER_INTERNAL_BAND_H #define TERASTEREXPORT
You can use this macro in order to export/import classes and functions from this module.
A raster band description.
An abstract class for raster data strucutures.
An abstract class for raster data strucutures.
A raster band description.
std::size_t m_idx
The band index.
Configuration flags for the Raster module of TerraLib.
BandProperty * m_property
The band information.