How to use ginput for image segmentation?

1 vue (au cours des 30 derniers jours)
Veronika
Veronika le 7 Sep 2016
Modifié(e) : Veronika le 7 Sep 2016
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:
Required result:
Thank you for your answers.

Réponses (0)

Catégories

En savoir plus sur Data Exploration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by