MeVisLab Toolbox Reference
ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE > Class Template Reference

Class describing one segment as it is described in the DICOM standard under SEGMENTATION IMAGE MODULE ATTRIBUTES. More...

#include <mlDicomSegmentItemImage.h>

Inheritance diagram for ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >:
ml::DicomSegmentItemImageBase

Public Types

typedef SEGMENT_IMAGE_TYPE ImageType
 Directly typedef to get image type. More...
 
typedef boost::shared_ptr< SEGMENT_IMAGE_TYPE > ItemImagePtr
 Typedef as boost shared SubImage pointer. More...
 
typedef boost::shared_ptr< const SEGMENT_IMAGE_TYPE > Const_ItemImagePtr
 Typedef as boost shared constant SubImage pointer. More...
 

Public Member Functions

 DicomSegmentItemImage ()
 Default constructor creating an image. More...
 
 ~DicomSegmentItemImage () override
 Default constructor creating an image. More...
 
std::string getImageType () const override
 Returns the type of the image as string, BINARY in this case. More...
 
void setImage (ItemImagePtr image)
 Returns the image. More...
 
ItemImagePtr getImage ()
 Returns the image. More...
 
Const_ItemImagePtr getConstantImage () const
 Returns the constant image. More...
 
std::string getImageType () const
 Explicit instantiation of returned image type indicating that a SubImage is maintained. More...
 
std::string getImageType () const
 Explicit instantiation of returned image type indicating that a BitImage is maintained. More...
 
- Public Member Functions inherited from ml::DicomSegmentItemImageBase
 DicomSegmentItemImageBase ()
 Default constructor creating an image. More...
 
virtual ~DicomSegmentItemImageBase ()
 Virtual destructor. More...
 

Protected Attributes

ItemImagePtr _image
 The Image instance itself. More...
 

Detailed Description

template<typename SEGMENT_IMAGE_TYPE>
class ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >

Class describing one segment as it is described in the DICOM standard under SEGMENTATION IMAGE MODULE ATTRIBUTES.

Definition at line 28 of file mlDicomSegmentItemImage.h.

Member Typedef Documentation

◆ Const_ItemImagePtr

template<typename SEGMENT_IMAGE_TYPE >
typedef boost::shared_ptr<const SEGMENT_IMAGE_TYPE> ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >::Const_ItemImagePtr

Typedef as boost shared constant SubImage pointer.

Definition at line 37 of file mlDicomSegmentItemImage.h.

◆ ImageType

template<typename SEGMENT_IMAGE_TYPE >
typedef SEGMENT_IMAGE_TYPE ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >::ImageType

Directly typedef to get image type.

Definition at line 31 of file mlDicomSegmentItemImage.h.

◆ ItemImagePtr

template<typename SEGMENT_IMAGE_TYPE >
typedef boost::shared_ptr<SEGMENT_IMAGE_TYPE> ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >::ItemImagePtr

Typedef as boost shared SubImage pointer.

Definition at line 34 of file mlDicomSegmentItemImage.h.

Constructor & Destructor Documentation

◆ DicomSegmentItemImage()

template<typename SEGMENT_IMAGE_TYPE >
ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >::DicomSegmentItemImage ( )
inline

Default constructor creating an image.

Definition at line 40 of file mlDicomSegmentItemImage.h.

◆ ~DicomSegmentItemImage()

template<typename SEGMENT_IMAGE_TYPE >
ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >::~DicomSegmentItemImage ( )
inlineoverride

Default constructor creating an image.

Definition at line 44 of file mlDicomSegmentItemImage.h.

Member Function Documentation

◆ getConstantImage()

template<typename SEGMENT_IMAGE_TYPE >
Const_ItemImagePtr ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >::getConstantImage ( ) const
inline

Returns the constant image.

Definition at line 60 of file mlDicomSegmentItemImage.h.

◆ getImage()

template<typename SEGMENT_IMAGE_TYPE >
ItemImagePtr ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >::getImage ( )
inline

Returns the image.

Definition at line 55 of file mlDicomSegmentItemImage.h.

◆ getImageType() [1/3]

std::string ml::DicomSegmentItemImage< SubImage >::getImageType ( ) const
virtual

Explicit instantiation of returned image type indicating that a SubImage is maintained.

Implements ml::DicomSegmentItemImageBase.

Definition at line 71 of file mlDicomSegmentItemImage.h.

◆ getImageType() [2/3]

std::string ml::DicomSegmentItemImage< BitImage >::getImageType ( ) const
virtual

Explicit instantiation of returned image type indicating that a BitImage is maintained.

Implements ml::DicomSegmentItemImageBase.

Definition at line 78 of file mlDicomSegmentItemImage.h.

◆ getImageType() [3/3]

template<typename SEGMENT_IMAGE_TYPE >
std::string ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >::getImageType ( ) const
inlineoverridevirtual

Returns the type of the image as string, BINARY in this case.

Implements ml::DicomSegmentItemImageBase.

◆ setImage()

template<typename SEGMENT_IMAGE_TYPE >
void ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >::setImage ( ItemImagePtr  image)
inline

Returns the image.

Definition at line 50 of file mlDicomSegmentItemImage.h.

Member Data Documentation

◆ _image

template<typename SEGMENT_IMAGE_TYPE >
ItemImagePtr ml::DicomSegmentItemImage< SEGMENT_IMAGE_TYPE >::_image
protected

The Image instance itself.

Definition at line 66 of file mlDicomSegmentItemImage.h.


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