摘要:
一、膨胀和腐蚀膨胀和腐蚀(Dilating and Eroding)是基本的形态学操作。在OpenCV中定义了erode和dilate函数完成相应的功能。膨胀和腐蚀主要作用有三:去除噪声;将分离的部分邻近连接起来;将密布的像素形成一块整体。膨胀操作也类似于线性滤波,不过使用的是最大值滤波器,以ker... 阅读全文
摘要:
源于hdu1013题目描述:The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that... 阅读全文