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 radonExpected input number 1, I, to betwo-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);
Best Answer