2007年10月3日 星期三

Week3-Images & MatLab

1.(page 34)就是在Command Window打入dumphex('blocksets.bmp',4)指令之後,
會Show出hexadecimal dump function如下
42 4D 6E 18 00 00 00 00 00 00 36 00 00 00 28 00 BMn.......6...(.
00 00 42 00 00 00 1F 00 00 00 01 00 18 00 00 00 ..B.............
00 00 38 18 00 00 C4 0E 00 00 C4 0E 00 00 00 00 ..8.............
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

除了寬度、高度(像素位單位)以外,還可以知道哪些?
如果要從裡面看,要怎麼判斷呢??

2.我將灰階和彩色各一圖片合併起來時,要imread時,出現下列錯誤:
>> a=imread('123.tif');
Warning: RGB image has 4 (not 3) samples per pixel.
為什麼呢?

1 則留言: