public abstract class AbstractBoxivity<I> extends AbstractUnaryHybridCF<I,DoubleType> implements Ops.Geometric.Boxivity
Ops.Geometric.Boxivity
.
Based on http://www.math.uci.edu/icamp/summer/research_11/park/
shape_descriptors_survey.pdf, where boxivity is called rectangularity.SpecialOp.Flavor
NAME
Constructor and Description |
---|
AbstractBoxivity(Class<I> inType) |
Modifier and Type | Method and Description |
---|---|
void |
compute(I input,
DoubleType output)
Computes the output given some input.
|
DoubleType |
createOutput(I input)
Create an output object given some input.
|
void |
initialize()
Initializes the object.
|
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
public void compute(I input, DoubleType output)
UnaryComputerOp
compute
in interface UnaryComputerOp<I,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
public DoubleType createOutput(I input)
UnaryOutputFactory
createOutput
in interface UnaryOutputFactory<I,DoubleType>
input
- which determines how to create the outputCopyright © 2014–2022 ImageJ. All rights reserved.