KJB
|
#include <edge_lines_likelihood.h>
Classes | |
class | Line_bin |
Public Member Functions | |
Line_correspondence (const Edge_segment_set &image_edge_segments, double angle_sigma, double dist_sigma, double max_distance, double max_angle) | |
Creates a new correspondence between collinear edge segments and model edge lines. More... | |
~Line_correspondence () | |
const std::vector< std::vector < Line_bin * > > & | get_model_corresponding_image_edges () const |
Return a map of model_to_image_correspondence Indexed by image edge segments and sorted by the gauss_distance. More... | |
double | get_max_distance () const |
std::vector< const Edge_segment * > | get_noisy_edge_segments () |
void | find_model_corresponding_image_edges (const std::vector< Model_edge > &model_edge_segments) |
Find the correspoinding image edges for each model edge based on m_image_edge_correspondence, the correspondence will be stored in m_model_edge_correspondence. More... | |
Represents the correspondence between an edge segment and a model edge, it greedily mapps a model edge to an edge segment based on the distance between the middle point of the edge segment to the model edge
Line_correspondence::Line_correspondence | ( | const Edge_segment_set & | image_edge_segments, |
double | angle_sigma, | ||
double | dist_sigma, | ||
double | max_distance, | ||
double | max_angle | ||
) |
Creates a new correspondence between collinear edge segments and model edge lines.
|
inline |
void Line_correspondence::find_model_corresponding_image_edges | ( | const std::vector< Model_edge > & | model_edge_segments | ) |
Find the correspoinding image edges for each model edge based on m_image_edge_correspondence, the correspondence will be stored in m_model_edge_correspondence.
Find the corresponding image edges for each model edge based on the m_image_correspondence.
|
inline |
|
inline |
Return a map of model_to_image_correspondence Indexed by image edge segments and sorted by the gauss_distance.
|
inline |