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

 채택된 답변

Image Analyst
Image Analyst 2012년 3월 17일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Data Exploration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by