Module org.scijava.ops.image
Class MapNeighborhoodWithCenter<I,O>
- java.lang.Object
-
- org.scijava.ops.image.map.neighborhood.MapNeighborhoodWithCenter<I,O>
-
- All Implemented Interfaces:
Computers.Arity3<RandomAccessibleInterval<I>,Shape,Computers.Arity2<Iterable<I>,I,O>,IterableInterval<O>>,Consumers.Arity4<RandomAccessibleInterval<I>,Shape,Computers.Arity2<Iterable<I>,I,O>,IterableInterval<O>>
public class MapNeighborhoodWithCenter<I,O> extends Object implements Computers.Arity3<RandomAccessibleInterval<I>,Shape,Computers.Arity2<Iterable<I>,I,O>,IterableInterval<O>>
Evaluates a computer Op for eachNeighborhoodon the inputRandomAccessibleIntervaland sets the value of the corresponding pixel on the outputIterableInterval. Similar toDefaultMapNeighborhood, but passes the center pixel to the op as well.- Author:
- Jonathan Hale (University of Konstanz), Stefan Helfrich (University of Konstanz)
- Implementation Note:
- op names='map.neighborhood'
-
-
Constructor Summary
Constructors Constructor Description MapNeighborhoodWithCenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompute(RandomAccessibleInterval<I> input, Shape shape, Computers.Arity2<Iterable<I>,I,O> centerAwareOp, IterableInterval<O> output)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.scijava.function.Computers.Arity3
accept
-
Methods inherited from interface org.scijava.function.Consumers.Arity4
andThen
-
-
-
-
Method Detail
-
compute
public void compute(RandomAccessibleInterval<I> input, Shape shape, Computers.Arity2<Iterable<I>,I,O> centerAwareOp, IterableInterval<O> output)
TODO- Specified by:
computein interfaceComputers.Arity3<RandomAccessibleInterval<I>,Shape,Computers.Arity2<Iterable<I>,I,O>,IterableInterval<O>>- Parameters:
input-shape-centerAwareOp-output-
-
-