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

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

?? mirdwt_r.c

?? 該程序包為用MATLAB編寫的一個基于小波變換降噪的軟件
?? C
字號:
/*File Name: MIRDWT.cLast Modification Date:	06/14/95	16:22:45Current Version: MIRDWT.c	2.4File Creation Date: Wed Oct 12 08:44:43 1994Author: Markus Lang  <lang@jazz.rice.edu>Copyright (c) 2000 RICE UNIVERSITY. All rights reserved.Created by Markus Lang, 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-6173Change History: Fixed the code such that 1D vectors passed to it can be in                either passed as a row or column vector. Also took care of 		the code such that it will compile with both under standard		C compilers as well as for ANSI C compilers		Jan Erik Odegard <odegard@ece.rice.edu> Wed Jun 14 1995                Fix minor bug to allow maximum number of levelsMATLAB description:%function x = mirdwt(yl,yh,h,L);% % function computes the inverse redundant discrete wavelet transform y for a% 1D or  2D input signal. redundant means here that the subsampling after% each stage of the forward transform has been omitted. yl contains the% lowpass and yl the highpass components as computed, e.g., by mrdwt. In% case of a 2D signal the ordering in yh is [lh hl hh lh hl ... ] (first% letter refers to row, second to column filtering).  %%    Input:%       yl   : lowpass component%       yh   : highpass components%       h    : scaling filter%       L    : number of levels. in case of a 1D signal length(yl) must be%              divisible by 2^L; in case of a 2D signal the row and the%              column dimension must be divisible by 2^L.%   %    Output:%	x    : finite length 1D or 2D signal%% see also: mdwt, midwt, mrdwt*/#include <math.h>#include <stdio.h>#define max(a, b) ((a) > (b) ? (a) : (b))#define mat(a, i, j) (*(a + (m*(j)+i)))  /* macro for matrix indices */#ifdef __STDC__MIRDWT(double *x, int m, int n, double *h, int lh, int L,       double *yl, double *yh)#elseMIRDWT(x, m, n, h, lh, L, yl, yh)double *x, *h, *yl, *yh;int m, n, lh, L;#endif{  double  *g0, *g1, *ydummyll, *ydummylh, *ydummyhl;  double *ydummyhh, *xdummyl , *xdummyh, *xh;  long i, j;  int actual_L, actual_m, actual_n, c_o_a, ir, n_c, n_cb, n_c_o, lhm1;  int ic, n_r, n_rb, n_r_o, c_o_a_p2n, sample_f;  xh = (double *)mxCalloc(m*n,sizeof(double));  xdummyl = (double *)mxCalloc(max(m,n),sizeof(double));  xdummyh = (double *)mxCalloc(max(m,n),sizeof(double));  ydummyll = (double *)mxCalloc(max(m,n)+lh-1,sizeof(double));  ydummylh = (double *)mxCalloc(max(m,n)+lh-1,sizeof(double));  ydummyhl = (double *)mxCalloc(max(m,n)+lh-1,sizeof(double));  ydummyhh = (double *)mxCalloc(max(m,n)+lh-1,sizeof(double));  g0 = (double *)mxCalloc(lh,sizeof(double));  g1 = (double *)mxCalloc(lh,sizeof(double));    if (n==1){    n = m;    m = 1;  }  /* analysis lowpass and highpass */  for (i=0; i<lh; i++){    g0[i] = h[i]/2;    g1[i] = h[lh-i-1]/2;  }  for (i=1; i<=lh; i+=2)    g1[i] = -g1[i];    lhm1 = lh - 1;  /* 2^L */  sample_f = 1;  for (i=1; i<L; i++)    sample_f = sample_f*2;  actual_m = m/sample_f;  actual_n = n/sample_f;  /* restore yl in x */  for (i=0;i<m*n;i++)    x[i] = yl[i];    /* main loop */  for (actual_L=L; actual_L >= 1; actual_L--){    /* actual (level dependent) column offset */    if (m==1)      c_o_a = n*(actual_L-1);    else      c_o_a = 3*n*(actual_L-1);    c_o_a_p2n = c_o_a + 2*n;        /* go by columns in case of a 2D signal*/    if (m>1){      n_rb = m/actual_m;                 /* # of row blocks per column */      for (ic=0; ic<n; ic++){            /* loop over column */	for (n_r=0; n_r<n_rb; n_r++){    /* loop within one column */	  /* store in dummy variables */	  ir = -sample_f + n_r;	  for (i=0; i<actual_m; i++){    	    ir = ir + sample_f;	    ydummyll[i+lhm1] = mat(x, ir, ic);  	    ydummylh[i+lhm1] = mat(yh, ir, c_o_a+ic);  	    ydummyhl[i+lhm1] = mat(yh, ir,c_o_a+n+ic);  	    ydummyhh[i+lhm1] = mat(yh, ir, c_o_a_p2n+ic);   	  }	  /* perform filtering and adding: first LL/LH, then HL/HH */	  bpconv(xdummyl, actual_m, g0, g1, lh, ydummyll, ydummylh); 	  bpconv(xdummyh, actual_m, g0, g1, lh, ydummyhl, ydummyhh); 	  /* store dummy variables in matrices */	  ir = -sample_f + n_r;	  for (i=0; i<actual_m; i++){    	    ir = ir + sample_f;	    mat(x, ir, ic) = xdummyl[i];  	    mat(xh, ir, ic) = xdummyh[i];  	  }	}      }    }        /* go by rows */    n_cb = n/actual_n;                 /* # of column blocks per row */    for (ir=0; ir<m; ir++){            /* loop over rows */      for (n_c=0; n_c<n_cb; n_c++){    /* loop within one row */      	/* store in dummy variable */	ic = -sample_f + n_c;	for  (i=0; i<actual_n; i++){    	  ic = ic + sample_f;	  ydummyll[i+lhm1] = mat(x, ir, ic);  	  if (m>1)	    ydummyhh[i+lhm1] = mat(xh, ir, ic);  	  else	    ydummyhh[i+lhm1] = mat(yh, ir, c_o_a+ic);  	} 	/* perform filtering lowpass/highpass */	bpconv(xdummyl, actual_n, g0, g1, lh, ydummyll, ydummyhh); 	/* restore dummy variables in matrices */	ic = -sample_f + n_c;	for (i=0; i<actual_n; i++){    	  ic = ic + sample_f;	  mat(x, ir, ic) = xdummyl[i];  	}      }    }    sample_f = sample_f/2;    actual_m = actual_m*2;    actual_n = actual_n*2;  }}#ifdef __STDC__bpconv(double *x_out, int lx, double *g0, double *g1, int lh,       double *x_inl, double *x_inh)#elsebpconv(x_out, lx, g0, g1, lh, x_inl, x_inh)double *x_inl, *x_inh, *g0, *g1, *x_out;int lx, lh;#endif{  int i, j;  double x0;   for (i=lh-2; i > -1; i--){    x_inl[i] = x_inl[lx+i];    x_inh[i] = x_inh[lx+i];  }  for (i=0; i<lx; i++){    x0 = 0;    for (j=0; j<lh; j++)      x0 = x0 + x_inl[j+i]*g0[lh-1-j] +	x_inh[j+i]*g1[lh-1-j];    x_out[i] = x0;  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产一区二区三区av性色| 国产精品久久久久久福利一牛影视 | 亚洲福利一二三区| 国产一区在线精品| 欧洲色大大久久| 久久精品视频一区二区三区| 亚洲国产欧美另类丝袜| 成人激情av网| 欧美mv日韩mv| 日韩福利电影在线| 在线观看日韩av先锋影音电影院| 久久久久久久久一| 奇米综合一区二区三区精品视频| 91精品1区2区| 中文字幕一区av| 丰满少妇在线播放bd日韩电影| 欧美一区二区三区播放老司机| 洋洋av久久久久久久一区| 国产不卡免费视频| 国产情人综合久久777777| 毛片基地黄久久久久久天堂| 欧美日韩成人在线| 亚洲一级电影视频| 在线亚洲一区二区| 亚洲天堂a在线| www.欧美.com| 亚洲欧美日韩国产另类专区| av在线一区二区| 亚洲午夜一区二区| 欧美日韩一区二区三区在线看| 亚洲桃色在线一区| 一本大道久久a久久综合婷婷| 国产精品国产三级国产三级人妇 | 欧美日韩国产成人在线免费| 亚洲精品高清在线观看| 91麻豆国产精品久久| 亚洲人成网站色在线观看| 91免费版在线| 夜夜精品浪潮av一区二区三区| 在线观看免费亚洲| 亚洲一级二级三级| 欧美精品第1页| 久久99精品网久久| 久久久久久久性| av电影在线观看一区| 亚洲欧美日韩国产综合在线| 欧美在线free| 麻豆91小视频| 久久久国产一区二区三区四区小说 | 欧美精品aⅴ在线视频| 天天射综合影视| 精品国产免费人成电影在线观看四季| 久草这里只有精品视频| 中文字幕高清不卡| 在线观看国产日韩| 蜜桃一区二区三区四区| 国产日韩欧美在线一区| 91在线视频观看| 日韩av电影天堂| 亚洲国产精品ⅴa在线观看| 91免费版pro下载短视频| 日日摸夜夜添夜夜添精品视频 | 日本成人中文字幕| 久久久久久久综合色一本| 99久久婷婷国产| 日本免费在线视频不卡一不卡二| 国产亚洲自拍一区| 欧美三级午夜理伦三级中视频| 美女网站在线免费欧美精品| 国产精品麻豆视频| 91精品国产欧美一区二区成人| 国产福利一区二区三区| 亚洲乱码日产精品bd| 欧美成人欧美edvon| av在线播放成人| 美女脱光内衣内裤视频久久网站 | 欧美精品第一页| 日韩欧美国产一区二区在线播放| 国内精品不卡在线| 亚洲一区二区三区视频在线| 久久众筹精品私拍模特| 精品视频123区在线观看| 岛国精品在线观看| 男女性色大片免费观看一区二区| 亚洲婷婷综合久久一本伊一区| 欧美成人a视频| 欧美日韩一区二区三区四区| 不卡的av中国片| 韩日av一区二区| 天涯成人国产亚洲精品一区av| 国产精品高潮呻吟| 久久亚洲二区三区| 91精品国产福利| 欧美性感一类影片在线播放| 成人激情小说网站| 国产一区二区在线视频| 日本在线不卡一区| 亚洲午夜三级在线| 亚洲欧美国产高清| 国产精品色婷婷| 国产女人18毛片水真多成人如厕 | 色综合天天综合网天天看片| 国产成人免费视频精品含羞草妖精| 午夜精品久久久久久久久久久| 中文字幕一区二区在线观看 | 亚洲色图.com| 中国色在线观看另类| 欧美精品一区二区三区视频| 这里只有精品99re| 欧美高清精品3d| 欧美色精品天天在线观看视频| 欧洲精品一区二区| 在线免费观看日本一区| 在线视频你懂得一区二区三区| 91丨porny丨首页| 色综合久久久久综合体桃花网| 成人app网站| 一本大道av一区二区在线播放| 97久久人人超碰| 91麻豆精东视频| 欧美三级日韩在线| 欧美久久久久中文字幕| 欧美日本在线观看| 日韩视频在线永久播放| 精品日韩一区二区三区| 久久久久亚洲综合| 国产精品欧美极品| 专区另类欧美日韩| 亚洲午夜精品久久久久久久久| 亚洲图片一区二区| 日韩成人免费在线| 国产在线播放一区三区四| 国产麻豆视频一区| av不卡一区二区三区| 欧美中文字幕一区| 日韩欧美国产综合在线一区二区三区| 欧美videos大乳护士334| 久久久久综合网| 综合久久久久久| 天堂成人免费av电影一区| 蜜桃视频在线观看一区| 国产成人综合网| 在线观看精品一区| 精品久久久久久久久久久久久久久 | 久久99国产精品免费| 成人午夜免费电影| 欧美日韩美少妇| 久久众筹精品私拍模特| 亚洲免费观看高清完整| 成人精品国产免费网站| 欧美手机在线视频| 久久嫩草精品久久久精品| 亚洲精品你懂的| 麻豆成人久久精品二区三区红| 成人一区二区三区中文字幕| 欧美性受极品xxxx喷水| 欧美精品一区二区久久婷婷| 亚洲三级电影网站| 久久99最新地址| 91国偷自产一区二区开放时间 | 久久久久久久久久久久电影| 亚洲免费观看高清完整| 精品一区二区三区免费视频| 色欧美88888久久久久久影院| 日韩欧美高清在线| 一区二区三区日韩欧美| 国产精品亚洲第一区在线暖暖韩国| 色老汉av一区二区三区| 国产日韩亚洲欧美综合| 日韩电影免费在线观看网站| 99久久精品免费精品国产| 欧美精品一区二区不卡| 视频在线在亚洲| 91免费看片在线观看| 国产色产综合产在线视频| 污片在线观看一区二区| 99久久久久免费精品国产| 久久亚洲影视婷婷| 免播放器亚洲一区| 欧美手机在线视频| 亚洲精选一二三| www.日本不卡| 国产精品女同一区二区三区| 狠狠v欧美v日韩v亚洲ⅴ| 欧美剧情电影在线观看完整版免费励志电影| 国产精品视频一二三区| 国产美女一区二区三区| 欧美大黄免费观看| 日韩1区2区日韩1区2区| 欧美色手机在线观看| 亚洲精品国产一区二区三区四区在线 | 一区二区成人在线| bt7086福利一区国产| 欧美高清在线视频| 欧美日本国产一区| 亚洲成人动漫在线免费观看| 欧美优质美女网站| 亚洲乱码国产乱码精品精可以看 | 国产精一品亚洲二区在线视频| 欧美精品日韩一区|