ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkLevelSetEquationChanAndVeseExternalTerm.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
19#ifndef itkLevelSetEquationChanAndVeseExternalTerm_h
20#define itkLevelSetEquationChanAndVeseExternalTerm_h
21
23#include "itkNumericTraits.h"
24
25namespace itk
26{
48template <typename TInput, // Input image or mesh
49 typename TLevelSetContainer>
51 : public LevelSetEquationChanAndVeseInternalTerm<TInput, TLevelSetContainer>
52{
53public:
54 ITK_DISALLOW_COPY_AND_MOVE(LevelSetEquationChanAndVeseExternalTerm);
56
61
63 itkNewMacro(Self);
64
66 itkOverrideGetNameOfClassMacro(LevelSetEquationChanAndVeseExternalTerm);
67
68 using typename Superclass::InputImageType;
69 using typename Superclass::InputImagePointer;
70 using typename Superclass::InputPixelType;
71 using typename Superclass::InputPixelRealType;
72
75 using typename Superclass::LevelSetType;
76 using typename Superclass::LevelSetPointer;
83
85 using typename Superclass::CacheImageType;
86
87 using DomainIteratorType = typename DomainMapImageFilterType::DomainMapType::const_iterator;
88
89 using IdListType = typename LevelSetContainerType::IdListType;
90 using IdListIterator = typename LevelSetContainerType::IdListIterator;
91 using IdListConstIterator = typename LevelSetContainerType::IdListConstIterator;
92
93 using typename Superclass::HeavisideType;
95
97 void
99
102 void
104
106 void
108 const LevelSetOutputRealType & oldValue,
109 const LevelSetOutputRealType & newValue) override;
110
111protected:
114
115private:
118};
119
120} // namespace itk
121#ifndef ITK_MANUAL_INSTANTIATION
122# include "itkLevelSetEquationChanAndVeseExternalTerm.hxx"
123#endif
124
125#endif
void ComputeProduct(const LevelSetInputIndexType &iP, LevelSetOutputRealType &prod) override
void ComputeProductTerm(const LevelSetInputIndexType &iP, LevelSetOutputRealType &prod) override
void UpdatePixel(const LevelSetInputIndexType &iP, const LevelSetOutputRealType &oldValue, const LevelSetOutputRealType &newValue) override
~LevelSetEquationChanAndVeseExternalTerm() override=default
LevelSetEquationChanAndVeseInternalTerm< TInput, TLevelSetContainer > Superclass
typename LevelSetContainerType::IdListConstIterator IdListConstIterator
typename LevelSetContainerType::IdListIterator IdListIterator
typename DomainMapImageFilterType::DomainMapType::const_iterator DomainIteratorType
typename LevelSetContainerType::OutputRealType LevelSetOutputRealType
typename LevelSetContainerType::LevelSetIdentifierType LevelSetIdentifierType
typename LevelSetContainerType::LevelSetPointer LevelSetPointer
typename LevelSetContainerType::HessianType LevelSetHessianType
typename LevelSetContainerType::LevelSetType LevelSetType
HeavisideStepFunctionBase< LevelSetOutputRealType, LevelSetOutputRealType > HeavisideType
typename LevelSetContainerType::Pointer LevelSetContainerPointer
typename NumericTraits< InputPixelType >::RealType InputPixelRealType
typename LevelSetContainerType::OutputType LevelSetOutputPixelType
typename LevelSetContainerType::CacheImageType CacheImageType
typename LevelSetContainerType::InputIndexType LevelSetInputIndexType
typename HeavisideType::ConstPointer HeavisideConstPointer
typename LevelSetContainerType::DomainMapImageFilterType DomainMapImageFilterType
typename LevelSetContainerType::GradientType LevelSetGradientType
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....