FvSrSavePipelineThread Class Reference

SrSave vision image processing pipeline. More...

#include <pipeline_thread.h>

Inheritance diagram for FvSrSavePipelineThread:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 FvSrSavePipelineThread ()
 Constructor.
virtual ~FvSrSavePipelineThread ()
 Destructor.
virtual void init ()
 Initialize the pipeline thread.
virtual void finalize ()
 Thread finalization.
virtual void loop ()
 A new image is retrieved from the camera and the classifier looks for a ball in the image.

Detailed Description

SrSave vision image processing pipeline.

This thread implements an image processing pipeline that uses a colormodel and classifier to determine regions of interest (ROI) which contain a significant amount with "pixels of ball color". The best ROI is then filtered for edge detection. On the edges a circle shape detection is carried out to confirm the result and to get the required data to calculate the relative and global position of the ball.

Author:
Tim Niemueller

Definition at line 35 of file pipeline_thread.h.


Constructor & Destructor Documentation

FvSrSavePipelineThread::FvSrSavePipelineThread (  ) 

Constructor.

Definition at line 46 of file pipeline_thread.cpp.

FvSrSavePipelineThread::~FvSrSavePipelineThread (  )  [virtual]

Destructor.

Definition at line 54 of file pipeline_thread.cpp.


Member Function Documentation

void FvSrSavePipelineThread::finalize (  )  [virtual]

Thread finalization.

Reimplemented from fawkes::Thread.

Definition at line 77 of file pipeline_thread.cpp.

References firevision::VisionMaster::unregister_thread(), and fawkes::VisionAspect::vision_master.

void FvSrSavePipelineThread::init (  )  [virtual]

Initialize the pipeline thread.

Camera is requested, config parameters are obtained from the config db, and other miscellaneous init stuff is done here.

Reimplemented from fawkes::Thread.

Definition at line 64 of file pipeline_thread.cpp.

References fawkes::Exception::append(), firevision::VisionMaster::register_for_raw_camera(), and fawkes::VisionAspect::vision_master.

void FvSrSavePipelineThread::loop (  )  [virtual]

A new image is retrieved from the camera and the classifier looks for a ball in the image.

Reimplemented from fawkes::Thread.

Definition at line 85 of file pipeline_thread.cpp.

References fawkes::Logger::log_warn(), fawkes::LoggingAspect::logger, and fawkes::Thread::name().


The documentation for this class was generated from the following files:

Generated on 1 Mar 2011 for Fawkes API by  doxygen 1.6.1