Function save_keypoints

Function Documentation

int save_keypoints(std::string &keypointsFile, const std::vector<cv::KeyPoint> &kpts, const cv::Mat &desc, bool bVerbose)

This function saves the interest points to a regular ASCII file.

Note

The format is compatible with Mikolajczy and Schmid evaluation

Parameters
  • sFileName – Name of the output file where the points will be stored

  • kpts – Vector of points of interest

  • desc – Descriptors

  • bLaplacian – Set to 1 if we want to write the sign of the Laplacian into the descriptor information

  • bVerbose – Set to 1 for some verbosity information