亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? index.html

?? 信號處理系列導航
?? HTML
字號:
<!DOCTYPE html  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"><html xmlns:mwsh="http://www.mathworks.com/namespace/mcode/v1/syntaxhighlight.dtd">   <head>      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">         <!--This HTML is auto-generated from an M-file.To make changes, update the M-file and republish this document.      -->      <title>Image Approximation with Wavelets</title>      <meta name="generator" content="MATLAB 7.4">      <meta name="date" content="2008-10-15">      <meta name="m-file" content="index">      <LINK REL="stylesheet" HREF="style.css" TYPE="text/css">   </head>   <body>      <div class="content">         <h1>Image Approximation with Wavelets</h1>         <introduction>            <p>This numerical tour uses wavelets to perform both linear and non-linear image approximation.</p>         </introduction>         <h2>Contents</h2>         <div>            <ul>               <li><a href="#1">Installing toolboxes and setting up the path.</a></li>               <li><a href="#8">Wavelet transform of an image.</a></li>               <li><a href="#14">Linear Wavelet Approximation</a></li>               <li><a href="#17">Non-linear Approximation</a></li>            </ul>         </div>         <h2>Installing toolboxes and setting up the path.<a name="1"></a></h2>         <p>You need to download the <a href="../toolbox_general.zip">general purpose toolbox</a> and the <a href="../toolbox_signal.zip">signal toolbox</a>.         </p>         <p>You need to unzip these toolboxes in your working directory, so that you have <tt>toolbox_general/</tt> and <tt>toolbox_signal/</tt> in your directory.         </p>         <p><b>For Scilab user:</b> you must replace the Matlab comment '%' by its Scilab counterpart '//'.         </p>         <p><b>Recommandation:</b> You should create a text file named for instance <tt>numericaltour.sce</tt> (in Scilabe) or <tt>numericaltour.m</tt> to write all the Scilab/Matlab command you want to execute. Then, simply run <tt>exec('numericaltour.sce');</tt> (in Scilab) or <tt>numericaltour;</tt> (in Matlab) to run the commands.         </p>         <p>Execute this line only if you are using Matlab.</p><pre class="codeinput">getd = @(p)path(path,p); <span class="comment">% scilab users must *not* execute this</span></pre><p>Then you can add these toolboxes to the path.</p><pre class="codeinput"><span class="comment">% Add some directories to the path</span>getd(<span class="string">'toolbox_signal/'</span>);getd(<span class="string">'toolbox_general/'</span>);</pre><h2>Wavelet transform of an image.<a name="8"></a></h2>         <p>First we load an image.</p><pre class="codeinput">n = 256;M = load_image(<span class="string">'lena'</span>, []);M = rescale(crop(M,n));</pre><p>You can perform a wavelet transform, which corresponds to a 7/9 biorthogonal wavelet transform.</p><pre class="codeinput">Jmin = 4;MW = perform_wavelet_transf(M,Jmin,+1);</pre><p><i>Exercice 1:</i> (the solution is <a href="../private/wavelet_approximation/exo1.m">exo1.m</a>) Display the wavelet transform of the image. Display also the residual low frequencies (size <tt>2^Jmin x 2^Jmin</tt>. Can you recognize the layout of the coefficients through the scales and orientations ?         </p><pre class="codeinput">exo1;</pre><img vspace="5" hspace="5" src="index_01.png"> <p>To better see the distribution of the coefficients, it is possible to enhance the contrast of each wavelet orientation and            wavelet scale.         </p><pre class="codeinput">clf;plot_wavelet(MW,Jmin);</pre><img vspace="5" hspace="5" src="index_02.png"> <p><i>Exercice 2:</i> (the solution is <a href="../private/wavelet_approximation/exo2.m">exo2.m</a>) A separable wavelet transform is obtained by applying a 1D wavelet transform to each columnes and then each row of the image.            Compute the transformed coefficients <tt>MWsep</tt> of <tt>M</tt>. Display the resulting set of coefficients. Use the function <tt>plot_wavelet</tt> with an options field <tt>options.separable=1</tt> to display the coefficients.         </p><pre class="codeinput">exo2;</pre><img vspace="5" hspace="5" src="index_03.png"> <h2>Linear Wavelet Approximation<a name="14"></a></h2>         <p>Linear approximation is performed by setting to zero the fine scale wawelets coefficients and then performing the inverse            wavelet transform.         </p><pre class="codeinput">eta = 4;MWlin = zeros(n,n);MWlin(1:n/eta,1:n/eta) = MW(1:n/eta,1:n/eta);Mlin = perform_wavelet_transf(MWlin,Jmin,-1);</pre><p>You can compare the original image with the linear approximation, and compute the approximation error.</p><pre class="codeinput">elin = snr(M,Mlin);clf;imageplot(M, <span class="string">'Original'</span>, 1,2,1);imageplot(Mlin, strcat([<span class="string">'Linear, SNR='</span> num2str(elin)]), 1,2,2);</pre><img vspace="5" hspace="5" src="index_04.png"> <h2>Non-linear Approximation<a name="17"></a></h2>         <p>Non-linear approximation is obtained by keeping only the largest coefficients of the signal.</p>         <p><i>Exercice 3:</i> (the solution is <a href="../private/wavelet_approximation/exo3.m">exo3.m</a>) Compute a set of wavelet coefficients <tt>MWnlin</tt> that has the same number of non-zero coefficients as <tt>MWlin</tt>, but that is optimal for non-linear approximation.         </p><pre class="codeinput">exo3;</pre><p><i>Exercice 4:</i> (the solution is <a href="../private/wavelet_approximation/exo4.m">exo4.m</a>) Display linear and non-linear approximations alltogether and do a visual comparison. Compute the SNR of the two approximations.         </p><pre class="codeinput">exo4;</pre><img vspace="5" hspace="5" src="index_05.png"> <p><i>Exercice 5:</i> (the solution is <a href="../private/wavelet_approximation/exo5.m">exo5.m</a>) Display the curve of the approximation error with respect of the number of coefficients. Hint for exercice 5: use the conservation            of the energy (the transform is orthogonal - or very close to orthogonal for the 7/9 biorthogonal transform). You can display            the error in log scale. To better see the difference, you need to do the computation on a full size (256 x 256) image. You            need to plot the approximation for a number of pixels <tt>M/n^2</tt> in the range <tt>[10^-3, 10^-1]</tt> typically.         </p><pre class="codeinput">exo5;</pre><img vspace="5" hspace="5" src="index_06.png"> <p><i>Exercice 6:</i> (the solution is <a href="../private/wavelet_approximation/exo6.m">exo6.m</a>) Display the approximation curve for another, less regular, image (for instance <tt>mandrill</tt>). Compare with the <tt>boat</tt> image.         </p><pre class="codeinput">exo6;</pre><img vspace="5" hspace="5" src="index_07.png"> <p><i>Exercice 7:</i> (the solution is <a href="../private/wavelet_approximation/exo7.m">exo7.m</a>) Compare visually and in term of SNR the non-linear approximation in an isotropic (3 orientation) wavelet basis, in a separable            wavelet basis.         </p><pre class="codeinput">exo7;</pre><img vspace="5" hspace="5" src="index_08.png"> <p><i>Exercice 8:</i> (the solution is <a href="../private/wavelet_approximation/exo8.m">exo8.m</a>) Display the approximation curves for isotropic wavelets, separable wavelets and in a Fourier basis (using function <tt>fft2</tt>).         </p><pre class="codeinput">exo8;</pre><img vspace="5" hspace="5" src="index_09.png"> <p class="footer"><br>            Copyright  &reg; 2008 Gabriel Peyre<br></p>      </div>      <!--##### SOURCE BEGIN #####%% Image Approximation with Wavelets% This numerical tour uses wavelets to perform both linear and non-linear% image approximation.%% Installing toolboxes and setting up the path.%%% You need to download the % <../toolbox_general.zip general purpose toolbox>% and the <../toolbox_signal.zip signal toolbox>.%%% You need to unzip these toolboxes in your working directory, so% that you have |toolbox_general/| and |toolbox_signal/| in your directory.%%% *For Scilab user:* you must replace the Matlab comment '%' by its Scilab% counterpart '//'.%%% *Recommandation:* You should create a text file named for instance% |numericaltour.sce| (in Scilabe) or |numericaltour.m| to write all the% Scilab/Matlab command you want to execute. Then, simply run% |exec('numericaltour.sce');| (in Scilab) or |numericaltour;| (in Matlab)% to run the commands. %%% Execute this line only if you are using Matlab.getd = @(p)path(path,p); % scilab users must *not* execute this%%% Then you can add these toolboxes to the path.% Add some directories to the pathgetd('toolbox_signal/');getd('toolbox_general/');%% Wavelet transform of an image.%%% First we load an image.n = 256;M = load_image('lena', []);M = rescale(crop(M,n));%%% You can perform a wavelet transform, which corresponds to a 7/9 biorthogonal wavelet transform.Jmin = 4;MW = perform_wavelet_transf(M,Jmin,+1);%%% _Exercice 1:_ (the solution is <../private/wavelet_approximation/exo1.m exo1.m>)% Display the wavelet transform of the image. Display also the residual low% frequencies (size |2^Jmin x 2^Jmin|.% Can you recognize the layout of the coefficients through the scales and% orientations ?exo1;%%% To better see the distribution of the coefficients, it is possible to enhance % the contrast of each wavelet orientation% and wavelet scale.clf;plot_wavelet(MW,Jmin);%%% _Exercice 2:_ (the solution is <../private/wavelet_approximation/exo2.m exo2.m>)% A separable wavelet transform is obtained by applying a 1D wavelet% transform to each columnes and then each row of the image. Compute the% transformed coefficients |MWsep| of |M|.% Display the% resulting set of coefficients. Use the function |plot_wavelet| with an% options field |options.separable=1| to display the coefficients.exo2;%% Linear Wavelet Approximation%%% Linear approximation is performed by setting to zero the fine scale wawelets coefficients% and then performing the inverse wavelet transform.eta = 4;MWlin = zeros(n,n);MWlin(1:n/eta,1:n/eta) = MW(1:n/eta,1:n/eta);Mlin = perform_wavelet_transf(MWlin,Jmin,-1);%%% You can compare the original image with the linear approximation, and compute the approximation error.elin = snr(M,Mlin);clf;imageplot(M, 'Original', 1,2,1); imageplot(Mlin, strcat(['Linear, SNR=' num2str(elin)]), 1,2,2);%% Non-linear Approximation%%% Non-linear approximation is obtained by keeping only the largest coefficients of the signal.%%% _Exercice 3:_ (the solution is <../private/wavelet_approximation/exo3.m exo3.m>)% Compute a set of wavelet coefficients |MWnlin| that has the same number of non-zero coefficients% as |MWlin|, but that is optimal for non-linear approximation.exo3;%%% _Exercice 4:_ (the solution is <../private/wavelet_approximation/exo4.m exo4.m>)% Display linear and non-linear approximations alltogether and do a visual comparison.% Compute the SNR of the two approximations.exo4;%%% _Exercice 5:_ (the solution is <../private/wavelet_approximation/exo5.m exo5.m>)% Display the curve of the approximation error with respect of the number of coefficients.% Hint for exercice 5: use the conservation of the energy (the transform is orthogonal - or very close to orthogonal for the % 7/9 biorthogonal transform). You can display the error in log scale. To% better see the difference, you need to do the computation on a full size% (256 x 256) image. You need to plot the approximation for a number of% pixels |M/n^2| in the range |[10^-3, 10^-1]| typically.exo5;%%% _Exercice 6:_ (the solution is <../private/wavelet_approximation/exo6.m exo6.m>)% Display the approximation curve for another, less regular,% image (for instance |mandrill|). Compare with the |boat| image.exo6;%%% _Exercice 7:_ (the solution is <../private/wavelet_approximation/exo7.m exo7.m>)% Compare visually and in term of SNR the non-linear approximation in an% isotropic (3 orientation) wavelet basis, in a separable wavelet basis.exo7;%%% _Exercice 8:_ (the solution is <../private/wavelet_approximation/exo8.m exo8.m>)% Display the approximation curves for isotropic wavelets, separable% wavelets and in a Fourier basis (using function |fft2|).exo8;##### SOURCE END #####-->   </body></html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品国产全国免费观看 | 偷拍亚洲欧洲综合| 69堂国产成人免费视频| 国产一区二区在线影院| 国产精品国产三级国产专播品爱网| 色综合天天综合色综合av | 欧美中文一区二区三区| 秋霞国产午夜精品免费视频| 国产精品久久久久影院老司| 日韩午夜精品视频| 欧美在线|欧美| 国产一区福利在线| 日韩黄色在线观看| 国产区在线观看成人精品| 欧美日韩久久一区二区| 色综合久久综合中文综合网| 成人国产在线观看| 国产精品亚洲第一| 精油按摩中文字幕久久| 热久久国产精品| 亚洲一区二区中文在线| 亚洲综合免费观看高清完整版在线 | 色婷婷精品大视频在线蜜桃视频| 国产高清视频一区| 色婷婷精品大在线视频| 色综合天天狠狠| 欧美日韩中文另类| 欧美一区二区网站| 日韩精品自拍偷拍| 久久精品视频一区二区三区| 精品国一区二区三区| 日韩一区二区中文字幕| 日韩一区二区三区av| 日韩欧美电影在线| 久久久国产午夜精品 | 亚洲国产高清在线| 亚洲日本丝袜连裤袜办公室| 一区二区高清在线| 蜜臀av一区二区| 不卡一区中文字幕| 欧美一区二区啪啪| 国产精品福利一区| 经典三级在线一区| 91国内精品野花午夜精品| 欧美一级电影网站| 最新久久zyz资源站| 开心九九激情九九欧美日韩精美视频电影 | 国产精品一色哟哟哟| 91久久精品日日躁夜夜躁欧美| 91麻豆精品国产综合久久久久久| 欧美精品一区视频| 免费观看日韩电影| 欧洲生活片亚洲生活在线观看| 日韩一区二区视频在线观看| 中文字幕国产精品一区二区| 狠狠色丁香九九婷婷综合五月 | 91啪九色porn原创视频在线观看| 91精品在线免费| 一个色综合网站| 91啪亚洲精品| 亚洲三级电影全部在线观看高清| 精品亚洲国产成人av制服丝袜| 欧美日韩小视频| 亚洲综合色丁香婷婷六月图片| 播五月开心婷婷综合| 中文字幕av免费专区久久| 国产美女精品人人做人人爽| 欧美xxxxx裸体时装秀| 麻豆一区二区99久久久久| 欧美一卡2卡3卡4卡| 日韩二区在线观看| 日韩一区二区三| 国产一区二区女| 中文字幕av在线一区二区三区| 国产精品一区二区免费不卡 | 国产精品18久久久久久久网站| 久久久久免费观看| 97久久精品人人做人人爽| 亚洲天天做日日做天天谢日日欢 | 在线成人av影院| 久久精品久久久精品美女| 亚洲精品一区在线观看| 91尤物视频在线观看| 香蕉久久夜色精品国产使用方法 | 一区二区三区电影在线播| 制服丝袜国产精品| 91在线精品一区二区| 青青青爽久久午夜综合久久午夜| 国产亚洲欧美激情| 欧美军同video69gay| 成人污污视频在线观看| 亚洲va天堂va国产va久| 国产精品嫩草影院av蜜臀| 欧美三级日韩三级国产三级| 国产精品白丝jk白祙喷水网站 | 亚洲精品中文字幕在线观看| 日韩欧美一级二级三级久久久| 不卡的av在线播放| 国产91富婆露脸刺激对白| 免费成人在线观看| 男人的天堂久久精品| 亚洲一区二区不卡免费| 亚洲少妇中出一区| 成人免费在线视频观看| 久久午夜羞羞影院免费观看| 欧美日韩精品一区二区三区| eeuss鲁一区二区三区| caoporen国产精品视频| 国产美女一区二区| 国产在线精品一区二区夜色| 日韩精品福利网| 蜜桃视频在线一区| 久久66热re国产| 粉嫩久久99精品久久久久久夜| 国产精品夜夜嗨| 国产91对白在线观看九色| 91蜜桃网址入口| 91视频国产观看| 这里只有精品99re| 久久一留热品黄| 亚洲激情图片qvod| 免费看欧美女人艹b| 国产精品996| 91国在线观看| 精品成a人在线观看| 欧美激情资源网| 亚洲国产成人91porn| 久久99精品久久久| jiyouzz国产精品久久| 欧美在线你懂得| 久久综合狠狠综合| 夜夜精品浪潮av一区二区三区 | 国产另类ts人妖一区二区| 色综合久久中文字幕| 精品国产乱码久久久久久浪潮| 欧美国产日本韩| 麻豆高清免费国产一区| 99精品欧美一区| 精品久久99ma| 丝袜诱惑亚洲看片| 99re热这里只有精品视频| 精品欧美乱码久久久久久1区2区| 免费国产亚洲视频| 91豆麻精品91久久久久久| 亚洲国产精品黑人久久久| 麻豆91在线观看| 日韩一区二区免费视频| 一区二区三区四区在线播放| 波波电影院一区二区三区| 欧美激情一区二区三区在线| 久久99久久久久| 国产精品久线在线观看| 91在线观看视频| 亚洲欧美日韩在线| 在线欧美一区二区| 亚洲一区二区在线观看视频| 欧美丝袜丝交足nylons图片| 亚洲天堂成人网| 欧美主播一区二区三区美女| 亚洲午夜免费电影| 欧美日本国产一区| 日韩高清在线一区| 国产精品久久久久9999吃药| 国产精品一区二区视频| 自拍偷拍欧美激情| 欧美精品1区2区3区| 国产一区二区在线电影| 自拍偷拍欧美激情| 日韩欧美国产电影| 91视视频在线直接观看在线看网页在线看| 中文字幕亚洲不卡| 精品日韩成人av| 欧美日韩综合在线免费观看| 久久精品国产99国产| 自拍视频在线观看一区二区| 欧美妇女性影城| 99久久er热在这里只有精品15 | 精品日韩一区二区| 欧美综合色免费| 成人国产精品免费观看动漫| 婷婷综合在线观看| 亚洲欧美在线视频观看| www久久精品| 欧美精品乱人伦久久久久久| 色婷婷国产精品综合在线观看| 国产一区视频网站| 美女网站在线免费欧美精品| 亚洲一区二区视频在线观看| 亚洲天堂中文字幕| 亚洲一区免费在线观看| 亚洲人成网站色在线观看| 国产精品污污网站在线观看 | 久久色成人在线| 精品国产凹凸成av人网站| 日韩一区和二区| 欧美精品一区二区三| 精品福利一区二区三区免费视频| 日韩久久免费av| 久久奇米777| 国产精品动漫网站|