1 #ifndef __bbSlicerLinearregistration_h_INCLUDED__
2 #define __bbSlicerLinearregistration_h_INCLUDED__
4 #include "bbSlicer_EXPORT.h"
5 #include "bbtkAtomicBlackBox.h"
14 #include <ModuleDescriptionUtilities.h>
15 #include <ModuleDescriptionParser.h>
16 #include <ModuleParameterGroup.h>
17 #include <ModuleDescription.h>
18 #include <ModuleParameter.h>
20 #include "CreationTool.h"
24 class bbSlicer_EXPORT Linearregistration
26 public bbtk::AtomicBlackBox {
27 BBTK_BLACK_BOX_INTERFACE ( Linearregistration , bbtk::AtomicBlackBox ) ;
31 BBTK_DECLARE_INPUT ( FixedImageSmoothingFactor , int );
32 BBTK_DECLARE_INPUT ( MovingImageSmoothingFactor , int );
33 BBTK_DECLARE_INPUT ( HistogramBins , int );
34 BBTK_DECLARE_INPUT ( SpatialSamples , int );
35 BBTK_DECLARE_INPUT ( Iterations , std::vector<int> );
36 BBTK_DECLARE_INPUT ( LearningRate , std::vector<double> );
37 BBTK_DECLARE_INPUT ( TranslationScale , double );
38 BBTK_DECLARE_INPUT ( InitialTransform , std::string );
39 BBTK_DECLARE_INPUT ( FixedImageFileName , std::string );
40 BBTK_DECLARE_INPUT ( MovingImageFileName , std::string );
41 BBTK_DECLARE_INPUT ( OutputTransform , std::string );
42 BBTK_DECLARE_INPUT ( ResampledImageFileName , std::string );
46 BBTK_PROCESS ( Process ) ;
49 void execute ( std::string lib , int _argc , char * _argv[] ) ;
52 BBTK_BEGIN_DESCRIBE_BLACK_BOX ( Linearregistration , bbtk::AtomicBlackBox ) ;
53 BBTK_NAME ( "Linearregistration" ) ;
54 BBTK_AUTHOR ( "Daniel Blezek" ) ;
55 BBTK_DESCRIPTION ( "Registers two images together using a rigid transform and mutual information." ) ;
56 BBTK_CATEGORY ( "Legacy.Registration" ) ;
58 // GENERATED DESCRPTION
60 BBTK_INPUT(Linearregistration , FixedImageSmoothingFactor , "FixedImageSmoothingFactor" , int, "");
61 BBTK_INPUT(Linearregistration , MovingImageSmoothingFactor , "MovingImageSmoothingFactor" , int, "");
62 BBTK_INPUT(Linearregistration , HistogramBins , "HistogramBins" , int, "");
63 BBTK_INPUT(Linearregistration , SpatialSamples , "SpatialSamples" , int, "");
64 BBTK_INPUT(Linearregistration , Iterations , "Iterations" , std::vector<int>, "");
65 BBTK_INPUT(Linearregistration , LearningRate , "LearningRate" , std::vector<double>, "");
66 BBTK_INPUT(Linearregistration , TranslationScale , "TranslationScale" , double, "");
67 BBTK_INPUT(Linearregistration , InitialTransform , "InitialTransform" , std::string, "");
68 BBTK_INPUT(Linearregistration , FixedImageFileName , "FixedImageFileName" , std::string, "");
69 BBTK_INPUT(Linearregistration , MovingImageFileName , "MovingImageFileName" , std::string, "");
70 BBTK_INPUT(Linearregistration , OutputTransform , "OutputTransform" , std::string, "");
71 BBTK_INPUT(Linearregistration , ResampledImageFileName , "ResampledImageFileName" , std::string, "");
73 // EO GENERATED DESCRIPTION
75 BBTK_END_DESCRIBE_BLACK_BOX ( Linearregistration ) ;
78 #endif // __bbSlicerLinearregistration_h_INCLUDED__