below is my shearlet code but error is coming.in 15th line unexpected matlab expression,can anyone help

1 次查看(过去 30 天)
% create image
A = rgb2gray(imread('C:\Users\HP\Desktop\steg\image.png'));
% shearlet transform
[ST,Psi] = shearletTransformSpect(A);
% inverse shearlet transform
C = inverseShearletTransformSpect(ST,Psi);
% plot results
subplot(2,2,1) imagesc('A') axis image off colormap(gray) title('original image')
subplot(2,2,2) imagesc(abs(ST(:,:,18))) axis image off colormap(gray) title('shearlet coefficients')
subplot(2,2,3) imagesc(Psi(:,:,18)) axis image off colormap(gray) title('shearlet')
subplot(2,2,4) imagesc(C) axis image off colormap(gray) title('reconstructed image')

采纳的回答

Star Strider
Star Strider 2018-3-4
Try this instead:
imagesc(A)
  4 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by