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;
306 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;
309 std::complex<double> getScaleValue()
const;
316 void setScaleValue(
const std::complex<double> s);
319 std::complex<double> getOffsetValue()
const;
326 void setOffsetValue(
const std::complex<double> o);
343 Band& callOperator(std::complex<double>(*f)(std::complex<double>, std::complex<double>),
Band& rhs);
354 Band& callOperator(std::complex<double>(*f)(std::complex<double>, std::complex<double>), std::complex<double>& cvalue);
368 virtual Band& operator+=(
Band& rhs);
380 virtual Band& operator+=(std::complex<double>& cvalue);
394 virtual Band& operator-=(
Band& rhs);
406 virtual Band& operator-=(std::complex<double>& cvalue);
420 virtual Band& operator*=(
Band& rhs);
432 virtual Band& operator*=(std::complex<double>& cvalue);
446 virtual Band& operator/=(
Band& rhs);
458 virtual Band& operator/=(std::complex<double>& cvalue);
461 virtual int getBlockSize()
const;
481 #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.