Skip to content
yunfuliu edited this page Nov 30, 2014 · 6 revisions

Welcome to the pixkit wiki!
Please go Pages for function definitions.


For editors, please follow our format below to contribute your function instructions. Basically, it describes the interface of each function for the summary of how it's used: what are the parameters? What does the function do? And what is the return value? An interface is "clean" if it is "as simple as possible, but not simpler. (Einstein)"


Function name

A brief introduction of your function.

[Abbr] If this function has a short name, please provide it here.

[Reference] Reference, in order to reference this article more conveniently.

[Developer] Your name (your email)

A practical example is provided below

C++: bool medianfilter(const cv::Mat &src,cv::Mat &dst,cv::Size blocksize)

Parameters:

  • src - The source image.
  • dst - The destination image.
  • blocksize - Size of the considered neighborhood. Size should be odd value (unit: number of pixels).
  • return value - true and false denotes that works successfully or not.

Example:

medianfilter(src,dst,cv::Size(3,3));