public class CooccurrenceMatrix2D<T extends RealType<T>> extends AbstractUnaryFunctionOp<IterableInterval<T>,double[][]> implements Ops.Image.CooccurrenceMatrix, Contingent
IterableInterval
.SpecialOp.Flavor
NAME
Constructor and Description |
---|
CooccurrenceMatrix2D() |
Modifier and Type | Method and Description |
---|---|
double[][] |
calculate(IterableInterval<T> input)
Calculates the output given some input.
|
boolean |
conforms()
True if the contingency holds; i.e., the current circumstances conform to
the contingency's requirements.
|
void |
initialize()
Initializes the object.
|
in, out, run, setInput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, getIndependentInstance, run
run
candidates, filterArity, op
public void initialize()
Initializable
initialize
in interface Initializable
public double[][] calculate(IterableInterval<T> input)
UnaryFunctionOp
calculate
in interface UnaryFunctionOp<IterableInterval<T extends RealType<T>>,double[][]>
input
- Argument to the functionpublic boolean conforms()
Contingent
conforms
in interface Contingent
Copyright © 2014–2022 ImageJ. All rights reserved.