There are two mask filters,
f1 = np.array([[1, 1, 1],
[1, 1, 1],
[1, 1, 1]]) / 9
f2 = np.array([[1, 1, 1],
[1, -8, 1],
[1, 1, 1]])
I filter an input image using f2 and then filter the result with f1, how can I derive the filter mask that corresponds to the double filtering process?
I want to get a combine filter mask.