27 Jun
2013
27 Jun
'13
12:36 p.m.
On Thu, 27 Jun 2013 01:11:08 -0500
Stéfan van der Walt
Hi Jerome
On Thu, Jun 27, 2013 at 12:32 AM, Jérôme Kieffer
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
3955
Age (days ago)
3955
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jerome Kieffer