calculate pixel
1 view (last 30 days)
Show older comments
Hello... how I can calculate the number of pixels that I created using ginput...??? thanks..
0 Comments
Accepted Answer
Image Analyst
on 17 Mar 2012
Get the length of the x or y array that was returned.
[x,y] = ginput();
numberOfPoints = length(x);
More Answers (0)
See Also
Categories
Find more on Data Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!