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

2 vues (au cours des 30 derniers jours)
% 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')

Réponse acceptée

Star Strider
Star Strider le 4 Mar 2018
Try this instead:
imagesc(A)
  4 commentaires

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by