18 #ifndef sitkFastMarchingUpwindGradientImageFilter_h
19 #define sitkFastMarchingUpwindGradientImageFilter_h
68 SITK_RETURN_SELF_TYPE_HEADER
SetTrialPoints ( std::vector< std::vector<unsigned int> > TrialPoints ) { this->m_TrialPoints = std::move(TrialPoints);
return *
this; }
72 std::vector< std::vector< unsigned int > >
GetTrialPoints()
const {
return this->m_TrialPoints; }
74 SITK_RETURN_SELF_TYPE_HEADER
AddTrialPoint( std::vector< unsigned int >
point ) { this->m_TrialPoints.push_back(std::move(
point));
return *
this;}
76 SITK_RETURN_SELF_TYPE_HEADER
ClearTrialPoints( ) { this->m_TrialPoints.clear();
return *
this;}
81 SITK_RETURN_SELF_TYPE_HEADER
SetNumberOfTargets (
unsigned int NumberOfTargets ) { this->m_NumberOfTargets = NumberOfTargets;
return *
this; }
91 SITK_RETURN_SELF_TYPE_HEADER
SetTargetPoints ( std::vector< std::vector<unsigned int> > TargetPoints ) { this->m_TargetPoints = std::move(TargetPoints);
return *
this; }
96 std::vector< std::vector< unsigned int > >
GetTargetPoints()
const {
return this->m_TargetPoints; }
98 SITK_RETURN_SELF_TYPE_HEADER
AddTargetPoint( std::vector< unsigned int >
point ) { this->m_TargetPoints.push_back(std::move(
point));
return *
this;}
100 SITK_RETURN_SELF_TYPE_HEADER
ClearTargetPoints( ) { this->m_TargetPoints.clear();
return *
this;}
106 SITK_RETURN_SELF_TYPE_HEADER
SetTargetOffset (
double TargetOffset ) { this->m_TargetOffset = TargetOffset;
return *
this; }
116 SITK_RETURN_SELF_TYPE_HEADER
SetNormalizationFactor (
double NormalizationFactor ) { this->m_NormalizationFactor = NormalizationFactor;
return *
this; }
126 SITK_RETURN_SELF_TYPE_HEADER
SetInitialTrialValues ( std::vector<double> InitialTrialValues ) { this->m_InitialTrialValues = InitialTrialValues;
return *
this; }
149 std::string
GetName()
const {
return std::string (
"FastMarchingUpwindGradientImageFilter"); }
152 std::string ToString()
const;
164 template <
class TImageType>
Image ExecuteInternal (
const Image& image1 );
172 std::vector< std::vector<unsigned int> > m_TrialPoints{std::vector< std::vector<unsigned int > >()};
174 unsigned int m_NumberOfTargets{0u};
176 std::vector< std::vector<unsigned int> > m_TargetPoints{std::vector< std::vector<unsigned int > >()};
178 double m_TargetOffset{1.0};
180 double m_NormalizationFactor{1.0};
182 std::vector<double> m_InitialTrialValues{std::vector<double>()};
187 double m_TargetValue{0.0};
202 SITKBasicFilters_EXPORT Image FastMarchingUpwindGradient (
const Image& image1, std::vector< std::vector<unsigned int> > trialPoints = std::vector< std::vector<unsigned int > >(),
unsigned int numberOfTargets = 0u, std::vector< std::vector<unsigned int> > targetPoints = std::vector< std::vector<unsigned int > >(),
double targetOffset = 1.0,
double normalizationFactor = 1.0, std::vector<double> initialTrialValues = std::vector<double>() );