首页> 外国专利> METHOD AND DEVICE FOR CORRECTING TILTED TEXT IMAGE USING EXPANSION METHOD

METHOD AND DEVICE FOR CORRECTING TILTED TEXT IMAGE USING EXPANSION METHOD

机译:扩展方法校正字幕文本图像的方法和装置

摘要

A method for correcting a tilted text image using an expansion method, for processing a text saved in the form of image and correcting the font tilt defects thereof, comprising: S1, reading a text image to be processed; S2, performing an expansion processing on the image; S3, further performing a corrosion processing on the processing result of S2; S4, performing an edge detection on the processing result of S3; S5, performing a Hough transform on the processing result of S4, to obtain straight line information parallel to a character line boundary; S6, traversing all the straight lines obtained in S5 to detect, an angle occurring most among included angles between the straight lines and a horizontal line, and taking same as a tilt angle of the current processed text; and S7, correcting the text image to be processed according to the result of S6, and displaying same. As the method allows a non-textual portion to exist in the text image, and the non-textual portion has little influence on calculating the tilt angle, the present invention is simple to implement, and is more stable.
机译:一种使用扩展方法校正倾斜文本图像,处理以图像形式保存的文本并校正其字体倾斜缺陷的方法,包括:S1,读取要处理的文本图像; S2,对图像进行扩展处理; S3,进一步对S2的处理结果进行腐蚀处理; S4,对S3的处理结果进行边缘检测; S5,对S4的处理结果进行霍夫变换,得到平行于字符线边界的直线信息; S6,遍历S5中获得的所有直线进行检测,以该直线与水平线之间的夹角中出现最多的一个角度作为当前处理文本的倾斜角度; S7,根据S6的结果校正待处理的文字图像并显示。由于该方法允许在文本图像中存在非文本部分,并且该非文本部分对计算倾斜角几乎没有影响,因此本发明易于实现并且更加稳定。

著录项

  • 公开/公告号WO2019056346A1

    专利类型

  • 公开/公告日2019-03-28

    原文格式PDF

  • 申请/专利权人 SHENZHEN TRANSSION COMMUNICATION LIMITED;

    申请/专利号WO2017CN103104

  • 发明设计人 HONG TAOLONG;

    申请日2017-09-25

  • 分类号G06K9/32;

  • 国家 WO

  • 入库时间 2022-08-21 11:55:49

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号