November 2018
Intermediate to advanced
492 pages
12h 19m
English
An image can be sharpened using the Laplacian filter with the following couple of steps:
from skimage.filters import laplaceim = rgb2gray(imread('../images/me8.jpg'))im1 = np.clip(laplace(im) + im, 0, 1)pylab.figure(figsize=(20,30))pylab.subplot(211), plot_image(im, 'original image')pylab.subplot(212), plot_image(im1, 'sharpened image')pylab.tight_layout()pylab.show()
The following is the output of the preceding code block, ...
Read now
Unlock full access