Plotting points on a GUI using imshow3D
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!