-
图像的二值化处理
实现二值化,当像素值(r+g+b)/3>128时设为255,当像素值小于128时设置为0.做归一化处理后,2值化的颜色 1为白,0为黑。边缘部分,计算有误差,255,254,253,252 就算白,0,1,2,3,4就算黑。屏幕显示时,肉眼是分辨不出这点误差的。你可以对2值化后的图像值作归一化处理,得到1和0,然后再放大(乘255),就可得到满意的数值。至于左边界上 1 254 253, 0 255 255,可能是2值化前,颜色原本就有差别。不是2值化的错误。
- 2022-09-03 03:00:05下载
- 积分:1
-
Taiwan enterprises appear attractive version. Suitable for enterprises using. Qu...
台讯企业精美版.适合企事业单位用.方便易学.不会做网站也能建网站.-Taiwan enterprises appear attractive version. Suitable for enterprises using. Quite convenient. No website can be done by setting up websites.
- 2022-06-26 18:30:12下载
- 积分:1
-
在一大串字符串中查找某一个字符或者字符串出现的次数.并且返回次数....
在一大串字符串中查找某一个字符或者字符串出现的次数.并且返回次数.-string in a string search for a character string or the number of occurrences. And the number of returnees.
- 2022-08-04 11:12:29下载
- 积分:1
-
编译原理课程中的实验二语法分析c++编程
编译原理课程中的实验二语法分析c++编程-Compilation Principle course experiment two parsing c++ programming
- 2022-11-20 17:35:08下载
- 积分:1
-
坐标转换,适应与地理信息系统的各种坐标系统换算
坐标转换,适应与地理信息系统的各种坐标系统换算-Coordinate transformation, adaptation and geographic information system coordinate system conversion
- 2022-01-25 14:52:17下载
- 积分:1
-
一个小游戏,用vc#编写的,贪吃蛇供大家下载、更改。
一个小游戏,用vc#编写的,贪吃蛇供大家下载、更改。-A small game with vc# Prepared, Snake for everyone to download, change.
- 2022-05-31 10:08:11下载
- 积分:1
-
这是我改造并完整屏幕取词程序的过程中完成的文档,它将取词放在文件中。而不是直接显示出来。里面探讨了有关屏幕取词的几乎所有方面的内容。...
这是我改造并完整屏幕取词程序的过程中完成的文档,它将取词放在文件中。而不是直接显示出来。里面探讨了有关屏幕取词的几乎所有方面的内容。- This will be I transforms and the complete screen takes the
documents which the word procedure in the process completes, it will
take the word to put in the document. But is not directly
demonstrates. Inside discussed the related screen to take the word the
nearly all aspects content.
- 2022-03-25 19:31:13下载
- 积分:1
-
.cpp文件。输入中序表达式,可以计算10以内的整数四则混合运算。思路是用中序转后序,再进行计算。...
.cpp文件。输入中序表达式,可以计算10以内的整数四则混合运算。思路是用中序转后序,再进行计算。-. cpp file. Input sequence expression, can be calculated within 10 4 mixed-integer calculations. Idea is to be used in sequence after sequence, and then calculated.
- 2022-01-24 13:58:25下载
- 积分:1
-
发个红外线遥控程序上来给大家
让大家一起来学习学习
发个红外线遥控程序上来给大家
让大家一起来学习学习
-Infrared remote control procedures issued up to the U.S. so that everyone will work together to learn
- 2022-07-27 16:48:53下载
- 积分:1
-
带背景音乐的动画,dos下的多任务实现
带背景音乐的动画,dos下的多任务实现-background music with animation, dos under the multi-task to achieve
- 2023-02-27 18:00:03下载
- 积分:1