1 #ifndef __bbSlicerResampleImageBRAINS_h_INCLUDED__
2 #define __bbSlicerResampleImageBRAINS_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 ResampleImageBRAINS
26 public bbtk::AtomicBlackBox {
27 BBTK_BLACK_BOX_INTERFACE ( ResampleImageBRAINS , bbtk::AtomicBlackBox ) ;
31 BBTK_DECLARE_INPUT ( inputVolume , std::string );
32 BBTK_DECLARE_INPUT ( referenceVolume , std::string );
33 BBTK_DECLARE_INPUT ( outputVolume , std::string );
34 BBTK_DECLARE_INPUT ( pixelType , std::string );
35 BBTK_DECLARE_INPUT ( deformationVolume , std::string );
36 BBTK_DECLARE_INPUT ( warpTransform , std::string );
37 BBTK_DECLARE_INPUT ( interpolationMode , std::string );
38 BBTK_DECLARE_INPUT ( inverseTransform , bool );
39 BBTK_DECLARE_INPUT ( defaultValue , float );
40 BBTK_DECLARE_INPUT ( gridSpacing , std::vector<int> );
41 BBTK_DECLARE_INPUT ( numberOfThreads , int );
45 BBTK_PROCESS ( Process ) ;
48 void execute ( std::string lib , int _argc , char * _argv[] ) ;
51 BBTK_BEGIN_DESCRIBE_BLACK_BOX ( ResampleImageBRAINS , bbtk::AtomicBlackBox ) ;
52 BBTK_NAME ( "ResampleImageBRAINS" ) ;
53 BBTK_AUTHOR ( "This tool was developed by Vincent Magnotta, Greg Harris, and Hans Johnson." ) ;
54 BBTK_DESCRIPTION ( "This program resamples an image image using a deformation field or a transform BSpline, Affine, Rigid, etc.." ) ;
55 BBTK_CATEGORY ( "Registration" ) ;
57 // GENERATED DESCRPTION
59 BBTK_INPUT(ResampleImageBRAINS , inputVolume , "inputVolume" , std::string, "");
60 BBTK_INPUT(ResampleImageBRAINS , referenceVolume , "referenceVolume" , std::string, "");
61 BBTK_INPUT(ResampleImageBRAINS , outputVolume , "outputVolume" , std::string, "");
62 BBTK_INPUT(ResampleImageBRAINS , pixelType , "pixelType" , std::string, "");
63 BBTK_INPUT(ResampleImageBRAINS , deformationVolume , "deformationVolume" , std::string, "");
64 BBTK_INPUT(ResampleImageBRAINS , warpTransform , "warpTransform" , std::string, "");
65 BBTK_INPUT(ResampleImageBRAINS , interpolationMode , "interpolationMode" , std::string, "");
66 BBTK_INPUT(ResampleImageBRAINS , inverseTransform , "inverseTransform" , bool, "");
67 BBTK_INPUT(ResampleImageBRAINS , defaultValue , "defaultValue" , float, "");
68 BBTK_INPUT(ResampleImageBRAINS , gridSpacing , "gridSpacing" , std::vector<int>, "");
69 BBTK_INPUT(ResampleImageBRAINS , numberOfThreads , "numberOfThreads" , int, "");
71 // EO GENERATED DESCRIPTION
73 BBTK_END_DESCRIBE_BLACK_BOX ( ResampleImageBRAINS ) ;
76 #endif // __bbSlicerResampleImageBRAINS_h_INCLUDED__