calculate pixel

1 visualizzazione (ultimi 30 giorni)
Rahma Yeni
Rahma Yeni il 17 Mar 2012
Hello... how I can calculate the number of pixels that I created using ginput...??? thanks..

Risposta accettata

Image Analyst
Image Analyst il 17 Mar 2012
Get the length of the x or y array that was returned.
[x,y] = ginput();
numberOfPoints = length(x);
  1 Commento
Rahma Yeni
Rahma Yeni il 17 Mar 2012
Thank you @Image Analyst.. :)

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Data Exploration in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by