How to use ginput for image segmentation?
1 次查看(过去 30 天)
显示 更早的评论
Dear all,
I tried ginput for image segmentation, but I obviously don´t know how to use it. My result is only figure with axes and curve. I attach printscreen of my result and the result of how it should look like. This is my code:
clc;close all;clear all;
figure
imshow('thorax-mdl.jpg')
[x,y] = ginput;
plot(x,y)
My result:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156199/image.jpeg)
Required result:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/156200/image.jpeg)
Thank you for your answers.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!