otsu阈值法编程c语言,OTSU_BMPtoBIN 大律法(OTSU)灰度图像阈值提取算法(C语言实现) - 下载 - 搜珍网...

大律法(OTSU)灰度图像阈值提取算法(C语言实现)。文件中已经有已经编译好的可执行文件,可以批量把灰度图片转化成二值化的二进制图像文件,可用于LCD显示屏视频动画的开发(例如Badapple)。

阀值是图像二值化处理中非常重要的一个参数,意思就是:如果灰度图像的像素颜色值大于该阀值就把该点当作黑色,小于该阀值就把改点当作白色。最简单的做法就是把阀值取为127(255的一半),但是这种做法是不科学的,处理后的二值化图像效果也很不理想。关于阀值的选取是一门很深的学问,有很多经典的算法用于选取该阀值,理论我就不做过多描述了,感兴趣的自己趣网络上搜索相关资料,我这里采用的是比较经典的大律法(OTSU)。-Large law (OTSU) threshold grayscale image extraction algorithm (C language). File has been compiled executable file, you can bulk of the gray image is converted to binary binary image file that can be used for the LCD display video animation development (for example Badapple).

Image binarization threshold is a very important process parameters, means: If the pixel color values gray image is larger than the threshold to put the point as a black, less than the threshold put the change point as white. The easiest way is to take the threshold of 127 (255 in half), but this approach is unscientific, binary image post-processing effects also far ideal. Select on the threshold of a very deep knowledge, there are many classical algorithms for selecting the threshold theory I do not do too much descr iption, and search for relevant information of interest to their own interest on the network, I used here It is more classic big law (OTSU).

(系统自动生成,下载前可以参看下载内容)

下载文件列表

00000.bmp

badapple.dev

badapple.layout

EasyBMP/

EasyBMP/BSD_(revised)_license.txt

EasyBMP/EasyBMP.cpp

EasyBMP/EasyBMP.h

EasyBMP/EasyBMP.o

EasyBMP/EasyBMP_BMP.h

EasyBMP/EasyBMP_ChangeLog.txt

EasyBMP/EasyBMP_DataStructures.h

EasyBMP/EasyBMP_VariousBMPutilities.h

LCDͼƬȡģ_v20150603.exe

main.cpp

main.o

Makefile.win

output.h

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值