forked from multifunkim/best-brainstorm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa41afa
commit 0818b31
Showing
4 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
function [ out_W, info ] = BEst_Wave850analysis( in_C, Nb_scales, Nb_level, Vmoments ) | ||
% Real Daubechies wavelet transform from Wavelab850 | ||
addpath(genpath('./Wavelab850')); | ||
info.Wfiltre = MakeONFilter('Daubechies',2*(Vmoments+1)); | ||
info.Noff = Nb_scales - Nb_level; | ||
out_W = zeros(size(in_C)); | ||
for i = 1:size(in_C,1) | ||
out_W(i,:) = fwt_po(in_C(i,:),info.Noff,info.Wfiltre); | ||
end | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
function [out_C] = BEst_Wave850synthesis( in_W, Winfo) | ||
% Real Daubechies wavelet reconstruction from Wavelab850 | ||
% Winfo.Noff : scaling level | ||
% Winfo.Wfiltre: filter used for the previous decomposition | ||
addpath(genpath('./Wavelab850')); | ||
out_C = zeros(size(in_W)); | ||
for i = 1:size(in_W,1) | ||
out_C(i,:) = iwt_po(in_W(i,:),Winfo.Noff,Winfo.Wfiltre); | ||
end | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters