#ifndef __bbSlicerSimpleregiongrowing_h_INCLUDED__ #define __bbSlicerSimpleregiongrowing_h_INCLUDED__ #include "bbSlicer_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include #include #include #include #include #include #include #include #include #include #include #include "CreationTool.h" namespace bbSlicer { class bbSlicer_EXPORT Simpleregiongrowing : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE ( Simpleregiongrowing , bbtk::AtomicBlackBox ) ; // GENERATED ARGS BBTK_DECLARE_INPUT ( smoothingIterations , int ); BBTK_DECLARE_INPUT ( timestep , double ); BBTK_DECLARE_INPUT ( iterations , int ); BBTK_DECLARE_INPUT ( multiplier , double ); BBTK_DECLARE_INPUT ( neighborhood , int ); BBTK_DECLARE_INPUT ( labelvalue , int ); BBTK_DECLARE_INPUT ( seed , std::vector > ); 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 ( Simpleregiongrowing , bbtk::AtomicBlackBox ) ; BBTK_NAME ( "Simpleregiongrowing" ) ; BBTK_AUTHOR ( "Jim Miller" ) ; 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." ) ; BBTK_CATEGORY ( "Segmentation" ) ; // GENERATED DESCRPTION BBTK_INPUT(Simpleregiongrowing , smoothingIterations , "smoothingIterations" , int, ""); BBTK_INPUT(Simpleregiongrowing , timestep , "timestep" , double, ""); BBTK_INPUT(Simpleregiongrowing , iterations , "iterations" , int, ""); BBTK_INPUT(Simpleregiongrowing , multiplier , "multiplier" , double, ""); BBTK_INPUT(Simpleregiongrowing , neighborhood , "neighborhood" , int, ""); BBTK_INPUT(Simpleregiongrowing , labelvalue , "labelvalue" , int, ""); BBTK_INPUT(Simpleregiongrowing , seed , "seed" , std::vector >, ""); BBTK_INPUT(Simpleregiongrowing , inputVolume , "inputVolume" , std::string, ""); BBTK_INPUT(Simpleregiongrowing , outputVolume , "outputVolume" , std::string, ""); // EO GENERATED DESCRIPTION BBTK_END_DESCRIBE_BLACK_BOX ( Simpleregiongrowing ) ; } #endif // __bbSlicerSimpleregiongrowing_h_INCLUDED__