vector_128_dsift(x, dtype=<MagicMock name='mock.float32' id='140115385518992'>)¶
Computes a SIFT feature vector from a square patch (or image). Patch must be square and the output vector will always be a
(128,)vector. Please see
dsift()for more information.
- x (
Imageor subclass or
(C, Y, Y)ndarray) – Either the image object itself or an array with the pixels. The first dimension is interpreted as channels. Must be square i.e.
height == width.
- dtype (
np.dtype, optional) – The dtype of the returned vector.
ValueError– Only square images are supported.
- x (