public class HistogramOfOrientedGradients2D<T extends RealType<T>> extends AbstractUnaryHybridCF<RandomAccessibleInterval<T>,RandomAccessibleInterval<T>> implements Ops.HoG.HistogramOfOrientedGradients, Contingent
SpecialOp.Flavor
NAME
Constructor and Description |
---|
HistogramOfOrientedGradients2D() |
Modifier and Type | Method and Description |
---|---|
void |
compute(RandomAccessibleInterval<T> in,
RandomAccessibleInterval<T> out)
Computes the output given some input.
|
boolean |
conforms()
True if the contingency holds; i.e., the current circumstances conform to
the contingency's requirements.
|
RandomAccessibleInterval<T> |
createOutput(RandomAccessibleInterval<T> in)
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 RandomAccessibleInterval<T> createOutput(RandomAccessibleInterval<T> in)
UnaryOutputFactory
createOutput
in interface UnaryOutputFactory<RandomAccessibleInterval<T extends RealType<T>>,RandomAccessibleInterval<T extends RealType<T>>>
in
- which determines how to create the outputpublic boolean conforms()
Contingent
conforms
in interface Contingent
public void compute(RandomAccessibleInterval<T> in, RandomAccessibleInterval<T> out)
UnaryComputerOp
compute
in interface UnaryComputerOp<RandomAccessibleInterval<T extends RealType<T>>,RandomAccessibleInterval<T extends RealType<T>>>
in
- Argument to the computation, which must be non-nullout
- 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.