conv2d_matrix#
- sunkit_image.utils.conv2d_matrix(H, rows, columns)[source]#
Specialized 2D convolution matrix generation.
- Parameters:
H (
numpy.ndarray
) – Input matrix.rows (
numpy.ndarray
) – Rows in convolution matrix.columns (
numpy.ndarray
) – Columns in convolution matrix.
- Returns:
T (
numpy.ndarray
) – The new convoluted matrix.