Ticket #948 (closed task: moved)

Opened 8 years ago

Last modified 7 years ago

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 8 years ago by curtis

  • Blocking 829 added

comment:2 Changed 8 years ago by bdezonia

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

comment:3 Changed 8 years ago 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 7 years ago by bdezonia (previous) (diff)

comment:4 Changed 7 years ago 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 7 years ago by curtis

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

comment:6 Changed 7 years ago 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 7 years ago 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 7 years ago 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 7 years ago by bdezonia

  • Blocking 1296 removed

comment:8 Changed 5 years ago by curtis

  • Status changed from new to closed
  • Resolution set to moved
Note: See TracTickets for help on using tickets.