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 件)
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!