Fawkes API  Fawkes Development Version
firevision::FilterSobel Class Reference

Sobel filter. More...

#include <>>

Inheritance diagram for firevision::FilterSobel:

List of all members.

Public Member Functions

 FilterSobel (orientation_t ori=ORI_HORIZONTAL)
 Constructor.
virtual void apply ()
 Apply the filter.

Detailed Description

Sobel filter.

Author:
Tim Niemueller

Constructor & Destructor Documentation

firevision::FilterSobel::FilterSobel ( orientation_t  ori = ORI_HORIZONTAL)

Constructor.

Parameters:
oriedge orientation

Definition at line 49 of file sobel.cpp.


Member Function Documentation

void firevision::FilterSobel::apply ( ) [virtual]

Apply the filter.

Apply the filter to the given source and destination buffers with given width and height and orientation (ori may be ignored for some filters).

Implements firevision::Filter.

Definition at line 119 of file sobel.cpp.

References firevision::Filter::shrink_region(), firevision::Filter::src_roi, firevision::Filter::dst_roi, firevision::ROI::width, firevision::ROI::height, firevision::Filter::src, firevision::ROI::line_step, firevision::ROI::start, fawkes::point_t::x, firevision::ROI::pixel_step, firevision::Filter::dst, and fawkes::point_t::y.


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