Error using radon Expected input number 1, I, to be two-dimensional.
Mostrar comentarios más antiguos
my code is
ImageFile = imread('ct_brain2.jpg');
fotob = ImageFile; %the class is uint8
proy = 100;
cacah = 180/proy;
theta = 0:cacah:180-cacah;
[R,xp] = radon(fotob,theta);
citra = iradon(R,cacah);
imshow(citra)
I am getting an error as,
Error using radon
Expected input number 1, I, to be
two-dimensional.
Error in radon (line 63)
validateattributes(I,{'numeric','logical'},{'2d','nonsparse'},mfilename,'I',1);
Error in CT_test (line 57)
[R,xp] = radon(fotob,theta);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Transforms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!