#ifndef __bbUtilitiesCatGreyLevels_h_INCLUDED__ #define __bbUtilitiesCatGreyLevels_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" #include "iostream" #include #define GREY 1174 #define STD 38 namespace bbUtilities { class /*BBTK_EXPORT*/ CatGreyLevels : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(CatGreyLevels,bbtk::AtomicBlackBox); //================================================================== BBTK_DECLARE_INPUT(In,int); BBTK_DECLARE_INPUT(Image,vtkImageData*); BBTK_DECLARE_INPUT(Point,std::vector); BBTK_DECLARE_OUTPUT(Out,double); BBTK_PROCESS(Process); void Process(); }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(CatGreyLevels,bbtk::AtomicBlackBox); BBTK_NAME("CatGreyLevels"); BBTK_AUTHOR("car-prie@uniandes.edu.co"); BBTK_DESCRIPTION("Get the 7 posible lower grey levels to produce the segmentation of the image (1174, 1174+38,1174+76, 1174-38, 1174-76, GLatPoint*0.8, GLatPoint*0.4)"); BBTK_CATEGORY("__CATEGORY__"); BBTK_INPUT(CatGreyLevels,In,"0-7 levels of grey",int,""); BBTK_INPUT(CatGreyLevels,Image,"Original image in grey levels",vtkImageData*,""); BBTK_INPUT(CatGreyLevels,Point,"Initial point",std::vector,""); BBTK_OUTPUT(CatGreyLevels,Out,"First output",double,""); BBTK_END_DESCRIBE_BLACK_BOX(CatGreyLevels); } // EO namespace bbUtilities #endif // __bbUtilitiesCatGreyLevels_h_INCLUDED__