ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkNarrowBandCurvesLevelSetImageFilter.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 itkNarrowBandCurvesLevelSetImageFilter_h
19#define itkNarrowBandCurvesLevelSetImageFilter_h
20
23
24namespace itk
25{
95template <typename TInputImage, typename TFeatureImage, typename TOutputPixelType = float>
96class ITK_TEMPLATE_EXPORT NarrowBandCurvesLevelSetImageFilter
97 : public NarrowBandLevelSetImageFilter<TInputImage,
98 TFeatureImage,
99 TOutputPixelType,
100 Image<TOutputPixelType, TInputImage::ImageDimension>>
101{
102public:
103 ITK_DISALLOW_COPY_AND_MOVE(NarrowBandCurvesLevelSetImageFilter);
104
108 TFeatureImage,
109 TOutputPixelType,
113
115 using typename Superclass::ValueType;
116 using typename Superclass::OutputImageType;
117 using typename Superclass::FeatureImageType;
118
122
124 itkOverrideGetNameOfClassMacro(NarrowBandCurvesLevelSetImageFilter);
125
127 itkNewMacro(Self);
128
130 void
132 {
133 m_CurvesFunction->SetDerivativeSigma(value);
134 this->Modified();
135 }
136
137
138 float
140 {
141 return m_CurvesFunction->GetDerivativeSigma();
142 }
143
144 itkConceptMacro(OutputHasNumericTraitsCheck, (Concept::HasNumericTraits<TOutputPixelType>));
145
146protected:
149
150 void
151 PrintSelf(std::ostream & os, Indent indent) const override;
152
155 void
156 GenerateData() override;
157
158private:
160};
161} // end namespace itk
162
163#ifndef ITK_MANUAL_INSTANTIATION
164# include "itkNarrowBandCurvesLevelSetImageFilter.hxx"
165#endif
166
167#endif
This function is used in CurvesLevelSetImageFilter to segment structures in images based on user supp...
Templated n-dimensional image class.
Definition itkImage.h:89
Control indentation during Print() invocation.
Definition itkIndent.h:50
void PrintSelf(std::ostream &os, Indent indent) const override
~NarrowBandCurvesLevelSetImageFilter() override=default
NarrowBandLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType, Image< TOutputPixelType, TInputImage::ImageDimension > > Superclass
CurvesLevelSetFunction< OutputImageType, FeatureImageType > CurvesFunctionType
virtual void Modified() const
Implements transparent reference counting.
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....