Ticket #1528 (closed defect: moved)

Opened 7 years ago

Last modified 7 years ago

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


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 7 years ago by bdezonia

  • Blocking 1467 added

comment:2 Changed 7 years ago 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 7 years ago by bdezonia

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

comment:4 Changed 6 years ago by curtis

  • Status changed from new to closed
  • Resolution set to moved
Note: See TracTickets for help on using tickets.