python - 在matlab中打开但不是python的图像
问题描述
我有一个多层.tiff
图像,我可以在 matlab 中使用imfinfo
或imread
. 结果看起来和我预期的一样。
但是,我无法在 python 中打开图像:PIL.Image.open
失败UnidentifiedImageError: cannot identify image file
并exifreader
显示图像标签。
我假设tiff
python包正在检查标准的某些部分而matlab没有,但我不知道如何进一步调试。找出图像如何损坏的第一步是什么?
解决方案
推荐阅读
- bash - Crontab 电子邮件主题中的日期
- python - 分离子进程以继续执行程序
- python - 使用 Python 以纳秒为单位计算时间过程
- asp.net - 寻呼机更小且无边界
- java - OrientDB 3.0.0 创建嵌入式给出 java.lang.NullPointerException
- android - 输入类型文件不适用于 Android 6
- django - 删除字符串列表周围的双引号
- java - Spring thymleaf 如何从 jquery 数据表中添加 th:href="@{}"
- java - 读取 .csv 文件(系统找不到指定的文件)
- html - 在部门菜单的悬停上闪烁我想创建下拉菜单