#ifndef __bbUtilitiesImageGradientMagnitude_h_INCLUDED__ #define __bbUtilitiesImageGradientMagnitude_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" #include "iostream" #include #include #include namespace bbUtilities { class /*BBTK_EXPORT*/ ImageGradientMagnitude : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(ImageGradientMagnitude,bbtk::AtomicBlackBox); //================================================================== BBTK_DECLARE_INPUT(In,vtkImageData*); BBTK_DECLARE_OUTPUT(Out,vtkImageData*); BBTK_PROCESS(Process); void Process(); private: vtkImageGradientMagnitude* magn; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageGradientMagnitude,bbtk::AtomicBlackBox); BBTK_NAME("ImageGradientMagnitude"); BBTK_AUTHOR("car-prie@uniandes.edu.co"); BBTK_DESCRIPTION("Computes the Gradient Magnitude of the image"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(ImageGradientMagnitude,In,"Original image to calculate the gradient",vtkImageData*,""); BBTK_OUTPUT(ImageGradientMagnitude,Out,"Output of the image",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(ImageGradientMagnitude); } // EO namespace bbUtilities #endif // __bbUtilitiesImageGradientMagnitude_h_INCLUDED__