scipy.misc.imfilter¶
- scipy.misc.imfilter(arr, ftype)[source]¶
Simple filtering of an image.
Parameters : arr : ndarray
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.