FilterSobel Class Reference
Sobel filter. More...
#include <filters/sobel.h>
Inheritance diagram for FilterSobel:

Public Member Functions | |
| FilterSobel (orientation_t ori=ORI_HORIZONTAL) | |
| Constructor. | |
| virtual void | generate_kernel (int *kernel, orientation_t ori) |
| Generate a sobel kernel for the given orientation. | |
| virtual void | apply () |
| Apply the filter. | |
Detailed Description
Sobel filter.
Definition at line 33 of file sobel.h.
Constructor & Destructor Documentation
| FilterSobel::FilterSobel | ( | orientation_t | ori = ORI_HORIZONTAL |
) |
Member Function Documentation
| void 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 Filter.
Definition at line 104 of file sobel.cpp.
References Filter::dst, Filter::dst_roi, generate_kernel(), ROI::height, ROI::line_step, Filter::ori, ROI::pixel_step, Filter::shrink_region(), Filter::src, Filter::src_roi, ROI::start, ROI::width, fawkes::point_t::x, and fawkes::point_t::y.
| void FilterSobel::generate_kernel | ( | int * | k, | |
| orientation_t | ori | |||
| ) | [virtual] |
The documentation for this class was generated from the following files:

