- java.lang.Object
-
- org.scijava.ops.image.copy.Copiers
-
public final class Copiers extends Object
-
-
Method Summary
-
-
-
Method Detail
-
copyType
public static <T extends Type<T>> void copyType(T input, T output)
-
copyRAI
public static <T> void copyRAI(Computers.Arity1<T,T> copier, RandomAccessibleInterval<T> input, RandomAccessibleInterval<T> copy)
Copies aRandomAccessibleIntervalinto anotherRandomAccessibleInterval- Type Parameters:
T- the element type of each image- Parameters:
copier- aComputers.Arity1that knows how to copy each pixel.input- theRandomAccessibleIntervalwhose data will be copiedcopy- theRandomAccessibleIntervalthat will be filled with the contents ofinput- Implementation Note:
- op names='copy.rai, copy.img, engine.copy', priority='10.0', type=Computer
-
copyImgLabeling
public static <T extends IntegerType<T> & NativeType<T>,L> void copyImgLabeling(Computers.Arity1<RandomAccessibleInterval<T>,RandomAccessibleInterval<T>> raiCopier, Computers.Arity1<LabelingMapping<L>,LabelingMapping<L>> mappingCopier, ImgLabeling<L,T> input, ImgLabeling<L,T> output)
CopyingImgLabelinginto anotherImgLabeling- Type Parameters:
T- the element type of each image- Parameters:
raiCopier- an Op that can copyRandomAccessibleIntervalsmappingCopier- an Op that can copyLabelingMappingsinput- theImgLabelingto copyoutput- the destination container of the copy operation- Implementation Note:
- op names='copy.imgLabeling, engine.copy', type=Computer
-
copyLabelingMapping
public static <L> void copyLabelingMapping(LabelingMapping<L> input, LabelingMapping<L> output)
Copies aLabelingMappinginto anotherLabelingMapping- Type Parameters:
L- the type of theLabelingMappingelements- Parameters:
input- theLabelingMappingto copyoutput- the destination container of the copy operation- Implementation Note:
- op names='copy.labelingMapping, engine.copy', priority='10000.', type=Computer
-
copyArrayImage
public static <T extends NativeType<T>,A extends ArrayDataAccess<A>> void copyArrayImage(ArrayImg<T,A> input, ArrayImg<T,A> output)
- Type Parameters:
T- the type of the elements of each imageA- the type of the backing data storage for each image- Parameters:
input- theArrayImgto copyoutput- the destination container of the copy operation- Implementation Note:
- op names='copy.img, engine.copy', priority='10000.', type=Computer
-
copyIterableInterval
public static <T> void copyIterableInterval(Computers.Arity1<Iterable<T>,Iterable<T>> copier, IterableInterval<T> input, IterableInterval<T> output)
Copies anIterableIntervalinto anotherIterableInterval- Type Parameters:
T- the element type of theIterableIntervals- Parameters:
copier- an Op responsible for copying element typesinput- theIterableIntervalto copyoutput- the destination container of the copy operation- Implementation Note:
- op names='copy.iterableInterval, copy.img, engine.copy', priority='1.0', type=Computer
-
-