作者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/m.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