ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkPixelTypesJSON.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 * https://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 itkPixelTypesJSON_h
19#define itkPixelTypesJSON_h
20
21#include "glaze/glaze.hpp"
22
23namespace itk
24{
44} // end namespace itk
45
46template <>
47struct glz::meta<itk::JSONPixelTypesEnum>
48{
49 using enum itk::JSONPixelTypesEnum;
50 static constexpr auto value = glz::enumerate(Unknown,
51 Scalar,
52 RGB,
53 RGBA,
54 Offset,
55 Vector,
56 Point,
57 CovariantVector,
58 SymmetricSecondRankTensor,
59 DiffusionTensor3D,
60 Complex,
61 FixedArray,
62 Array,
63 Matrix,
64 VariableLengthVector,
65 VariableSizeMatrix);
66};
67
68#endif // itkPixelTypesJSON_h
Array class with size defined at construction time.
Definition itkArray.h:48
A templated class holding a n-Dimensional covariant vector.
Represent a diffusion tensor as used in DTI images.
Simulate a standard C array with copy semantics.
A templated class holding a M x N size Matrix.
Definition itkMatrix.h:71
A templated class holding a geometric point in n-Dimensional space.
Definition itkPoint.h:54
Represent a symmetric tensor of second rank.
A templated class holding a M x N size Matrix.
A templated class holding a n-Dimensional vector.
Definition itkVector.h:63
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Represent a n-dimensional offset between two n-dimensional indexes of n-dimensional image.
Definition itkOffset.h:67