#include <imgproc.hpp>
Public Member Functions | |
BaseColumnFilter () | |
the default constructor More... | |
virtual | ~BaseColumnFilter () |
the destructor More... | |
virtual void | operator() (const uchar **src, uchar *dst, int dststep, int dstcount, int width)=0 |
the filtering operator. Must be overridden in the derived classes. The vertical border interpolation is done outside of the class. More... | |
virtual void | reset () |
resets the internal buffers, if any More... | |
Public Attributes | |
int | ksize |
int | anchor |
The Base Class for Column-wise Filters
This is the base class for linear or non-linear filters that process columns of 2D arrays. Such filters are used for the "vertical" filtering parts in separable filters.
Several functions in OpenCV return Ptr<BaseColumnFilter> for the specific types of filters, and those pointers can be used directly or within cv::FilterEngine.
Unlike cv::BaseRowFilter, cv::BaseColumnFilter may have some context information, i.e. box filter keeps the sliding sum of elements. To reset the state BaseColumnFilter::reset() must be called (e.g. the method is called by cv::FilterEngine)
cv::BaseColumnFilter::BaseColumnFilter | ( | ) |
the default constructor
|
virtual |
the destructor
|
pure virtual |
the filtering operator. Must be overridden in the derived classes. The vertical border interpolation is done outside of the class.
|
virtual |
resets the internal buffers, if any
int cv::BaseColumnFilter::anchor |
int cv::BaseColumnFilter::ksize |