- imagesc: https://www.mathworks.com/help/matlab/ref/imagesc.html
- imshow: https://www.mathworks.com/help/images/ref/imshow.html
Plot 2D image on 3D by the use of isonormals
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
José Alejandro Rojas López
el 28 de Jul. de 2020
Respondida: Akshat Dalal
el 25 de Feb. de 2025
How can I plot the saggital image on xz refence plane when I used isonormals to plot an 3D recontruction?
set ( handles.axes2, 'NextPlot', 'Replace')
imagesc ( imagen_rotada_a_graficar)
axis image
colormap gray
Ds = smooth3(mascaracontorno3D2);
fv = isosurface(Ds,0);
hiso = patch(fv, 'FaceColor', [0.6350 0.0780 0.1840], 'Edgecolor', 'none');
isonormals(Ds, hiso)
Ds1 = smooth3(mascaracontorno3D);
axis tight
camlight
camlight(-80,-10)
lighting gouraud
view(3)
daspect([1,1,1])

0 comentarios
Respuestas (1)
Akshat Dalal
el 25 de Feb. de 2025
Hi José,
You can plot this by utlizing the volume data you used for creating the 3D plot. Extract the sagittal slice from your volume data. The sagittal slice is typically taken along the Y-axis, meaning you will fix the Y value and vary X and Z. You can then use the 'imagesc' or 'imshow' functions to plot this slice in the XZ plane. Please refer the following documentation for more information:
Hope this helps!
0 comentarios
Ver también
Categorías
Más información sobre Volume Visualization en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!