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 #948 (closed task: moved)

Opened 2012-02-06T09:53:29-06:00

Last modified 2012-12-12T10:39:09-06:00

Implement Text Tool

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b9-rois
Component: Tools Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #829


Change History

comment:1 Changed 2012-02-20T10:27:12-06:00 by curtis

  • Blocking 829 added

comment:2 Changed 2012-02-20T12:09:51-06:00 by bdezonia

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta2

comment:3 Changed 2012-03-07T11:37:44-06:00 by bdezonia

Note that some things about text rendering will have to change to support IJ1 functionality.

In IJ1 you draw text with the text tool. You can drag text around if you like. Then you do one of two things:

  • ctrl-b creates a text overlay that is visible no matter what channel of a multichannel image is current and on all planes
  • ctrl-d renders the text in the current plane of the current channel of a multichannel image

Note that currently IJ2's rendering of text goes directly into the Dataset at the current x,y,z,t,etc. for all channel planes. We'd need to allow rendering into a single channel plane to be exactly like IJ1.

Last edited 2012-05-21T12:07:56-05:00 by bdezonia

comment:4 Changed 2012-05-21T12:12:44-05:00 by bdezonia

We need functionality that can interact with keyboard and display text (in current FG color) starting at last recorded mouse point. Must respond to input and backspacing and draw the text in the window that is a preview of what will be inserted into the dataset. The insertion will either be in one channel of the current plane or in all channels of all planes. In IJ1 there is a bounding box drawn that reshapes as text is added or deleted. The preview means the TextTool has to draw into a temporary Dataset that is overlaid on top of current Dataset or ARGBScreenImage.

comment:5 Changed 2012-07-03T14:09:25-05:00 by curtis

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:6 Changed 2012-08-14T12:01:22-05:00 by bdezonia

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta6

Beta 6 (concentrating on rois) is a better home for this ticket

comment:7 Changed 2012-11-30T11:23:25-06:00 by bdezonia

Nite that recently I added a place holder class called TextOverlay that is already translating back and forth across the legacy layer. This TextOverlay class will need to be enhanced to support the editing and formatting we want. And those changes will also have to be updated in OverlayHarmonizer.

comment:8 Changed 2012-12-12T10:37:58-06:00 by bdezonia

  • Blocking 1296 added

(In #1296) CURRENT STATUS: other tickets (#948, #1581) detail what needs to happen to create a text tool, to support an agnostic TextOverlay, etc. This ticket has no work left except to test that when those tickets are closed this legacy command works correctly.

comment:9 Changed 2012-12-12T10:39:09-06:00 by bdezonia

  • Blocking 1296 removed

comment:8 Changed 2014-05-04T08:35:28-05:00 by curtis

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