X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_Slicer_PKG%2Fsrc%2FbbSlicerExpertAutomatedRegistration.h;fp=bbtk_Slicer_PKG%2Fsrc%2FbbSlicerExpertAutomatedRegistration.h;h=5c0312da934cb96092b268cc77190fc30684b0fe;hb=e7b4e2c9254e9e431f74acc92e3f0d40fc5e7ef6;hp=0000000000000000000000000000000000000000;hpb=cd590ce5fff20d69c7060340235a35e9c2a9ef86;p=creaCLI.git diff --git a/bbtk_Slicer_PKG/src/bbSlicerExpertAutomatedRegistration.h b/bbtk_Slicer_PKG/src/bbSlicerExpertAutomatedRegistration.h new file mode 100644 index 0000000..5c0312d --- /dev/null +++ b/bbtk_Slicer_PKG/src/bbSlicerExpertAutomatedRegistration.h @@ -0,0 +1,112 @@ +#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__ + +