ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkGeodesicActiveContourLevelSetImageFilter.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 itkGeodesicActiveContourLevelSetImageFilter_h
19#define itkGeodesicActiveContourLevelSetImageFilter_h
20
23
24namespace itk
25{
99template <typename TInputImage, typename TFeatureImage, typename TOutputPixelType = float>
101 : public SegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType>
102{
103public:
104 ITK_DISALLOW_COPY_AND_MOVE(GeodesicActiveContourLevelSetImageFilter);
105
109
112
114 using typename Superclass::ValueType;
115 using typename Superclass::OutputImageType;
116 using typename Superclass::FeatureImageType;
117
121
123 itkOverrideGetNameOfClassMacro(GeodesicActiveContourLevelSetImageFilter);
124
126 itkNewMacro(Self);
127
130 void
132 {
133 if (Math::NotExactlyEquals(value, m_GeodesicActiveContourFunction->GetDerivativeSigma()))
134 {
135 m_GeodesicActiveContourFunction->SetDerivativeSigma(value);
136 this->Modified();
137 }
138 }
139
140
143 float
145 {
146 return m_GeodesicActiveContourFunction->GetDerivativeSigma();
147 }
148
149protected:
152
153 void
154 PrintSelf(std::ostream & os, Indent indent) const override;
155
158 void
159 GenerateData() override;
160
161private:
163};
164} // end namespace itk
165
166#ifndef ITK_MANUAL_INSTANTIATION
167# include "itkGeodesicActiveContourLevelSetImageFilter.hxx"
168#endif
169
170#endif
This function is used in GeodesicActiveContourLevelSetImageFilter to segment structures in an image b...
GeodesicActiveContourLevelSetFunction< OutputImageType, FeatureImageType > GeodesicActiveContourFunctionType
~GeodesicActiveContourLevelSetImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
typename GeodesicActiveContourFunctionType::Pointer GeodesicActiveContourFunctionPointer
SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Superclass
Control indentation during Print() invocation.
Definition itkIndent.h:50
virtual void Modified() const
Implements transparent reference counting.
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
Definition itkMath.h:731
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....