Autonomous Space Robotics Lab

Speeded Up SURF

UTIAS ASRL

gpusurf_engine.cpp File Reference

A command line utility and example usage of the GPUSURF library. More...

#include <iostream>
#include <vector>
#include <boost/program_options.hpp>
#include <gpusurf/GpuSurfDetector.hpp>
#include "assert_macros.hpp"
#include <opencv/highgui.h>
#include <opencv/cv.h>
#include <opencv/cv.hpp>
#include <fstream>
#include "CudaSynchronizedMemory.hpp"
#include "gpu_utils.h"
#include "gpu_globals.h"
#include <opencv/highgui.hpp>

Go to the source code of this file.

Functions

void drawKeypoints (std::vector< cv::KeyPoint > const &keypoints, cv::Mat &image)
bool interestingStrengthIndex (std::pair< float, int > const &lhs, std::pair< float, int > const &rhs)
std::string getFileBasename (std::string const &filename)
void load_keypoints (std::string const &inputKeypointFile, std::vector< cv::KeyPoint > &inKeypoints, int imRows, int imCols)
void save_keypoints (std::vector< cv::KeyPoint > const &keypoints, std::vector< float > const &descriptors, std::vector< std::pair< float, int > > const &strengthIndex, std::string const &imageFileName, bool noDescriptor)
int main (int argc, char *argv[])

Detailed Description

A command line utility and example usage of the GPUSURF library.

Author:
Paul Furgale and Chi Hay Tong
Date:
Fri Apr 30 19:49:15 2010
Rev
3828

Definition in file gpusurf_engine.cpp.


Function Documentation

void drawKeypoints ( std::vector< cv::KeyPoint > const &  keypoints,
cv::Mat &  image 
)

Definition at line 58 of file gpusurf_engine.cpp.

std::string getFileBasename ( std::string const &  filename  ) 

Definition at line 86 of file gpusurf_engine.cpp.

bool interestingStrengthIndex ( std::pair< float, int > const &  lhs,
std::pair< float, int > const &  rhs 
)

Definition at line 81 of file gpusurf_engine.cpp.

void load_keypoints ( std::string const &  inputKeypointFile,
std::vector< cv::KeyPoint > &  inKeypoints,
int  imRows,
int  imCols 
)

Definition at line 92 of file gpusurf_engine.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 170 of file gpusurf_engine.cpp.

void save_keypoints ( std::vector< cv::KeyPoint > const &  keypoints,
std::vector< float > const &  descriptors,
std::vector< std::pair< float, int > > const &  strengthIndex,
std::string const &  imageFileName,
bool  noDescriptor 
)

Definition at line 133 of file gpusurf_engine.cpp.


Generated on Fri Apr 30 20:06:20 2010 for gpusurf by doxygen 1.6.2