What is replacing C ++ with old cvSmooth (src, dst, CV_MEDIAN, 3)?

I am converting old OpenCV code to new C ++ api, and I'm not sure how this translates.

I have a line doing what is in the cvSmooth(src, dst, CV_MEDIAN, 3); header cvSmooth(src, dst, CV_MEDIAN, 3); , and I'm not sure if the "right" analog is in the new C ++ api.

What will it be?

+6
c ++ opencv
Jan 15 '12 at 3:40
source share
1 answer

From the OpenCV Documentation : "The function is now deprecated. Use GaussianBlur() , blur() , medianBlur() or bilateralFilter() ."

A tutorial using them.

+12
Jan 15 '12 at 16:20
source share



All Articles