Code covered by the BSD License  

Highlights from
myslicer - make mouse-interactive slices of a 3-D volume

image thumbnail
from myslicer - make mouse-interactive slices of a 3-D volume by Anders Brun
A minimal "slicer" for the exploration of 3-D volumes using mouse interaction

myslicer(vol,T);
function h = myslicer(vol,T);

if nargin < 2
  T = eye(4);
end



h1 = slice3i(vol,T,1,round(size(vol,1)/2));
h2 = slice3i(vol,T,2,round(size(vol,2)/2));
h3 = slice3i(vol,T,3,round(size(vol,3)/2));

h = [h1,h2,h3];

view(30,45);
axis equal;
axis vis3d;



 

Contact us at files@mathworks.com