T
- public class DefaultCreateKernelGabor<T extends ComplexType<T>> extends AbstractBinaryFunctionOp<double[],double[],RandomAccessibleInterval<T>> implements Ops.Create.KernelGabor
Kernels valid only for a subset of available axes are also supported. If, for instance, filtering only along 2nd axis is desired, one may provide the sigmas array filled with zeroes (0) except for the 2nd element.
The period vector is a vector along which oscilates the frequency part of the Gabor filter. The length of this vector equals precisely the wave-length of the oscilations (the length of 1 period).
All values are in units of pixels. Both input arrays have to be of the same length.
SpecialOp.Flavor
NAME
Constructor and Description |
---|
DefaultCreateKernelGabor() |
Modifier and Type | Method and Description |
---|---|
RandomAccessibleInterval<T> |
calculate(double[] sigmas,
double[] period)
Calculates the output given two inputs.
|
void |
initialize()
Initializes the object.
|
in1, in2, out, run, setInput1, setInput2
ops, setEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ops, setEnvironment
calculate, getIndependentInstance, run
in, setInput
calculate, run
run
candidates, filterArity, op
public void initialize()
Initializable
initialize
in interface Initializable
public RandomAccessibleInterval<T> calculate(double[] sigmas, double[] period)
BinaryFunctionOp
calculate
in interface BinaryFunctionOp<double[],double[],RandomAccessibleInterval<T extends ComplexType<T>>>
sigmas
- first argument to the functionperiod
- second argument to the functionCopyright © 2014–2022 ImageJ. All rights reserved.