wakebox wrote:
看到這篇覺得很有意思...(恕刪)
DOS下直接鍵入dcraw.exe後,會出現參數說明
其中有一段提到
-4 Write 16-bit linear instead of 8-bit with gamma
轉成16-bit,也就是加上-4這參數,代表的是Write 16-bit linear
linear這字眼,以我的理解是「未壓縮」,也就是1:1方式寫入TIFF
(在錄音時,也有一個不壓縮的格式稱為Linear PCM: an uncompressed audio format)
您以8-bit方式轉換,也就是不加上-4的參數,會變成Write 8-bit with gamma
國外論壇提到:
You will lose information when coding to 8 bit.
If that loss is important or not, only you can decide.
那什麼是with gamma?
也就是利用調整gamma來對lose的information做補償
所以你會看到顏色更淡、卻比較明亮到照片
dodoba21 wrote:
DOS下直接鍵入dcraw.exe後,會出現參數說明
其中有一段提到
-4 Write 16-bit linear instead of 8-bit with gamma
這部份指的不是壓縮與否,而是量化的方式是使用Linear Quantizer or Non-Linear(Log or Gamma) Quantizer。
Linear Quan.就是不管高頻還是低頻都是使用相同寬度的量化區間。
訊息保留量最高,但容量大。
Gamma/Log/Non-Linear Quan.則是針對高頻與低頻用不同寬度的量化區間。
在voice quan.的部份經常使用這種技巧。
http://kivava.blogspot.com