OpenCV  2.4.13.3
Open Source Computer Vision
cv::BaseColumnFilter Class Referenceabstract

#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
 

Detailed Description

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)

Constructor & Destructor Documentation

§ BaseColumnFilter()

cv::BaseColumnFilter::BaseColumnFilter ( )

the default constructor

§ ~BaseColumnFilter()

virtual cv::BaseColumnFilter::~BaseColumnFilter ( )
virtual

the destructor

Member Function Documentation

§ operator()()

virtual void cv::BaseColumnFilter::operator() ( const uchar **  src,
uchar dst,
int  dststep,
int  dstcount,
int  width 
)
pure virtual

the filtering operator. Must be overridden in the derived classes. The vertical border interpolation is done outside of the class.

§ reset()

virtual void cv::BaseColumnFilter::reset ( )
virtual

resets the internal buffers, if any

Member Data Documentation

§ anchor

int cv::BaseColumnFilter::anchor

§ ksize

int cv::BaseColumnFilter::ksize

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