文档详情

digital image processing projects 数字图像处理 冈萨雷斯 第三章所有程序和报告.docx

发布:2017-11-29约8.63千字共23页下载文档
文本预览下载声明
Digital Image ProcessingProject chapter: Chapter 3Project number:Proj03-01 ~ Proj03-06Students name: Students number:Class:ContentsImage Enhancement Using Intensity Transformations1Histogram Equalization7Arithmetic Operations10Spatial Filtering14Enhancement Using the Laplacian17Unsharp Masking20Image Enhancement Using Intensity TransformationsExp. 5,PROJECT 03-01ObjectiveTo manipulate a technique of image enhancementbyintensitytransformation or gray level transformation.RequirementsThe focus of this project is to experiment with intensity transformations toenhance an image. Download Fig. 3.8(a) and enhance it using:(a) The log transformation of Eq. (3.2-2): s=clog(1+r);(b) A power-law transformation of the form shown in Eq. (3.2-3): s=crγ.Figure 9 Fig 3.05(a)Figure 10Fig. 3.8(a)Technical discussion【1】I = mat2gray(A)sets the values of amin and amax to the minimum and maximum values in A.【2】I2 = im2uint8(I1)converts the grayscale image I1 to uint8, rescaling the data if necessary.Program listings【1】log transformationI=imread(Fig3.05(a).jpg);subplot(121);imshow(I);title(original);I1=im2uint8(mat2gray(log(1+double(I))));subplot(122);imshow(I1);title(log transformation);【2】power-law transformationI=imread(Fig3.08(a).jpg);subplot(221);imshow(I);title(original);J=double(I);I1=im2uint8(mat2gray(J.^0.6));subplot(222);imshow(I1);title(power-law:\gamma=0.6);I2=im2uint8(mat2gray(J.^0.4));subplot(223);imshow(I2);title(power-law:\gamma=0.4);I3=im2uint8(mat2gray(J.^0.3));subplot(224);imshow(I3);title(power-law:\gamma=0.3);Discussion of resultsFigure 11 results of log transformationFigure 12 results of power-law transformationAnalysisLog transformation can diminish dynamic range of the image.Power-law transformation can change the contrast of the image.Histogram EqualizationExp. 6,PROJECT 03-02 [Multiple Uses]ObjectiveTo manipulate a technique of image enhancement by histogramequalization.Requirements(a) Write a computer program for computing the histogram of animage.(b)
显示全部
相似文档