digital_image_processing.filters.laplacian_filter¶
Attributes¶
Functions¶
|
Module Contents¶
- digital_image_processing.filters.laplacian_filter.my_laplacian(src: numpy.ndarray, ksize: int) numpy.ndarray¶
- Parameters:
src – the source image, which should be a grayscale or color image.
ksize – the size of the kernel used to compute the Laplacian filter, which can be 1, 3, 5, or 7.
>>> my_laplacian(src=np.array([]), ksize=0) Traceback (most recent call last): ... ValueError: ksize must be in (1, 3, 5, 7)
- digital_image_processing.filters.laplacian_filter.img¶