2007年10月4日 星期四

week2 Homework 問題

p32 ASCII PGM 格式 40種不同的格式, 為什麼有40*39 不同種轉換表 而又為何需要40*2種轉換表 ,包含PGM

week3-CH2

1. GIF為何不能儲存二元或灰階影像,有處理的方法嗎?
2.DICOM是什麼東西、做什麼用的?

WEEK3 CH2 圖形不失真?

從第2章中我們已知MATLAB使用各種編碼來處理圖檔,但是在導入圖檔時,MATLAB如何確保導入的圖檔不失真.

week3_CH2

請問當我要準備儲存圖檔時GIF、PNG和JPEG
哪個會使我的圖檔失真的很嚴重。

WEEK3-CH2

1. ColorType有哪幾種 ?
2.要怎麼判斷某張圖片是indexed or garyscale 或是其他的 ColorType ?
還是只能輸入imfinfo來看 , 那些ColorType各是代表甚麼意思 ?

Week3 Ch2 Reading

QUESTION

P26.27
關於圖片的資訊. 我試著讀取.JPG跟.BMP的圖
JPG的圖只有到
ColorType: 'truecolor'
FormatSignature: ''
NumberOfSamples: 3
CodingMethod: 'Huffman'
CodingProcess: 'Sequential'
Comment: {}
就結束了

而BMP的圖片比他多了
ColorType: 'truecolor'
FormatSignature: 'BM'
NumColormapEntries: 0
Colormap: []
RedMask: []
GreenMask: []
BlueMask: []
ImageDataOffset: 54
BitmapHeaderSize: 40
NumPlanes: 1
CompressionType: 'none'
BitmapSize: 1454436
HorzResolution: 0
VertResolution: 0
NumColorsUsed: 0
NumImportantColors: 0
這些資訊
不知道這些資訊的意思為何
還有
Colortype裡 我讀取的圖都是truecolor
沒有其他種類
不知道裡面還有哪些種類 跟代表的意思為何??

Week 3 Homework-Chapter 2

關於閱讀的詳細內容 請 前往
本次作業閱讀的問題如下:


1.
TIFF:Tagged Image File Format
HDF:Hierarchical Data Format
PCX:Design for MS-DOS-based and Microsoft products.
ICO:display icons in Microsoft Windows.
CUR:mouse cursor in Microsoft systems.
上面的圖片格式,課本有做簡單的介紹,不知道是否能親眼見到一下。

2.
PGM
我在網路上稍微搜尋了一下跟PGM有關的資料,部份資料如下:
A PGM image represents a grayscale graphic image. There are many psueudo-PGM formats in use where everything is as specified herein except for the meaning of individual pixel values. For most purposes, a PGM image can just be thought of an array of arbitrary integers, and all the programs in the world that think they're processing a grayscale image can easily be tricked into processing something else.
他說明了PGM是一個跟灰階圖片有關的影像,之後就.....????

3.
 imfinfo('picture')
 這邊我Key in了自己的圖片 show出來的圖片訊息與課本不太相似
 ans=
 Filename: 'D:\picture\msn\雷.jpg'
 FileModDate: '19-Sep-2007 23:32:51'
 FileSize: 104242
 Format: 'jpg'
 FormatVersion: ''
 Width: 300
 Height: 300
 BitDepth: 24
 ColorType: 'truecolor'
 FormatSignature: ''
 NumberOfSamples: 3
 CodingMethod: 'Huffman'
 CodingProcess: 'Sequential'
 Comment: {} 
 是否代表有辦法透過指令修改show的information?

Week3 -CH2-

1. 2.3
看完課本後,了解到索引影像有包含color map 和 index 這2個讓我想到要顯示一張彩色的圖的時 候,難道是靠這2個才能顯示的嗎? 那這2個是有怎樣的關聯呢?
2. 2.5.1
vector image是如何放大圖片而不會模糊呢?

week3_CH2

1.P.22 --- c*r=p
為什麼長*寬=灰階數值?或並非運算意義?

2. P.24 --- 最後一個指令 >>a(100,200,1:3)
為什麼用"1:3"?

3. P.27 --- the number of bits per pixel(given by BitDepth)
看不懂意思.雖然有聽人解釋為"每個pixel有一個顏色,而這個顏色被以1 bit表示,所以不是1就是0."可是還是不能理解那P.27有個範例表示:BitDepth:24又是怎麼算的?另外,truecolor是什麼顏色表示型態?

WEEK3-CH2

1.我不太懂a(100, 200, 1:3)中的1:3是什麼意思

2.2.5中 dumphex指令跑出的16進位的矩陣是什麼,看不懂

3.imfinfo中,同一個類型的圖,卻跑出不同對這張圖的描述(有多有少)

怎麼會這樣