no_op¶
-
menpo.feature.no_op(pixels)[source]¶ A no operation feature - does nothing but return a copy of the pixels passed in.
- Parameters
pixels (
Imageor 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 (
Imageor subclass or(X, Y, ..., Z, C)ndarray) – A copy of the image that was passed in.