Image Component Library (ICL)
|
Classes | |
class | Kmeans |
Kmeans clustering. More... | |
class | ResponseLayer |
Response Layer class. More... | |
class | Surf |
Surf Feation class. More... | |
Typedefs | |
typedef SurfFeature | Ipoint |
typedef std::vector< SurfFeature > | IpVec |
typedef std::vector< SurfMatch > | IpPairVec |
Functions | |
ICLCV_API void | getMatches (IpVec &ipts1, IpVec &ipts2, IpPairVec &matches) |
ICLCV_API int | translateCorners (IpPairVec &matches, const CvPoint src_corners[4], CvPoint dst_corners[4]) |
ICLCV_API IplImage * | Integral (IplImage *img) |
Computes the integral image of image img. Assumes source image to be a. More... | |
ICLCV_API float | BoxIntegral (IplImage *img, int row, int col, int rows, int cols) |
Computes the sum of pixels within the rectangle. More... | |
ICLCV_API void | 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. More... | |
ICLCV_API void | 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. More... | |
ICLCV_API void | surfDes (IplImage *img, std::vector< Ipoint > &ipts, bool upright=false) |
Library function describes interest points in vector. More... | |
ICLCV_API void | error (const char *msg) |
Display error message and terminate program. More... | |
ICLCV_API void | showImage (const IplImage *img) |
Show the provided image and wait for keypress. More... | |
ICLCV_API void | showImage (char *title, const IplImage *img) |
Show the provided image in titled window and wait for keypress. More... | |
ICLCV_API IplImage * | getGray (const IplImage *img) |
ICLCV_API void | drawIpoint (IplImage *img, Ipoint &ipt, int tailSize=0) |
Draw a single feature on the image. More... | |
ICLCV_API void | drawIpoints (IplImage *img, std::vector< Ipoint > &ipts, int tailSize=0) |
Draw all the Ipoints in the provided vector. More... | |
ICLCV_API void | drawWindows (IplImage *img, std::vector< Ipoint > &ipts) |
Draw descriptor windows around Ipoints in the provided vector. More... | |
ICLCV_API void | drawFPS (IplImage *img) |
ICLCV_API void | drawPoint (IplImage *img, Ipoint &ipt) |
Draw a Point at feature location. More... | |
ICLCV_API void | drawPoints (IplImage *img, std::vector< Ipoint > &ipts) |
Draw a Point at all features. More... | |
ICLCV_API void | saveSurf (char *filename, std::vector< Ipoint > &ipts) |
Save the SURF features to file. More... | |
ICLCV_API void | loadSurf (char *filename, std::vector< Ipoint > &ipts) |
Load the SURF features from file. More... | |
int | fRound (float flt) |
Round float to nearest integer. More... | |
Variables | |
static const int | OCTAVES = 5 |
static const int | INTERVALS = 4 |
static const float | THRES = 0.0004f |
static const int | INIT_SAMPLE = 2 |
typedef SurfFeature icl::cv::opensurf::Ipoint |
typedef std::vector<SurfMatch> icl::cv::opensurf::IpPairVec |
typedef std::vector<SurfFeature> icl::cv::opensurf::IpVec |
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.
specified by the top-left start co-ordinate and size
ICLCV_API void icl::cv::opensurf::drawFPS | ( | IplImage * | img | ) |
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.
Draw a Point at feature location.
Draw a Point at all features.
Draw descriptor windows around Ipoints in the provided vector.
ICLCV_API void icl::cv::opensurf::error | ( | const char * | msg | ) |
Display error message and terminate program.
|
inline |
Round float to nearest integer.
ICLCV_API IplImage* icl::cv::opensurf::getGray | ( | const IplImage * | img | ) |
ICLCV_API IplImage* icl::cv::opensurf::Integral | ( | IplImage * | img | ) |
Computes the integral image of image img. Assumes source image to be a.
32-bit floating point. Returns IplImage in 32-bit float form.
Load the SURF features from file.
Save the SURF features to file.
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 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::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::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 int icl::cv::opensurf::translateCorners | ( | IpPairVec & | matches, |
const CvPoint | src_corners[4], | ||
CvPoint | dst_corners[4] | ||
) |
|
static |
|
static |
|
static |
|
static |