Module org.scijava.ops.image
Class CooccurrenceMatrix<T extends RealType<T>>
- java.lang.Object
-
- org.scijava.ops.image.image.cooccurrenceMatrix.CooccurrenceMatrix<T>
-
- Type Parameters:
T- - the inputRealType.
- All Implemented Interfaces:
Functions.Arity4<RandomAccessibleInterval<T>,MatrixOrientation,Integer,Integer,double[][]>
public class CooccurrenceMatrix<T extends RealType<T>> extends Object implements Functions.Arity4<RandomAccessibleInterval<T>,MatrixOrientation,Integer,Integer,double[][]>
Handler Op delegating betweenCooccurrenceMatrix2DandCooccurrenceMatrix3D.- Author:
- Gabriel Selzer
- Implementation Note:
- op names='image.cooccurrenceMatrix'
-
-
Constructor Summary
Constructors Constructor Description CooccurrenceMatrix()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[][]apply(RandomAccessibleInterval<T> input, MatrixOrientation orientation, Integer nrGreyLevels, Integer distance)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.Arity4
andThen
-
-
-
-
Method Detail
-
apply
public double[][] apply(RandomAccessibleInterval<T> input, MatrixOrientation orientation, Integer nrGreyLevels, Integer distance)
TODO- Specified by:
applyin interfaceFunctions.Arity4<RandomAccessibleInterval<T extends RealType<T>>,MatrixOrientation,Integer,Integer,double[][]>- Parameters:
input- the input datanrGreyLevels- the number of gray levels within the input datadistance- the number of pixels in the direction specified byorientationto find the co-occurring pixelorientation- specifies the offset between the co-occurring pixels.- Returns:
- the co-occurrence matrix
-
-