ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkKrcahEigenToMeasureParameterEstimationFilter.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 itkKrcahEigenToMeasureParameterEstimationFilter_h
20#define itkKrcahEigenToMeasureParameterEstimationFilter_h
21
22#include "itkMath.h"
24#include <mutex>
26
27namespace itk
28{
77template <typename TInputImage, typename TOutputImage = TInputImage>
79 : public EigenToMeasureParameterEstimationFilter<TInputImage, TOutputImage>
80{
81public:
82 ITK_DISALLOW_COPY_AND_MOVE(KrcahEigenToMeasureParameterEstimationFilter);
83
89
97
102
106
111
113 itkNewMacro(Self);
114
116 itkOverrideGetNameOfClassMacro(KrcahEigenToMeasureParameterEstimationFilter);
117
118 /***\class KrcahImplementationEnum
119 * Krcah implementation type
120 * \ingroup BoneEnhancement
121 */
127
129#if !defined(ITK_LEGACY_REMOVE)
133#endif
134
135 itkSetEnumMacro(ParameterSet, KrcahImplementationEnum);
136 itkGetEnumMacro(ParameterSet, KrcahImplementationEnum);
137
138 /* Set parameter set */
139 void
144
145 void
150
151 static_assert(TInputImage::ImageDimension == 3u);
152 static_assert(TInputImage::PixelType::Dimension == 3u);
153
154protected:
157
159 void
161
163 void
165
167 void
168 DynamicThreadedGenerateData(const OutputImageRegionType & outputRegionForThread) override;
169
171 inline RealType
173 inline RealType
175
176 void
177 PrintSelf(std::ostream & os, Indent indent) const override;
178
179private:
180 /* Member variables */
184
185 std::mutex m_Mutex;
186}; // end class
187} // namespace itk
188
189#ifndef ITK_MANUAL_INSTANTIATION
190# include "itkKrcahEigenToMeasureParameterEstimationFilter.hxx"
191#endif
192
193#endif /* itkKrcahEigenToMeasureParameterEstimationFilter_h */
Perform more precise accumulation of floating point numbers.
typename OutputImageType::PixelType OutputImagePixelType
Control indentation during Print() invocation.
Definition itkIndent.h:53
typename Superclass::MaskSpatialObjectTypeConstPointer MaskSpatialObjectTypeConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
EigenToMeasureParameterEstimationFilter< TInputImage, TOutputImage > Superclass
RealType CalculateTraceAccordingToImplementation(InputImagePixelType pixel)
RealType CalculateTraceAccordingToJournalArticle(InputImagePixelType pixel)
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
~KrcahEigenToMeasureParameterEstimationFilter() override=default
virtual void SetParameterSet(const KrcahImplementationEnum _arg)
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....