ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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
28namespace itk
29{
42template <typename TFixedImageType,
43 typename TMovingImageType,
44 typename TVirtualImageType,
45 unsigned int VNumberOfComponents,
46 typename TCoordinate = typename ObjectToObjectMetricBase::CoordinateRepresentationType>
48{
49public:
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 = TCoordinate;
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
Calculate the derivative by central differencing.
A templated class holding a n-Dimensional covariant vector.
Traits class used to by ConvertPixels to convert blocks of pixels.
Computes the gradient of an image by convolution with the first derivative of a Gaussian.
Evaluates a function of an image at specified position.
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Definition itkImage.h:89
A simple structure holding type information for ImageToImageMetricv4 classes.
DefaultConvertPixelTraits< FixedImageGradientType > FixedImageGradientConvertType
GradientRecursiveGaussianImageFilter< FixedImageType, FixedImageGradientImageType > DefaultFixedImageGradientFilter
Image< MovingGradientPixelType, Self::MovingImageDimension > MovingImageGradientImageType
Vector< CoordinateRepresentationType, VirtualImageDimension *VNumberOfComponents > VirtualImageGradientType
DefaultConvertPixelTraits< MovingImageGradientType > MovingImageGradientConvertType
ImageFunction< FixedImageType, FixedImageGradientType, CoordinateRepresentationType > FixedImageGradientCalculatorType
Image< FixedGradientPixelType, Self::FixedImageDimension > FixedImageGradientImageType
Vector< CoordinateRepresentationType, MovingImageDimension *VNumberOfComponents > MovingImageGradientType
typename MovingImageType::PixelType MovingImagePixelType
static constexpr ImageDimensionType VirtualImageDimension
static constexpr ImageDimensionType MovingImageDimension
typename NumericTraits< MovingImagePixelType >::RealType MovingRealType
ImageFunction< MovingImageType, MovingImageGradientType, CoordinateRepresentationType > MovingImageGradientCalculatorType
GradientRecursiveGaussianImageFilter< MovingImageType, MovingImageGradientImageType > DefaultMovingImageGradientFilter
typename NumericTraits< FixedImagePixelType >::RealType FixedRealType
CentralDifferenceImageFunction< FixedImageType, CoordinateRepresentationType, FixedImageGradientType > DefaultFixedImageGradientCalculator
static constexpr ImageDimensionType FixedImageDimension
CovariantVector< CoordinateRepresentationType, VirtualImageDimension > VirtualImageComponentGradientType
CovariantVector< CoordinateRepresentationType, FixedImageDimension > FixedImageComponentGradientType
CentralDifferenceImageFunction< MovingImageType, CoordinateRepresentationType, MovingImageGradientType > DefaultMovingImageGradientCalculator
ImageToImageFilter< FixedImageType, FixedImageGradientImageType > FixedImageGradientFilterType
Vector< CoordinateRepresentationType, FixedImageDimension *VNumberOfComponents > FixedImageGradientType
CovariantVector< CoordinateRepresentationType, MovingImageDimension > MovingImageComponentGradientType
ImageToImageFilter< MovingImageType, MovingImageGradientImageType > MovingImageGradientFilterType
A templated class holding a n-Dimensional vector.
Definition itkVector.h:63
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....