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

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

?? mirdwt_r.c

?? 主要用于對語音信號進行閾值消噪處理
?? 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一区二区三区免费野_久草精品视频
国产成人午夜精品5599| 久久精品免费在线观看| 国产精品福利av| 99久久99久久免费精品蜜臀| 国产精品美女一区二区三区| 91在线观看高清| 亚洲综合激情另类小说区| 欧美色中文字幕| 麻豆国产精品视频| 中文在线资源观看网站视频免费不卡| hitomi一区二区三区精品| 亚洲第一二三四区| 久久久国产精品不卡| 色综合中文字幕国产 | 日韩电影在线观看网站| 日韩伦理免费电影| 91福利资源站| 国产成人精品一区二| 国产精品一品视频| 伊人一区二区三区| 国产网站一区二区三区| 中文字幕欧美激情| 亚洲三级电影网站| 日韩精品免费专区| 亚洲女爱视频在线| 欧美国产一区在线| 一区二区三区资源| 亚洲欧洲日韩av| 久久女同精品一区二区| 国产精品区一区二区三区| 国产精品国模大尺度视频| 一区二区三区四区视频精品免费 | 亚洲一区二区在线免费观看视频| 国产精品久久国产精麻豆99网站| 亚洲黄色小视频| 秋霞国产午夜精品免费视频| 亚洲h精品动漫在线观看| 激情久久五月天| 欧美aⅴ一区二区三区视频| 国产福利一区在线| 91久久精品日日躁夜夜躁欧美| 欧美一区二区二区| 欧美性猛交一区二区三区精品| 精品国产凹凸成av人网站| 日韩欧美亚洲国产另类| 欧美日本一区二区在线观看| 色天天综合色天天久久| 91在线小视频| 日韩一区二区高清| 精品国产一区久久| 亚洲激情综合网| 国产麻豆精品一区二区| 国产成人精品网址| 91麻豆精品国产无毒不卡在线观看 | 亚洲精品乱码久久久久| 国产综合色在线视频区| 欧美日韩成人在线一区| 中文字幕中文字幕一区| 激情欧美一区二区三区在线观看| 色婷婷精品久久二区二区蜜臀av| 国产亚洲婷婷免费| 久久成人免费网站| 国产乱码精品一品二品| 欧美电影一区二区三区| 精品剧情v国产在线观看在线| 久久久一区二区三区| 麻豆精品一区二区综合av| 欧美性视频一区二区三区| 亚洲免费在线观看视频| 国产suv精品一区二区三区| 99re热视频这里只精品 | 国内精品嫩模私拍在线| 欧美精品丝袜久久久中文字幕| 亚洲女同女同女同女同女同69| 懂色av中文字幕一区二区三区| 久久影视一区二区| 亚洲精品视频在线看| 北条麻妃国产九九精品视频| 久久一二三国产| 成人久久18免费网站麻豆 | 亚洲免费观看高清完整版在线观看 | 一区二区高清免费观看影视大全| av电影天堂一区二区在线| 国产精品青草久久| 99久精品国产| 亚洲精品第1页| 欧美在线免费视屏| 国产欧美一区二区三区在线看蜜臀 | 91福利精品视频| 亚洲综合男人的天堂| 欧美日韩亚洲国产综合| 日本一区二区综合亚洲| 成人一二三区视频| 亚洲精品亚洲人成人网| 精品视频一区二区不卡| 日本免费在线视频不卡一不卡二| 337p亚洲精品色噜噜| 久久99精品国产麻豆婷婷| 色综合天天综合给合国产| 中文字幕一区二区三中文字幕| 色婷婷综合在线| 日日嗨av一区二区三区四区| 制服丝袜成人动漫| 国产一区二区三区最好精华液| 国产精品妹子av| 制服丝袜亚洲精品中文字幕| 韩国一区二区视频| 亚洲欧美日韩久久精品| 欧美肥大bbwbbw高潮| 福利电影一区二区三区| 日韩专区在线视频| 日本一区二区视频在线观看| 在线观看精品一区| 国产一区二区影院| 亚洲欧美另类小说| 日韩精品综合一本久道在线视频| 国产91精品久久久久久久网曝门| 一区二区三区在线视频免费观看| 日韩欧美一卡二卡| 99久久er热在这里只有精品66| 日韩—二三区免费观看av| 中文字幕高清不卡| 91精品国产综合久久精品麻豆| 国产乱码精品一区二区三| 亚洲成av人片一区二区| 欧美激情一二三区| 日韩欧美一区二区不卡| 色婷婷国产精品| 国产成人精品一区二| 日产欧产美韩系列久久99| 亚洲视频在线一区观看| 久久综合一区二区| 欧美另类z0zxhd电影| 一本在线高清不卡dvd| 国产成人自拍网| 毛片av一区二区| 亚洲成a人在线观看| 国产精品第五页| 中文字幕不卡一区| 久久九九久久九九| 精品国产乱码久久久久久闺蜜| 制服丝袜日韩国产| 欧美日韩在线电影| 色综合久久中文字幕综合网| 国产精品系列在线播放| 久久99久久久久久久久久久| 亚洲电影在线免费观看| 91精品国产色综合久久ai换脸| 色综合久久88色综合天天免费| 国产成人在线看| 国产精品中文字幕日韩精品| 石原莉奈在线亚洲三区| 亚洲va韩国va欧美va| 亚洲国产aⅴ天堂久久| 亚洲自拍偷拍网站| 一个色在线综合| 亚洲国产精品一区二区久久| 一区二区高清视频在线观看| 日本一区二区三区久久久久久久久不| 久久亚洲一区二区三区明星换脸| 欧美本精品男人aⅴ天堂| 精品国产一二三区| 国产欧美一区二区三区网站| 国产欧美一区二区三区沐欲| 欧美国产精品中文字幕| 国产精品久久精品日日| 亚洲私人黄色宅男| 亚洲成人你懂的| 久久激五月天综合精品| 国产精品资源在线看| 成人午夜伦理影院| 93久久精品日日躁夜夜躁欧美| 在线视频一区二区三| 欧美一区二区观看视频| 国产人成亚洲第一网站在线播放| 久久精品日韩一区二区三区| 国产精品久久久久久久久久免费看| 中文字幕字幕中文在线中不卡视频| 亚洲欧美激情在线| 日韩avvvv在线播放| 国产一区二区导航在线播放| 99久久精品国产麻豆演员表| 欧美日韩国产一区| 久久人人97超碰com| 亚洲人成网站精品片在线观看| 亚洲123区在线观看| 国产一区二区按摩在线观看| 色综合久久天天| 精品久久久久一区二区国产| 日韩美女视频一区二区| 日本系列欧美系列| 9人人澡人人爽人人精品| 欧美日韩亚洲高清一区二区| 国产视频一区二区在线| 亚洲成人激情自拍| 成人激情动漫在线观看| 成人午夜激情影院| 91精品国产色综合久久ai换脸| 国产精品久久久一本精品| 天天av天天翘天天综合网 |