1 #include "bbPackRecalageCheckBoardBox.h"
2 #include "bbPackRecalagePackage.h"
3 namespace bbPackRecalage
6 BBTK_ADD_BLACK_BOX_TO_PACKAGE(PackRecalage,CheckBoardBox)
7 BBTK_BLACK_BOX_IMPLEMENTATION(CheckBoardBox,bbtk::AtomicBlackBox);
8 void CheckBoardBox::Process()
11 // THE MAIN PROCESSING METHOD BODY
12 checkboard->setInputImage1(bbGetInputIn1());
13 checkboard->setInputImage2(bbGetInputIn2());
14 checkboard->setRows(bbGetInputRows());
15 checkboard->setCols(bbGetInputCols());
16 checkboard->calculateImage();
17 bbSetOutputOut(checkboard->getFilteredImage());
20 void CheckBoardBox::bbUserSetDefaultValues()
23 // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
24 // Here we initialize the input 'In' to 0
32 void CheckBoardBox::bbUserInitializeProcessing()
34 // THE INITIALIZATION METHOD BODY :
36 // but this is where you should allocate the internal/output pointers
38 checkboard = new CheckBoard();
41 void CheckBoardBox::bbUserFinalizeProcessing()
44 // THE FINALIZATION METHOD BODY :
46 // but this is where you should desallocate the internal/output pointers
51 // EO namespace bbPackVisuImages