Package boofcv.alg.filter.kernel.impl
Class SteerableKernel_I32
- java.lang.Object
-
- boofcv.alg.filter.kernel.impl.SteerableKernel_I32
-
- All Implemented Interfaces:
SteerableKernel<boofcv.struct.convolve.Kernel2D_S32>
public class SteerableKernel_I32 extends java.lang.Object implements SteerableKernel<boofcv.struct.convolve.Kernel2D_S32>
Implementation of
SteerableKernelfor integer point kernels.
-
-
Constructor Summary
Constructors Constructor Description SteerableKernel_I32()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boofcv.struct.convolve.Kernel2D_S32compute(double angle)Computes the kernel at the specified angle.boofcv.struct.convolve.Kernel2D_S32getBasis(int index)intgetBasisSize()voidsetBasis(SteerableCoefficients coef, boofcv.struct.convolve.Kernel2D... basis)Compute the steerable filter.
-
-
-
Method Detail
-
setBasis
public void setBasis(SteerableCoefficients coef, boofcv.struct.convolve.Kernel2D... basis)
Description copied from interface:SteerableKernelCompute the steerable filter.- Specified by:
setBasisin interfaceSteerableKernel<boofcv.struct.convolve.Kernel2D_S32>- Parameters:
coef- Coefficients for each basis.basis- Kernels which form the basis for the steerable filter.
-
compute
public boofcv.struct.convolve.Kernel2D_S32 compute(double angle)
Description copied from interface:SteerableKernelComputes the kernel at the specified angle.- Specified by:
computein interfaceSteerableKernel<boofcv.struct.convolve.Kernel2D_S32>- Parameters:
angle- Angle the kernel should be pointed at.- Returns:
- The computed kernel. Data is recycled each time compute is called.
-
getBasisSize
public int getBasisSize()
- Specified by:
getBasisSizein interfaceSteerableKernel<boofcv.struct.convolve.Kernel2D_S32>
-
getBasis
public boofcv.struct.convolve.Kernel2D_S32 getBasis(int index)
- Specified by:
getBasisin interfaceSteerableKernel<boofcv.struct.convolve.Kernel2D_S32>
-
-