scipy.misc.imfilter

scipy.misc.imfilter(arr, ftype)

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 :

res : nd_array

The array with filter applied.

Raises :

ValueError :

Unknown filter type. . If the filter you are trying to apply is unsupported.

Previous topic

scipy.misc.fromimage

Next topic

scipy.misc.imread

This Page