ImageProc Class Reference
[Pipeline element 2: Image Processor.]

class ImageProc: Takes a frame from the camera, runs preliminary image processing operations, and generates a vector of regions. More...

#include <ImageProc.h>

Inheritance diagram for ImageProc:

PipelinePlugin< unsigned char *, FeatureVector > FrameProducer< FeatureVector > List of all members.

Public Member Functions

 ImageProc (FrameProducer< unsigned char * > *inputProducer, CoordSpace2D coordSpace, IntrinsicCameraProps iProps)
 Constructor.
virtual ~ImageProc ()
 Destructor.

Protected Member Functions

void mainFrame (unsigned char **inFrame, FeatureVector &outFrame)
 Primary image processing operation.

Detailed Description

class ImageProc: Takes a frame from the camera, runs preliminary image processing operations, and generates a vector of regions.


Constructor & Destructor Documentation

ImageProc::ImageProc FrameProducer< unsigned char * > *  inputProducer,
CoordSpace2D  coordSpace,
IntrinsicCameraProps  iProps
 

Constructor.

Parameters:
[in] inputProducer a pointer to a FrameProducer that generates byte buffers. Typically a camera.
[in] coordSpace the coordinate space for image processing. Should be the same as the camera's image space.
[in] iProps describes the camera. Required for the image processor to rectify the image received from the camera.


Member Function Documentation

void ImageProc::mainFrame unsigned char **  inFrame,
FeatureVector outFrame
[protected, virtual]
 

Primary image processing operation.

Takes the input byte buffer, thresholds it, enumerates the 4 connected regions within and populates a FeatureSet struct for each region. The end product is a set of defining features for each region in the image.

Parameters:
[in] inFrame a pointer to a byte buffer containing one frame of image data from a camera.
[out] outFrame a vector of regions.

Implements PipelinePlugin< unsigned char *, FeatureVector >.


The documentation for this class was generated from the following file:
Generated on Wed Mar 15 08:01:31 2006 for pvclib by  doxygen 1.4.6-NO