Borrar filtros
Borrar filtros

Plotting points on a GUI using imshow3D

3 visualizaciones (últimos 30 días)
Mebiame
Mebiame el 3 de Jul. de 2017
Editada: Mebiame el 7 de Jul. de 2017
Hello,
I am fairly new to AMTLAB, and I am using the 'imshow3D' GUI for displaying 3D images and using the slider to switch through each slices. I wish to plot points on specific slices.
Each points have an X,Y, and Z component (Z being the slice number). I have tried using the code below;
[I,J,Z] = ind2sub(size(Eroded_EntropyFilterQ_3D_n16_pt3_Filter5_Struct_pt31012),cursor_info1(:,3))
figure,imshow3D(Eroded_EntropyFilterQ_3D_n16_pt3_Filter5_Struct_pt31012)
hold on
plot(J,I,'ro')
The points do plot in the slice viewer, however I get an error when switching through the slices, and the points appear on every slices.
Is there a way to fix this problem?
Thank you so much!

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by