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);

1 件のコメント

Rahma Yeni
Rahma Yeni 2012 年 3 月 17 日
Thank you @Image Analyst.. :)

サインインしてコメントする。

その他の回答 (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