MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Public Attributes | List of all members
sfm::Matching::Options Struct Reference

Feature matching options. More...

#include <matching.h>

Public Attributes

int descriptor_length
 The length of the descriptor.
 
float distance_threshold
 Does not accept matches with distances larger than this value.
 
float lowe_ratio_threshold
 Requires that the ratio between the best and second best matching distance is below some threshold.
 

Detailed Description

Feature matching options.

There are no default values, all fields must be initialized.

Definition at line 29 of file matching.h.

Member Data Documentation

◆ descriptor_length

int sfm::Matching::Options::descriptor_length

The length of the descriptor.

Typically 128 for SIFT, 64 for SURF.

Definition at line 34 of file matching.h.

◆ distance_threshold

float sfm::Matching::Options::distance_threshold

Does not accept matches with distances larger than this value.

This needs to be tuned to the descriptor and data type used. Set to FLOAT_MAX to disable the test.

Definition at line 49 of file matching.h.

◆ lowe_ratio_threshold

float sfm::Matching::Options::lowe_ratio_threshold

Requires that the ratio between the best and second best matching distance is below some threshold.

If this ratio is near 1, the match is ambiguous. Good values are 0.8 for SIFT and 0.7 for SURF. Set to 1.0 to disable the test.

Definition at line 42 of file matching.h.


The documentation for this struct was generated from the following file: