Class LiftFunctionsToRAI


  • public final class LiftFunctionsToRAI
    extends Object
    Lifts Functions operating on some types I1, I2, ..., In, O extends Type<O> to a Function operating on RandomAccessibleIntervals of those types. An output RandomAccessibleInterval is created based off of the dimensions of the first input image and using the output type of the passed Function. The Function<I, O> is then applied iteratively over each pixel of the input image(s). NOTE: It is assumed that the input RAIs are the same size. If they are not, the lifted Function will only iteratively process the images until one image runs out of pixels to iterate over.
    Author:
    Gabriel Selzer, Mark Hiner