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.FlavorNAME| 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, setInput2ops, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitops, setEnvironmentcalculate, getIndependentInstance, runin, setInputcalculate, runruncandidates, filterArity, oppublic void initialize()
Initializableinitialize in interface Initializablepublic RandomAccessibleInterval<T> calculate(double[] sigmas, double[] period)
BinaryFunctionOpcalculate 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.