13 #ifndef MITKCHANNELDESCRIPTOR_H 14 #define MITKCHANNELDESCRIPTOR_H 43 unsigned char *
GetData()
const {
return m_Data; }
50 if (dataPtr ==
nullptr)
52 m_Data = (
unsigned char *)dataPtr;
78 #endif // MITKCHANNELDESCRIPTOR_H
vcl_size_t GetSize() const
Get the size in bytes of the channel.
DataCollection - Class to facilitate loading/accessing structured data.
An object which holds all essential information about a single channel of an Image.
PixelType GetPixelType() const
Get the type of channel's elements.
Image class for storing images.
void SetData(void *dataPtr)
unsigned char * GetData() const
Get the pointer to the actual data of the channel.
Class for defining the data type of pixels.