18 #ifndef sitkLandmarkBasedTransformInitializerFilter_h
19 #define sitkLandmarkBasedTransformInitializerFilter_h
79 SITK_RETURN_SELF_TYPE_HEADER
SetFixedLandmarks (
const std::vector<double> & FixedLandmarks ) { this->m_FixedLandmarks = FixedLandmarks;
return *
this; }
89 SITK_RETURN_SELF_TYPE_HEADER
SetMovingLandmarks (
const std::vector<double> & MovingLandmarks ) { this->m_MovingLandmarks = MovingLandmarks;
return *
this; }
99 SITK_RETURN_SELF_TYPE_HEADER
SetLandmarkWeight (
const std::vector<double> & LandmarkWeight ) { this->m_LandmarkWeight = LandmarkWeight;
return *
this; }
109 SITK_RETURN_SELF_TYPE_HEADER
SetReferenceImage (
const Image & ReferenceImage ) { this->m_ReferenceImage = ReferenceImage;
return *
this; }
118 SITK_RETURN_SELF_TYPE_HEADER
SetBSplineNumberOfControlPoints (
unsigned int BSplineNumberOfControlPoints ) { this->m_BSplineNumberOfControlPoints = BSplineNumberOfControlPoints;
return *
this; }
125 std::string
GetName()
const {
return std::string (
"LandmarkBasedTransformInitializerFilter"); }
128 std::string ToString()
const;
136 Transform Execute (
const Transform & transform,
const std::vector<double> & fixedLandmarks,
const std::vector<double> & movingLandmarks,
const std::vector<double> & landmarkWeight,
const Image & referenceImage,
unsigned int numberOfControlPoints );
144 template <
class TImageType>
Transform ExecuteInternal (
const Transform * transform );
#define SITKBasicFilters_EXPORT
The main Image class for SimpleITK.
Transform LandmarkBasedTransformInitializer(const Transform &transform, const std::vector< double > &fixedLandmarks=std::vector< double >(), const std::vector< double > &movingLandmarks=std::vector< double >(), const std::vector< double > &landmarkWeight=std::vector< double >(), const Image &referenceImage=Image(), unsigned int numberOfControlPoints=4u)
itk::simple::LandmarkBasedTransformInitializerFilter Procedural Interface
The base interface for SimpleITK filters that take one input image.