Plotting points on a GUI using imshow3D
1 view (last 30 days)
Show older comments
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!
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!