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

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

?? denoise.m

?? matlab工具箱
?? M
字號:
function [xd,xn,option] = denoise(x,h,type,option)%    [xd,xn,option] = denoise(x,h,type,option); %%    DENOISE is a generic program for wavelet based denoising.%    The program will denoise the signal x using the 2-band wavelet%    system described by the filter h using either the traditional %    discrete wavelet transform (DWT) or the linear shift invariant %    discrete wavelet transform (also known as the undecimated DWT%    (UDWT)). %%    Input:  %       x         : 1D or 2D signal to be denoised%       h         : Scaling filter to be applied%       type      : Type of transform (Default: type = 0)%                   0 --> Discrete wavelet transform (DWT)%                   1 --> Undecimated DWT (UDWT)%       option    : Default settings is marked with '*':%                   *type = 0 --> option = [0 3.0 0 0 0 0]%                   type = 1 --> option = [0 3.6 0 1 0 0]%       option(1) : Whether to threshold low-pass part%                   0 --> Don't threshold low pass component %                   1 --> Threshold low pass component%       option(2) : Threshold multiplier, c. The threshold is%                   computed as: %                     thld = c*MAD(noise_estimate)). %                   The default values are:%                     c = 3.0 for the DWT based denoising%                     c = 3.6 for the UDWT based denoising%       option(3) : Type of variance estimator%                   0 --> MAD (mean absolute deviation)%                   1 --> STD (classical numerical std estimate)%       option(4) : Type of thresholding%                   0 --> Soft thresholding%                   1 --> Hard thresholding%       option(5) : Number of levels, L, in wavelet decomposition. By%                   setting this to the default value '0' a maximal%                   decomposition is used.%       option(6) : Actual threshold to use (setting this to%                   anything but 0 will mean that option(3)%                   is ignored)%%    Output: %       xd     : Estimate of noise free signal %       xn     : The estimated noise signal (x-xd)%       option : A vector of actual parameters used by the%                program. The vector is configured the same way as%                the input option vector with one added element%                option(7) = type.%%  HERE'S AN EASY WAY TO RUN THE EXAMPLES:%  Cut-and-paste the example you want to run to a new file %  called ex.m, for example. Delete out the % at the beginning %  of each line in ex.m (Can use search-and-replace in your editor%  to replace it with a space). Type 'ex' in matlab and hit return.%%    Example 1: %       h = daubcqf(6); [s,N] = makesig('Doppler'); n = randn(1,N);%       x = s + n/10;     % (approximately 10dB SNR)%       figure;plot(x);hold on;plot(s,'r');%%       %Denoise x with the default method based on the DWT%       [xd,xn,opt1] = denoise(x,h);%       figure;plot(xd);hold on;plot(s,'r');%%       %Denoise x using the undecimated (LSI) wavelet transform%       [yd,yn,opt2] = denoise(x,h,1);%       figure;plot(yd);hold on;plot(s,'r');%% Example 2: (on an image)  %      h = daubcqf(6);  load lena; %      noisyLena = lena + 25 * randn(size(lena));%      figure; colormap(gray); imagesc(lena); title('Original Image');%       figure; colormap(gray); imagesc(noisyLena); title('Noisy Image'); %       Denoise lena with the default method based on the DWT%      [denoisedLena,xn,opt1] = denoise(noisyLena,h);%      figure; colormap(gray); imagesc(denoisedLena); title('denoised Image');%       %%    See also: mdwt, midwt, mrdwt, mirdwt, SoftTh, HardTh, setopt%%File Name: denoise.m%Last Modification Date: 04/15/97	10:44:28%Current Version: denoise.m	2.4%File Creation Date: Mon Feb 20 08:33:15 1995%Author: Jan Erik Odegard  <odegard@ece.rice.edu>%%Copyright (c) 2000 RICE UNIVERSITY. All rights reserved.%Created by Jan Erik Odegard, Department of ECE, Rice University. %%This software is distributed and licensed to you on a non-exclusive %basis, free-of-charge. Redistribution and use in source and binary forms, %with or without modification, are permitted provided that the following %conditions are met:%%1. Redistribution of source code must retain the above copyright notice, %   this list of conditions and the following disclaimer.%2. Redistribution in binary form must reproduce the above copyright notice, %   this list of conditions and the following disclaimer in the %   documentation and/or other materials provided with the distribution.%3. All advertising materials mentioning features or use of this software %   must display the following acknowledgment: This product includes %   software developed by Rice University, Houston, Texas and its contributors.%4. Neither the name of the University nor the names of its contributors %   may be used to endorse or promote products derived from this software %   without specific prior written permission.%%THIS SOFTWARE IS PROVIDED BY WILLIAM MARSH RICE UNIVERSITY, HOUSTON, TEXAS, %AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, %BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS %FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RICE UNIVERSITY %OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, %EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, %PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; %OR BUSINESS INTERRUPTIONS) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, %WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR %OTHERWISE), PRODUCT LIABILITY, OR OTHERWISE ARISING IN ANY WAY OUT OF THE %USE OF THIS SOFTWARE,  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.%%For information on commercial licenses, contact Rice University's Office of %Technology Transfer at techtran@rice.edu or (713) 348-6173%%Change History: Fixed output of function and an error in the computation%                of the threshold for redundant denoising.%                <Jan Erik Odegard> <Mon Jul 31, 1995>%%                This code is composed of several of our old codes for%                wavelet based denoising. In an effort to make the mess%                more manageable we decided to create on code that would %                handle all the various wavelet based denoising methods.%                However, only time will show (as we discover new and %                improved forms of denoising) if we can succeed in our goals.%                <Jan Erik Odegard> <Thu May 11, 1995>%if(nargin < 2)  error('You need to provide at least 2 inputs: x and h');end;if(nargin < 3),  type = 0;  option = [];elseif(nargin < 4)  option = [];end;if(isempty(type)),  type = 0;end;if(type == 0),  default_opt = [0 3.0 0 0 0 0];elseif(type == 1),  default_opt = [0 3.6 0 1 0 0];else,  error(['Unknown denoising method',10,...	  'If it is any good we need to have a serious talk :-)']);end;option = setopt(option,default_opt);[mx,nx] = size(x);dim = min(mx,nx);if(dim == 1),  n = max(mx,nx);else,  n = dim;end;if(option(5) == 0),  L = floor(log2(n));else  L = option(5);end;if(type == 0), 			% Denoising by DWT  xd = mdwt(x,h,L);  if (option(6) == 0),    tmp = xd(floor(mx/2)+1:mx,floor(nx/2)+1:nx);    if(option(3) == 0),      thld = option(2)*median(abs(tmp(:)))/.67;    elseif(option(3) == 1),      thld = option(2)*std(tmp(:));    else      error('Unknown threshold estimator, Use either MAD or STD');    end;  else,    thld = option(6);  end;  if(dim == 1)    ix = 1:n/(2^L);    ykeep = xd(ix);  else    ix = 1:mx/(2^L);    jx = 1:nx/(2^L);    ykeep = xd(ix,jx);  end;  if(option(4) == 0),    xd = SoftTh(xd,thld);  elseif(option(4) == 1),    xd = HardTh(xd,thld);  else,    error('Unknown threshold rule. Use either Soft (0) or Hard (1)');  end;  if (option(1) == 0),    if(dim == 1),      xd(ix) = ykeep;    else,      xd(ix,jx) = ykeep;    end;  end;  xd = midwt(xd,h,L);elseif(type == 1), 			% Denoising by UDWT  [xl,xh] = mrdwt(x,h,L);  if(dim == 1),    c_offset = 1;  else,    c_offset = 2*nx + 1;  end;  if (option(6) == 0),    tmp = xh(:,c_offset:c_offset+nx-1);    if(option(3) == 0),      thld = option(2)*median(abs(tmp(:)))/.67;    elseif(option(3) == 1),      thld = option(2)*std(tmp(:));    else      error('Unknown threshold estimator, Use either MAD or STD');    end;  else,    thld = option(6);  end;  if(option(4) == 0),    xh = SoftTh(xh,thld);    if(option(1) == 1),      xl = SoftTh(xl,thld);    end;  elseif(option(4) == 1),    xh = HardTh(xh,thld);    if(option(1) == 1),      xl = HardTh(xl,thld);    end;  else,    error('Unknown threshold rule. Use either Soft (0) or Hard (1)');  end;  xd = mirdwt(xl,xh,h,L);else, 					% Denoising by unknown method  error(['Unknown denoising method',10,...         'If it is any good we need to have a serious talk :-)']);end;option(6) = thld;option(7) = type;xn = x - xd; 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产女人18毛片水真多成人如厕| 成人免费不卡视频| 亚洲第一在线综合网站| 国产精品国产三级国产普通话三级| 日韩一区二区三区视频在线观看| 欧美精品在欧美一区二区少妇| 97精品久久久久中文字幕| 91麻豆高清视频| 欧美熟乱第一页| 欧美疯狂性受xxxxx喷水图片| 欧美三级中文字| 日韩欧美色电影| 国产精品剧情在线亚洲| 亚洲小说春色综合另类电影| 天天影视涩香欲综合网| 精品一区二区三区的国产在线播放| 狠狠v欧美v日韩v亚洲ⅴ| 丁香啪啪综合成人亚洲小说 | 成人精品小蝌蚪| 日本高清无吗v一区| 欧美精品一区二区在线观看| 国产精品美女久久久久av爽李琼 | 老司机精品视频一区二区三区| 美女网站色91| 色综合中文综合网| 国产性色一区二区| 香蕉成人伊视频在线观看| 国产综合久久久久久久久久久久| 色综合咪咪久久| 久久久久久久久久久黄色| 亚洲一二三四区不卡| 成人免费电影视频| 精品国产一区二区亚洲人成毛片 | 97精品久久久午夜一区二区三区 | 日韩精品亚洲专区| 精品一区二区三区的国产在线播放| 色婷婷精品久久二区二区蜜臂av | 成人免费在线视频| 国产精品夜夜嗨| 日韩三级免费观看| 久久er99热精品一区二区| 欧美日本在线看| 性久久久久久久| 91精品国产综合久久蜜臀| 亚洲国产成人av| 日韩欧美在线不卡| 国产一区二区日韩精品| 国产日韩欧美制服另类| 白白色 亚洲乱淫| 国产精品国产自产拍高清av| www.欧美日韩| 亚洲一区二区三区在线| 日韩写真欧美这视频| 开心九九激情九九欧美日韩精美视频电影| 欧美在线播放高清精品| 亚洲超碰97人人做人人爱| 在线不卡一区二区| 成人午夜伦理影院| 亚洲电影一区二区三区| 欧美电影免费观看完整版| 成人av集中营| 免费av网站大全久久| 亚洲欧洲日产国产综合网| 欧美日韩一区不卡| 粉嫩一区二区三区在线看| 亚洲激情第一区| 精品久久国产字幕高潮| 99re66热这里只有精品3直播| 免费高清成人在线| 亚洲欧美综合色| 欧美岛国在线观看| 欧美日韩一区二区三区高清| 国产 日韩 欧美大片| 日日嗨av一区二区三区四区| 国产精品入口麻豆原神| 欧美一区二区成人6969| 色哟哟日韩精品| 99re成人在线| 国产成人av一区二区| 另类小说视频一区二区| 五月天欧美精品| 亚洲国产成人av网| 亚洲综合小说图片| 亚洲美女屁股眼交3| 中文字幕一区二区三区不卡 | 日韩激情视频在线观看| 亚洲精品ww久久久久久p站| 中文字幕色av一区二区三区| 国产女同互慰高潮91漫画| 久久久久久亚洲综合影院红桃| 在线播放国产精品二区一二区四区| 成人18视频在线播放| 成人av综合一区| 欧美色图激情小说| 亚洲一区二区三区四区中文字幕| 欧美日本一道本在线视频| 91小视频免费看| 色av综合在线| 欧美日韩午夜在线视频| 欧美日产国产精品| 久久精品视频一区| 1024成人网| 卡一卡二国产精品| 国产不卡视频一区| 7777女厕盗摄久久久| 国产欧美日韩一区二区三区在线观看| 《视频一区视频二区| 天堂一区二区在线| 99久久伊人网影院| 欧美日韩国产免费一区二区| 久久久精品国产免大香伊 | 国产精品综合在线视频| 91国在线观看| 国产精品欧美久久久久一区二区| 亚洲大片精品永久免费| 国产suv一区二区三区88区| 欧美日韩一区不卡| 亚洲精品精品亚洲| 国产精品77777竹菊影视小说| 欧美日韩三级一区| 欧美激情在线一区二区| 久久99精品国产麻豆不卡| 欧美日韩一区在线观看| 亚洲欧美激情一区二区| 99精品欧美一区| 久久亚洲私人国产精品va媚药| 一区二区三区欧美视频| 一本久久精品一区二区| 亚洲欧洲成人自拍| 成人美女视频在线观看18| 久久午夜羞羞影院免费观看| 免费观看久久久4p| 日韩免费高清av| 国产一区二区不卡老阿姨| 精品99久久久久久| 国产剧情av麻豆香蕉精品| 国产亚洲女人久久久久毛片| 国产在线乱码一区二区三区| 精品理论电影在线观看| 国内成人免费视频| 国产精品人妖ts系列视频| 色哟哟亚洲精品| 日韩av一区二区在线影视| 欧美日韩精品福利| 精品制服美女丁香| 国产精品色哟哟| 3d动漫精品啪啪一区二区竹菊| 麻豆精品国产91久久久久久| 国产日韩欧美亚洲| 欧美日韩一级黄| 国产成人av电影在线观看| 一区二区三区精品视频| 欧美不卡激情三级在线观看| 成人免费不卡视频| 日本欧美一区二区三区乱码| 亚洲精品一区二区精华| 欧美主播一区二区三区美女| 九九视频精品免费| 亚洲狠狠爱一区二区三区| 精品国产网站在线观看| 欧美伊人久久大香线蕉综合69| 欧美aaaaaa午夜精品| 亚洲一区二区三区四区五区黄| 亚洲精品一区二区三区影院| 日本成人中文字幕在线视频| 国产情人综合久久777777| 日韩一区二区三区av| 97se亚洲国产综合自在线观| 国产成人在线影院| 麻豆精品蜜桃视频网站| 日韩va欧美va亚洲va久久| 91成人在线观看喷潮| 亚洲欧美在线视频| 国产亚洲成av人在线观看导航| 欧美精品高清视频| 欧美精品成人一区二区三区四区| 成人h动漫精品| 99久久免费视频.com| 精品一区二区三区视频| 精品一区二区三区免费毛片爱| 亚洲自拍欧美精品| 免费观看成人av| 理论电影国产精品| 国产精品一区二区三区四区| 精品亚洲成a人在线观看| 国产一区三区三区| 99久久婷婷国产精品综合| 91麻豆国产福利精品| 欧美专区日韩专区| 欧美成人三级电影在线| 国产亚洲综合在线| 一卡二卡三卡日韩欧美| 日韩成人一级片| 国产98色在线|日韩| 欧美伊人精品成人久久综合97| 91精品国产综合久久久久| 国产无一区二区| 亚洲无线码一区二区三区| 国内精品免费在线观看| 在线一区二区视频|