SimpleITK  
sitkPixelIDTypes.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef sitkPixelIDTypes_h
19#define sitkPixelIDTypes_h
20
21
22namespace itk
23{
24
25template <unsigned int VImageDimension>
26class ImageBase;
27template <typename TPixelType, unsigned int VImageDimension>
28class Image;
29template <typename TPixelType, unsigned int VImageDimension>
30class VectorImage;
31template <typename TLabelObject>
32class LabelMap;
33template <typename TLabelObject, unsigned int VImageDimension>
34class LabelObject;
35
36namespace simple
37{
38
52template <typename TPixelType>
54{};
55
56
70template <typename TPixelType>
72{};
73
74
88template <typename TPixelType>
90{};
91
105template <typename TPixelIDType, unsigned int VImageDimension>
107
108template <typename TPixelType, unsigned int VImageDimension>
109struct PixelIDToImageType<BasicPixelID<TPixelType>, VImageDimension>
110{
112};
113
114template <typename TVectorPixelType, unsigned int VImageDimension>
115struct PixelIDToImageType<VectorPixelID<TVectorPixelType>, VImageDimension>
116{
118};
119
120template <typename TLabelType, unsigned int VImageDimension>
125
126
127
141template <typename TImageType>
143
144template <typename TPixelType, unsigned int VImageDimension>
145struct ImageTypeToPixelID<itk::Image<TPixelType, VImageDimension>>
146{
148};
149
150template <typename TPixelType, unsigned int VImageDimension>
151struct ImageTypeToPixelID<itk::VectorImage<TPixelType, VImageDimension>>
152{
154};
155
156template <typename TLabelType, unsigned int VImageDimension>
157struct ImageTypeToPixelID<itk::LabelMap<itk::LabelObject<TLabelType, VImageDimension>>>
158{
160};
161
162
163} // namespace simple
164} // namespace itk
165#endif // _sitkPixelIDTypes_h
The Image class for SimpleITK.
Definition sitkImage.h:77
itk::LabelMap< itk::LabelObject< TLabelType, VImageDimension > > ImageType