Sometimes you need to be able to manually count objects or regions in an image. (You may want to validate an automatic count, for instance.) This tool facilitates that task by allowing you to mark objects with cursor clicks. Then you can tally and delete them.
Operates on current image object
Activates and operates on image imgHandle
task (optional input) may be:
'Clear' (deletes existing marks)
'Count' (returns the count of existing marks)
'Mark' (Default; return to marking task)
Brett Shoelson (2023). markPoints (https://www.mathworks.com/matlabcentral/fileexchange/33123-markpoints), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!