最終更新:2011-06-02 (木) 04:44:08 (4706d)  

cvPyrMeanShiftFiltering
Top / cvPyrMeanShiftFiltering

Mean-Shift法による画像セグメンテーションを行います.

http://opencv.jp/opencv-2.2/c/imgproc_miscellaneous_image_transformations.html?highlight=mean#cvPyrMeanShiftFiltering

void cvPyrMeanShiftFiltering(const CvArr* src, CvArr* dst, double sp, double sr, int max_level=1, CvTermCriteria termcrit= cvTermCriteria(CV_TERMCRIT_ITER+CV_TERMCRIT_EPS, 5, 1))¶
Mean-Shift法による画像セグメンテーションを行います.

パラメタ:	
src – 入力画像.8ビット,3チャンネル.
dst – 出力画像.入力が像と同じフォーマット,同じサイズ.
sp – 空間窓の半径.
sr – 色空間窓の半径.
max_level – セグメンテーションに用いるピラミッドの最大レベル.
termcrit – 終了条件:Mean-Shiftの反復をいつ止めるかを表します.