Ticket #1281 (new defect)

Opened 7 years ago

Last modified 7 years ago

Edit >> Selection >> Image To Selection broken

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

Description

Open boats. Create a new image (8-bit, 1024x1024). Run Edit >> Selection >> Image To Selection. A rectangular overlay is inserted. It is at the correct place and is the correct size. But the pixel data is all 0.

Change History

comment:1 Changed 7 years ago by bdezonia

  • Blocking 1331 added

comment:2 Changed 7 years ago by bdezonia

  • Blocking 285 added; 1331 removed
  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta6

It seems that in IJ1 an ImageRoi is made. And it is a rectangle with internal image values. You can place it in image and drag it around. I think there might be a way to explode it so that pixels are draw into image.

Anyhow the legacy layer simply detects it as a Rectangle roi and makes a corresponding rectangle. The legacy layer needs to determine that the roi has an image associated with it and make an (as yet unwritten) ImageOverlay that can contain and draw the data.

Version 0, edited 7 years ago by bdezonia (next)
Note: See TracTickets for help on using tickets.