4444 * {@link OpCollection} containing all of the transform {@link Op}s.
4545 *
4646 * TODO move these type variables into each Op?
47- *
47+ *
4848 * @author Gabe Selzer
4949 *
5050 *
@@ -95,7 +95,6 @@ public class Transforms<T, R extends RealType<R>, N extends NumericType<N>, Y ex
9595
9696 @ OpField (names = "transform.collapseRealView" )
9797 @ Parameter (key = "input" )
98- @ Parameter (key = "numChannels" )
9998 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
10099 public final Function <RandomAccessibleInterval <R >, CompositeIntervalView <R , ? extends RealComposite <R >>> collapseRealViewRAI = Views ::collapseReal ;
101100
@@ -107,7 +106,6 @@ public class Transforms<T, R extends RealType<R>, N extends NumericType<N>, Y ex
107106
108107 @ OpField (names = "transform.collapseNumericView" )
109108 @ Parameter (key = "input" )
110- @ Parameter (key = "numChannels" )
111109 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
112110 public final Function <RandomAccessibleInterval <N >, CompositeIntervalView <N , ? extends NumericComposite <N >>> collapseNumericViewRAI = Views ::collapseNumeric ;
113111
@@ -137,7 +135,7 @@ public class Transforms<T, R extends RealType<R>, N extends NumericType<N>, Y ex
137135 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
138136 public final TriFunction <Integer , StackAccessMode , List <RandomAccessibleInterval <T >>, RandomAccessibleInterval <T >> concatenateStackList = Views ::concatenate ;
139137
140- @ OpField (names = "transform.dropSingletonDimensions " )
138+ @ OpField (names = "transform.dropSingletonDimensionsView " )
141139 @ Parameter (key = "input" )
142140 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
143141 public final Function <RandomAccessibleInterval <T >, RandomAccessibleInterval <T >> dropSingletonDimensions = Views ::dropSingletonDimensions ;
@@ -217,14 +215,14 @@ public class Transforms<T, R extends RealType<R>, N extends NumericType<N>, Y ex
217215 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
218216 public final BiFunction <E , InterpolatorFactory <T , E >, RealRandomAccessible <T >> interpolateView = Views ::interpolate ;
219217
220- @ OpField (names = "transform.interpolateView " )
218+ @ OpField (names = "transform.intervalView " )
221219 @ Parameter (key = "input" )
222220 @ Parameter (key = "min" )
223221 @ Parameter (key = "max" )
224222 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
225223 public final TriFunction <RandomAccessible <T >, long [], long [], IntervalView <T >> intervalMinMax = Views ::interval ;
226224
227- @ OpField (names = "transform.interpolateView " )
225+ @ OpField (names = "transform.intervalView " )
228226 @ Parameter (key = "input" )
229227 @ Parameter (key = "interval" )
230228 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
@@ -254,6 +252,19 @@ public class Transforms<T, R extends RealType<R>, N extends NumericType<N>, Y ex
254252 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
255253 public final BiFunction <RandomAccessibleInterval <T >, long [], IntervalView <T >> offsetRAI = Views ::offset ;
256254
255+ @ OpField (names = "transform.offsetView" )
256+ @ Parameter (key = "input" )
257+ @ Parameter (key = "intervalMin" )
258+ @ Parameter (key = "intervalMax" )
259+ @ Parameter (key = "result" , type = ItemIO .OUTPUT )
260+ public final TriFunction <RandomAccessible <T >, long [], long [], IntervalView <T >> offsetIntervalMinMax = Views ::offsetInterval ;
261+
262+ @ OpField (names = "transform.offsetView" )
263+ @ Parameter (key = "input" )
264+ @ Parameter (key = "interval" )
265+ @ Parameter (key = "result" , type = ItemIO .OUTPUT )
266+ public final BiFunction <RandomAccessible <T >, Interval , IntervalView <T >> offsetInterval = Views ::offsetInterval ;
267+
257268 @ OpField (names = "transform.permuteView" , priority = Priority .LOW )
258269 @ Parameter (key = "input" )
259270 @ Parameter (key = "fromAxis" )
@@ -296,7 +307,7 @@ public class Transforms<T, R extends RealType<R>, N extends NumericType<N>, Y ex
296307
297308 @ OpField (names = "transform.rasterView" )
298309 @ Parameter (key = "input" )
299- @ Parameter (key = "result" )
310+ @ Parameter (key = "result" , type = ItemIO . OUTPUT )
300311 public final Function <RealRandomAccessible <T >, RandomAccessibleOnRealRandomAccessible <T >> rasterize = Views ::raster ;
301312
302313 @ OpField (names = "transform.rotateView" , priority = Priority .LOW )
@@ -328,23 +339,23 @@ public class Transforms<T, R extends RealType<R>, N extends NumericType<N>, Y ex
328339 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
329340 public final QuadFunction <RandomAccessible <T >, Interval , Integer , Integer , IntervalView <T >> shearInterval = Views ::shear ;
330341
331- @ OpField (names = "transform.shearView " )
342+ @ OpField (names = "transform.stackView " )
332343 @ Parameter (key = "inputs" )
333344 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
334345 public final Function <List <? extends RandomAccessibleInterval <T >>, RandomAccessibleInterval <T >> stackList = Views ::stack ;
335346
336- @ OpField (names = "transform.shearView " )
347+ @ OpField (names = "transform.stackView " )
337348 @ Parameter (key = "inputs" )
338349 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
339350 public final Function <RandomAccessibleInterval <T >[], RandomAccessibleInterval <T >> stackArray = Views ::stack ;
340351
341- @ OpField (names = "transform.shearView " )
352+ @ OpField (names = "transform.stackView " )
342353 @ Parameter (key = "stackAccessMode" )
343354 @ Parameter (key = "inputs" )
344355 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
345356 public final BiFunction <StackAccessMode , List <? extends RandomAccessibleInterval <T >>, RandomAccessibleInterval <T >> stackAccessList = Views ::stack ;
346357
347- @ OpField (names = "transform.shearView " )
358+ @ OpField (names = "transform.stackView " )
348359 @ Parameter (key = "stackAccessMode" )
349360 @ Parameter (key = "inputs" )
350361 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
@@ -401,7 +412,7 @@ public class Transforms<T, R extends RealType<R>, N extends NumericType<N>, Y ex
401412 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
402413 public final QuadFunction <RandomAccessible <T >, Interval , Integer , Integer , IntervalView <T >> unshearRAI = Views ::unshear ;
403414
404- @ OpField (names = "transform.zeroMin " )
415+ @ OpField (names = "transform.zeroMinView " )
405416 @ Parameter (key = "input" )
406417 @ Parameter (key = "result" , type = ItemIO .OUTPUT )
407418 public final Function <RandomAccessibleInterval <T >, IntervalView <T >> zeroMinView = Views ::zeroMin ;
0 commit comments