Functions for dealing with the kernel matrices of linear filters.
Draw the line corresponding to a given Gabor.
The generated line is phase independent.
| Parameters: |
|
|---|---|
| Return type: | 2D ndarray of float |
Create a kernel matrix by evaluating the 2-D Gabor function.
| Parameters: |
|
|---|---|
| Returns: | kernel matrix |
| Return type: | 2D ndarray of float |
Create a set of 2-D square kernel arrays, whose components are chosen according to the Gabor function.
| Parameters: |
|
|---|---|
| Returns: | kernel arrays |
| Return type: | 4D ndarray of float |
Construct a smoothing filter based on the Lanczos window.
See also
For more information image resampling using the Lanczos kernel, see the Wikipedia article or the StackOverflow discussion.
| Returns: | Fixed-size, square kernel. |
|---|---|
| Return type: | 2D ndarray |
Create a set of N-dimensional kernel arrays whose components are sampled independently from the normal distribution.
| Parameters: |
|
|---|---|
| Returns: | Array of kernel values [with N dimensions, where N = len(kshape)+1]. |
| Return type: | ndarray |