
<SYSTEM_TASK:>
Given the following text problem statement, write Python code to implement the functionality described below in problem statement
<END_TASK>
<USER_TASK:>
Problem:
colvolve given image uisng python or scipy

<ASSISTANT_TASK:>
Python Code::
from scipy.signal import convolve2d
import numpy as np
from scipy.stats import norm
import matplotlib.pyplot as plt
gray = np.mean(image, axis =2)
x = np.linspace(-6, 6 , 40)
fx = norm.pdf(x, loc= 0, scale =1)
filt = np.outer(fx, fx)
output = convolve2d(gray, filt)
plt.imshow(output)

<END_TASK>
