博客
关于我
Open3D 读取、显示、保存图片
阅读量:611 次
发布时间:2019-03-12

本文共 378 字,大约阅读时间需要 1 分钟。

Open3D 图像处理功能说明

一、主要功能

在 Open3D 中,我们可以通过 o3d.io.read_image('y7.png') 读取图片数据,支持的格式包括 JPG 和 PNG。

通过 print(img) 可以快速获取图片的尺寸信息。
写入图片文件可以使用 o3d.io.write_image('天使.jpg', img),同样支持 JPG 和 PNG 格式。
最后,通过 o3d.visualization.draw_geometries() 接口可以将图片与几何体绘制在一起进行展示。

二、代码实现

以下是 Open3D 图像处理功能的代码示例:

```pythonimport open3d as o3dprint("Testing IO for images")img = o3d.io.read_image('y7.png')```

转载地址:http://vrexz.baihongyu.com/

你可能感兴趣的文章
Referenced classpath provider does not exist: org.maven.ide.eclipse.launchconfig
查看>>
Refactoring-Imporving the Design of Exsiting Code — 代码的坏味道
查看>>
PHP imap 远程命令执行漏洞复现(CVE-2018-19518)
查看>>
php include和require
查看>>
ref 和out 区别
查看>>
php JS 导出表格特殊处理
查看>>
php json dom解析
查看>>
ReentrantReadWriteLock读写锁解析
查看>>
php laravel实现依赖注入原理(反射机制)
查看>>
php laravel请求处理管道(装饰者模式)
查看>>
ReentrantReadWriteLock读写锁底层实现、StampLock详解
查看>>
PHP mongoDB 操作
查看>>
ReentrantLock读写锁
查看>>
ReentrantLock的公平锁与非公平锁
查看>>
php mysql procedure获取多个结果集
查看>>
php mysql query 行数,PHP和MySQL:返回的行数
查看>>
php mysql session_php使用MySQL保存session会话
查看>>
PHP mysql_real_escape_string() 函数防SQL注入
查看>>
php mysql优化方法_MySQL优化常用方法
查看>>
PHP OAuth 2.0 Server
查看>>