Module org.scijava.ops.image
Package org.scijava.ops.image.labeling
Class MergeLabeling<L,I extends IntegerType<I>,B extends BooleanType<B>>
- java.lang.Object
-
- org.scijava.ops.image.labeling.MergeLabeling<L,I,B>
-
- All Implemented Interfaces:
Functions.Arity3<ImgLabeling<L,I>,ImgLabeling<L,I>,RandomAccessibleInterval<B>,ImgLabeling<L,I>>
public class MergeLabeling<L,I extends IntegerType<I>,B extends BooleanType<B>> extends Object implements Functions.Arity3<ImgLabeling<L,I>,ImgLabeling<L,I>,RandomAccessibleInterval<B>,ImgLabeling<L,I>>
Merges the labels of twoImgLabelingwithin a defined mask (if provided). Outside of the mask, labels will be empty.- Author:
- Stefan Helfrich (University of Konstanz)
- Implementation Note:
- op names='labeling.merge'
-
-
Constructor Summary
Constructors Constructor Description MergeLabeling()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImgLabeling<L,I>apply(ImgLabeling<L,I> input1, ImgLabeling<L,I> input2, RandomAccessibleInterval<B> mask)TODO-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.scijava.function.Functions.Arity3
andThen
-
-
-
-
Method Detail
-
apply
public ImgLabeling<L,I> apply(ImgLabeling<L,I> input1, ImgLabeling<L,I> input2, RandomAccessibleInterval<B> mask)
TODO- Specified by:
applyin interfaceFunctions.Arity3<ImgLabeling<L,I extends IntegerType<I>>,ImgLabeling<L,I extends IntegerType<I>>,RandomAccessibleInterval<B extends BooleanType<B>>,ImgLabeling<L,I extends IntegerType<I>>>- Parameters:
input1-input1-mask-- Returns:
- an
ImgLabelingthat combines the labels ofinput1andinput2
-
-