1 #ifndef __bbSlicerRobustStatisticsSegmentation_h_INCLUDED__
2 #define __bbSlicerRobustStatisticsSegmentation_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 RobustStatisticsSegmentation
26 public bbtk::AtomicBlackBox {
27 BBTK_BLACK_BOX_INTERFACE ( RobustStatisticsSegmentation , bbtk::AtomicBlackBox ) ;
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 );
42 BBTK_PROCESS ( Process ) ;
45 void execute ( std::string lib , int _argc , char * _argv[] ) ;
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" ) ;
54 // GENERATED DESCRPTION
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, "");
65 // EO GENERATED DESCRIPTION
67 BBTK_END_DESCRIBE_BLACK_BOX ( RobustStatisticsSegmentation ) ;
70 #endif // __bbSlicerRobustStatisticsSegmentation_h_INCLUDED__