17 #ifndef MITKIMAGEDESCRIPTOR_H
18 #define MITKIMAGEDESCRIPTOR_H
20 #include <itkObjectFactory.h>
29 #define MAX_IMAGE_DIMENSIONS 8
46 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
53 void AddNewChannel(
mitk::
PixelType ptype, const
char *name =
nullptr);
56 void Initialize(const
unsigned int *dims, const
unsigned int dim);
65 const
unsigned int *GetDimensions()
const {
return m_Dimensions; }
77 const std::string GetChannelName(
unsigned int id)
const;
83 PixelType GetChannelTypeByName(
const char *name)
const;
89 PixelType GetChannelTypeById(
unsigned int id)
const;
105 std::vector<ChannelDescriptor> m_ChannelDesc;
108 std::vector<std::string> m_ChannelNames;
111 typedef std::vector<std::string>::const_iterator ConstChannelNamesIter;
114 typedef std::vector<ChannelDescriptor>::const_iterator ConstChannelsIter;
116 unsigned int m_NumberOfChannels;
118 unsigned int m_NumberOfDimensions;
124 #endif // MITKIMAGEDESCRIPTOR_H
DataCollection - Class to facilitate loading/accessing structured data.
An object which holds all essential information about a single channel of an Image.
unsigned int GetNumberOfDimensions() const
Get the number dimensions used (e.g. non-zero size)
#define MAX_IMAGE_DIMENSIONS
Defines the maximum of 8 dimensions per image channel taken from ipPicDescriptor. ...
#define mitkClassMacroItkParent(className, SuperClassName)
An object to hold all essential information about an Image object.
Class for defining the data type of pixels.
unsigned int GetNumberOfChannels() const
Get the count of channels used.