Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
% 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')

Akzeptierte Antwort

Star Strider
Star Strider am 4 Mär. 2018
Try this instead:
imagesc(A)
  4 Kommentare

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by