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.
 
typedef boost::shared_ptr< SEGMENT_IMAGE_TYPEItemImagePtr
 Typedef as boost shared SubImage pointer.
 
typedef boost::shared_ptr< const SEGMENT_IMAGE_TYPEConst_ItemImagePtr
 Typedef as boost shared constant SubImage pointer.
 

Public Member Functions

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

Protected Attributes

ItemImagePtr _image
 The Image instance itself.
 

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

Typedef as boost shared constant SubImage pointer.

Definition at line 37 of file mlDicomSegmentItemImage.h.

◆ ImageType

Directly typedef to get image type.

Definition at line 31 of file mlDicomSegmentItemImage.h.

◆ ItemImagePtr

Typedef as boost shared SubImage pointer.

Definition at line 34 of file mlDicomSegmentItemImage.h.

Constructor & Destructor Documentation

◆ DicomSegmentItemImage()

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

Default constructor creating an image.

Definition at line 40 of file mlDicomSegmentItemImage.h.

◆ ~DicomSegmentItemImage()

Default constructor creating an image.

Definition at line 44 of file mlDicomSegmentItemImage.h.

Member Function Documentation

◆ getConstantImage()

Returns the constant image.

Definition at line 60 of file mlDicomSegmentItemImage.h.

◆ getImage()

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]

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()

Returns the image.

Definition at line 50 of file mlDicomSegmentItemImage.h.

Member Data Documentation

◆ _image

The Image instance itself.

Definition at line 66 of file mlDicomSegmentItemImage.h.


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