EdgeClustering.MergedSegment Class Reference

Used to merge segments together depending on the corresponding KDE peaks and a angular threshold. More...

List of all members.

Classes

Public Member Functions

Public Attributes

Static Public Attributes

Private Member Functions

Private Attributes


Detailed Description

Author:
Manuel Keglevic
Thomas Schulz

Definition at line 16 of file MergedSegment.cs.


Constructor & Destructor Documentation

EdgeClustering.MergedSegment.MergedSegment ( Segment  segment  ) 

Definition at line 43 of file MergedSegment.cs.


Member Function Documentation

double EdgeClustering.MergedSegment.CalculateXPos ( double  y,
double  k,
double  Px,
double  Py 
) [private]

Returns the corresponding x value to the given y value

y

for the line with point

P (Px, Py)

and gradient

k

.

Parameters:
y The Y-coordinate for which the corresponding X-coordinate should be calculated
k The gradient of the line
Px The X-coordinate of a linepoint

P
Py The Y-coordinate of a linepoint

P
Returns:
The X-coordinate for the passed arguments

Definition at line 63 of file MergedSegment.cs.

double EdgeClustering.MergedSegment.CalculateYPos ( double  x,
double  k,
double  Px,
double  Py 
) [private]

Returns the corresponding y value to the given x value

x

for the line with point

P (Px, Py)

and gradient

k

.

Parameters:
x The X-coordinate for which the corresponding Y-coordinate should be calculated
k The gradient of the line
Px The X-coordinate of a linepoint

P
Py The Y-coordinate of a linepoint

P
Returns:
The Y-coordinate for the passed arguments

Definition at line 79 of file MergedSegment.cs.

SimpleEdge EdgeClustering.MergedSegment.CalculateMeshEdge (  ) 

Returns the mesh edge for this MergedSegment, or null if the Segment is too small.

Returns:
The mesh edge for this MergedSegment, or null if the Segment is too small.

Definition at line 90 of file MergedSegment.cs.

double [] EdgeClustering.MergedSegment.MergeBorders ( double[]  b1,
double[]  b2 
)

Merges the angular boardes of two MergedSegments. This is used to check if two MergedSegments can be merged.

Parameters:
b1 angular boarder one
b2 angular boarder two
Returns:

Definition at line 349 of file MergedSegment.cs.

bool EdgeClustering.MergedSegment.CheckConnectivity ( MergedSegment  segment  )  [private]

Checks if two MergedSegments are 8-Way Connected.

Parameters:
segment 
Returns:
true if connected, otherwise false

Definition at line 388 of file MergedSegment.cs.

void EdgeClustering.MergedSegment.CalculateWeightedAverage (  )  [private]

Calculates the weighted average angle of all segment edges representing all segments in the MergedSegment.

Definition at line 412 of file MergedSegment.cs.

void EdgeClustering.MergedSegment.AddMergedSegment ( MergedSegment  segment  ) 

Add another MergedSegment to this MergedSegment.

Parameters:
segment 

Definition at line 450 of file MergedSegment.cs.

bool EdgeClustering.MergedSegment.Equals ( MergedSegment  other  ) 

Definition at line 465 of file MergedSegment.cs.

override bool EdgeClustering.MergedSegment.Equals ( Object  obj  ) 

Definition at line 474 of file MergedSegment.cs.

override int EdgeClustering.MergedSegment.GetHashCode (  ) 

Definition at line 484 of file MergedSegment.cs.


Member Data Documentation

Definition at line 18 of file MergedSegment.cs.

Definition at line 39 of file MergedSegment.cs.

Definition at line 40 of file MergedSegment.cs.

Definition at line 41 of file MergedSegment.cs.

Generated by  doxygen 1.6.3