]> Creatis software - creaCLI.git/blobdiff - bbtk_Slicer_PKG/src/bbSlicerLabelMapSmoothing.h
The following boxxes compilated with no errors
[creaCLI.git] / bbtk_Slicer_PKG / src / bbSlicerLabelMapSmoothing.h
diff --git a/bbtk_Slicer_PKG/src/bbSlicerLabelMapSmoothing.h b/bbtk_Slicer_PKG/src/bbSlicerLabelMapSmoothing.h
new file mode 100644 (file)
index 0000000..38f5675
--- /dev/null
@@ -0,0 +1,68 @@
+#ifndef __bbSlicerLabelMapSmoothing_h_INCLUDED__
+#define __bbSlicerLabelMapSmoothing_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 LabelMapSmoothing
+    :
+    public bbtk::AtomicBlackBox {
+        BBTK_BLACK_BOX_INTERFACE ( LabelMapSmoothing , bbtk::AtomicBlackBox ) ;
+
+        // GENERATED ARGS        
+        
+BBTK_DECLARE_INPUT ( labelToSmooth , int );
+BBTK_DECLARE_INPUT ( numberOfIterations , int );
+BBTK_DECLARE_INPUT ( maxRMSError , float );
+BBTK_DECLARE_INPUT ( gaussianSigma , float );
+BBTK_DECLARE_INPUT ( inputVolume , std::string );
+BBTK_DECLARE_INPUT ( outputVolume , 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 ( LabelMapSmoothing , bbtk::AtomicBlackBox ) ;
+    BBTK_NAME ( "LabelMapSmoothing" ) ;
+    BBTK_AUTHOR ( "Dirk Padfield, Josh Cates, Ross Whitaker" ) ;
+    BBTK_DESCRIPTION ( "This filter smoothes a binary label map.  With a label map as input, this filter runs an anti-alising algorithm followed by a Gaussian smoothing algorithm.  The output is a smoothed label map." ) ;
+    BBTK_CATEGORY ( "Surface Models" ) ;
+
+    // GENERATED DESCRPTION
+    
+BBTK_INPUT(LabelMapSmoothing , labelToSmooth , "labelToSmooth" , int, "");
+BBTK_INPUT(LabelMapSmoothing , numberOfIterations , "numberOfIterations" , int, "");
+BBTK_INPUT(LabelMapSmoothing , maxRMSError , "maxRMSError" , float, "");
+BBTK_INPUT(LabelMapSmoothing , gaussianSigma , "gaussianSigma" , float, "");
+BBTK_INPUT(LabelMapSmoothing , inputVolume , "inputVolume" , std::string, "");
+BBTK_INPUT(LabelMapSmoothing , outputVolume , "outputVolume" , std::string, "");
+
+    // EO GENERATED DESCRIPTION
+
+    BBTK_END_DESCRIBE_BLACK_BOX ( LabelMapSmoothing ) ;
+}
+
+#endif // __bbSlicerLabelMapSmoothing_h_INCLUDED__
+
+