MATLAB Answers

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

2 views (last 30 days)
% 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')

Accepted Answer

Star Strider
Star Strider on 4 Mar 2018
Try this instead:
imagesc(A)
  4 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!