l Pixel Pix Picture element l 2 D Slides: 51 Download presentation ピクセル l Pixel = Pix (Picture) element l 2 -Dデジタル画像の画素単位 0 1 columns n N-1 0 1 rows m M-1 Digital image M x N pixels ボクセル l Voxel = Volume element l 3 -Dデジタル画像の画素単位 l 0 m Digital image L x M x N pixels n グリッド l 利用が可能であろう3種類のグリッド形式 Triangular grid Square grid Hexagonal grid 解像度 l 何ピクセルあれば十分か? 40 x 30 pixels 80 x 60 pixels 160 x 120 pixels 320 x 240 pixels 解像度(続き) l 離れて見てみると 40 x 30 pixels 80 x 60 pixels 160 x 120 pixels 320 x 240 pixels 表現の色数 l 何色で十分か? 16. 7 million colors 256 colors 16 colors 4 colors 平均値フィルタ l 隣接点の値を平均して置き換える 0 5 4 6 4 3 7 7/ 9 8 8/ 9 5 5/ 9 5 1 3/ 9 1 7/ 9 1 8/ 9 5 5 5 9 9/ 9 10 10/ 9 8 8/ 9 8 1 5/ 9 1 9/ 9 110 /79 8 8 3 7 7/ 9 8 8/ 9 0 0/ 9 9 1 3/ 9 1 7/ 9 1 8/ 9 0 8 9 1 5 7 9 10 3 x 3 (5 x 5) (7 x 7) 平均値フィルタ(続き) l 重み付け平均では 0 5 4 6 4 3 7 /716 16 8 / 16 5 /516 5 1 /316 2 /716 1 /816 5 5 5 18 /916 4010 / 16 16 8 / 16 8 2 /516 4 /916 2 10 / 816 8 8 3 7 /716 16 8 / 16 0 /016 9 1 /316 2 /716 1 /816 0 6 9 9 10 1 5 7 Gradient-base (続き) l オペレータの種類 l Roberts l Prewitt l Sobel Gradient-base (続き) l 例 Prewittオペレータ Dx Dy Laplacian operator l 2回微分のオペレータ 4 direction エッジの強さが得られる 8 direction Laplacian operator (続き) l 例 Laplacianオペレータ 4 direction 8 direction Laplacian Of Gaussian (続き) l 例 LOGオペレータ 2値化 l例 Fig. from Digital Image Processing (Springer) References l Bernd Jahne, “Digital Image Processing”, Springer l 谷口慶治,“画像処理 学”,共立出版