ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkDescoteauxEigenToMeasureImageFilter.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 itkDescoteauxEigenToMeasureImageFilter_h
20#define itkDescoteauxEigenToMeasureImageFilter_h
21
23#include "itkMath.h"
24
25namespace itk
26{
51template <typename TInputImage, typename TOutputImage>
52class DescoteauxEigenToMeasureImageFilter : public EigenToMeasureImageFilter<TInputImage, TOutputImage>
53{
54public:
55 ITK_DISALLOW_COPY_AND_MOVE(DescoteauxEigenToMeasureImageFilter);
56
62
69
75
80
82 itkNewMacro(Self);
83
85 itkOverrideGetNameOfClassMacro(DescoteauxEigenToMeasureImageFilter);
86
89 GetEigenValueOrder() const override
90 {
91 return Superclass::EigenValueOrderEnum::OrderByMagnitude;
92 }
93
95 itkSetMacro(EnhanceType, RealType);
96 itkGetConstMacro(EnhanceType, RealType);
97 void
99 {
100 SetEnhanceType(-1.0);
101 }
102 void
104 {
105 SetEnhanceType(1.0);
106 }
107
108 static_assert(TInputImage::ImageDimension == 3u);
109 static_assert(TOutputImage::ImageDimension == 3u);
110 static_assert(TInputImage::PixelType::Dimension == 3u);
111
112protected:
115
117 ProcessPixel(const InputImagePixelType & pixel) override;
118
120 void
122
123 void
124 PrintSelf(std::ostream & os, Indent indent) const override;
125
126private:
127 /* Member variables */
129}; // end class
130} /* end namespace itk */
131
132#ifndef ITK_MANUAL_INSTANTIATION
133# include "itkDescoteauxEigenToMeasureImageFilter.hxx"
134#endif
135
136#endif /* itkDescoteauxEigenToMeasureImageFilter_h */
typename Superclass::OutputImagePixelType OutputImagePixelType
virtual void SetEnhanceType(RealType _arg)
typename Superclass::InputImageConstPointer InputImageConstPointer
OutputImagePixelType ProcessPixel(const InputImagePixelType &pixel) override
void PrintSelf(std::ostream &os, Indent indent) const override
typename Superclass::InputImagePixelType InputImagePixelType
typename Superclass::InputImageRegionType InputImageRegionType
EigenToMeasureImageFilter< TInputImage, TOutputImage > Superclass
typename Superclass::ParameterDecoratedType ParameterDecoratedType
typename Superclass::ParameterArrayType ParameterArrayType
typename Superclass::OutputImagePointer OutputImagePointer
~DescoteauxEigenToMeasureImageFilter() override=default
typename Superclass::OutputImageRegionType OutputImageRegionType
Superclass::EigenValueOrderEnum GetEigenValueOrder() const override
typename InputImageType::ConstPointer InputImageConstPointer
SimpleDataObjectDecorator< ParameterArrayType > ParameterDecoratedType
SymmetricEigenAnalysisEnums::EigenValueOrder EigenValueOrderEnum
typename InputImageType::RegionType InputImageRegionType
typename NumericTraits< PixelValueType >::RealType RealType
typename OutputImageType::Pointer OutputImagePointer
typename InputImageType::PixelType InputImagePixelType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
Definition itkIndent.h:53
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)