The array of Image in which the filter is to be applied.
ftype : str
The filter that has to be applied. Legal values are:
‘blur’, ‘contour’, ‘detail’, ‘edge_enhance’, ‘edge_enhance_more’,
‘emboss’, ‘find_edges’, ‘smooth’, ‘smooth_more’, ‘sharpen’.
Returns :
imfilter : ndarray
The array with filter applied.
Raises :
ValueError :
Unknown filter type. . If the filter you are trying
to apply is unsupported.