Hello... how I can calculate the number of pixels that I created using ginput...??? thanks..

 Akzeptierte Antwort

Image Analyst
Image Analyst am 17 Mär. 2012

1 Stimme

Get the length of the x or y array that was returned.
[x,y] = ginput();
numberOfPoints = length(x);

Weitere Antworten (0)

Kategorien

Mehr zu Data Exploration finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by