below is a python code that performs convolution 10 times to an image
import cv2 import numpy as np from skimage.exposure import rescale_intensity kernel = np.one