KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Public Attributes | List of all members
kjb::Line_correspondence::Line_bin Class Reference

#include <edge_lines_likelihood.h>

Classes

class  Compare_edge_segment_starting_points
 Compare the corresponding Line_bin based on the x position of the starting point of the image edge segment. More...
 

Public Member Functions

 Line_bin (const Edge_segment &iimage_edge_segment, const Model_edge &model_edge_segment, unsigned int imodel_edge_segment_index, double angle_sigma, double dist_sigma)
 Constructs a new bin between an Model_edge and a Edge_segment. More...
 
bool operator< (const Line_bin &l_bin) const
 Compare the correspondence based on the distance between the middle points of the model edge and edge segment. More...
 

Public Attributes

const Edge_segmentimage_edge_segment
 
unsigned int model_edge_segment_index
 
float distance
 Euclidean distance from the middle point of the image edge segment to the model edge. More...
 
double gauss_distance
 normal pdf of distance More...
 
float angle
 Angle between an image edge segment and a model edge Because of symmetry, ranges 0 to PI/2. More...
 
double gauss_angle
 normal pdf of the angle. More...
 

Constructor & Destructor Documentation

Line_correspondence::Line_bin::Line_bin ( const Edge_segment iimage_edge_segment,
const Model_edge model_edge_segment,
unsigned int  imodel_edge_segment_index,
double  angle_sigma,
double  dist_sigma 
)

Constructs a new bin between an Model_edge and a Edge_segment.

Constructs a new Lin_bin between an image edge and a model edge.

Member Function Documentation

bool Line_correspondence::Line_bin::operator< ( const Line_bin l_bin) const

Compare the correspondence based on the distance between the middle points of the model edge and edge segment.

Member Data Documentation

float kjb::Line_correspondence::Line_bin::angle

Angle between an image edge segment and a model edge Because of symmetry, ranges 0 to PI/2.

float kjb::Line_correspondence::Line_bin::distance

Euclidean distance from the middle point of the image edge segment to the model edge.

double kjb::Line_correspondence::Line_bin::gauss_angle

normal pdf of the angle.

double kjb::Line_correspondence::Line_bin::gauss_distance

normal pdf of distance

const Edge_segment& kjb::Line_correspondence::Line_bin::image_edge_segment
unsigned int kjb::Line_correspondence::Line_bin::model_edge_segment_index

The documentation for this class was generated from the following files: