public class DefaultContrast<T extends RealType<T>> extends AbstractHaralickFeature<T> implements Ops.Haralick.Contrast
SpecialOp.Flavor
distance, numGreyLevels, orientation
NAME
Constructor and Description |
---|
DefaultContrast() |
Modifier and Type | Method and Description |
---|---|
void |
compute(IterableInterval<T> input,
DoubleType output)
Computes the output given some input.
|
void |
initialize()
Initializes the object.
|
conforms, createOutput, getCooccurrenceMatrix
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, calculate, createOutput, getIndependentInstance, run, run
compute
in, setInput
run
setOutput
candidates, filterArity, op
public void initialize()
Initializable
initialize
in interface Initializable
initialize
in class AbstractHaralickFeature<T extends RealType<T>>
public void compute(IterableInterval<T> input, DoubleType output)
UnaryComputerOp
compute
in interface UnaryComputerOp<IterableInterval<T extends RealType<T>>,DoubleType>
input
- Argument to the computation, which must be non-nulloutput
- Object where the computation's result will be stored, which
must be non-null and a different object than input
Copyright © 2014–2022 ImageJ. All rights reserved.