calculate pixel

1 vue (au cours des 30 derniers jours)
Rahma Yeni
Rahma Yeni le 17 Mar 2012
Hello... how I can calculate the number of pixels that I created using ginput...??? thanks..

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by