Ticket #728 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

IJ2 Image Calculator differs from IJ1

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b1-initial
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

The IJ2 Image Calculator does not act exactly like IJ1.

IJ1 has dialog options (new window versus change existing window in place, can specify want a 32-bit image). IJ2 does not.

In IJ1 if you give it two images that are different sizes it calculates the output image as the smallest image dimensions that cover both images. IJ2 does this if you pass the small map as the first argument and does nothing (complete fail) if the bigger map is passed first.

Change History

comment:1 Changed 8 years ago by bdezonia

In 52f31128a1fbc538f4817a362c9d799636a26dc5 made the created image the size of the overlapping area of the two input images. This matches IJ1 behavior.

TODO - the IJ1 dialog options:

  • create a floating point output image (maybe have user specify output type in general)
  • allow original image to be replaced with newly created image

comment:2 Changed 8 years ago by bdezonia

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

Fixed in a8e980e26945223c3780dc4efca4ea4e5a99df25

Note: See TracTickets for help on using tickets.