Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[f1ff16]: comp / comp_isepdgt.m Maximize Restore History

Download this file

comp_isepdgt.m    32 lines (26 with data), 814 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
function [f]=comp_isepdgt(coef,g,L,a,M)
%COMP_ISEPDGT Separable IDGT.
% Usage: f=comp_isepdgt(c,g,L,a,M);
%
% This is a computational routine. Do not call it directly.
%
% Input must be in the M x N x W format.
%
% See also: idgt
% AUTHOR : Peter L. Søndergaard.
% TESTING: OK
% REFERENCE: OK
Lwindow=size(g,1);
if L==Lwindow
% Do full-window algorithm.
% coef=reshape(coef,M,prod(size(coef))/M);
% Get the factorization of the window.
%gf = comp_wfac(g,a,M);
% Call the computational subroutine.
f = comp_idgt_long(coef,g,L,a,M);
else
%coef=reshape(coef,M,prod(size(coef))/M);
% Do filter bank algorithm.
% Call the computational subroutine.
f=comp_idgt_fb(coef,g,L,a,M);
end;