An edge with extract information to support constructing regions from an edgel segmentation. More...
Go to the source code of this file.
Classes | |
class | gevd_region_edge |
An edge with extract information to support constructing regions from an edgel segmentation.
This class supports tracing of region boundaries in conjunction with the class EdgelIntensity. The gevd_region_edge maintains a list of region labels which the edge is adjacent to. Ideally, the edge is adjacent to only two regions, left and right, as shown below.
left_region_ V1------------------------V2 right_region_
In practice, this restriction is too limiting. It is possible for an edge to be adjacent to more than two regions. For example:
c c c o----\ c E b b \ c o------+ \ c c c c | a \ c c +----+ c c c c c
Note that edge E is adjacent to both regions a and b even though there is no intervening vertex at the transition between a and b. In order to preserve a separation between regions b and c, it is necessary to allow more than two labels (a,b) for a given edge.
Definition in file gevd_region_edge.h.