skimage2.io.load_sift#

skimage2.io.load_sift(f)[source]#

Read SIFT or SURF features from externally generated file.

This routine reads SIFT or SURF files generated by binary utilities from http://people.cs.ubc.ca/~lowe/keypoints/ and http://www.vision.ee.ethz.ch/~surf/.

This routine does not generate SIFT/SURF features from an image. These algorithms are patent encumbered. Please use skimage.feature.CENSURE instead.

Parameters:
filelikestr or Path or TextIO or BinaryIO

Input file generated by the feature detectors from http://people.cs.ubc.ca/~lowe/keypoints/ or http://www.vision.ee.ethz.ch/~surf/ .

mode{‘SIFT’, ‘SURF’}, optional

Kind of descriptor used to generate filelike.

Returns:
datarecord array with fields
  • row: int

    row position of feature

  • column: int

    column position of feature

  • scale: float

    feature scale

  • orientation: float

    feature orientation

  • data: array

    feature values