18 #ifndef sitkLandmarkBasedTransformInitializerFilter_h
19 #define sitkLandmarkBasedTransformInitializerFilter_h
94 SITK_RETURN_SELF_TYPE_HEADER
SetFixedLandmarks (
const std::vector<double> & FixedLandmarks ) { this->m_FixedLandmarks = FixedLandmarks;
return *
this; }
104 SITK_RETURN_SELF_TYPE_HEADER
SetMovingLandmarks (
const std::vector<double> & MovingLandmarks ) { this->m_MovingLandmarks = MovingLandmarks;
return *
this; }
114 SITK_RETURN_SELF_TYPE_HEADER
SetLandmarkWeight (
const std::vector<double> & LandmarkWeight ) { this->m_LandmarkWeight = LandmarkWeight;
return *
this; }
124 SITK_RETURN_SELF_TYPE_HEADER
SetReferenceImage (
const Image & ReferenceImage ) { this->m_ReferenceImage = ReferenceImage;
return *
this; }
133 SITK_RETURN_SELF_TYPE_HEADER
SetBSplineNumberOfControlPoints (
unsigned int BSplineNumberOfControlPoints ) { this->m_BSplineNumberOfControlPoints = BSplineNumberOfControlPoints;
return *
this; }
140 std::string
GetName()
const override {
return std::string (
"LandmarkBasedTransformInitializerFilter"); }
143 std::string ToString()
const override;
155 template <
class TImageType>
Transform ExecuteInternal (
const Transform * transform );
184 const std::vector<double> & fixedLandmarks = std::vector<double>(),
185 const std::vector<double> & movingLandmarks = std::vector<double>(),
186 const std::vector<double> & landmarkWeight = std::vector<double>(),
188 unsigned int numberOfControlPoints = 4u );