#ifndef __bbSlicerSubtractImages_h_INCLUDED__ #define __bbSlicerSubtractImages_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 SubtractImages : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE ( SubtractImages , bbtk::AtomicBlackBox ) ; // GENERATED ARGS BBTK_DECLARE_INPUT ( inputVolume1 , std::string ); BBTK_DECLARE_INPUT ( inputVolume2 , std::string ); BBTK_DECLARE_INPUT ( outputVolume , std::string ); BBTK_DECLARE_INPUT ( order , int ); // EO GENERATED ARGS BBTK_PROCESS ( Process ) ; void Process ( ) ; private: void execute ( std::string lib , int _argc , char * _argv[] ) ; } ; BBTK_BEGIN_DESCRIBE_BLACK_BOX ( SubtractImages , bbtk::AtomicBlackBox ) ; BBTK_NAME ( "SubtractImages" ) ; BBTK_AUTHOR ( "Bill Lorensen" ) ; BBTK_DESCRIPTION ( "Subtracts two images. Although all image types are supported on input, only sugned types are produced. The two images do not have to have the same dimensions." ) ; BBTK_CATEGORY ( "Filtering.Arithmetic" ) ; // GENERATED DESCRPTION BBTK_INPUT(SubtractImages , inputVolume1 , "inputVolume1" , std::string, ""); BBTK_INPUT(SubtractImages , inputVolume2 , "inputVolume2" , std::string, ""); BBTK_INPUT(SubtractImages , outputVolume , "outputVolume" , std::string, ""); BBTK_INPUT(SubtractImages , order , "order" , int, ""); // EO GENERATED DESCRIPTION BBTK_END_DESCRIBE_BLACK_BOX ( SubtractImages ) ; } #endif // __bbSlicerSubtractImages_h_INCLUDED__