亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
亚洲精品在线观看视频| 九色综合国产一区二区三区| 国产欧美一区在线| 久久影院视频免费| 精品欧美乱码久久久久久1区2区| 91精品国产欧美日韩| 久久久.com| 久久无码av三级| 国产欧美日韩卡一| 国产精品国产三级国产普通话三级 | 精品综合久久久久久8888| 五月天精品一区二区三区| 午夜久久久影院| 免费成人性网站| 国产老女人精品毛片久久| 国产精品18久久久久| 成人黄色一级视频| 在线精品视频免费播放| 在线91免费看| 国产亚洲1区2区3区| 亚洲欧洲无码一区二区三区| 亚洲综合在线观看视频| 日韩精品久久理论片| 久久99日本精品| 成人在线视频一区| 欧美系列日韩一区| 日韩欧美第一区| 国产精品久久久久影视| 亚洲国产日日夜夜| 国产一区二区不卡在线| 91片黄在线观看| 日韩欧美成人一区| 中文字幕综合网| 麻豆国产精品视频| 成人18视频日本| 在线不卡a资源高清| 国产欧美一区二区在线观看| 亚洲午夜视频在线| 国产精品18久久久久| 精品视频一区 二区 三区| 亚洲视频网在线直播| 亚洲国产精品久久一线不卡| 国产精品亚洲第一| 欧美高清视频www夜色资源网| 久久精品男人的天堂| 五月婷婷久久丁香| 99视频超级精品| 欧美成人a视频| 亚洲国产精品尤物yw在线观看| 国产精品乡下勾搭老头1| 欧美日韩免费电影| 国产精品国产a| 国产精品一二一区| 91精品在线观看入口| |精品福利一区二区三区| 国产在线精品一区在线观看麻豆| 欧美午夜精品久久久| 综合亚洲深深色噜噜狠狠网站| 紧缚奴在线一区二区三区| 欧美影视一区二区三区| 日韩一区中文字幕| 成人免费视频免费观看| 精品久久久久久久久久久久久久久 | 日韩国产精品大片| 在线精品视频小说1| 日韩一区在线播放| 成人精品国产一区二区4080| 欧美精品一区二区蜜臀亚洲| 日本欧美一区二区在线观看| 欧美色爱综合网| 一个色综合av| 91电影在线观看| 亚洲精选免费视频| av亚洲精华国产精华精| 欧美高清在线精品一区| 国产高清精品久久久久| 久久精品无码一区二区三区| 国产在线精品一区二区三区不卡| 日韩色在线观看| 免费成人你懂的| 精品少妇一区二区三区免费观看| 蜜乳av一区二区| 精品国产伦理网| 国产乱码精品一区二区三区av| 精品国产网站在线观看| 国产精品亚洲第一| 中文字幕在线一区免费| av激情亚洲男人天堂| 中文字幕佐山爱一区二区免费| 色综合天天综合色综合av | 视频在线观看一区| 91麻豆精品国产91久久久使用方法| 性久久久久久久久久久久| 69堂亚洲精品首页| 精品制服美女丁香| 国产日韩v精品一区二区| 成人午夜免费视频| 亚洲综合色婷婷| 91麻豆精品国产91久久久使用方法 | 日韩一区二区三区高清免费看看| 欧美aⅴ一区二区三区视频| www国产成人| 99精品欧美一区二区三区小说| 国产精品香蕉一区二区三区| 国产精品成人午夜| 欧美久久婷婷综合色| 国产一区二区三区免费播放| 亚洲天堂久久久久久久| 日韩一级片网站| 成人动漫视频在线| 日韩二区三区在线观看| 国产精品天干天干在观线| 色94色欧美sute亚洲线路一久| 七七婷婷婷婷精品国产| 一色屋精品亚洲香蕉网站| 91精品国产一区二区人妖| 成人激情文学综合网| 日本成人在线电影网| 国产精品乱子久久久久| 91精品国产麻豆国产自产在线| heyzo一本久久综合| 久久精品国产成人一区二区三区| 国产精品不卡在线| 久久综合久久综合久久| 欧美吻胸吃奶大尺度电影| 成人网页在线观看| 久久激情综合网| 午夜影院久久久| 亚洲男人天堂av| 国产精品欧美极品| 精品国产免费一区二区三区四区 | 婷婷中文字幕综合| 中文字幕在线观看不卡视频| 精品成a人在线观看| 欧美日韩一二区| 97精品视频在线观看自产线路二| 黑人巨大精品欧美黑白配亚洲| 婷婷综合另类小说色区| 一区二区三区电影在线播| 国产精品二三区| 2022国产精品视频| 欧美哺乳videos| 日韩精品中文字幕一区二区三区 | 精品在线亚洲视频| 日本不卡123| 日产国产欧美视频一区精品| 午夜精品久久久久久久久久久| 亚洲一区二区三区小说| 亚洲伊人伊色伊影伊综合网| 亚洲视频在线观看三级| 午夜久久久久久| 一区二区高清视频在线观看| 国产精品国产三级国产普通话蜜臀 | 国产精品第四页| 中文字幕一区av| 日韩伦理av电影| 亚洲人成在线观看一区二区| 亚洲欧美综合另类在线卡通| 自拍偷拍亚洲欧美日韩| 亚洲欧美偷拍三级| 一卡二卡欧美日韩| 午夜一区二区三区视频| 日韩精品欧美精品| 国内外成人在线| 国产成人超碰人人澡人人澡| 成人国产精品免费观看| 91亚洲精华国产精华精华液| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 免费不卡在线观看| 极品美女销魂一区二区三区免费| 国内成人精品2018免费看| 国产精品亚洲第一区在线暖暖韩国| 丁香啪啪综合成人亚洲小说| 色综合天天综合| 欧美日韩国产高清一区二区三区| 日韩丝袜情趣美女图片| 久久精品夜夜夜夜久久| 亚洲精品ww久久久久久p站| 亚洲va欧美va天堂v国产综合| 毛片基地黄久久久久久天堂| 国产福利精品一区二区| 色欧美88888久久久久久影院| 欧美精品乱码久久久久久按摩| 精品久久人人做人人爰| 国产精品乱人伦| 亚洲不卡一区二区三区| 丁香另类激情小说| 欧美精品丝袜中出| 国产丝袜美腿一区二区三区| 亚洲一线二线三线视频| 极品销魂美女一区二区三区| 91麻豆国产在线观看| 欧美不卡激情三级在线观看| 亚洲精品视频自拍| 国产一区二区0| 欧美日韩国产片| 国产精品国产a| 国产真实乱子伦精品视频| 日本丰满少妇一区二区三区| 欧美精品一区二区在线观看|