calculate pixel

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

 Respuesta aceptada

Image Analyst
Image Analyst el 17 de Mzo. de 2012

1 voto

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

Más respuestas (0)

Categorías

Más información sobre Data Exploration en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by