为什么我们将图像二值化? [英] Why do we Binarize an image?

查看:256
本文介绍了为什么我们将图像二值化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个光学字符识别项目.读取bmp文件头后,我们将图像二值化.为什么我们需要二值化?我们可以在不进行二值化的情况下继续吗?还有其他方法吗?

I am doing a project on Optical character recognition. After reading the bmp file header, we binarize the image. Why do we need to binarize? can we proceed without binarizing? is there any other method?

推荐答案

因为二进制图像足以用于OCR.算法需要识别字符,它们可以用一种颜色表示,而背景可以用第二种颜色表示.这也使算法快速,因为它需要处理的数据更少.

-Saurabh
Because binary image is sufficient for OCR. Algorithm needs to recognize characters, they can be represented with one color and there is background which can be represented with second color. This also makes algorithm fast because it has less data to deal with.

-Saurabh


这篇关于为什么我们将图像二值化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆