imagej-ops icon indicating copy to clipboard operation
imagej-ops copied to clipboard

Make Function version of Slice

Open dietzc opened this issue 9 years ago • 3 comments

Currently, slice needs some RAI<I> and RAI<O> and an UnaryComputer<RAI<I>,RAI<O>> in addition to the fixed axis. We can add a version which takes a Function<RAI<I>, O> and return an RAI<O> which has the dimensionality of the axis we were iterating. For example X,Y,Z,Time with fixed X,Y,Z axis would return a 1D RAI<DoubleType> if we want to compute the mean for each cube.

dietzc avatar Nov 15 '16 20:11 dietzc

@hadim

(just to add me to the notif)

hadim avatar Nov 15 '16 20:11 hadim

This has also come up in #461.

stelfrich avatar Oct 18 '17 05:10 stelfrich

I wouldn't address this before we have the new scijava-ops stuff in place.

dietzc avatar Oct 18 '17 06:10 dietzc