#include <BarCodeReader.h>
Inheritance diagram for BarCodeReader:
Public Member Functions | |
BarCodeReader (const SpecialVisionInterfaces &interfaces) | |
virtual void | execute () |
Definition at line 16 of file BarCodeReader.h.
BarCodeReader::BarCodeReader | ( | const SpecialVisionInterfaces & | interfaces | ) |
Constructor
interfaces | The interfaces of the SpecialVision module |
Definition at line 17 of file BarCodeReader.cpp.
void BarCodeReader::execute | ( | ) | [virtual] |
Executes the module
Declaration
Just for debugging
Scanbarcode starts
Setting values
Calculate the y-channel boundaries min, max and avg
now loop eight times for the expected 8 code bars
Checksum check
Implements Module.
Definition at line 22 of file BarCodeReader.cpp.
References SpecialVisionInterfaces::colorTable, DECLARE_DEBUG_IMAGE, ColorTable::generateColorClassImage(), Image::image, SpecialVisionInterfaces::image, INIT_DEBUG_IMAGE, max, and min.
Referenced by DefaultSpecialVision::execute().