Manually mark and count objects in an image.
Updated 1 Sep 2016

View License

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
markPoints(..., task)
task (optional input) may be:
'Clear' (deletes existing marks)
'Count' (returns the count of existing marks)
'Mark' (Default; return to marking task)

Cite As

Brett Shoelson (2024). markPoints (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Updated license

Added copyright.