#ifndef __bbSlicerExpertAutomatedRegistration_h_INCLUDED__ #define __bbSlicerExpertAutomatedRegistration_h_INCLUDED__ #include "bbSlicer_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include #include #include #include #include #include #include #include #include #include #include #include "CreationTool.h" namespace bbSlicer { class bbSlicer_EXPORT ExpertAutomatedRegistration : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE ( ExpertAutomatedRegistration , bbtk::AtomicBlackBox ) ; // GENERATED ARGS BBTK_DECLARE_INPUT ( fixedImage , std::string ); BBTK_DECLARE_INPUT ( movingImage , std::string ); BBTK_DECLARE_INPUT ( resampledImage , std::string ); BBTK_DECLARE_INPUT ( loadTransform , std::string ); BBTK_DECLARE_INPUT ( saveTransform , std::string ); BBTK_DECLARE_INPUT ( initialization , std::string ); BBTK_DECLARE_INPUT ( registration , std::string ); BBTK_DECLARE_INPUT ( metric , std::string ); BBTK_DECLARE_INPUT ( expectedOffset , float ); BBTK_DECLARE_INPUT ( expectedRotation , float ); BBTK_DECLARE_INPUT ( expectedScale , float ); BBTK_DECLARE_INPUT ( expectedSkew , float ); BBTK_DECLARE_INPUT ( verbosityLevel , std::string ); BBTK_DECLARE_INPUT ( sampleFromOverlap , bool ); BBTK_DECLARE_INPUT ( fixedImageMask , std::string ); BBTK_DECLARE_INPUT ( randomNumberSeed , int ); BBTK_DECLARE_INPUT ( numberOfThreads , int ); BBTK_DECLARE_INPUT ( minimizeMemory , bool ); BBTK_DECLARE_INPUT ( interpolation , std::string ); BBTK_DECLARE_INPUT ( fixedLandmarks , std::vector > ); BBTK_DECLARE_INPUT ( movingLandmarks , std::vector > ); BBTK_DECLARE_INPUT ( rigidMaxIterations , int ); BBTK_DECLARE_INPUT ( rigidSamplingRatio , float ); BBTK_DECLARE_INPUT ( affineMaxIterations , int ); BBTK_DECLARE_INPUT ( affineSamplingRatio , float ); BBTK_DECLARE_INPUT ( bsplineMaxIterations , int ); BBTK_DECLARE_INPUT ( bsplineSamplingRatio , float ); BBTK_DECLARE_INPUT ( controlPointSpacing , int ); // EO GENERATED ARGS BBTK_PROCESS ( Process ) ; void Process ( ) ; private: void execute ( std::string lib , int _argc , char * _argv[] ) ; } ; BBTK_BEGIN_DESCRIBE_BLACK_BOX ( ExpertAutomatedRegistration , bbtk::AtomicBlackBox ) ; BBTK_NAME ( "ExpertAutomatedRegistration" ) ; BBTK_AUTHOR ( "Stephen R Aylward, Casey B Goodlett" ) ; BBTK_DESCRIPTION ( "Provides rigid, affine, and BSpline registration methods via a simple GUI" ) ; BBTK_CATEGORY ( "Legacy.Registration" ) ; // GENERATED DESCRPTION BBTK_INPUT(ExpertAutomatedRegistration , fixedImage , "fixedImage" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , movingImage , "movingImage" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , resampledImage , "resampledImage" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , loadTransform , "loadTransform" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , saveTransform , "saveTransform" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , initialization , "initialization" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , registration , "registration" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , metric , "metric" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , expectedOffset , "expectedOffset" , float, ""); BBTK_INPUT(ExpertAutomatedRegistration , expectedRotation , "expectedRotation" , float, ""); BBTK_INPUT(ExpertAutomatedRegistration , expectedScale , "expectedScale" , float, ""); BBTK_INPUT(ExpertAutomatedRegistration , expectedSkew , "expectedSkew" , float, ""); BBTK_INPUT(ExpertAutomatedRegistration , verbosityLevel , "verbosityLevel" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , sampleFromOverlap , "sampleFromOverlap" , bool, ""); BBTK_INPUT(ExpertAutomatedRegistration , fixedImageMask , "fixedImageMask" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , randomNumberSeed , "randomNumberSeed" , int, ""); BBTK_INPUT(ExpertAutomatedRegistration , numberOfThreads , "numberOfThreads" , int, ""); BBTK_INPUT(ExpertAutomatedRegistration , minimizeMemory , "minimizeMemory" , bool, ""); BBTK_INPUT(ExpertAutomatedRegistration , interpolation , "interpolation" , std::string, ""); BBTK_INPUT(ExpertAutomatedRegistration , fixedLandmarks , "fixedLandmarks" , std::vector >, ""); BBTK_INPUT(ExpertAutomatedRegistration , movingLandmarks , "movingLandmarks" , std::vector >, ""); BBTK_INPUT(ExpertAutomatedRegistration , rigidMaxIterations , "rigidMaxIterations" , int, ""); BBTK_INPUT(ExpertAutomatedRegistration , rigidSamplingRatio , "rigidSamplingRatio" , float, ""); BBTK_INPUT(ExpertAutomatedRegistration , affineMaxIterations , "affineMaxIterations" , int, ""); BBTK_INPUT(ExpertAutomatedRegistration , affineSamplingRatio , "affineSamplingRatio" , float, ""); BBTK_INPUT(ExpertAutomatedRegistration , bsplineMaxIterations , "bsplineMaxIterations" , int, ""); BBTK_INPUT(ExpertAutomatedRegistration , bsplineSamplingRatio , "bsplineSamplingRatio" , float, ""); BBTK_INPUT(ExpertAutomatedRegistration , controlPointSpacing , "controlPointSpacing" , int, ""); // EO GENERATED DESCRIPTION BBTK_END_DESCRIBE_BLACK_BOX ( ExpertAutomatedRegistration ) ; } #endif // __bbSlicerExpertAutomatedRegistration_h_INCLUDED__