storing keypoints
Jerome Kieffer
google at terre-adelie.org
Thu Jun 27 03:06:58 EDT 2013
On Thu, 27 Jun 2013 01:11:08 -0500
Stéfan van der Walt <stefan at sun.ac.za> wrote:
> Hi Jerome
>
> On Thu, Jun 27, 2013 at 12:32 AM, Jérôme Kieffer
> <google at terre-adelie.org> wrote:
> > I am wondering what is the best way to store (in python) SIFT keypoints
> > to exchange them (serialize, save, load-back, ...) SIFT is a keypoint
> > extraction algorithm for images so it transforms a 2D image into
> > n-keypoints; each keypoint being composed of 4floats
> > (x, y, scale, orientation) and 128 uint8.
>
> Probably an array with elements of
>
> dtype = np.dtype([('x', float), ('y', float), ('scale', float),
> ('orientation', float), ('feature', (np.uint8, 128))])
Thanks a lot, I didn't know this was possible with record-arrays.
--
Jerome Kieffer <google at terre-adelie.org>
More information about the scikit-image
mailing list