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

Opened 2011-08-17T13:39:27-05:00

Last modified 2011-10-10T16:12:18-05:00

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 2011-10-10T11:01:48-05:00 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 2011-10-10T16:12:18-05:00 by bdezonia

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

Fixed in a8e980e26945223c3780dc4efca4ea4e5a99df25