首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
windows 和 deepin 下图片二值化代码相同,结果却不同。
xyxc0673
·
xyxc0673
·
2017-03-03 11:03:35 +08:00
· 2205 次点击
这是一个创建于 2949 天前的主题,其中的信息可能已经有所发展或是发生改变。
代码是一样的,但是 windows 下二值化后线条比较粗, deepin 下二值化后线条较细。这是为什么?
windows 下:
deepin 下:
img
src
Deepin
Windows
4 条回复
•
2017-03-04 10:26:24 +08:00
1
artandlol
2017-03-03 11:23:54 +08:00
系统不一样
这就变成讨论系统了
2
codehz
2017-03-03 16:58:33 +08:00
这样子明显原图都不一样啊。。一个 g 是正的一个是歪的(原图粗细也有可能不同)。。。原图能否展示一下呢。。。
3
xyxc0673
OP
2017-03-04 10:25:11 +08:00
@
codehz
我又去试了一下,结果发现只有以前下载的图片才会又这样的现象。即使我用代码同时在两个平台上下载图片,发现二值化后的线条也是细的。现在我没办法知道之前的图片和现在的图片为什么用相同的代码下载会有不同的结果。
4
xyxc0673
OP
2017-03-04 10:26:24 +08:00
@
codehz
因为原来的代码下载图片二值化后也是和 deepin 下一样的结果。。。
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
859 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms ·
UTC 21:35
·
PVG 05:35
·
LAX 14:35
·
JFK 17:35
Developed with
CodeLauncher
♥ Do have faith in what you're doing.