function CS_SP()
img=imread('lena.bmp');
img=double(img);
[height,width]=size(img);
Phi=randn(floor(height/3),width);
Phi = Phi./repmat(sqrt(sum(Phi.^2,1)),[floor(height/3),1]);
mat_dct_1d=zeros(256,256); % building the DCT basis (corresponding to each column)
for k=0:1:
压缩感知重构之SP的matlab实现
最新推荐文章于 2022-08-11 14:42:00 发布