NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1521 (closed task: fixed)

Opened 2012-10-13T17:58:29-05:00

Last modified 2012-10-13T18:01:24-05:00

Provide example code for MeasurementService

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b5-scripting
Component: Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1508


Write example code that can document how to use the new MeasurementService.

Change History

comment:1 Changed 2012-10-13T18:01:24-05:00 by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

I added a MeasureTest plugin in the sandbox that satisfies this requirement. It allows one to calculate various metrics from the currently selected region of the active display. It also has various example implementations within the source code to elaborate on how to interact with the MeasurementService.