|
A base class for images. More...
#include <ImageLike.h>
Public Member Functions | |
ImageLike (const ImageLike &image) | |
const std::type_info & | getType () const |
Get the storage type. | |
bool | typeIsSet () const |
virtual const Geometry & | getGeometry () const |
size_t | getWidth () const |
size_t | getHeight () const |
size_t | getArea () const |
size_t | getChannelCount () const |
const size_t | getImageChannelCount () const |
const size_t | getAlphaChannelCount () const |
bool | hasAlphaChannel () const |
size_t | getVolume () const |
bool | isEmpty () const |
const CoordinatePolicy & | getCoordinatePolicy () const |
Coord policy. | |
CoordinatePolicy & | getCoordinatePolicy () |
Coord policy. | |
template<class T > | |
void | setCoordinatePolicy (const T &policy) |
void | setCoordinatePolicy (EdgePolicy::index_t xUnderFlowPolicy, EdgePolicy::index_t yUnderFlowPolicy, EdgePolicy::index_t xOverFlowPolicy, EdgePolicy::index_t yOverFlowPolicy) |
virtual const drain::ValueScaling & | getScaling () const |
virtual drain::ValueScaling & | getScaling () |
virtual void | setScaling (const drain::ValueScaling &scaling) |
virtual void | setScaling (double scale, double offset) |
template<class T > | |
drain::typeLimiter< T >::value_t | getLimiter () const |
Protected Attributes | |
ImageConf | conf |
A base class for images.
Generally, an ImageLike does not have to have memory. It may be a two-dimensional function, for example geti,j) may return sinusoidal field or random noise.