- java.lang.Object
-
- org.scijava.ops.image.image.fill.Fills
-
public class Fills extends Object
Class containing Ops for filling images.- Author:
- Gabriel Selzer
-
-
Constructor Summary
Constructors Constructor Description Fills()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Type<T>>
voiditeratorFill(T constant, Iterable<T> output)Default sequential implementation for allIterablesstatic voiditeratorU128bitFill(Unsigned128BitType constant, Iterable<Unsigned128BitType> output)Default sequential implementation for allIterableofUnsigned128BitTypestatic <T extends Type<T>>
voidloopBuilderFill(T constant, RandomAccessibleInterval<T> output)Default parallel implementation usingLoopBuilderstatic voidu128bitFill(Unsigned128BitType constant, RandomAccessibleInterval<Unsigned128BitType> output)Specialized fill implementation forUnsigned128BitType, handling overflow by passing the value viaBigInteger
-
-
-
Method Detail
-
iteratorFill
public static <T extends Type<T>> void iteratorFill(T constant, Iterable<T> output)
Default sequential implementation for allIterables- Parameters:
constant- the value to fill the image withoutput- the output buffer to fill withconstant- Implementation Note:
- op names='image.fill', type=Computer
-
iteratorU128bitFill
public static void iteratorU128bitFill(Unsigned128BitType constant, Iterable<Unsigned128BitType> output)
Default sequential implementation for allIterableofUnsigned128BitType- Parameters:
constant- the value to fill the image withoutput- the output buffer to fill withconstant- 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 usingLoopBuilder- Parameters:
constant- the value to fill the image withoutput- the output buffer to fill withconstant- Implementation Note:
- op names='image.fill', priority='100.', type=Computer
-
u128bitFill
public static void u128bitFill(Unsigned128BitType constant, RandomAccessibleInterval<Unsigned128BitType> output)
Specialized fill implementation forUnsigned128BitType, handling overflow by passing the value viaBigInteger- Parameters:
constant- the value to fill the image withoutput- the output buffer to fill withconstant- Implementation Note:
- op names='image.fill', priority='1000.', type=Computer
-
-