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

Opened 2012-10-15T16:17:56-05:00

Last modified 2013-01-22T12:26:19-06:00

Support region sampling code

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-unscheduled
Component: ImgLib2 OPS Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1467

Description

PointSets grew out of a few needs but one being the ability to sample a region at integral spacings. In implementing the code for #1523 it occurred to me that this might be the relationship between RegionOfInterest and PointSet.

It would be nice to specify Samplings which can return sets of coordinates in either real or integer coordinate spaces as needed.

Our current HyperVolumePointSet could instead be a RegularGridSampling at integral coordinates. Samplings could be composites (so they could support the complement, intersection, union, difference operations). They may refer to a RegionOfInterest but maybe instead to a space (with some default spaces defined and at least one class that treats a RegionOfInterest as a space).

Change History

comment:1 Changed 2012-10-15T16:19:00-05:00 by bdezonia

  • Blocking 1467 added

comment:2 Changed 2012-11-05T11:47:27-06:00 by bdezonia

I have mocked up some code in the sandbox-sampling branch of Imglib OPS (in the sandbox.sampling subpackage). A sampling works in real coordinate space. And it implements some of the interval interfaces so that you can pull int coord values out of it if needed. This stuff could be useful later.

comment:3 Changed 2013-01-22T12:26:19-06:00 by bdezonia

  • Milestone changed from imagej2-b7-ndim-data to imageJ-2.0.0-TODO

comment:4 Changed 2014-08-27T07:05:45-05:00 by curtis

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