27 #ifndef IMG_NULL_DATA_H
28 #define IMG_NULL_DATA_H
35 namespace ost {
namespace img {
Abstract base class for data.
Abstract base class of data observer.
Defines lower and upper valid indices.
Manage shared instances of images.
Non-modifying Algorithm, abstract base class.
virtual void Notify() const
Notify each observer that state has changed.
virtual void Detach(DataObserver *o) const
DataObserver interface: detach observer.
virtual Complex GetComplex(const Point &p) const
Get explicit complex value.
virtual Complex GetIntpolComplex(const Real &d) const
virtual void ApplyIP(NonModAlgorithm &a) const
virtual const PixelSampling & Sampling() const
virtual void SetSpatialOrigin(const Point &o)
Set the spatial origin.
virtual DataType GetType() const
Return type of data: REAL or COMPLEX.
virtual Point GetSpatialOrigin() const
Retrieve spatial origin.
virtual Real GetReal(const Point &p) const
Get explicit real value.
virtual Complex GetIntpolComplex(const Vec2 &v) const
virtual Extent GetExtent() const
Return (logical) extent of data.
virtual void Apply(NonModAlgorithm &a) const
Algorithm interface: NonModAlgorithm.
virtual DataDomain GetDomain() const
Return domain: SPATIAL, FREQUENCY or HALF_FREQUENCY.
virtual Complex GetIntpolComplex(const Vec3 &v) const
Get interpolated complex value from 3D,2D or 1D vec.
virtual ImageHandle Crop(const Extent &e) const
virtual PixelSampling & Sampling()
virtual void Attach(DataObserver *o) const
DataObserver interface: attach observer.
virtual Real GetIntpolReal(const Real &d) const
virtual Real GetIntpolReal(const Vec3 &v) const
Get interpolated real value from 3D,2D or 1D vec.
virtual Real GetIntpolReal(const Vec2 &v) const
Helper class to handle pixel sampling.
class encapsulating 1D to 3D point
#define DLLEXPORT_OST_IMG_BASE
std::complex< Real > Complex
ImageHandle DLLEXPORT_OST_IMG_BASE CreateImage(const Extent &ext=Extent(), DataType type=REAL, DataDomain dom=SPATIAL)
Create image from scratch.
DataDomain
underlying data type