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.
SYNTAX:
markPoints
Operates on current image object
markPoints(imgHandle)
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 (https://www.mathworks.com/matlabcentral/fileexchange/33123-markpoints), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Neighborhood and Block Processing >
Tags
Acknowledgements
Inspired: PERFORMANCE_ANALYSIS_OF_OFDM_IN_DIFFERENT_CODING_TECHNIQUES, imageToolbar
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.