Code covered by the BSD License  

Highlights from
markPoints

5.0

5.0 | 2 ratings Rate this file 13 Downloads (last 30 days) File Size: 2.22 KB File ID: #33123
image thumbnail

markPoints

by Brett Shoelson

 

04 Oct 2011 (Updated 23 Jan 2012)

Manually mark and count objects in an image.

| Watch this File

File Information
Description

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)

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.13 (2011b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
12 Apr 2012 Lasse

Buggy. Slow and counting does not actually work.

15 Apr 2012 Brett Shoelson

Lasse, your feedback isn't very helpful to me. I use this function frequently, and can assure you that it _does_ work. Perhaps you can tell me why you think it's not working, or why it's buggy, and let me take a look?

This file has been downloaded hundreds of times. Is anyone else finding it to be buggy or nonfunctional? If there are bugs to be fixed or improvements to be made, I'd like the opportunity to fix/make them.

Thanks! Brett

19 Apr 2012 Lasse

It actually works fine. The reason I couldn't make it work was because I was working on a image that had been overlayed with plots. Sorry for the first comment.

Please login to add a comment or rating.
Updates
23 Jan 2012

Added copyright.

Tag Activity for this File
Tag Applied By Date/Time
count objects regions image impoint tally Brett Shoelson 12 Jan 2012 14:13:22

Contact us at files@mathworks.com