#ifndef __bbUtilitiesHistogram_h_INCLUDED__ #define __bbUtilitiesHistogram_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkImageData.h" namespace bbUtilities { class /*BBTK_EXPORT*/ Histogram : public bbtk::AtomicBlackBox { //BBTK_USER_BLACK_BOX_INTERFACE(Histogram,bbtk::AtomicBlackBox); BBTK_BLACK_BOX_INTERFACE(Histogram,bbtk::AtomicBlackBox); //================================================================== BBTK_DECLARE_INPUT(InImage,vtkImageData*) BBTK_PROCESS(Process); void Process(); vtkImageData *img; vtkImageData *points; }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(Histogram,bbtk::AtomicBlackBox); BBTK_NAME("Histogram"); BBTK_AUTHOR("Juan Carlos Prieto"); BBTK_DESCRIPTION("Calculates the histogram of an image"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(Histogram,InImage,"Imagen entrada", vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(Histogram); } // EO namespace bbUtilities #endif // __bbUtilitiesHistogram_h_INCLUDED__