Module edges

Source
Expand description

Edge detection.

Edges are sets of segments that all lie within a threshold based on stem widths.

Here we compute edges from the segment list, assign properties (round, serif, links) and then associate them with blue zones.

FunctionsΒ§

compute_blue_edges πŸ”’
Compute all edges which lie within blue zones.
compute_edge_properties πŸ”’
Compute the edge properties based on the series of segments that make up the edge.
compute_edges πŸ”’
Links segments to edges, using feature analysis for selection.
link_segments_to_edges πŸ”’
Edges get reordered as they’re built so we need to assign edge indices to segments in a second pass.