ITK  6.0.0
Insight Toolkit
itkGeodesicActiveContourShapePriorLevelSetImageFilter.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 itkGeodesicActiveContourShapePriorLevelSetImageFilter_h
19#define itkGeodesicActiveContourShapePriorLevelSetImageFilter_h
20
24
25namespace itk
26{
110template <typename TInputImage, typename TFeatureImage, typename TOutputPixelType = float>
112 : public ShapePriorSegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType>
113{
114public:
115 ITK_DISALLOW_COPY_AND_MOVE(GeodesicActiveContourShapePriorLevelSetImageFilter);
116
120
123
125 using typename Superclass::ValueType;
126 using typename Superclass::OutputImageType;
127 using typename Superclass::FeatureImageType;
128 using typename Superclass::OutputPixelType;
129
134
137
139 itkNewMacro(Self);
140
143 void
145 {
146 if (value != m_GeodesicActiveContourFunction->GetDerivativeSigma())
147 {
148 m_GeodesicActiveContourFunction->SetDerivativeSigma(value);
149 this->Modified();
150 }
151 }
156 float
158 {
159 return m_GeodesicActiveContourFunction->GetDerivativeSigma();
160 }
161
162protected:
165
166 void
167 PrintSelf(std::ostream & os, Indent indent) const override;
168
169
172 void
173 GenerateData() override;
174
175private:
176 GeodesicActiveContourFunctionPointer m_GeodesicActiveContourFunction{};
177};
178} // end namespace itk
179
180#ifndef ITK_MANUAL_INSTANTIATION
181# include "itkGeodesicActiveContourShapePriorLevelSetImageFilter.hxx"
182#endif
183
184#endif
This function is used in GeodesicActiveContourShapePriorSegmentationLevelSetFilter to segment structu...
Segments structures in an image based on a user supplied edge potential map and user supplied shape m...
void PrintSelf(std::ostream &os, Indent indent) const override
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Light weight base class for most itk classes.
A base class which defines the API for implementing a level set segmentation filter with statistical ...
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....