Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
% 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')

Risposta accettata

Star Strider
Star Strider il 4 Mar 2018
Try this instead:
imagesc(A)
  4 Commenti

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by