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 #1850 (closed defect: moved)

Opened 2013-05-06T11:21:22-05:00

Last modified 2013-06-04T12:33:52-05:00

GradientImage example has style issues

Reported by: bdezonia Owned by: bdezonia
Priority: minor Milestone: imagej2-b8-analysis
Component: Analysis Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1519

Description

In the tutorial code we have a simple command example. It creates a GradientImage. However the code example uses bad style in that it is somewhat dependent upon the expectation that the created Img is backed by PlanarAccess. It uses setPlane(). This is to show users that they can ignore our generic types. But for the June 2013 beta release (beta 7) we are thinking that the Img creating/opening code will work in CellImgs depending upon the size of the Img. So we shouldn't encourage users to rely on setPlane(). Or we need to change its contract.

Change History

comment:1 Changed 2013-06-04T12:33:52-05:00 by bdezonia

  • Blocking 1519 added; 1398 removed
  • Milestone changed from imagej2-b7-ndim-data to imagej2-b8-analysis

comment:2 Changed 2014-08-18T11:48:30-05:00 by curtis

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