1 #ifndef __bbSlicerSimpleregiongrowing_h_INCLUDED__
2 #define __bbSlicerSimpleregiongrowing_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 Simpleregiongrowing
26 public bbtk::AtomicBlackBox {
27 BBTK_BLACK_BOX_INTERFACE ( Simpleregiongrowing , bbtk::AtomicBlackBox ) ;
31 BBTK_DECLARE_INPUT ( smoothingIterations , int );
32 BBTK_DECLARE_INPUT ( timestep , double );
33 BBTK_DECLARE_INPUT ( iterations , int );
34 BBTK_DECLARE_INPUT ( multiplier , double );
35 BBTK_DECLARE_INPUT ( neighborhood , int );
36 BBTK_DECLARE_INPUT ( labelvalue , int );
37 BBTK_DECLARE_INPUT ( seed , std::vector<std::vector<float> > );
38 BBTK_DECLARE_INPUT ( inputVolume , std::string );
39 BBTK_DECLARE_INPUT ( outputVolume , std::string );
43 BBTK_PROCESS ( Process ) ;
46 void execute ( std::string lib , int _argc , char * _argv[] ) ;
49 BBTK_BEGIN_DESCRIBE_BLACK_BOX ( Simpleregiongrowing , bbtk::AtomicBlackBox ) ;
50 BBTK_NAME ( "Simpleregiongrowing" ) ;
51 BBTK_AUTHOR ( "Jim Miller" ) ;
52 BBTK_DESCRIPTION ( "A simple region growing segmentation algorithm based on intensity statistics. To create a list of fiducials Seeds for this algorithm, click on the tool bar icon of an arrow pointing to a starburst fiducial to enter the 'place a new object mode' and then use the fiducials module. This module uses the Slicer Command Line Interface CLI and the ITK filters CurvatureFlowImageFilter and ConfidenceConnectedImageFilter." ) ;
53 BBTK_CATEGORY ( "Segmentation" ) ;
55 // GENERATED DESCRPTION
57 BBTK_INPUT(Simpleregiongrowing , smoothingIterations , "smoothingIterations" , int, "");
58 BBTK_INPUT(Simpleregiongrowing , timestep , "timestep" , double, "");
59 BBTK_INPUT(Simpleregiongrowing , iterations , "iterations" , int, "");
60 BBTK_INPUT(Simpleregiongrowing , multiplier , "multiplier" , double, "");
61 BBTK_INPUT(Simpleregiongrowing , neighborhood , "neighborhood" , int, "");
62 BBTK_INPUT(Simpleregiongrowing , labelvalue , "labelvalue" , int, "");
63 BBTK_INPUT(Simpleregiongrowing , seed , "seed" , std::vector<std::vector<float> >, "");
64 BBTK_INPUT(Simpleregiongrowing , inputVolume , "inputVolume" , std::string, "");
65 BBTK_INPUT(Simpleregiongrowing , outputVolume , "outputVolume" , std::string, "");
67 // EO GENERATED DESCRIPTION
69 BBTK_END_DESCRIBE_BLACK_BOX ( Simpleregiongrowing ) ;
72 #endif // __bbSlicerSimpleregiongrowing_h_INCLUDED__