]> Creatis software - creaCLI.git/blob - ModuleCall/GenSrc/bbSlicerRobustStatisticsSegmentation.h
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / ModuleCall / GenSrc / bbSlicerRobustStatisticsSegmentation.h
1 #ifndef __bbSlicerRobustStatisticsSegmentation_h_INCLUDED__
2 #define __bbSlicerRobustStatisticsSegmentation_h_INCLUDED__
3
4 #include "bbSlicer_EXPORT.h"
5 #include "bbtkAtomicBlackBox.h"
6
7 #include <vector>
8 #include <cstdlib>
9 #include <dlfcn.h>
10 #include <sstream>
11 #include <fstream>
12 #include <iostream>
13
14 #include <ModuleDescriptionUtilities.h>
15 #include <ModuleDescriptionParser.h>
16 #include <ModuleParameterGroup.h>
17 #include <ModuleDescription.h>
18 #include <ModuleParameter.h>
19
20 #include "CreationTool.h"
21
22 namespace bbSlicer {
23
24     class bbSlicer_EXPORT RobustStatisticsSegmentation
25     :
26     public bbtk::AtomicBlackBox {
27         BBTK_BLACK_BOX_INTERFACE ( RobustStatisticsSegmentation , bbtk::AtomicBlackBox ) ;
28
29         // GENERATED ARGS        
30         
31 BBTK_DECLARE_INPUT ( expectedVolume , double );
32 BBTK_DECLARE_INPUT ( intensityHomogeneity , double );
33 BBTK_DECLARE_INPUT ( curvatureWeight , double );
34 BBTK_DECLARE_INPUT ( labelValue , int );
35 BBTK_DECLARE_INPUT ( maxRunningTime , double );
36 BBTK_DECLARE_INPUT ( originalImageFileName , std::string );
37 BBTK_DECLARE_INPUT ( labelImageFileName , std::string );
38 BBTK_DECLARE_INPUT ( segmentedImageFileName , std::string );
39
40         // EO GENERATED ARGS
41
42         BBTK_PROCESS ( Process ) ;
43         void Process ( ) ;
44     private:
45         void execute ( std::string lib , int _argc , char * _argv[] ) ;
46     } ;
47
48     BBTK_BEGIN_DESCRIBE_BLACK_BOX ( RobustStatisticsSegmentation , bbtk::AtomicBlackBox ) ;
49     BBTK_NAME ( "RobustStatisticsSegmentation" ) ;
50     BBTK_AUTHOR ( "Yi Gao, Allen Tannenbaum, Ron Kikinis" ) ;
51     BBTK_DESCRIPTION ( "Active contour segmentation using robust statistic." ) ;
52     BBTK_CATEGORY ( "Segmentation.Specialized" ) ;
53
54     // GENERATED DESCRPTION
55     
56 BBTK_INPUT(RobustStatisticsSegmentation , expectedVolume , "expectedVolume" , double, "");
57 BBTK_INPUT(RobustStatisticsSegmentation , intensityHomogeneity , "intensityHomogeneity" , double, "");
58 BBTK_INPUT(RobustStatisticsSegmentation , curvatureWeight , "curvatureWeight" , double, "");
59 BBTK_INPUT(RobustStatisticsSegmentation , labelValue , "labelValue" , int, "");
60 BBTK_INPUT(RobustStatisticsSegmentation , maxRunningTime , "maxRunningTime" , double, "");
61 BBTK_INPUT(RobustStatisticsSegmentation , originalImageFileName , "originalImageFileName" , std::string, "");
62 BBTK_INPUT(RobustStatisticsSegmentation , labelImageFileName , "labelImageFileName" , std::string, "");
63 BBTK_INPUT(RobustStatisticsSegmentation , segmentedImageFileName , "segmentedImageFileName" , std::string, "");
64
65     // EO GENERATED DESCRIPTION
66
67     BBTK_END_DESCRIBE_BLACK_BOX ( RobustStatisticsSegmentation ) ;
68 }
69
70 #endif // __bbSlicerRobustStatisticsSegmentation_h_INCLUDED__
71
72