数字图像处理课件(冈萨雷斯第三版)英文翻译课件_第1页
数字图像处理课件(冈萨雷斯第三版)英文翻译课件_第2页
数字图像处理课件(冈萨雷斯第三版)英文翻译课件_第3页
数字图像处理课件(冈萨雷斯第三版)英文翻译课件_第4页
数字图像处理课件(冈萨雷斯第三版)英文翻译课件_第5页
已阅读5页,还剩100页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Digital Image Processing,Tianjin University of Technology and Education School of Electronic Engineering 2017,Synopsis,The contents of the eight weeks are as follows: The first、second chapter is the introduction and the basic concept of image processing. The third, fourth chapter is space domain and

2、 frequency domain transform The fifth, eighth chapter is image enhancement and image restoration.,The sixth chapter is image coding The seventh, ninth chapter is image segmentation and morphology The tenth chapter, other,The first chapter is introduction,1.1 From image to image engineering Image and

3、 digital image Image technology and image engineering Related disciplines and fields. 1.2 Image processing and analysis Image processing and analysis system Image acquisition, display, storage, communication, processing and analysis module,image processing,image analysis,Image understanding,Abstract

4、 degree,Data quantity,Image foundation,1.1.1 Image and digital image What is an image? An image is a visual representation of pictures, animations, etc. The difference between graphics and computer graphics is that computer graphics are from building mathematical models to generating graphics, and i

5、mages usually refer to graphs generated from outside. The objective world is a three-dimensional space, but the general image is two-dimensional. Two dimensional images inevitably lose part of the information in the process of reflecting the three-dimensional world. Even recorded information can be

6、distorted and even difficult to recognize objects. Therefore, it is necessary to recover and reconstruct information from images, and to analyze and extract mathematical models of images so that people can have a correct and profound understanding of what is recorded in the image. This process becom

7、es the process of image processing.,1.1 From image to image engineering,Why do you need digital images? Ordinary images contain enormous amounts of information and require the use of computers to process images. Therefore, it is necessary to transform ordinary images into digital images that the com

8、puter can process. Todays digital cameras can directly convert visual images into digital images. A digital image, similar to raster graphics, consisting of finite rows and finite columns. Each basic unit is called a pixel. The voxel of a three-dimensional image is also called voxel. The two-dimensi

9、onal digital image usually is a rectangle, you can use a two-dimensional array of I (x, y) to said, where x, y coordinates in a two-dimensional space is a coordinate system, I (x, y) said in the image gray value at the point and other properties. Color can be prepared three RGB monochromatic gray va

10、lue. Generally speaking, these coordinates and gray values are real numbers, not only depend on the selection of coordinate system, but also depend on the measurement unit of gray value. However, a digital computer can only represent finite numbers of finite word lengths. Therefore, the gray value m

11、ust be discretized. Simply put, a digital image is equivalent to a finite matrix of integer values. Digital image is the object of digital image processing and analysis.,The image on the left is the image processing technique . Used to test computer algorithms A standard image of actual effects . Th

12、e name of this image is lenna . It is made up of a set of numbers. Original image The width and height are 256 pixels each .There are eight bits in pixels. It is in BMP form at About 66K bytes in size.,A brief history of digital image processing The generation of digital pictures is far ahead of the

13、 computer. The first digital image transmitted by telegraph. In six and 70s, with the development of computer hardware and the discovery of fast Fu Liye transform algorithm, it was possible to use computer to process images. Since 80s, three dimensional images have been processed. Since 90s, with th

14、e improvement of computer performance and extensive use, image processing technology has been involved in every corner of society. The image has gradually dominated the media and produced many new industries and new opportunities. The future development of the image processing is limitless. Digital

15、image processing belongs to computer science, but 90% of it relies on mathematics. From this point of view, the digital image processing technology is a very ideal direction for the students of this specialty.,1.1.2 Image technology and image engineering,Which belongs to image technology? Image tech

16、nology is a general term for the technology concerned with images. It is a kind of comprehensive technical engineering. It includes image acquisition, acquisition, encoding, storage and transmission, image generation, display and output, image transformation, enhancement, restoration and reconstruct

17、ion, image segmentation, target detection, expression and description, feature extraction, image classification, image recognition, modeling and matching, image and scene understanding. Narrow sense digital image processing refers to the enhancement, restoration and reconstruction of an image. The o

18、bject of operation is the pixel of an image, and the output is an image.,What is image engineering? (generalized digital image processing) It is composed of three systems: image processing, image analysis and image understanding. Image processing includes image acquisition and transformation from im

19、age to image, so as to improve the subjective visual effect and to do preliminary processing for image analysis and image understanding. Image analysis is to extract the data of interest from the image to describe the characteristics of the target in the image. Image understanding is based on image

20、analysis to study the nature and relationship of each object, in order to get the understanding of the content of the image and explain the original scene. Image processing, image analysis and image understanding are three different abstract processes from low to high. This course focuses on image p

21、rocessing and analysis systems.,image processing,image understanding,image analysis,Abstract degree,Data quantity,Image,Data,Symbol,1.1.3 Related disciplines and fields,Image engineering is a systematic study of various image theories, techniques and applications. From the research method, and mathe

22、matics, physics, psychology, biology, electronics, computer science can learn from each other, from the scope of it, and pattern recognition, computer vision, computer graphics and other disciplines.,1.2 Image processing and analysis,1.2.1 Image processing and analysis system The image processing an

23、d analysis system includes the following modules: image acquisition module, image display module, image storage module, image communication module and image processing and analysis module. 1.2.2 Modular Image acquisition module Image display module Image storage module Image communication module Ima

24、ge processing and analysis module,1.2.1 The data structure of an image file,The basic functions of a complete image processing program are: open image files, display images, image files for the specified processing, storage of image files. Since image files are large, they usually need to be compres

25、sed before storage. So opening and storing image files involves the format of the file. Format of image file The image file refers to the file containing the image data. In addition to the image data itself, the document generally has the image description information for the image to read and displ

26、ay. Represents a vector or raster form of an image.In vector form, the image is represented by a series of line segments or line segments, and the gray levels of the segments can be different. Each part of the composite body can be filled with different gray levels. A vector form file has a series o

27、f commands and data, and the result is an image.,Image data file is mainly raster form, that is, the image is a collection of image points, more suitable for complex images change. Its main drawback is the lack of links between objects and pixels, and changes in the image during the expansion of the

28、 image. For example, common image file types are BMP, JPG, and so on. The image processing program must consider the format of the image file, otherwise it is not possible to open and save the image file properly. Pgm format Many universities in the United States use pgm format to avoid using compre

29、ssed file formats, which is very convenient for beginners. Here is an image of this format.,This is a color picture in pgm format,This is the pgm format, color photos, 16 part system code. The original code is not a string of branches. Its written in the form of a branch (attention: LF= SP= newline;

30、 space; #= comment line): 0 x50 0 x35 0 x0A expressP5 (LF); 0 x23 0 x20 0 x20 0 x49 0 x0A expess #(SP)(SP)I(LF) ; 0 x36 0 x34 0 x30 0 x20 0 x34 0 x38 0 x30 0 x0A express 640(SP)480(LF); 0 x32 0 x35 0 x35 0 x0A expess 255(LF) 0 x27 0 x27 express 23, 23,(Pixel gray value), ,The decoding of this image

31、file:,P5 # Imported from SUN image: LEGGO_HOUSE_1.0.intensity 640 480 255 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x26 0 x27 0 x27 0 x27 0 x28 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x26 0 x27 0 x2

32、6 0 x27 0 x28 0 x27 0 x27 0 x26 0 x27 0 x27 0 x27 0 x28 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x28 0 x28 0 x27 0 x28 0 x29 0 x28 0 x27 0 x28 0 x28 0 x28 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x28 0 x27 0 x28 0 x28 0 x28 0 x28 0 x28 0 x28 0 x28 0 x28 0 x28 0 x29 0 x29 0 x29 0 x28 0 x28 0 x28 0 x2

33、8 .,PGM format digital image file is a common form of image processing, teaching and research in American computer science. Although the volume of files is relatively large, the pixel is directly related to the number, so it is easy to check and modify. It consists of two parts: 1、 the first part is

34、 the file head, which consists of several rows: The first line illustrates the type of file, for example, P2 (for black and white images) or P5 (for color images); Then is to # at the beginning of the annotation, the comment line does not perform in the software when the image is opened, can not com

35、ment, or how to # at the beginning of the comment line; The first line after the comment line specifies the size of the digital image, for example, 640480 (640 pixels wide, 480 pixels high, with a space in the middle); The next line specifies the gray scale of the image, for example, 255. There are

36、no punctuation marks at the end of each line. 2、The 2 and second parts are bitmap arrays that are no longer segmented. For example, in the 256 gray scale, the P2 type is one pixel, one byte (8 bits), and the P5 type is one pixel, three bytes (R, G, B, 8 bits each).,The second chapter is about image

37、and vision,2.1 Introduction and review The foundation includes three parts: vision base, imaging base and image foundation: Visual basis (human eyes and brightness, vision, color, vision) Imaging Fundamentals (model, geometry, and sampling quantization) Image basis (inter pixel relation, image opera

38、tion and image coordinate transformation) Be careful: Visual: refers to the stimulation of light to the senses and the sense of the visual system. Visual perception: how to form an image of the external world through vision.,2.2 Human eye and brightness vision,2.2.1 Human eye image The human eye is

39、a complex visual organ. The front of the eye has a lens, the lens of a camera. The posterior part of the eyeball has the retina. There are two photoreceptors on the surface of the retina: cones and column cells. There are six and seven million cone cells in the eye, which are sensitive to bright lig

40、ht and color. The eye divides the details with the aid of cones, because each cone is connected to the nerve ending. The vision of cones is called light vision. There are 750 thousand to 1 million 500 thousand column cells in the eye. They are large, and several column cells are attached to one nerv

41、e end. Low resolution, mainly providing overall visual impression. Although they are not sensitive to color, they are sensitive to weak light. The vision of cylindrical cells is called dark vision.The center of the retina is the fovea, an area of about 1.5 1.5mm2 long, the cone cell density reached

42、150000 /mm2, is the most sensitive eye area.,Human eye structure,人眼成像,Density and distribution of cones and column cells,2.2.2 Brightness adaptation and differentiation,Subjective brightness and subjective adaptability, because the digital image displays the image with objective brightness, the huma

43、n eye gets the vision with subjective brightness, so the brightness adaptability of human eye affects the result of image processing. The visual system of the human eye can adapt to the brightness level of the light, from visible darkness to glare, the difference can reach 1010 levels. But the human

44、 eye does not see objects in such a large range at the same time, and can only adapt to a small range of brightness changes at the same time (level 106).,Under certain conditions, the current sensitivity of a visual system is called the brightness adaptation level. The sensitivity is verified by exp

45、eriments. In the experiment, gradually increase the light intensity of I, change a lot for I, to achieve a number of observers can perceive, when people perceived half of the increase in the I/I Weber ratio has become a lot, as the sensitivity of the current visual system. In very strong light, it i

46、s necessary to change the intensity of the light to allow multiple observers to perceive; on the contrary, in a certain intensity of light, the slight changes in light intensity will make people perceive.,The subjective brightness of the human eye is nonlinear, for example, the Mach band,Optical ill

47、usions of human eyes,2.3 color vision,According to the structure of the human eye, all colors are different combinations of three basic colors,All colors can be regarded as the superposition of three basic colors, can be seen as the three color (a color removal from white) superposition,Three basic

48、features of color: gray, hue and saturation, and the latter are called chromaticity. The gray scale is proportional to the reflectivity of the object; the hue is related to the main spectrum in the light; the saturation is related to the purity of the hue. The three stimuli that make up the color C

49、are X, Y, Z, and the percentages are x, y, ZX = X/ (X+Y+Z), y = Y/ (X+Y+Z), z = 1 - X - Y.,2.5 imaging transformation,Let W (X, Y, Z) be the coordinates of any point in the 3D space, Z =According to the properties of similar triangles,x/ = X/(-Z),y/ = Y/(-Z), x = X/(-Z),y = Y/(-Z) Make use of point

50、wh homogeneous coordinates (kX, kY, kZ, K) 1 0 0 0 P= 0 1 0 0 0 0 1 0 0 0 -1/ 1 ch = Pwh = P(kX, kY, kZ, k) =(kX, kY, kZ, -(k/)Z+k)= (x,y,z,1) x = kX/(-k/Z+k)=X/(-Z), the same way to get y and Z,x,Z,(X,Y,Z),0,wh = P-1ch 1 0 0 0 P-1= 0 1 0 0 0 0 1 0 0 0 1/ 1 wh = P-1 (x,y,0,1) = (x,y,0,1). There is n

51、o coordinate component Z, so the point of 3D cannot be representedIf additional depth information Z is known, then the point of 3D can be represented, (X,Y,Z,1) = wh = P-1(x,y,z,1) = (x,y,z, z/+1). 其中, X = x/(+z), Y = y/(+z), Z = z/(+z),2.6 sampling and quantification,An image needs to be discretize

52、d to become a digital image before it can be processed by a computer. The discretization of spatial coordinates of images is called spatial sampling, and the discretization of grayscale is called grayscale quantization. Sampling is divided into uniform sampling and quantification and nonuniform samp

53、ling and quantification. Suppose the image is a rectangle. Take M long N the same as the size of the grid in the plane, and the gray level is divided into G. The closest gray number at each point in each grid is taken as the gray level of the grid. Usually, take M=2m, N=2n, and G=2k. The number of b

54、its needed to store an image is equal to b=MNk. For example, an image of 128 long 128, 64 gray level needs 220, 512 long 512, 256 image gray level to 226. The number of sampling and the selection of gray level are related to the resolution and storage ability, which need to be considered comprehensi

55、vely. Such as: The effect of changes in image spatial resolution. The effect of changes in image gray scale resolution. The effect of simultaneous changes in image space and gray scale resolution.,The effect of changes in image spatial resolution,The effect of changes in image gray scale resolution,

56、Effect of changes in image gray scale resolution (2),Nonuniform sampling and quantization,Given the spatial resolution, the quality of the image can be improved by adaptive sampling process according to the image characteristics. For example, areas with large variations in gray levels should be samp

57、led more closely. Also, for example, the frequency of all gray values can be calculated. If a range of gray values appear frequently, and in other areas, the gray values appear more sparse, then in this range, the quantization gray scale is more dense, and in other areas less dilute.,2.7 Pixel conne

58、ction,Pixels have four neighborhood N4 and eight neighborhood N8。 Pixel connectivity consists of 4- connections, 8- connections, and hybrid connections (m- connections). Call points R and P are mixed connections, if R and P are 4- connections, or R and P are 8- connected, but not 4- connected. The h

59、ybrid connection avoids ambiguity arising from 8- connectivity.,2.8 Arithmetic and logic The four operations of the image are done one by one as image points. The addition is used to remove noise commonly used in medical imaging, subtraction, multiplication and division is often used to correct the image of the gray shadow. Commonly used logical operations are (1)(AND) (2)(OR) (3)(NOT) The above operations can be used either for the whole image or for neighborhood operations. For example, the arithmetic m

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论