19#ifndef itkFastMarchingThresholdStoppingCriterion_h
20#define itkFastMarchingThresholdStoppingCriterion_h
34template <
typename TInput,
typename TOutput>
36 :
public FastMarchingStoppingCriterionBase<TInput, TOutput>
42 using Superclass = FastMarchingStoppingCriterionBase<TInput, TOutput>;
52 using typename Superclass::OutputPixelType;
53 using typename Superclass::NodeType;
56 itkSetMacro(Threshold, OutputPixelType);
57 itkGetMacro(Threshold, OutputPixelType);
63 return (this->m_CurrentValue >= this->m_Threshold);
69 return "Current Value >= Threshold";
75 , m_Threshold(OutputPixelType{})
80 OutputPixelType m_Threshold{};
Stopping Criterion is verified when Current Value is equal to or greater than the provided threshold.
~FastMarchingThresholdStoppingCriterion() override=default
std::string GetDescription() const override
bool IsSatisfied() const override
void SetCurrentNode(const NodeType &) override
FastMarchingThresholdStoppingCriterion()
FastMarchingStoppingCriterionBase< TInput, TOutput > Superclass
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....