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, setOutputops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculate, calculate, createOutput, getIndependentInstance, run, runcompute, computein, setInputrunsetOutputcandidates, filterArity, opops, setEnvironmentprotected int numGreyLevels
protected int distance
protected MatrixOrientation orientation
public DoubleType createOutput(IterableInterval<T> input)
UnaryOutputFactorycreateOutput in interface UnaryOutputFactory<IterableInterval<T extends RealType<T>>,DoubleType>input - which determines how to create the outputpublic void initialize()
Initializableinitialize in interface Initializableprotected double[][] getCooccurrenceMatrix(IterableInterval<T> input)
CooccurrenceMatrix2D from IterableInterval on
demand, given the specified parameters. No caching!CooccurrenceMatrix2Dpublic boolean conforms()
Contingentconforms in interface ContingentCopyright © 2014–2022 ImageJ. All rights reserved.