2007年10月4日 星期四
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
沒有其他種類
不知道裡面還有哪些種類 跟代表的意思為何??
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?
本次作業閱讀的問題如下:
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是如何放大圖片而不會模糊呢?
看完課本後,了解到索引影像有包含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是什麼顏色表示型態?
為什麼長*寬=灰階數值?或並非運算意義?
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是什麼顏色表示型態?
訂閱:
文章 (Atom)