Class Fills


  • public class Fills
    extends Object
    Class containing Ops for filling images.
    Author:
    Gabriel Selzer
    • Constructor Detail

      • Fills

        public Fills()
    • Method Detail

      • iteratorFill

        public static <T extends Type<T>> void iteratorFill​(T constant,
                                                            Iterable<T> output)
        Default sequential implementation for all Iterables
        Parameters:
        constant - the value to fill the image with
        output - the output buffer to fill with constant
        Implementation Note:
        op names='image.fill', type=Computer
      • iteratorU128bitFill

        public static void iteratorU128bitFill​(Unsigned128BitType constant,
                                               Iterable<Unsigned128BitType> output)
        Default sequential implementation for all Iterable of Unsigned128BitType
        Parameters:
        constant - the value to fill the image with
        output - the output buffer to fill with constant
        Implementation Note:
        op names='image.fill', priority='10' type=Computer
      • loopBuilderFill

        public static <T extends Type<T>> void loopBuilderFill​(T constant,
                                                               RandomAccessibleInterval<T> output)
        Default parallel implementation using LoopBuilder
        Parameters:
        constant - the value to fill the image with
        output - the output buffer to fill with constant
        Implementation Note:
        op names='image.fill', priority='100.', type=Computer