Alida-C++ 0.1

DemoOperatorOpenCV Class Reference

Demo operator wrapping OpenCV functions. More...

#include <DemoOperatorOpenCV.h>

Inheritance diagram for DemoOperatorOpenCV:
Collaboration diagram for DemoOperatorOpenCV:

List of all members.

Public Member Functions

 DemoOperatorOpenCV ()
 Default constructor.
virtual ~DemoOperatorOpenCV ()
 Default destructor.
void operate ()
 Method to implement the operator's functionality.

Detailed Description

Demo operator wrapping OpenCV functions.

This operator class demonstrates how OpenCV functions can be wrapped to make use of Alida's capabilites, particularly the generic user interface generation.
The operator currently wraps the OpenCV function cvSmooth(), i.e. allows to apply Gaussian blur of a specified variance to an input image.

Definition at line 53 of file DemoOperatorOpenCV.h.


Constructor & Destructor Documentation

DemoOperatorOpenCV::DemoOperatorOpenCV ( )

Default constructor.

virtual DemoOperatorOpenCV::~DemoOperatorOpenCV ( ) [inline, virtual]

Default destructor.

Definition at line 61 of file DemoOperatorOpenCV.h.


Member Function Documentation

void DemoOperatorOpenCV::operate ( ) [virtual]

Method to implement the operator's functionality.

This function implements its abstract counterpart from the operator base class and contains the functional core of this operator.
Here it applies the OpenCV function cvSmooth() to the given input image adopting the specified standard deviation.
In this specific example the function does nothing reasonable, but just demonstrates how to access defined input parameters, and how to correctly fill the operator's output parameters.

Implements Alida::ALDOperator.

Definition at line 83 of file DemoOperatorOpenCV.cc.

References Alida::ALDOperator::getParameter(), and Alida::ALDOperator::setParameter().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines