Package boofcv.alg.filter.kernel
Interface SteerableKernel<K extends Kernel2D>
- All Known Implementing Classes:
SteerableKernel_F32
,SteerableKernel_I32
public interface SteerableKernel<K extends Kernel2D>
Computes a 2D kernel for an arbitrary angle using steerable filters. Steerable functions can be computed from a linear combination of rotated basis kernels.
William T. Freeman and Edward H. Adelson, "The Design and Use of Steerable Filters", IEEE Trans. Patt. Anal. and Machine Intell., Vol. 13, No. 9, Sept. 1991
-
Method Summary
Modifier and TypeMethodDescriptioncompute
(double angle) Computes the kernel at the specified angle.getBasis
(int index) int
void
setBasis
(SteerableCoefficients coef, Kernel2D... basis) Compute the steerable filter.
-
Method Details
-
setBasis
Compute the steerable filter.- Parameters:
coef
- Coefficients for each basis.basis
- Kernels which form the basis for the steerable filter.
-
compute
Computes the kernel at the specified angle.- Parameters:
angle
- Angle the kernel should be pointed at.- Returns:
- The computed kernel. Data is recycled each time compute is called.
-
getBasisSize
int getBasisSize() -
getBasis
-