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 #1691 (closed defect: fixed)

Opened 2013-03-15T10:48:32-05:00

Last modified 2013-03-19T11:05:06-05:00

Pull threshold code out of core commands

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b7-ndim-data
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1398


From a chat with ctrueden:

Another thing you could work on is pushing the ... threshold logic up out of the "core commands" packages.
Right now, the entirety of the auto-thresholding API is part of ij-commands, and would be much better served in ij-data.
That is, ThresholdService should have methods for performing auto-thresholding, etc.
It should be able to report back all the available auto-thresholding methods...
And the Threshold command should be a thin wrapper over the service methods.
Let me know if that needs any clarification, or if you disagree.

Change History

comment:1 Changed 2013-03-19T11:05:06-05:00 by bdezonia

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

ThresholdService already existed. Enhanced with commit 66cc3729ae0cbc74af9b1dddb7abe87cff41c811