The Sift class implements a SIFT feature detector.
More...
#include <sift.h>
|
| Sift () |
|
| ~Sift () |
|
|
void | set_image (const char *image_fn) |
| Set the input image. The image will be loaded from the specified filename.
|
|
void | set_image (const std::string &image_fn) |
| Set the input image. The image will be loaded from the specified filename.
|
|
void | set_image (Plm_image *image) |
| Set the input image as a Plm image.
|
|
void | set_image (const FloatImageType::Pointer image) |
| Set the input image as an ITK image.
|
|
void | set_contrast_threshold (float contrast_threshold) |
| Set the contrast threshold.
|
|
void | set_curvature_threshold (float curvature_threshold) |
| Set the curvature threshold.
|
|
|
itk::ScaleInvariantFeatureImageFilter< FloatImageType, 3 >::PointSetTypePointer | get_keypoints () |
| Return the detected keypoints. Unfortunately, the SIFT keypoints are not (yet) compatible with ordinary plastimatch (native or itk) pointsets.
|
|
void | save_pointset (const char *filename) |
| Save the sift-detected points to a fcsv file.
|
|
|
void | run () |
| Compute SIFT feature locations in the input image.
|
|
static void | match_features (Sift &sift1, Sift &sift2, const char *filename1, const char *filename2, float match_ratio) |
| Do feature matching, and write output to file. This should be a separate class.
|
|
The Sift class implements a SIFT feature detector.
◆ Sift()
◆ ~Sift()
◆ get_keypoints()
itk::ScaleInvariantFeatureImageFilter< FloatImageType, 3 >::PointSetTypePointer Sift::get_keypoints |
( |
| ) |
|
Return the detected keypoints. Unfortunately, the SIFT keypoints are not (yet) compatible with ordinary plastimatch (native or itk) pointsets.
◆ match_features()
void Sift::match_features |
( |
Sift & | sift1, |
|
|
Sift & | sift2, |
|
|
const char * | filename1, |
|
|
const char * | filename2, |
|
|
float | match_ratio ) |
|
static |
Do feature matching, and write output to file. This should be a separate class.
◆ run()
Compute SIFT feature locations in the input image.
◆ save_pointset()
void Sift::save_pointset |
( |
const char * | filename | ) |
|
Save the sift-detected points to a fcsv file.
◆ set_contrast_threshold()
void Sift::set_contrast_threshold |
( |
float | contrast_threshold | ) |
|
Set the contrast threshold.
◆ set_curvature_threshold()
void Sift::set_curvature_threshold |
( |
float | curvature_threshold | ) |
|
Set the curvature threshold.
◆ set_image() [1/4]
void Sift::set_image |
( |
const char * | image_fn | ) |
|
Set the input image. The image will be loaded from the specified filename.
◆ set_image() [2/4]
void Sift::set_image |
( |
const FloatImageType::Pointer | image | ) |
|
Set the input image as an ITK image.
◆ set_image() [3/4]
void Sift::set_image |
( |
const std::string & | image_fn | ) |
|
Set the input image. The image will be loaded from the specified filename.
◆ set_image() [4/4]
Set the input image as a Plm image.
◆ d_ptr
Sift_private* Sift::d_ptr |
The documentation for this class was generated from the following files: