ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkStrainImageFilter.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 itkStrainImageFilter_h
19#define itkStrainImageFilter_h
20
21#include "itkCovariantVector.h"
25
26namespace itk
27{
28
62template <typename TInputImage, typename TOperatorValueType = float, typename TOutputValueType = float>
64 : public ImageToImageFilter<
65 TInputImage,
66 Image<SymmetricSecondRankTensor<TOutputValueType, TInputImage::ImageDimension>, TInputImage::ImageDimension>>
67{
68public:
69 ITK_DISALLOW_COPY_AND_MOVE(StrainImageFilter);
70
72 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
73
74 using InputImageType = TInputImage;
78
82
85
86
91
94
96 itkNewMacro(Self);
97
99 itkOverrideGetNameOfClassMacro(StrainImageFilter);
100
103 itkSetObjectMacro(GradientFilter, GradientFilterType);
104 itkGetConstObjectMacro(GradientFilter, GradientFilterType);
105
110 itkSetObjectMacro(VectorGradientFilter, VectorGradientFilterType);
111 itkGetConstObjectMacro(VectorGradientFilter, VectorGradientFilterType);
112
124
126 itkGetConstMacro(StrainForm, StrainFormType);
127
128protected:
130
132
133 void
135
136 void
137 DynamicThreadedGenerateData(const OutputRegionType & outputRegion) override;
138
140
141 void
142 PrintSelf(std::ostream & os, Indent indent) const override;
143
144private:
146
148
150
152};
153
154} // end namespace itk
155
156#ifndef ITK_MANUAL_INSTANTIATION
157# include "itkStrainImageFilter.hxx"
158#endif
159
160#endif
A templated class holding a n-Dimensional covariant vector.
Templated n-dimensional image class.
Definition itkImage.h:89
ImageRegion< VImageDimension > RegionType
Control indentation during Print() invocation.
Definition itkIndent.h:53
Implements transparent reference counting.
Extract components of an Image with multi-component pixels.
ImageToImageFilter< OperatorImageType, GradientOutputImageType > GradientFilterType
CovariantVector< TOperatorValueType, ImageDimension > GradientOutputPixelType
ImageToImageFilter< InputImageType, OutputImageType > Superclass
void DynamicThreadedGenerateData(const OutputRegionType &outputRegion) override
typename OutputImageType::RegionType OutputRegionType
void PrintSelf(std::ostream &os, Indent indent) const override
Image< TOperatorValueType, ImageDimension > OperatorImageType
SymmetricSecondRankTensor< TOutputValueType, ImageDimension > OutputPixelType
Image< GradientOutputPixelType, ImageDimension > GradientOutputImageType
void BeforeThreadedGenerateData() override
Image< OutputPixelType, ImageDimension > OutputImageType
ImageToImageFilter< InputImageType, GradientOutputImageType > VectorGradientFilterType
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
itk::SplitComponentsImageFilter< InputImageType, OperatorImageType > InputComponentsImageFilterType
Represent a symmetric tensor of second rank.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)