KDTree, perhaps there is a way to convert data like this:
from net.imglib2 import RealPoint spheres = [ RealPoint([100.2, 10.3, 23.5]), RealPoint([340.2, 55.0, 47.8]), ... ]
… into a sparse
RealRandomAccessible. How would one go about it, @tpietzsch ?
The radius can be the same for all, or specified differently–doesn’t matter. The
RealRandomAccessible's cursor should return a value when inside and zero when outside the radius of any of the spheres.