ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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{
106template <typename TInputImage, typename TFeatureImage, typename TOutputPixelType = float>
108 : public ShapePriorSegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType>
109{
110public:
111 ITK_DISALLOW_COPY_AND_MOVE(GeodesicActiveContourShapePriorLevelSetImageFilter);
112
116
119
121 using typename Superclass::ValueType;
122 using typename Superclass::OutputImageType;
123 using typename Superclass::FeatureImageType;
124 using typename Superclass::OutputPixelType;
125
130
133
135 itkNewMacro(Self);
136
139 void
141 {
142 if (value != m_GeodesicActiveContourFunction->GetDerivativeSigma())
143 {
144 m_GeodesicActiveContourFunction->SetDerivativeSigma(value);
145 this->Modified();
146 }
147 }
148
149
152 float
154 {
155 return m_GeodesicActiveContourFunction->GetDerivativeSigma();
156 }
157
158protected:
161
162 void
163 PrintSelf(std::ostream & os, Indent indent) const override;
164
165
168 void
169 GenerateData() override;
170
171private:
173};
174} // end namespace itk
175
176#ifndef ITK_MANUAL_INSTANTIATION
177# include "itkGeodesicActiveContourShapePriorLevelSetImageFilter.hxx"
178#endif
179
180#endif
This function is used in GeodesicActiveContourShapePriorSegmentationLevelSetFilter to segment structu...
void PrintSelf(std::ostream &os, Indent indent) const override
GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Self
Control indentation during Print() invocation.
Definition itkIndent.h:50
virtual void Modified() const
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....