ITK  6.0.0
Insight Toolkit
itkVectorImageToImageMetricTraitsv4.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 itkVectorImageToImageMetricTraitsv4_h
19 #define itkVectorImageToImageMetricTraitsv4_h
20 
21 #include "itkImage.h"
22 #include "itkCovariantVector.h"
27 
28 namespace itk
29 {
42 template <typename TFixedImageType,
43  typename TMovingImageType,
44  typename TVirtualImageType,
45  unsigned int VNumberOfComponents,
46  typename TCoordRep = typename ObjectToObjectMetricBase::CoordinateRepresentationType>
48 {
49 public:
52 
53  using FixedImageType = TFixedImageType;
54  using MovingImageType = TMovingImageType;
55  using VirtualImageType = TVirtualImageType;
56 
57  using FixedImagePixelType = typename FixedImageType::PixelType;
58  using MovingImagePixelType = typename MovingImageType::PixelType;
59 
60  using CoordinateRepresentationType = TCoordRep;
61 
62  /* Image dimension accessors */
63  using ImageDimensionType = unsigned int;
64  static constexpr ImageDimensionType FixedImageDimension = FixedImageType::ImageDimension;
65  static constexpr ImageDimensionType MovingImageDimension = MovingImageType::ImageDimension;
66  static constexpr ImageDimensionType VirtualImageDimension = VirtualImageType::ImageDimension;
67 
71 
74 
78 
81 
83 
85 
87 
89 
93 
99 
106 
111 };
112 } // end namespace itk
113 
114 #endif
itk::VectorImageToImageMetricTraitsv4::ImageDimensionType
unsigned int ImageDimensionType
Definition: itkVectorImageToImageMetricTraitsv4.h:63
itkCovariantVector.h
itk::VectorImageToImageMetricTraitsv4::MovingImageDimension
static constexpr ImageDimensionType MovingImageDimension
Definition: itkVectorImageToImageMetricTraitsv4.h:65
itk::VectorImageToImageMetricTraitsv4::FixedImagePixelType
typename FixedImageType::PixelType FixedImagePixelType
Definition: itkVectorImageToImageMetricTraitsv4.h:57
itk::VectorImageToImageMetricTraitsv4::MovingRealType
typename NumericTraits< MovingImagePixelType >::RealType MovingRealType
Definition: itkVectorImageToImageMetricTraitsv4.h:77
itk::VectorImageToImageMetricTraitsv4::MovingImagePixelType
typename MovingImageType::PixelType MovingImagePixelType
Definition: itkVectorImageToImageMetricTraitsv4.h:58
itk::CentralDifferenceImageFunction
Calculate the derivative by central differencing.
Definition: itkCentralDifferenceImageFunction.h:76
itk::VectorImageToImageMetricTraitsv4::FixedRealType
typename NumericTraits< FixedImagePixelType >::RealType FixedRealType
Definition: itkVectorImageToImageMetricTraitsv4.h:76
itk::Vector
A templated class holding a n-Dimensional vector.
Definition: itkVector.h:62
itk::VectorImageToImageMetricTraitsv4::FixedImageGradientType
Vector< CoordinateRepresentationType, FixedImageDimension *VNumberOfComponents > FixedImageGradientType
Definition: itkVectorImageToImageMetricTraitsv4.h:68
itk::VectorImageToImageMetricTraitsv4::MovingImageGradientType
Vector< CoordinateRepresentationType, MovingImageDimension *VNumberOfComponents > MovingImageGradientType
Definition: itkVectorImageToImageMetricTraitsv4.h:69
itkImage.h
itk::ImageToImageFilter
Base class for filters that take an image as input and produce an image as output.
Definition: itkImageToImageFilter.h:108
itkDefaultConvertPixelTraits.h
itkGradientRecursiveGaussianImageFilter.h
itk::VectorImageToImageMetricTraitsv4::FixedImageType
TFixedImageType FixedImageType
Definition: itkVectorImageToImageMetricTraitsv4.h:53
itk::ImageFunction
Evaluates a function of an image at specified position.
Definition: itkImageFunction.h:55
itkCentralDifferenceImageFunction.h
itk::ObjectToObjectMetricBaseTemplate::CoordinateRepresentationType
TInternalComputationValueType CoordinateRepresentationType
Definition: itkObjectToObjectMetricBase.h:106
itk::DefaultConvertPixelTraits
Traits class used to by ConvertPixels to convert blocks of pixels.
Definition: itkDefaultConvertPixelTraits.h:41
itk::VectorImageToImageMetricTraitsv4::VirtualImageDimension
static constexpr ImageDimensionType VirtualImageDimension
Definition: itkVectorImageToImageMetricTraitsv4.h:66
itk::GradientRecursiveGaussianImageFilter
Computes the gradient of an image by convolution with the first derivative of a Gaussian.
Definition: itkGradientRecursiveGaussianImageFilter.h:59
itk::VectorImageToImageMetricTraitsv4::CoordinateRepresentationType
TCoordRep CoordinateRepresentationType
Definition: itkVectorImageToImageMetricTraitsv4.h:60
itk::CovariantVector
A templated class holding a n-Dimensional covariant vector.
Definition: itkCovariantVector.h:70
itkObjectToObjectMetricBase.h
itk::VectorImageToImageMetricTraitsv4::FixedImageDimension
static constexpr ImageDimensionType FixedImageDimension
Definition: itkVectorImageToImageMetricTraitsv4.h:64
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::VectorImageToImageMetricTraitsv4::MovingImageType
TMovingImageType MovingImageType
Definition: itkVectorImageToImageMetricTraitsv4.h:54
itk::VectorImageToImageMetricTraitsv4
A simple structure holding type information for ImageToImageMetricv4 classes.
Definition: itkVectorImageToImageMetricTraitsv4.h:47
itk::Image
Templated n-dimensional image class.
Definition: itkImage.h:88
itk::NumericTraits::RealType
double RealType
Definition: itkNumericTraits.h:86
itk::VectorImageToImageMetricTraitsv4::VirtualImageType
TVirtualImageType VirtualImageType
Definition: itkVectorImageToImageMetricTraitsv4.h:55