Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Namespaces | Typedefs | Functions | Variables
OpenSurfLib.h File Reference
#include <vector>
#include <opencv/cv.h>
#include <ICLCV/SurfFeature.h>

Go to the source code of this file.

Classes

class  icl::cv::opensurf::Kmeans
 Kmeans clustering. More...
class  icl::cv::opensurf::ResponseLayer
 Response Layer class. More...
class  icl::cv::opensurf::Surf
 Surf Feation class. More...

Namespaces

namespace  icl
 

The ICL-namespace.


namespace  icl::cv
namespace  icl::cv::opensurf

Typedefs

typedef SurfFeature icl::cv::opensurf::Ipoint
typedef std::vector< SurfFeature > icl::cv::opensurf::IpVec
typedef std::vector< SurfMatch > icl::cv::opensurf::IpPairVec

Functions

ICLCV_API void icl::cv::opensurf::getMatches (IpVec &ipts1, IpVec &ipts2, IpPairVec &matches)
ICLCV_API int icl::cv::opensurf::translateCorners (IpPairVec &matches, const CvPoint src_corners[4], CvPoint dst_corners[4])
ICLCV_API IplImage * icl::cv::opensurf::Integral (IplImage *img)
 Computes the integral image of image img. Assumes source image to be a.
ICLCV_API float icl::cv::opensurf::BoxIntegral (IplImage *img, int row, int col, int rows, int cols)
 Computes the sum of pixels within the rectangle.
ICLCV_API void icl::cv::opensurf::surfDetDes (IplImage *img, std::vector< Ipoint > &ipts, bool upright=false, int octaves=OCTAVES, int intervals=INTERVALS, int init_sample=INIT_SAMPLE, float thres=THRES)
 Library function builds vector of described interest points.
ICLCV_API void icl::cv::opensurf::surfDet (IplImage *img, std::vector< Ipoint > &ipts, int octaves=OCTAVES, int intervals=INTERVALS, int init_sample=INIT_SAMPLE, float thres=THRES)
 Library function builds vector of interest points.
ICLCV_API void icl::cv::opensurf::surfDes (IplImage *img, std::vector< Ipoint > &ipts, bool upright=false)
 Library function describes interest points in vector.
ICLCV_API void icl::cv::opensurf::error (const char *msg)
 Display error message and terminate program.
ICLCV_API void icl::cv::opensurf::showImage (const IplImage *img)
 Show the provided image and wait for keypress.
ICLCV_API void icl::cv::opensurf::showImage (char *title, const IplImage *img)
 Show the provided image in titled window and wait for keypress.
ICLCV_API IplImage * icl::cv::opensurf::getGray (const IplImage *img)
ICLCV_API void icl::cv::opensurf::drawIpoint (IplImage *img, Ipoint &ipt, int tailSize=0)
 Draw a single feature on the image.
ICLCV_API void icl::cv::opensurf::drawIpoints (IplImage *img, std::vector< Ipoint > &ipts, int tailSize=0)
 Draw all the Ipoints in the provided vector.
ICLCV_API void icl::cv::opensurf::drawWindows (IplImage *img, std::vector< Ipoint > &ipts)
 Draw descriptor windows around Ipoints in the provided vector.
ICLCV_API void icl::cv::opensurf::drawFPS (IplImage *img)
ICLCV_API void icl::cv::opensurf::drawPoint (IplImage *img, Ipoint &ipt)
 Draw a Point at feature location.
ICLCV_API void icl::cv::opensurf::drawPoints (IplImage *img, std::vector< Ipoint > &ipts)
 Draw a Point at all features.
ICLCV_API void icl::cv::opensurf::saveSurf (char *filename, std::vector< Ipoint > &ipts)
 Save the SURF features to file.
ICLCV_API void icl::cv::opensurf::loadSurf (char *filename, std::vector< Ipoint > &ipts)
 Load the SURF features from file.
int icl::cv::opensurf::fRound (float flt)
 Round float to nearest integer.

Variables

static const int icl::cv::opensurf::OCTAVES = 5
static const int icl::cv::opensurf::INTERVALS = 4
static const float icl::cv::opensurf::THRES = 0.0004f
static const int icl::cv::opensurf::INIT_SAMPLE = 2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines