数字图像处理中利用matlab完成图像复原、彩色变换、边缘检测、二值图像细化和伪彩色处理(

  • 虫虫123456
    了解作者
  • matlab
    开发工具
  • 3.8MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 5 积分
    下载积分
  • 0
    下载次数
  • 2022-06-24 23:42
    上传日期
数字图像处理中利用matlab完成图像复原、彩色变换、边缘检测、二值图像细化和伪彩色处理(
46765172Digital-image-processing(2).rar
  • (7).DIP_彩色变换
  • Matlab源文件
  • Untitled.m
    2.5KB
  • 处理结果图像
  • G单色图像.jpg
    35.7KB
  • b_hist.fig
    8KB
  • S分量图.jpg
    27.1KB
  • R单色图像.jpg
    33.7KB
  • H分量图.jpg
    35.6KB
  • r_hist.fig
    8KB
  • B单色图像.jpg
    35.2KB
  • g_hist.fig
    8KB
  • HSI图像.jpg
    41.1KB
  • I分量图.jpg
    7.2KB
  • 原始图像
  • Aral1997.tif
    427.4KB
  • 程序说明文档.doc
    699.5KB
  • 本次作业报告.doc
    701KB
  • (10).DIP__伪彩色处理
  • Matlab源文件
  • Untitled.m
    2.4KB
  • 处理结果图像
  • 伪彩色图像.jpg
    123.1KB
  • untitled.fig
    291KB
  • 原始图像
  • 3-elaine.tif
    256.1KB
  • 程序说明文档.doc
    86KB
  • 本次作业报告.doc
    88KB
  • (8).DIP_边缘检测
  • Matlab源文件
  • Untitled.m
    5.4KB
  • 处理结果图像
  • 边缘明显的图拉普拉斯算子检测边缘.jpg
    15.8KB
  • 边缘不明显的图Prewitt算子检测边缘.jpg
    16.5KB
  • 边缘明显的图Sobel算子检测边缘.jpg
    10.9KB
  • 边缘明显的图kirsch算子检测边缘.jpg
    21.8KB
  • 边缘明显的图prewitt算子检测边缘.jpg
    10.6KB
  • 边缘不明显的图拉普拉斯算子检测边缘.jpg
    30.8KB
  • 边缘明显的图Roberts算子检测边缘.jpg
    10.7KB
  • 边缘不明显的图Roberts算子检测边缘.jpg
    12.5KB
  • image1.fig
    81.1KB
  • image2.fig
    95.7KB
  • 边缘不5明显的图kirsch算子检测边缘.jpg
    35.8KB
  • 边缘不明显的图Sobel算子检测边缘.jpg
    17KB
  • 原始图像
  • 6-Cman.tif
    64.2KB
  • smandril.tif
    64.2KB
  • 程序说明文档.doc
    111.5KB
  • 本次作业报告.doc
    118.5KB
  • (6).DIP_图像复原
  • Matlab源文件
  • Untitled.m
    4.3KB
  • 处理结果图像
  • 平均滤波后的图像.jpg
    7.3KB
  • 滤除均匀噪声后的图像.jpg
    7.2KB
  • 滤除高斯噪声后的图像.jpg
    6.9KB
  • 加了均匀噪声的图像.jpg
    10.8KB
  • 加了高斯噪声的图像.jpg
    19KB
  • 原始图像
  • 5-Einstein.tif
    64.2KB
  • 程序说明文档.doc
    210.5KB
  • 本次作业报告.doc
    216KB
  • (9).DIP_二值图像细化
  • Matlab源文件
  • Untitled.m
    1.1KB
  • 处理结果图像
  • 灰度图像.jpg
    9.2KB
  • 二值图像.jpg
    7.6KB
  • 细化图像.jpg
    7.5KB
  • 原始图像
  • 04_step02.jpg
    10KB
  • 程序说明文档.doc
    85KB
  • 本次作业报告.doc
    216.5KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/62b5dd17f3cc394cf1c1aa83/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/62b5dd17f3cc394cf1c1aa83/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="fs1"> </span> <span class="ff2 fs2">&#20316;&#19994;&#25253;&#21578;</span></div><div class="t m0 x1 h3 y3 ff2 fs2 fc0 sc0 ls0 ws0">&#19968;&#65294;<span class="_ _0"> </span><span class="fs0">&#31243;&#24207;&#30340;&#30446;&#30340;</span></div><div class="t m0 x2 h4 y4 ff2 fs0 fc0 sc0 ls0 ws0">&#26159;<span class="_ _1"></span>&#23545;<span class="_ _1"></span>&#32473;<span class="_ _1"></span>&#23450;<span class="_ _1"></span>&#30340;<span class="_ _1"></span>&#19968;<span class="_ _2"></span>&#24133;<span class="_ _3"> </span><span class="ff1">RGB<span class="_ _3"> </span></span>&#21407;<span class="_ _2"></span>&#22987;<span class="_ _1"></span>&#22270;<span class="_ _1"></span>&#20687;<span class="_ _2"></span>&#65288;<span class="_ _1"> </span>&#22914;<span class="_ _3"> </span><span class="ff1">bmp<span class="_ _3"> </span></span>&#26684;<span class="_ _2"></span>&#24335;<span class="_ _1"> </span>&#65289;<span class="_ _1"></span>&#65292;<span class="_ _1"></span>&#32473;<span class="_ _1"></span>&#20986;<span class="_ _1"></span>&#24182;<span class="_ _2"></span>&#26174;<span class="_ _1"> </span>&#31034;<span class="_ _1"></span>&#35813;<span class="_ _1"></span>&#22270;<span class="_ _1"></span>&#30340;</div><div class="t m0 x1 h4 y5 ff1 fs0 fc0 sc0 ls0 ws0">R<span class="_ _4"></span><span class="ff2">&#12289;<span class="_ _4"></span></span>G<span class="_ _4"></span><span class="ff2">&#12289;<span class="_ _4"></span></span>B<span class="_"> </span><span class="ff2">&#21333;<span class="_ _4"></span>&#33394;<span class="_ _4"></span>&#22270;<span class="_ _4"></span>&#20687;<span class="_ _4"></span>&#65292;<span class="_ _4"></span>&#32472;<span class="_ _4"></span>&#21046;<span class="_ _5"> </span></span>R<span class="_ _4"></span><span class="ff2">&#12289;<span class="_ _4"></span></span>G<span class="_ _4"></span><span class="ff2">&#12289;<span class="_ _4"></span></span>B<span class="_"> </span><span class="ff2">&#22270;<span class="_ _4"></span>&#20687;<span class="_ _4"></span>&#21508;<span class="_ _4"></span>&#33258;<span class="_ _4"></span>&#30340;&#30452;<span class="_ _4"></span>&#26041;<span class="_ _4"></span>&#22270;<span class="_ _4"></span>&#65307;<span class="_ _4"></span>&#23558;<span class="_ _6"> </span></span>RGB<span class="_"> </span><span class="ff2">&#26041;<span class="_ _4"></span>&#24335;<span class="_ _4"></span>&#36716;<span class="_ _4"></span>&#25442;<span class="_ _4"></span>&#20026;</span></div><div class="t m0 x1 h4 y6 ff1 fs0 fc0 sc0 ls0 ws0">HIS<span class="_ _7"> </span><span class="ff2">&#26041;&#24335;&#65292;&#20877;&#32473;&#20986;&#24182;&#26174;&#31034;&#35813;&#22270;&#30340;<span class="_ _7"> </span></span>H<span class="ff2">&#12289;</span>I<span class="ff2">&#12289;</span>S<span class="_ _7"> </span><span class="ff2">&#19977;&#20010;&#20998;&#37327;&#30340;&#22270;&#20687;&#12290;</span></div><div class="t m0 x1 h3 y7 ff2 fs2 fc0 sc0 ls0 ws0">&#20108;&#65294;<span class="_ _0"> </span><span class="fs0">&#36816;&#34892;&#29615;&#22659;</span></div><div class="t m0 x2 h4 y8 ff1 fs0 fc0 sc0 ls0 ws0">Matlab<span class="_ _7"> </span><span class="ff2">&#24179;&#21488;&#65292;&#32534;&#20889;</span>.m<span class="_ _7"> </span><span class="ff2">&#31243;&#24207;&#23454;&#29616;</span></div><div class="t m0 x1 h3 y9 ff2 fs2 fc0 sc0 ls0 ws0">&#19977;&#65294;<span class="_ _0"> </span><span class="fs0">&#31243;&#24207;&#20195;&#30721;</span></div><div class="t m0 x1 h5 ya ff1 fs0 fc0 sc0 ls0 ws0">clear;</div><div class="t m0 x1 h4 yb ff1 fs0 fc0 sc0 ls0 ws0">%<span class="ff2">&#35835;&#21462;&#22270;&#20687;</span></div><div class="t m0 x1 h4 yc ff1 fs0 fc0 sc0 ls0 ws0">add_name = input('<span class="ff2">&#35831;&#36755;&#20837;&#19968;&#24133;<span class="_ _7"> </span></span>RGB<span class="_ _7"> </span><span class="ff2">&#22270;&#20687;&#30340;&#36335;&#24452;&#21644;&#21517;&#23383;</span>&gt; ','s');</div><div class="t m0 x1 h5 yd ff1 fs0 fc0 sc0 ls0 ws0">image = imread(add_name);</div><div class="t m0 x1 h5 ye ff1 fs0 fc0 sc0 ls0 ws0">[row<span class="_ _8"></span>,col,q] = size(image); </div><div class="t m0 x1 h4 yf ff1 fs0 fc0 sc0 ls0 ws0">%<span class="ff2">&#35835;&#21462;<span class="_ _7"> </span></span>RGB3<span class="_ _7"> </span><span class="ff2">&#20998;&#37327;&#30340;&#21333;&#33394;&#22270;</span></div><div class="t m0 x1 h5 y10 ff1 fs0 fc0 sc0 ls0 ws0">r_image = image(:,:,1);</div><div class="t m0 x1 h4 y11 ff1 fs0 fc0 sc0 ls0 ws0">imwrite(r_image,'R<span class="_ _7"> </span><span class="ff2">&#21333;&#33394;&#22270;&#20687;</span>.jpg');</div><div class="t m0 x1 h5 y12 ff1 fs0 fc0 sc0 ls0 ws0">g_image = image(:,:,2);</div><div class="t m0 x1 h4 y13 ff1 fs0 fc0 sc0 ls0 ws0">imwrite(g_image,'G<span class="_ _7"> </span><span class="ff2">&#21333;&#33394;&#22270;&#20687;</span>.jpg');</div><div class="t m0 x1 h5 y14 ff1 fs0 fc0 sc0 ls0 ws0">b_image = image(:,:,3);</div><div class="t m0 x1 h4 y15 ff1 fs0 fc0 sc0 ls0 ws0">imwrite(b_image,'B<span class="_ _7"> </span><span class="ff2">&#21333;&#33394;&#22270;&#20687;</span>.jpg');</div><div class="t m0 x1 h4 y16 ff1 fs0 fc0 sc0 ls0 ws0">show1 =<span class="_ _9"></span> input('<span class="_ _4"></span><span class="ff2">&#26159;&#21542;<span class="_ _9"></span>&#26174;<span class="_ _9"></span>&#31034;<span class="_ _5"> </span></span>R<span class="_ _7"> </span><span class="ff2">&#21333;&#33394;<span class="_ _9"></span>&#22270;&#20687;<span class="_ _9"></span>&#21450;<span class="_ _9"></span>&#20854;<span class="_ _9"></span>&#30452;&#26041;<span class="_ _9"></span>&#22270;<span class="_ _9"></span>&#65292;<span class="_ _9"></span>&#26174;<span class="_ _9"></span>&#31034;&#35831;<span class="_ _9"></span>&#36755;<span class="_ _9"></span>&#20837;<span class="_ _6"> </span></span>1<span class="ff2">&#65292;&#19981;<span class="_ _9"></span>&#26174;<span class="_ _9"></span>&#31034;<span class="_ _9"></span>&#35831;&#36755;<span class="_ _9"></span>&#20837;</span></div><div class="t m0 x1 h4 y17 ff1 fs0 fc0 sc0 ls0 ws0">0<span class="ff2">&#65292;&#27809;&#26377;&#36755;&#20837;&#40664;&#35748;&#20026;<span class="_ _7"> </span></span>1&gt; ');</div><div class="t m0 x1 h5 y18 ff1 fs0 fc0 sc0 ls0 ws0">if isempty(show1)</div><div class="t m0 x1 h5 y19 ff1 fs0 fc0 sc0 ls0 ws0"> show1 = 1</div><div class="t m0 x1 h5 y1a ff1 fs0 fc0 sc0 ls0 ws0">end</div><div class="t m0 x1 h5 y1b ff1 fs0 fc0 sc0 ls0 ws0">if (show1 == 1)</div><div class="t m0 x1 h5 y1c ff1 fs0 fc0 sc0 ls0 ws0"> imshow(r_image);</div><div class="t m0 x1 h4 y1d ff1 fs0 fc0 sc0 ls0 ws0"> title('R<span class="_ _7"> </span><span class="ff2">&#21333;&#33394;&#22270;&#20687;</span>');</div><div class="t m0 x1 h5 y1e ff1 fs0 fc0 sc0 ls0 ws0"> figure;</div><div class="t m0 x1 h5 y1f ff1 fs0 fc0 sc0 ls0 ws0"> imhist(r_image);</div><div class="t m0 x1 h4 y20 ff1 fs0 fc0 sc0 ls0 ws0"> title('R<span class="_ _7"> </span><span class="ff2">&#21333;&#33394;&#22270;&#20687;&#30340;&#30452;&#26041;&#22270;</span>');</div><div class="t m0 x1 h5 y21 ff1 fs0 fc0 sc0 ls0 ws0">end</div><div class="t m0 x1 h4 y22 ff1 fs0 fc0 sc0 ls0 ws0">show2 =<span class="_ _9"></span> input('<span class="_ _9"></span><span class="ff2">&#26159;<span class="_ _9"></span>&#21542;<span class="_ _9"></span>&#26174;<span class="_ _9"></span>&#31034;<span class="_ _a"> </span></span>G<span class="_ _7"> </span><span class="ff2">&#21333;<span class="_ _9"></span>&#33394;&#22270;<span class="_ _9"></span>&#20687;<span class="_ _9"></span>&#21450;<span class="_ _9"></span>&#20854;&#30452;<span class="_ _9"></span>&#26041;<span class="_ _9"></span>&#22270;<span class="_ _9"></span>&#65292;&#26174;<span class="_ _9"></span>&#31034;<span class="_ _9"></span>&#35831;<span class="_ _9"></span>&#36755;&#20837;<span class="_ _5"> </span></span>1<span class="_ _9"></span><span class="ff2">&#65292;<span class="_ _9"></span>&#19981;<span class="_ _9"></span>&#26174;&#31034;<span class="_ _9"></span>&#35831;<span class="_ _9"></span>&#36755;<span class="_ _9"></span>&#20837;</span></div><div class="t m0 x1 h4 y23 ff1 fs0 fc0 sc0 ls0 ws0">0<span class="ff2">&#65292;&#27809;&#26377;&#36755;&#20837;&#40664;&#35748;&#20026;<span class="_ _7"> </span></span>1&gt; ');</div><div class="t m0 x1 h5 y24 ff1 fs0 fc0 sc0 ls0 ws0">if isempty(show2)</div><div class="t m0 x1 h5 y25 ff1 fs0 fc0 sc0 ls0 ws0"> show2 = 1</div><div class="t m0 x1 h5 y26 ff1 fs0 fc0 sc0 ls0 ws0">end</div><div class="t m0 x1 h5 y27 ff1 fs0 fc0 sc0 ls0 ws0">if (show2 == 1)</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐