%runfile H:/pythonfiles/hist23.py --wdir
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
File h:\pythonfiles\hist23.py:12
10 from matplotlib import pyplot as plt
11 img=img_as_float(io.imread("H:/pythonfiles/BSE_Google_noisy.jpg"))
---> 12 sigma_est = np.mean(estimate_sigma(img, multichannel=True))
13 denoise = denoise_nl_means(img, h=1.15 * sigma_est, fast_mode=False, patch_size=5,patch_distance=3,multichannel=True)
14 denoise_ubyte=img_as_ubyte(denoise)
TypeError: estimate_sigma() got an unexpected keyword argument 'multichannel'
please help me
I am working on spyder 6