Home compressive sensing and biorthogonal wavelet matrix
Reply: 0

compressive sensing and biorthogonal wavelet matrix

user984
1#
user984 Published in May 22, 2018, 4:34 am

I want to use compressive sensing to reconstruct an image from fewer samples. My problem is with Psi matrix which I want to be Biorthogonal wavelet coefficients but I don't know how to define it. I have used Fourier basis and Haar wavelet and it worked well. Here is my code with Haar wavelet.

Can anyone tell me how to define Psi matrix as Biorthogonal wavelet transform? Thanks in advance.

clc
close all
clear all
[fn,fp]=uigetfile({'*.*'});
tic 
A=im2double(rgb2gray(imread([fp,fn])));
figure(1),imshow(A)

xlabel('original')
x=A(:);
n=length(x);
m=0.3*n;
Phi=randn(m,n);   %Measurment Matrix
Psi=generate_haar(n);   %sensing Matrix which is made by generate_haar function

y=Phi*x;  %compressed signal
Theta=Phi*Psi;

%Initial Guess:  y=Theta*s => s=Theta\y
s2=Theta\y;

%Solution
s1=OMP( Theta, y, 1e-3);

%Reconstruction
x1=Psi*s1;
figure,imshow(reshape(x1,size(A))),xlabel('OMP')
toc
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.308326 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO