OpenCV实现USM锐化 [转]http://www.programdevelop.com/4964391/ USM (Unsharp masking) is a common operation of image processing. From the Internet search a bit, there are basically three different ways. Only 2 lines of code, there are hundreds of the most co
C++: void distanceTransform(InputArray src, OutputArray dst, int distanceType, int maskSize) 参数详解: InputArray src:输入的图像,一般为二值图像 OutputArray dst:输出的图像 int distanceType:所用的求解距离的类型. It can be CV_DIST_L1, CV_DIST_L2 , or CV_DIST_C mask_size 距离变换掩模的大小,可以