Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BarCodeReader Class Reference

A BarCode Reader. More...

#include <BarCodeReader.h>

Inheritance diagram for BarCodeReader:

Inheritance graph
[legend]
Collaboration diagram for BarCodeReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BarCodeReader (const SpecialVisionInterfaces &interfaces)
 Constructor.

virtual void execute ()
 Executes the module.


Detailed Description

A BarCode Reader.

Definition at line 16 of file BarCodeReader.h.


Constructor & Destructor Documentation

BarCodeReader::BarCodeReader const SpecialVisionInterfaces interfaces  ) 
 

Constructor.

Parameters:
interfaces The interfaces of the SpecialVision module

Definition at line 17 of file BarCodeReader.cpp.


Member Function Documentation

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 SpecialPercept::barCodeId, Image::cameraInfo, CIRCLE, DEBUG_DRAWING_FINISHED, DEBUG_IMAGE_SET_PIXEL_GREEN, DECLARE_DEBUG_IMAGE, ColorTable::generateColorClassImage(), Image::image, INIT_DEBUG_IMAGE, max, min, CameraInfo::resolutionWidth, and SEND_DEBUG_IMAGE.

Referenced by DefaultSpecialVision::execute().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:04:23 2004 for GT2004 by doxygen 1.3.6