T
- public abstract class AbstractHaralickFeature<T extends RealType<T>> extends AbstractUnaryHybridCF<IterableInterval<T>,DoubleType> implements HaralickFeature<T>, Contingent
SpecialOp.Flavor
Modifier and Type | Field and Description |
---|---|
protected int |
distance |
protected int |
numGreyLevels |
protected MatrixOrientation |
orientation |
Constructor and Description |
---|
AbstractHaralickFeature() |
Modifier and Type | Method and Description |
---|---|
boolean |
conforms()
True if the contingency holds; i.e., the current circumstances conform to
the contingency's requirements.
|
DoubleType |
createOutput(IterableInterval<T> input)
Create an output object given some input.
|
protected double[][] |
getCooccurrenceMatrix(IterableInterval<T> input)
Creates
CooccurrenceMatrix2D from IterableInterval on
demand, given the specified parameters. |
void |
initialize()
Initializes the object.
|
in, out, setInput, setOutput
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculate, calculate, createOutput, getIndependentInstance, run, run
compute, compute
in, setInput
run
setOutput
candidates, filterArity, op
ops, setEnvironment
protected int numGreyLevels
protected int distance
protected MatrixOrientation orientation
public DoubleType createOutput(IterableInterval<T> input)
UnaryOutputFactory
createOutput
in interface UnaryOutputFactory<IterableInterval<T extends RealType<T>>,DoubleType>
input
- which determines how to create the outputpublic void initialize()
Initializable
initialize
in interface Initializable
protected double[][] getCooccurrenceMatrix(IterableInterval<T> input)
CooccurrenceMatrix2D
from IterableInterval
on
demand, given the specified parameters. No caching!CooccurrenceMatrix2D
public boolean conforms()
Contingent
conforms
in interface Contingent
Copyright © 2014–2022 ImageJ. All rights reserved.