ODIN
Public Member Functions | List of all members

#include <image.h>

Inheritance diagram for Image:
Inheritance graph
[legend]

Public Member Functions

 Image (const STD_string &label="unnamedImage")
 
 Image (const Image &i)
 
Imageoperator= (const Image &i)
 
Imageset_magnitude (const farray &magn)
 
Imagenormalize_magnitude ()
 
const farrayget_magnitude () const
 
unsigned int size (axis ax) const
 
Imageset_geometry (const Geometry &g)
 
const Geometryget_geometry () const
 
Imagetranspose_inplane (bool reverse_read=false, bool reverse_phase=false)
 
- Public Member Functions inherited from LDRblock
 LDRblock (const STD_string &title="Parameter List")
 
 LDRblock (const LDRblock &block)
 
 ~LDRblock ()
 
LDRblockoperator= (const LDRblock &block)
 
LDRblockmerge (LDRblock &block, bool onlyUserPars=true)
 
LDRblockunmerge (LDRblock &block)
 
STD_string printval (const STD_string &parameterName, bool append_unit=false) const
 
bool parseval (const STD_string &parameterName, const STD_string &value)
 
int parseblock (const STD_string &source, const LDRserBase &serializer=LDRserJDX())
 
unsigned int numof_pars () const
 
LDRbaseget_parameter (const STD_string &ldrlabel)
 
bool parameter_exists (const STD_string &ldrlabel) const
 
LDRblockset_prefix (const STD_string &prefix)
 
LDRblockset_embedded (bool embedded)
 
bool is_embedded () const
 
LDRbaseoperator[] (unsigned int i)
 
const LDRbaseoperator[] (unsigned int i) const
 
LDRbaseget_parameter_by_id (int id)
 
LDRblockcreate_copy (const LDRblock &src)
 
LDRblockappend_copy (const LDRbase &src)
 
LDRblockcopy_ldr_vals (const LDRblock &src)
 
bool operator== (const LDRblock &rhs) const
 
bool operator< (const LDRblock &rhs) const
 
bool compare (const LDRblock &rhs, const STD_list< STD_string > *exclude=0, double accuracy=0.0) const
 
STD_string print (const LDRserBase &serializer=LDRserJDX()) const
 
LDRbaseset_parmode (parameterMode parameter_mode)
 
LDRbaseset_filemode (fileMode file_mode)
 
STD_string get_parx_code (parxCodeType type) const
 
STD_ostream & print2stream (STD_ostream &os, const LDRserBase &serializer) const
 
bool parsevalstring (const STD_string &, const LDRserBase *ser=0)
 
bool parse (STD_string &parstring, const LDRserBase &serializer)
 
STD_string printvalstring (const LDRserBase *ser=0) const
 
LDRbasecreate_copy () const
 
STD_string get_typeInfo (bool parx_equivtype=false) const
 
int load (const STD_string &filename, const LDRserBase &serializer=LDRserJDX())
 
int write (const STD_string &filename, const LDRserBase &serializer=LDRserJDX()) const
 
- Public Member Functions inherited from LDRbase
virtual double get_minval () const
 
virtual double get_maxval () const
 
bool has_minmax () const
 
const STD_string & get_description () const
 
LDRbaseset_description (const STD_string &descr)
 
virtual svector get_alternatives () const
 
const STD_string & get_unit () const
 
LDRbaseset_unit (const STD_string &un)
 
virtual parameterMode get_parmode () const
 
virtual fileMode get_filemode () const
 
virtual GuiProps get_gui_props () const
 
virtual LDRbaseset_gui_props (const GuiProps &)
 
JcampDxProps get_jdx_props () const
 
LDRbaseset_jdx_props (const JcampDxProps &jp)
 
- Public Member Functions inherited from Labeled
 Labeled (const STD_string &label="unnamed")
 
Labeledset_label (const STD_string &label)
 
const STD_string & get_label () const
 
Labeledoperator= (const Labeled &l)
 
- Public Member Functions inherited from List< I, P, R >
 List ()
 
 ~List ()
 
Listoperator= (const List &l)
 
Listclear ()
 
Listappend (R item)
 
Listremove (R item)
 
unsigned int size () const
 
iter get_begin ()
 
iter get_end ()
 
constiter get_const_begin () const
 
constiter get_const_end () const
 

Additional Inherited Members

- Public Types inherited from List< I, P, R >
typedef STD_list< P >::iterator iter
 
typedef STD_list< P >::const_iterator constiter
 
- Protected Member Functions inherited from LDRblock
LDRblockappend_member (LDRbase &ldr, const STD_string ldrlabel="")
 

Detailed Description

Class to hold reconstructed images of one Geometry

Definition at line 37 of file image.h.

Constructor & Destructor Documentation

◆ Image() [1/2]

Image::Image ( const STD_string &  label = "unnamedImage")

Default constructor

◆ Image() [2/2]

Image::Image ( const Image i)
inline

Copy constructor

Definition at line 49 of file image.h.

Member Function Documentation

◆ get_geometry()

const Geometry& Image::get_geometry ( ) const
inline

Returns the parameter set which describes the area imaged

Definition at line 84 of file image.h.

◆ get_magnitude()

const farray& Image::get_magnitude ( ) const
inline

Returns the magnitude data

Definition at line 69 of file image.h.

◆ normalize_magnitude()

Image& Image::normalize_magnitude ( )
inline

Scale magnitude to values between 0 and 1

Definition at line 64 of file image.h.

◆ operator=()

Image& Image::operator= ( const Image i)

Assignment operator

◆ set_geometry()

Image& Image::set_geometry ( const Geometry g)
inline

Sets the parameter set which describes the area imaged

Definition at line 79 of file image.h.

◆ set_magnitude()

Image& Image::set_magnitude ( const farray magn)
inline

Sets the magnitude data

Definition at line 59 of file image.h.

◆ size()

unsigned int Image::size ( axis  ax) const

Interpret data as 3D volume data and return size for given axis

◆ transpose_inplane()

Image& Image::transpose_inplane ( bool  reverse_read = false,
bool  reverse_phase = false 
)

Transpose image in-plane, 'reverse_read' and 'reverse_phase' can be used to reverse read/phase direction before transposing.


The documentation for this class was generated from the following file: