ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkEigenToMeasureParameterEstimationFilter.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
19#ifndef itkEigenToMeasureParameterEstimationFilter_h
20#define itkEigenToMeasureParameterEstimationFilter_h
21
24#include "itkSpatialObject.h"
25
26namespace itk
27{
50template <typename TInputImage, typename TOutputImage = TInputImage>
52 : public StreamingImageFilter<TInputImage, TOutputImage>
53{
54public:
55 ITK_DISALLOW_COPY_AND_MOVE(EigenToMeasureParameterEstimationFilter);
56
62
64 itkOverrideGetNameOfClassMacro(EigenToMeasureParameterEstimationFilter);
65
67 using InputImageType = TInputImage;
68 using InputImagePointer = typename InputImageType::Pointer;
69 using InputImageConstPointer = typename InputImageType::ConstPointer;
70 using InputImageRegionType = typename InputImageType::RegionType;
71 using InputImagePixelType = typename InputImageType::PixelType;
72 using PixelValueType = typename InputImagePixelType::ValueType;
73 static constexpr unsigned int ImageDimension = TInputImage::ImageDimension;
74
76 using OutputImageType = TOutputImage;
77 using OutputImageRegionType = typename OutputImageType::RegionType;
78
82
88
94
98 {
99 return this->GetParametersOutput()->Get();
100 }
101
105
111 void
112 UpdateOutputData(DataObject * output) override;
113
115 void
117 {
118 this->DynamicThreadedGenerateData(region);
119 }
120
121protected:
124
125 void
126 PrintSelf(std::ostream & os, Indent indent) const override;
127}; // end class
128} // namespace itk
129
130#ifndef ITK_MANUAL_INSTANTIATION
131# include "itkEigenToMeasureParameterEstimationFilter.hxx"
132#endif
133
134#endif // itkEigenToMeasureParameterEstimationFilter_h
Array class with size defined at construction time.
Definition itkArray.h:48
Base class for all data objects in ITK.
const ParameterDecoratedType * GetParametersOutput() const
void UpdateOutputData(DataObject *output) override
void PrintSelf(std::ostream &os, Indent indent) const override
itkSetInputMacro(Mask, MaskSpatialObjectType)
ParameterDecoratedType * GetParametersOutput()
itkGetInputMacro(Mask, MaskSpatialObjectType)
void ThreadedGenerateData(const InputImageRegionType &region, ThreadIdType) override
~EigenToMeasureParameterEstimationFilter() override=default
virtual void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread)
Control indentation during Print() invocation.
Definition itkIndent.h:53
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
Implements transparent reference counting.
Implementation of the composite pattern.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType
Definition itkIntTypes.h:98