Hello all, I have code to generate 3D volume , which is –
load mri.mat;K = squeeze(D);K = padarray(K,[10 10 10],'both');Ds = smooth3(K);i_surface = isosurface(Ds,5);hold allhiso = patch('Vertices', i_surface.vertices,... 'Faces', i_surface.faces,... 'FaceColor', [.2,.8,.9],... 'FaceAlpha',0.5,'EdgeColor', 'none','EdgeAlpha',0.9);axis tight daspect([1,1,0.4])lightangle(-40,30); lightangle(90,0); lightangle(-180,0); set(gcf,'Renderer','zbuffer'); lighting phongisonormals(Ds,hiso)set(hiso, 'SpecularColorReflectance', 0, 'SpecularExponent', 50)view(-16,90);
Now I want to show three views (axial,sagittal and coronal) on different axes in GUI, how should I program that according to "axes handle" (axes(handles.axes))? Thank you
Best Answer