当前位置:文档之家› 数字图像处理-第二章

数字图像处理-第二章

设图像f(x,y)是一采样后的图像,因此它有M行和N列。我们称图 像的大小(或尺寸)是M×N,坐标(x,y)的值是离散的量。
chart 02 Fundamentals
2.1 Digital Image Representation 数学图像的表示
2.2 Reading Images 读图像
2.3 Displaying Images 显示图像
2.5 Data Classes (omitted, self-study) 数据的类型(略,自学)
据此,许多针对单色图像所开发的技术,要以扩展到彩色图像上。 即通过单独对三个成份图像分别处理。
实例说明
实现代码:
I=imread('2353.jpg'); imshow(I); I1 = I;I2=I;I3 = I; I1(:,:,1) =I(:,:,1); I1(:,:,2) =0; I1(:,:,3) =0; I2(:,:,2)=I(:,:,2); I2(:,:,1)=0; I2(:,:,3)=0; I3(:,:,3)=I(:,:,3); I3(:,:,1)=0; I3(:,:,2)=0; figure;imshow(I); figure;imshow(I1); figure;imshow(I2); figure;imshow(I3);
采样和量化的结果将得到一个实数矩阵。在本书中我们使用两个 主要方法来表示图像。
Assume that an image f(x,y) is sampled so that the resulting image has M rows and N columns. We say that the image is of size M×N. The values of the coordinates (x,y) are discrete quantities.
Converting such an image to digital form requires that the coordinates, as well as the amplitude, be digitized.
将上述连续图像转换成数字形式,需要将坐标x、y和幅度f数字化。
Digitizing the coordinate values is called sampling; digitizing the amplitude values is called quantization.
2.1.1 Coordinate Conventions
The result of sampling and quantizbers. We use two principal ways in this book to represent digital images.
将坐标值数字化称为采样;幅值的数字化称为量化。
Thus, when x, y, and the amplitude values of f are all finite, discrete quantities, we call the image a digital image.
因而,当x、y和幅度f都是有限的离散的量时,我们称图像为数字 图像。
2.6 Image Types 图像的类型
2.7 Converting between Data Classes and Image Types 图像类型与数据类型之间的转换
2.8 Array Indexing (omitted, self-study) 数组的索引(下标)(略,自学)
2.9 Some Important Standard Arrays (omitted) 一些重要的标准数组(略)
一幅图像被定义为一个二元(维)函数f(x,y),x和y是空间(平面) 坐坐标,在坐标对(x,y)处的幅值f称为图像在该点处的亮度值或灰度等 级(或灰度级)
Color images are formed by a combination of individual 2-D images. For example, in the RGB color system, a color image consists of three (red, green, and blue) individual component images.
2.1 Digital Image Representation
An image may be continuous with respect to the x- and ycoordinates, and also in amplitude.
一幅图像关于x和y坐标可以是连续的(即位置上连接),幅值也 可以是连续的(即亮度上是连续的)。
颜色图像可由单个2维图像组合而成。例如在RGB颜色系统中, 颜色图像是由三个单色成份(即红、绿和蓝)的图像组成。
For this reason , many of the techniques developed for monochrome images can be extended to color images by processing the three component images individually.
2.10 M-Function Programming (omitted, self-study) M-函数编程(略,自学)
2.1 Digital Image Representation
An image may be defined as a two-dimensional function, f (x,y) , where x and y are spatial (plane) coordinates, and the amplitude of f at any pair of coordinates (x,y) is called the intensity or gray level of the image at that point.
相关主题