The generic base type of a 3D image. More...
#include <mia/3d/image.hh>
Public Types | |
typedef C3DBounds | dimsize_type |
generic type for the dimension of the image More... | |
typedef std::shared_ptr< C3DImage > | Pointer |
Pointer type of the image. More... | |
Public Member Functions | |
virtual Pointer | clone () const =0 |
virtual std::pair< double, double > | get_minmax_intensity () const =0 |
E3DImageOrientation | get_orientation () const |
C3DFVector | get_origin () const |
EPixelType | get_pixel_type () const |
C3DRotation | get_rotation () const |
virtual const C3DBounds & | get_size () const =0 |
C3DFVector | get_voxel_size () const |
void | set_orientation (E3DImageOrientation orient) |
void | set_origin (const C3DFVector &voxel) |
set the origin i.e. world units of the pixel at (0,0,0) More... | |
void | set_rotation (const C3DRotation &voxel) |
set the rotation about the origin of the image More... | |
void | set_voxel_size (const C3DFVector &voxel) |
set the voxel size on world units More... | |
virtual size_t | size () const =0 |
virtual | ~C3DImage () |
Public Member Functions inherited from CAttributedData | |
CAttributeMap::const_iterator | begin_attributes () const |
void | delete_attribute (const std::string &key) |
CAttributeMap::const_iterator | end_attributes () const |
const PAttribute | get_attribute (const std::string &key) const |
template<typename T > | |
const T | get_attribute_as (const std::string &key) const |
template<typename T > | |
const T | get_attribute_as (const std::string &key, T default_value) const |
const std::string | get_attribute_as_string (const std::string &key) const |
returns the requested attribute as string, returns an empty string if attribute doesn't exist More... | |
bool | has_attribute (const std::string &key) const |
CAttributedData & | operator= (const CAttributedData &org) |
Assignemt operator. More... | |
void | print (std::ostream &os) const |
void | set_attribute (const std::string &key, PAttribute attr) |
void | set_attribute (const std::string &key, const std::string &value) |
template<typename T > | |
void | set_attribute (const std::string &key, const T &value) |
void | set_attribute (const std::string &key, const char *value) |
void | set_attributes (CAttributeMap::const_iterator begin, CAttributeMap::const_iterator end) |
CAttributedData () | |
CAttributedData (const CAttributedData &org) | |
CAttributedData (PAttributeMap attr) | |
Static Public Attributes | |
static const char * | data_descr |
data type description for the plug-in path component More... | |
Protected Member Functions | |
C3DImage (const CAttributedData &data, EPixelType type) | |
C3DImage (EPixelType type) | |
C3DImage () | |
standard constructor More... | |
The generic base type of a 3D image.
The base type of a 3D image with is used to move around the images in the code. This type is not prepared to hold actual data. Instead the templated type T3DImage derived from this class is used to hold image data of a certain voxel type.
Definition at line 46 of file 3d/image.hh.
typedef C3DBounds C3DImage::dimsize_type |
generic type for the dimension of the image
Definition at line 70 of file 3d/image.hh.
typedef std::shared_ptr<C3DImage > C3DImage::Pointer |
Pointer type of the image.
Definition at line 73 of file 3d/image.hh.
|
protected |
Constructor to create the base sceleton of the image
data | attributes (meta data) that belong to the image but is normally not required for processing |
type | pixel type of this image |
|
explicitprotected |
Constructor to create the base sceleton of the image
type | pixel type of this image |
|
protected |
standard constructor
|
virtual |
|
pure virtual |
Implemented in T3DImage< T >.
|
pure virtual |
Implemented in T3DImage< T >.
Referenced by T3DImage< T >::get_gradient().
E3DImageOrientation C3DImage::get_orientation | ( | ) | const |
C3DFVector C3DImage::get_origin | ( | ) | const |
EPixelType C3DImage::get_pixel_type | ( | ) | const |
C3DRotation C3DImage::get_rotation | ( | ) | const |
|
pure virtual |
Implemented in T3DImage< T >.
Referenced by T3DImage< T >::get_gradient().
C3DFVector C3DImage::get_voxel_size | ( | ) | const |
void C3DImage::set_orientation | ( | E3DImageOrientation | orient | ) |
Set the orientation of the image
orient |
void C3DImage::set_origin | ( | const C3DFVector & | voxel | ) |
set the origin i.e. world units of the pixel at (0,0,0)
void C3DImage::set_rotation | ( | const C3DRotation & | voxel | ) |
set the rotation about the origin of the image
void C3DImage::set_voxel_size | ( | const C3DFVector & | voxel | ) |
set the voxel size on world units
|
pure virtual |
Implemented in T3DImage< T >.
Referenced by T3DImage< T >::end_range_with_boundary_flags().
|
static |
data type description for the plug-in path component
Definition at line 67 of file 3d/image.hh.