calculate pixel

2 Ansichten (letzte 30 Tage)
Rahma Yeni
Rahma Yeni am 17 Mär. 2012
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
Get the length of the x or y array that was returned.
[x,y] = ginput();
numberOfPoints = length(x);
  1 Kommentar
Rahma Yeni
Rahma Yeni am 17 Mär. 2012
Thank you @Image Analyst.. :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Exploration finden Sie in Help 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