no_op

menpo.feature.no_op(image, *args, **kwargs)[source]

A no operation feature - does nothing but return a copy of the pixels passed in.

Parameters:pixels (Image or subclass or (C, X, Y, ..., Z) ndarray) – Either the image object itself or an array with the pixels. The first dimension is interpreted as channels. This means an N-dimensional image is represented by an N+1 dimensional array.
Returns:pixels (Image or subclass or (X, Y, ..., Z, C) ndarray) – A copy of the image that was passed in.