GCVL
Multi-platform (Windows, Unix and Mac OS) C++/OpenCL/CUDA library with several Computer Vision algorithms.
gcvl::opencl::Algorithm Class Reference

#include <oclalgorithm.h>

Inheritance diagram for gcvl::opencl::Algorithm:
gcvl::opencl::BlockMatching

List of all members.

Public Member Functions

double compute ()
 Performs all the necessary steps to execute the algorithm.
virtual void prepare ()=0
 Function that performs pre-processing steps.
virtual void setArgs ()=0
 Function that sets the kernel arguments.
virtual void launch ()=0
 Launch the algorithm.
virtual void postpare ()=0
 Function that performs post-processing steps.

Protected Attributes

OpenCL_Kernel _kernel
Core * _core

Member Function Documentation

double Algorithm::compute ( )

Performs all the necessary steps to execute the algorithm.

Returns:
Computation time.
See also:
prepare(), setArgs(), launch() and postpare()
virtual void gcvl::opencl::Algorithm::launch ( ) [pure virtual]

Launch the algorithm.

Implemented in gcvl::opencl::BlockMatching.

virtual void gcvl::opencl::Algorithm::postpare ( ) [pure virtual]

Function that performs post-processing steps.

Implemented in gcvl::opencl::BlockMatching.

virtual void gcvl::opencl::Algorithm::prepare ( ) [pure virtual]

Function that performs pre-processing steps.

Implemented in gcvl::opencl::BlockMatching.

virtual void gcvl::opencl::Algorithm::setArgs ( ) [pure virtual]

Function that sets the kernel arguments.

Implemented in gcvl::opencl::BlockMatching.


Member Data Documentation


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