Class UnaryComputerOpCellLoader<T,S extends net.imglib2.type.NativeType<S>,R extends net.imglib2.RandomAccessibleInterval<T>>

java.lang.Object
sc.fiji.snt.filter.UnaryComputerOpCellLoader<T,S,R>
All Implemented Interfaces:
net.imglib2.cache.img.CellLoader<S>

public class UnaryComputerOpCellLoader<T,S extends net.imglib2.type.NativeType<S>,R extends net.imglib2.RandomAccessibleInterval<T>> extends Object implements net.imglib2.cache.img.CellLoader<S>
This class is taken directly from https://github.com/saalfeldlab/hot-knife
  • Constructor Details

    • UnaryComputerOpCellLoader

      public UnaryComputerOpCellLoader(R source, net.imagej.ops.special.computer.UnaryComputerOp<R,net.imglib2.RandomAccessibleInterval<S>> op)
      Constructs a new UnaryComputerOpCellLoader with the specified source and operation.
      Parameters:
      source - the source data
      op - the unary computer operation to apply
    • UnaryComputerOpCellLoader

      public UnaryComputerOpCellLoader(R source, net.imagej.ops.OpService opService, Class<? extends net.imagej.ops.Op> opClass, Object[] args)
  • Method Details

    • load

      public void load(net.imglib2.cache.img.SingleCellArrayImg<S,?> cell) throws Exception
      Specified by:
      load in interface net.imglib2.cache.img.CellLoader<T>
      Throws:
      Exception