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
101template <typename TVectorPixelID>
103
104template <typename TPixelType>
109
123template <typename TPixelIDType, unsigned int VImageDimension>
125
126template <typename TPixelType, unsigned int VImageDimension>
127struct PixelIDToImageType<BasicPixelID<TPixelType>, VImageDimension>
128{
130};
131
132template <typename TVectorPixelType, unsigned int VImageDimension>
133struct PixelIDToImageType<VectorPixelID<TVectorPixelType>, VImageDimension>
134{
136};
137
138template <typename TLabelType, unsigned int VImageDimension>
143
144
145
159template <typename TImageType>
161
162template <typename TPixelType, unsigned int VImageDimension>
163struct ImageTypeToPixelID<itk::Image<TPixelType, VImageDimension>>
164{
166};
167
168template <typename TPixelType, unsigned int VImageDimension>
169struct ImageTypeToPixelID<itk::VectorImage<TPixelType, VImageDimension>>
170{
172};
173
174template <typename TLabelType, unsigned int VImageDimension>
175struct ImageTypeToPixelID<itk::LabelMap<itk::LabelObject<TLabelType, VImageDimension>>>
176{
178};
179
180
181} // namespace simple
182} // namespace itk
183#endif // _sitkPixelIDTypes_h
The Image class for SimpleITK.
Definition sitkImage.h:77
itk::LabelMap< itk::LabelObject< TLabelType, VImageDimension > > ImageType