Why Sagittal and Coronal planes show per 3 times?

1 view (last 30 days)
As you can see to the viewer I am trying to develop, sagittal and coronal planes show up stacked x3 times each. It is the same image x3 times stacked together. Why is this? Any help? Here is the code I use:
slice1=floor(size(im2,1)/2);
slice2=floor(size(im2,2)/2);
slice3=floor(size(im2,3)/2);
axes(handles.axes2);
imshow(imadjust(permute(im2(:,slice2,:), [3 1 2])));
axes(handles.axes3);
imshow(imadjust(permute(im2(slice1,:,:), [3 2 1])));

Answers (0)

Categories

Find more on DICOM Format in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!