# Image Preprocessing **Repository Path**: wang-yong_ke/image-preprocessing ## Basic Information - **Project Name**: Image Preprocessing - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-24 - **Last Updated**: 2024-04-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Image Preprocessing # 项目描述 此项目利用图像滤波和图像特征提取的相关技术提取字帖中的图像,保存到项目目录 chars 中,是书法体项目的数据预处理的一部分。代码主要执行以下操作: 1. 读取图像灰度图。 2. 用全局阈值处理的到二值化图。 3. 用腐蚀操作去除噪点。 4. 用膨胀操作突出想要的汉字。然后用中值滤波去除小的白点。 5. 用闭运算填充闭合区域。 6. Cannery边缘检测,得到汉字的大致轮廓。 7. 寻找轮廓,获取轮廓的边界矩形,根据矩形边界识别想要的汉字部分。 # 项目运行效果截图 ![](https://gitee.com/wang-yong_ke/image-preprocessing/raw/master/%E7%BB%93%E6%9E%9C1.jpg) ![](https://gitee.com/wang-yong_ke/image-preprocessing/raw/master/%E7%BB%93%E6%9E%9C2.jpg) # 个人信息 - 学号: 202152320113 - 年级: 2021 - 专业: 智能科学与技术 - 班级: 一 班