Method PyrMeanShiftFiltering
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
PyrMeanShiftFiltering(InputArray, OutputArray, double, double, int, TermCriteria?)
Performs initial step of meanshift segmentation of an image.
public static void PyrMeanShiftFiltering(InputArray src, OutputArray dst, double sp, double sr, int maxLevel = 1, TermCriteria? termcrit = null)
Parameters
srcInputArrayThe source 8-bit, 3-channel image.
dstOutputArrayThe destination image of the same format and the same size as the source.
spdoubleThe spatial window radius.
srdoubleThe color window radius.
maxLevelintMaximum level of the pyramid for the segmentation.
termcritTermCriteria?Termination criteria: when to stop meanshift iterations.