plastimatch
|
The Sift class implements a SIFT feature detector. More...
#include <sift.h>
Public Member Functions | |
Sift () | |
~Sift () | |
Inputs | |
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. | |
Outputs | |
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. | |
Public Attributes | |
Sift_private * | d_ptr |
Execution | |
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 | ( | ) |
Sift::~Sift | ( | ) |
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.
|
static |
Do feature matching, and write output to file. This should be a separate class.
void Sift::run | ( | ) |
Compute SIFT feature locations in the input image.
Set the input image. The image will be loaded from the specified filename.
Set the input image. The image will be loaded from the specified filename.
Sift_private* Sift::d_ptr |