ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkCurvesLevelSetImageFilter.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 itkCurvesLevelSetImageFilter_h
19#define itkCurvesLevelSetImageFilter_h
20
23
24namespace itk
25{
99template <typename TInputImage, typename TFeatureImage, typename TOutputPixelType = float>
100class ITK_TEMPLATE_EXPORT CurvesLevelSetImageFilter
101 : public SegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType>
102{
103public:
104 ITK_DISALLOW_COPY_AND_MOVE(CurvesLevelSetImageFilter);
105
111
113 using typename Superclass::ValueType;
114 using typename Superclass::OutputImageType;
115 using typename Superclass::FeatureImageType;
116
120
122 itkOverrideGetNameOfClassMacro(CurvesLevelSetImageFilter);
123
125 itkNewMacro(Self);
126
128 void
130 {
131 m_CurvesFunction->SetDerivativeSigma(value);
132 this->Modified();
133 }
134
135
136 float
138 {
139 return m_CurvesFunction->GetDerivativeSigma();
140 }
141
142 itkConceptMacro(OutputHasNumericTraitsCheck, (Concept::HasNumericTraits<TOutputPixelType>));
143
144protected:
145 ~CurvesLevelSetImageFilter() override = default;
147
148 void
149 PrintSelf(std::ostream & os, Indent indent) const override;
150
153 void
154 GenerateData() override;
155
156private:
158};
159} // end namespace itk
160
161#ifndef ITK_MANUAL_INSTANTIATION
162# include "itkCurvesLevelSetImageFilter.hxx"
163#endif
164
165#endif
This function is used in CurvesLevelSetImageFilter to segment structures in images based on user supp...
SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType > Superclass
CurvesLevelSetFunction< OutputImageType, FeatureImageType > CurvesFunctionType
void PrintSelf(std::ostream &os, Indent indent) const override
typename CurvesFunctionType::Pointer CurvesFunctionPointer
~CurvesLevelSetImageFilter() override=default
Control indentation during Print() invocation.
Definition itkIndent.h:50
virtual void Modified() const
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....