Circle ROI
 
Author: Bob Dougherty 
Installation: Download  (Circle_Roi.class, and CircleRoi.class) or Circle_Roi.java to the plugins folder.  (Windows users: right-click to download files.)
Description: This plugin makes a circular ROI by dragging the cursor across a diameter.  This capability was requested by Mark Hayworth.
The plugin uses the blank spot in the toolbar between the text and zoom tools.  Click on that spot to select the Circle ROI tool.
Limitations:
  • This is a PluginFilter.  It only works on the image that was in front when the plugin was run.
  • The ability to drag the ROI using the Circle ROI tool is lost if any other tool is selected.  Select the Oval Roi tool if dragging is necessary in this case.
  • Threads are used to orchestrate the work.  This is effective, but it would be more efficient to use events.  A future version may use events.
  • The tool in the toolbar (between the text and zoom tools, as noted) looks blank.
  • Do not run Circle Roi more than once or Circle Roi and Ellipse Roi on the same image: conflicts would be created.
  • Versions: 0: 7/1/2002  Beta release.
    1: 7/14/2002  The thread stops when the image is closed.
    Improvements
    Needed:
  • Detect and avoid conflicts between multiple Circle Roi objects or between Ellipse Roi and Circle Roi (Java 2 getListeners)
  • Make the operations fully event-driven.
  • Better facilities in ImageJ for adding tools, including the ability to add icons.
  • ImageJ: ImageJ can be freely downloaded from the ImageJ web site.