OpenStructure
|
Namespaces | |
namespace | alg |
namespace | detail |
namespace | gui |
namespace | image_state |
namespace | physics |
namespace | util |
Data Structures | |
class | CircleMask |
class | OpBase |
class | AndOp |
class | OrOp |
class | XorOp |
class | CompositeMask |
class | ConstData |
Abstract base class for read-only data. More... | |
class | Data |
Abstract base class for data. More... | |
class | AlgorithmBase |
Algorithm base class. More... | |
class | NonModAlgorithm |
Non-modifying Algorithm, abstract base class. More... | |
class | ModIPAlgorithm |
In-place modification algorithm. More... | |
class | ConstModIPAlgorithm |
In-place modification const algorithm. More... | |
class | ModOPAlgorithm |
out-of-place modification algorithm More... | |
class | ConstModOPAlgorithm |
out-of-place modification const algorithm More... | |
class | InvalidObserver |
class | DataObserver |
Abstract base class of data observer. More... | |
struct | InvalidExtentException |
class | Extent |
Defines lower and upper valid indices. More... | |
class | ExtentIterator |
Extent iterator. More... | |
class | ExtentMask |
class | Function |
Base class that defines the function interface. More... | |
class | InvalidImageHandle |
Exception thrown upon invalid image handle usage. More... | |
class | ImageHandle |
Manage shared instances of images. More... | |
class | ConstImageHandle |
read-only ImageHandle implementation More... | |
class | ImageList |
Manages a collection of images. More... | |
class | InvertedMask |
class | MaskBase |
class | MaskVisitor |
class | NormalizeFnc |
Abstract normalizer base class. More... | |
class | NormalizerImpl |
class | NoOpNormalizer |
class | RangeHandler |
class | NullData |
null data singleton More... | |
class | NullFunction |
null function More... | |
class | Observable |
templated observable class More... | |
class | Peak |
class | Phase |
Manages phases og Complex numbers. More... | |
class | InvalidSampling |
class | PixelSampling |
Helper class to handle pixel sampling. More... | |
class | Point |
class encapsulating 1D to 3D point More... | |
class | PointList |
list of points More... | |
class | PolygonMask |
class | Progress |
class | RasterImage |
Generic raster image. More... | |
class | Size |
class encapsulating 1D to 3D size More... | |
class | SphericalMask |
Typedefs | |
typedef boost::shared_ptr< OpBase > | OpPtr |
typedef detail::FunctionImpl < Real > | RealFunction |
typedef detail::FunctionImpl < Complex > | ComplexFunction |
typedef boost::shared_ptr < ImageStateBasePtr > | ImageImpl |
typedef ImageHandle | MapHandle = ImageHandle |
typedef boost::shared_ptr < MaskBase > | MaskPtr |
typedef boost::shared_ptr < NormalizerImpl > | NormalizerPtr |
typedef ImageStateConstModIPAlgorithm < NormalizeFnc > | NormalizerBase |
typedef std::vector< Peak > | PeakList |
typedef boost::variate_generator < boost::mt19937 &, boost::uniform_int<> > | UniformIntGenerator |
Enumerations | |
enum | DataType { REAL = 0, COMPLEX, WORD, DEFAULTTYPE } |
enum | DataDomain { SPATIAL = 0, FREQUENCY, HALF_FREQUENCY, DEFAULTDOMAIN } |
enum | DivZeroMethod { SET_ZERO = 0, DIV_EPS = 1, INTERPOLATE } |
enum | DomainToColorMode { MODULUS, PHASECOLOR } |
typedef detail::FunctionImpl<Complex> ComplexFunction |
Definition at line 39 of file function.hh.
typedef boost::shared_ptr<ImageStateBasePtr> ImageImpl |
Definition at line 38 of file image_impl.hh.
Definition at line 28 of file mask_base_fw.hh.
typedef ImageStateConstModIPAlgorithm<NormalizeFnc> NormalizerBase |
Definition at line 66 of file normalizer_impl.hh.
typedef boost::shared_ptr<NormalizerImpl> NormalizerPtr |
Definition at line 32 of file normalizer_fw.hh.
Definition at line 64 of file composite_mask.hh.
typedef detail::FunctionImpl<Real> RealFunction |
Definition at line 38 of file function.hh.
typedef boost::variate_generator<boost::mt19937&, boost::uniform_int<> > UniformIntGenerator |
Definition at line 72 of file value_util.hh.
enum DataDomain |
underlying data type
Definition at line 42 of file data_types.hh.
enum DataType |
Definition at line 37 of file data_types.hh.
enum DivZeroMethod |
enum DomainToColorMode |
Definition at line 56 of file data_types.hh.
ImageHandle DLLEXPORT_OST_IMG_BASE ost::img::CreateImage | ( | const Extent & | ext = Extent() , |
DataType | type = REAL , |
||
DataDomain | dom = SPATIAL |
||
) |
Create image from scratch.
A handle to a newly created handle is returned. The image is defined by an Extent, the type (REAL
(default) or COMPLEX
), and the domain (SPATIAL
(default), FREQUENCY
or HALF_FREQUENCY
).
ImageHandle DLLEXPORT_OST_IMG_BASE ost::img::CreateImage | ( | const Size & | s, |
const Point & | o, | ||
DataType | type = REAL , |
||
DataDomain | dom = SPATIAL |
||
) |
convenience variant to create images
ImageHandle DLLEXPORT_OST_IMG_BASE ost::img::CreateImage | ( | const Point & | p1, |
const Point & | p2, | ||
DataType | type = REAL , |
||
DataDomain | dom = SPATIAL |
||
) |
ImageHandle DLLEXPORT_OST_IMG_BASE ost::img::CreateImage | ( | const Point & | p1, |
const Size & | s, | ||
DataType | type = REAL , |
||
DataDomain | dom = SPATIAL |
||
) |
ImageImpl ost::img::CreateImageImpl | ( | const Extent & | , |
DataType | type, | ||
DataDomain | dom | ||
) |
ImageHandle DLLEXPORT_OST_IMG_BASE ost::img::CreateMap | ( | const Extent & | ext = Extent() , |
DataType | type = REAL , |
||
DataDomain | dom = SPATIAL |
||
) |
ImageHandle DLLEXPORT_OST_IMG_BASE ost::img::CreateMap | ( | const Size & | s, |
const Point & | o, | ||
DataType | type = REAL , |
||
DataDomain | dom = SPATIAL |
||
) |
convenience variant to create images
ImageHandle DLLEXPORT_OST_IMG_BASE ost::img::CreateMap | ( | const Point & | p1, |
const Point & | p2, | ||
DataType | type = REAL , |
||
DataDomain | dom = SPATIAL |
||
) |
ImageHandle DLLEXPORT_OST_IMG_BASE ost::img::CreateMap | ( | const Point & | p1, |
const Size & | s, | ||
DataType | type = REAL , |
||
DataDomain | dom = SPATIAL |
||
) |
DLLEXPORT_OST_IMG_BASE void ost::img::ExportPeakList | ( | const PeakList & | l, |
const String & | filename | ||
) |
ImageHandle DLLEXPORT_OST_IMG_BASE ost::img::GenerateImage | ( | const Data & | d | ) |
Create image based on some data object (ie other image or function)
ImageHandle DLLEXPORT_OST_IMG_BASE ost::img::GenerateImage | ( | const Data & | d, |
const Extent & | e | ||
) |
Create image based on some data object (ie other image or function)
The returned image will have the extent given by second parameter
|
inline |
Definition at line 75 of file value_util.hh.
DLLEXPORT_OST_IMG_BASE bool ost::img::HasOverlap | ( | const Extent & | e1, |
const Extent & | e2 | ||
) |
DLLEXPORT_OST_IMG_BASE PeakList ost::img::ImportPeakList | ( | const String & | filename | ) |
MaskPtr DLLEXPORT ost::img::InfoToMask | ( | const info::InfoGroup & | g | ) |
MaskPtr DLLEXPORT_OST_IMG_BASE ost::img::Mask | ( | const Polygon2 & | p | ) |
MaskPtr DLLEXPORT_OST_IMG_BASE ost::img::Mask | ( | const Extent & | e | ) |
MaskPtr DLLEXPORT_OST_IMG_BASE ost::img::Mask | ( | const Circle2 & | c | ) |
MaskPtr DLLEXPORT_OST_IMG_BASE ost::img::Mask | ( | const Sphere & | s | ) |
void DLLEXPORT ost::img::MaskToInfo | ( | const MaskPtr & | mptr, |
info::InfoGroup & | g | ||
) |
DLLIMPORT bool ost::img::operator!= | ( | const ImageHandle & | lhs, |
const ConstImageHandle & | rhs | ||
) |
DLLEXPORT_OST_IMG_BASE MaskPtr ost::img::operator& | ( | const MaskPtr & | lhs, |
const MaskPtr & | rhs | ||
) |
DLLIMPORT ImageHandle ost::img::operator* | ( | const ConstImageHandle & | h, |
Real | v | ||
) |
DLLIMPORT ImageHandle ost::img::operator* | ( | const ConstImageHandle & | h, |
const Complex & | v | ||
) |
DLLIMPORT ImageHandle ost::img::operator* | ( | Real | v, |
const ConstImageHandle & | h | ||
) |
DLLIMPORT ImageHandle ost::img::operator* | ( | const Complex & | v, |
const ConstImageHandle & | h | ||
) |
DLLIMPORT ImageHandle ost::img::operator* | ( | const ConstImageHandle & | h1, |
const ConstImageHandle & | h2 | ||
) |
DLLIMPORT ImageHandle ost::img::operator* | ( | const ConstImageHandle & | h1, |
const Function & | h2 | ||
) |
DLLIMPORT ImageHandle ost::img::operator* | ( | const Function & | h1, |
const ConstImageHandle & | h2 | ||
) |
DLLEXPORT_OST_IMG_BASE Size ost::img::operator+ | ( | const Size & | s1, |
const Size & | s2 | ||
) |
DLLEXPORT_OST_IMG_BASE Point ost::img::operator+ | ( | const Point & | p1, |
const Point & | p2 | ||
) |
DLLIMPORT ImageHandle ost::img::operator+ | ( | const ConstImageHandle & | h, |
Real | v | ||
) |
DLLIMPORT ImageHandle ost::img::operator+ | ( | const ConstImageHandle & | h, |
const Complex & | v | ||
) |
DLLIMPORT ImageHandle ost::img::operator+ | ( | Real | v, |
const ConstImageHandle & | h | ||
) |
DLLIMPORT ImageHandle ost::img::operator+ | ( | const Complex & | v, |
const ConstImageHandle & | h | ||
) |
DLLIMPORT ImageHandle ost::img::operator+ | ( | const ConstImageHandle & | h1, |
const ConstImageHandle & | h2 | ||
) |
DLLIMPORT ImageHandle ost::img::operator+ | ( | const ConstImageHandle & | h1, |
const Function & | h2 | ||
) |
DLLIMPORT ImageHandle ost::img::operator+ | ( | const Function & | h1, |
const ConstImageHandle & | h2 | ||
) |
DLLEXPORT_OST_IMG_BASE Size ost::img::operator- | ( | const Size & | s1, |
const Size & | s2 | ||
) |
DLLEXPORT_OST_IMG_BASE Point ost::img::operator- | ( | const Point & | p1, |
const Point & | p2 | ||
) |
DLLIMPORT ImageHandle ost::img::operator- | ( | const ConstImageHandle & | h, |
Real | v | ||
) |
DLLIMPORT ImageHandle ost::img::operator- | ( | const ConstImageHandle & | h, |
const Complex & | v | ||
) |
DLLIMPORT ImageHandle ost::img::operator- | ( | Real | v, |
const ConstImageHandle & | h | ||
) |
DLLIMPORT ImageHandle ost::img::operator- | ( | const Complex & | v, |
const ConstImageHandle & | h | ||
) |
DLLIMPORT ImageHandle ost::img::operator- | ( | const ConstImageHandle & | h1, |
const ConstImageHandle & | h2 | ||
) |
DLLIMPORT ImageHandle ost::img::operator- | ( | const ConstImageHandle & | h1, |
const Function & | h2 | ||
) |
DLLIMPORT ImageHandle ost::img::operator- | ( | const Function & | h1, |
const ConstImageHandle & | h2 | ||
) |
DLLIMPORT ImageHandle ost::img::operator/ | ( | const ConstImageHandle & | h, |
Real | v | ||
) |
DLLIMPORT ImageHandle ost::img::operator/ | ( | const ConstImageHandle & | h, |
const Complex & | v | ||
) |
DLLIMPORT ImageHandle ost::img::operator/ | ( | const ConstImageHandle & | h1, |
const ConstImageHandle & | h2 | ||
) |
DLLIMPORT ImageHandle ost::img::operator/ | ( | const ConstImageHandle & | h1, |
const Function & | h2 | ||
) |
DLLEXPORT_OST_IMG_BASE std::ostream& ost::img::operator<< | ( | std::ostream & | , |
const Phase | a | ||
) |
DLLEXPORT_OST_IMG_BASE std::ostream& ost::img::operator<< | ( | std::ostream & | os, |
const Size & | s | ||
) |
DLLEXPORT_OST_IMG_BASE std::ostream& ost::img::operator<< | ( | std::ostream & | os, |
const Point & | p | ||
) |
DLLEXPORT_OST_IMG_BASE std::ostream& ost::img::operator<< | ( | std::ostream & | os, |
const img::Extent & | b | ||
) |
DLLIMPORT bool ost::img::operator== | ( | const ImageHandle & | lhs, |
const ConstImageHandle & | rhs | ||
) |
DLLEXPORT_OST_IMG_BASE MaskPtr ost::img::operator^ | ( | const MaskPtr & | lhs, |
const MaskPtr & | rhs | ||
) |
DLLEXPORT_OST_IMG_BASE MaskPtr ost::img::operator| | ( | const MaskPtr & | lhs, |
const MaskPtr & | rhs | ||
) |
DLLEXPORT_OST_IMG_BASE MaskPtr ost::img::operator~ | ( | const MaskPtr & | mptr | ) |
DLLEXPORT_OST_IMG_BASE Extent ost::img::Overlap | ( | const Extent & | e1, |
const Extent & | e2 | ||
) |
|
inline |
Definition at line 68 of file value_util.hh.
|
inline |
Definition at line 51 of file value_util.hh.
|
inline |
Definition at line 59 of file value_util.hh.
DLLEXPORT_OST_IMG_BASE String ost::img::Val2String | ( | ) |
|
inline |
Definition at line 124 of file value_util.hh.
|
inline |
Definition at line 128 of file value_util.hh.
|
inline |
Definition at line 132 of file value_util.hh.
DLLEXPORT_OST_IMG_BASE DataType ost::img::Val2Type | ( | ) |
|
inline |
Definition at line 108 of file value_util.hh.
|
inline |
Definition at line 112 of file value_util.hh.
|
inline |
Definition at line 116 of file value_util.hh.
|
inline |
Definition at line 100 of file value_util.hh.
|
inline |
Definition at line 91 of file value_util.hh.
|
inline |
Definition at line 95 of file value_util.hh.