]> Creatis software - creaCLI.git/blobdiff - ModuleCall/GenSrc/bbSlicerRobustStatisticsSegmentation.h
All Slicer modules succesfully compiled into BBTK boxes :P
[creaCLI.git] / ModuleCall / GenSrc / bbSlicerRobustStatisticsSegmentation.h
diff --git a/ModuleCall/GenSrc/bbSlicerRobustStatisticsSegmentation.h b/ModuleCall/GenSrc/bbSlicerRobustStatisticsSegmentation.h
new file mode 100644 (file)
index 0000000..404a527
--- /dev/null
@@ -0,0 +1,72 @@
+#ifndef __bbSlicerRobustStatisticsSegmentation_h_INCLUDED__
+#define __bbSlicerRobustStatisticsSegmentation_h_INCLUDED__
+
+#include "bbSlicer_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+
+#include <vector>
+#include <cstdlib>
+#include <dlfcn.h>
+#include <sstream>
+#include <fstream>
+#include <iostream>
+
+#include <ModuleDescriptionUtilities.h>
+#include <ModuleDescriptionParser.h>
+#include <ModuleParameterGroup.h>
+#include <ModuleDescription.h>
+#include <ModuleParameter.h>
+
+#include "CreationTool.h"
+
+namespace bbSlicer {
+
+    class bbSlicer_EXPORT RobustStatisticsSegmentation
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( RobustStatisticsSegmentation , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( expectedVolume , double );
+BBTK_DECLARE_INPUT ( intensityHomogeneity , double );
+BBTK_DECLARE_INPUT ( curvatureWeight , double );
+BBTK_DECLARE_INPUT ( labelValue , int );
+BBTK_DECLARE_INPUT ( maxRunningTime , double );
+BBTK_DECLARE_INPUT ( originalImageFileName , std::string );
+BBTK_DECLARE_INPUT ( labelImageFileName , std::string );
+BBTK_DECLARE_INPUT ( segmentedImageFileName , std::string );
+
+        // EO GENERATED ARGS
+
+        BBTK_PROCESS ( Process ) ;
+        void Process ( ) ;
+    private:
+        void execute ( std::string lib , int _argc , char * _argv[] ) ;
+    } ;
+
+    BBTK_BEGIN_DESCRIBE_BLACK_BOX ( RobustStatisticsSegmentation , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "RobustStatisticsSegmentation" ) ;
+    BBTK_AUTHOR ( "Yi Gao, Allen Tannenbaum, Ron Kikinis" ) ;
+    BBTK_DESCRIPTION ( "Active contour segmentation using robust statistic." ) ;
+    BBTK_CATEGORY ( "Segmentation.Specialized" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(RobustStatisticsSegmentation , expectedVolume , "expectedVolume" , double, "");
+BBTK_INPUT(RobustStatisticsSegmentation , intensityHomogeneity , "intensityHomogeneity" , double, "");
+BBTK_INPUT(RobustStatisticsSegmentation , curvatureWeight , "curvatureWeight" , double, "");
+BBTK_INPUT(RobustStatisticsSegmentation , labelValue , "labelValue" , int, "");
+BBTK_INPUT(RobustStatisticsSegmentation , maxRunningTime , "maxRunningTime" , double, "");
+BBTK_INPUT(RobustStatisticsSegmentation , originalImageFileName , "originalImageFileName" , std::string, "");
+BBTK_INPUT(RobustStatisticsSegmentation , labelImageFileName , "labelImageFileName" , std::string, "");
+BBTK_INPUT(RobustStatisticsSegmentation , segmentedImageFileName , "segmentedImageFileName" , std::string, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( RobustStatisticsSegmentation ) ;
+}
+
+#endif // __bbSlicerRobustStatisticsSegmentation_h_INCLUDED__
+
+