| 75 | } |
| 76 | |
| 77 | mitk::ChannelDescriptor mitk::ImageDescriptor::GetChannelDescriptor(unsigned int id) const |
| 78 | { |
| 79 | if (id >= this->m_NumberOfChannels) |
| 80 | { |
| 81 | throw std::invalid_argument("The given id exceeds the number of active channel."); |
| 82 | } |
| 83 | return this->m_ChannelDesc[id]; |
| 84 | } |
| 85 | |
| 86 | mitk::PixelType mitk::ImageDescriptor::GetChannelTypeByName(const char *name) const |
| 87 | { |
no outgoing calls