作者morningjis (morning)
看板Python
标题[问题] 如何打开 raw image file
时间Tue Sep 1 17:03:49 2020
请教一下 要如何打开raw image file
格式为 16-bit Unsigned
长、宽 640 480
标头档 96 bytes
上网找了一些方法,都尚未能顺利打开
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 42.77.130.138 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1598951031.A.1C9.html
1F:推 ctr1: 使用lightroom软体转成jpeg再读他 09/04 00:47
2F:推 wuhaha13116: 用imageJ可以开喔 09/05 13:16
3F:→ wuhaha13116: 不过跟用Python读写没关系就是了... 09/05 13:17
4F:→ tsaiminghan: 乱说,用PIL开一个空的image,然说设大小 09/06 09:49
5F:→ tsaiminghan: 把data填进去,再save 09/06 09:50
6F:推 CYFer: 用fopen或任何你想读档的方式读取,把值填到矩阵里面就可以 09/08 13:38
7F:→ CYFer: 秀图了。矩阵的大小由你设定,矩阵内每个元素的大小也要设 09/08 13:38
8F:→ CYFer: 定。 09/08 13:38