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;
221 virtual void getBlockBuffer(
void* buffer,
int x0,
int y0,
int width,
int height,
int outWidth,
int outHeight,
int dataType);
238 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;
255 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;
271 virtual std::complex<double> getStdValue(
unsigned int rs = 0,
unsigned int cs = 0,
unsigned int rf = 0,
unsigned int cf = 0)
const;
287 virtual std::complex<double> getMeanValue(
unsigned int rs = 0,
unsigned int cs = 0,
unsigned int rf = 0,
unsigned int cf = 0)
const;
304 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;
323 virtual void getHistogramR(
const unsigned int rowStart,
324 const unsigned int colStart,
325 const unsigned int finalRow,
326 const unsigned int finalCol,
327 const unsigned int histoBins,
328 const unsigned int sampleStep,
329 std::map<double, unsigned>& histogram )
const;
346 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;
349 std::complex<double> getScaleValue()
const;
356 void setScaleValue(
const std::complex<double> s);
359 std::complex<double> getOffsetValue()
const;
366 void setOffsetValue(
const std::complex<double> o);
383 Band& callOperator(std::complex<double>(*f)(std::complex<double>, std::complex<double>),
Band& rhs);
394 Band& callOperator(std::complex<double>(*f)(std::complex<double>, std::complex<double>), std::complex<double>& cvalue);
408 virtual Band& operator+=(
Band& rhs);
420 virtual Band& operator+=(std::complex<double>& cvalue);
434 virtual Band& operator-=(
Band& rhs);
446 virtual Band& operator-=(std::complex<double>& cvalue);
460 virtual Band& operator*=(
Band& rhs);
472 virtual Band& operator*=(std::complex<double>& cvalue);
486 virtual Band& operator/=(
Band& rhs);
498 virtual Band& operator/=(std::complex<double>& cvalue);
501 virtual int getBlockSize()
const;
521 #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.