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());
18 //bbSetOutputOut(bbGetInputIn1());
21 void CheckBoardBox::bbUserSetDefaultValues()
24 // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
25 // Here we initialize the input 'In' to 0
33 void CheckBoardBox::bbUserInitializeProcessing()
35 // THE INITIALIZATION METHOD BODY :
37 // but this is where you should allocate the internal/output pointers
39 checkboard = new CheckBoard();
42 void CheckBoardBox::bbUserFinalizeProcessing()
45 // THE FINALIZATION METHOD BODY :
47 // but this is where you should desallocate the internal/output pointers
52 // EO namespace bbPackVisuImages