OOF2: The Manual

Name

OOF.SegmentSelection.Select_by_Homogeneity — Select segments with homogeneity less than the given threshold.

Synopsis

OOF.SegmentSelection.Select_by_Homogeneity(skeleton,threshold)

Details

  • Parent Menu: OOF.SegmentSelection
  • Callback: function modify in module ooflib.engine.skeletonselectionmod
  • Parameters:

    skeleton
    Type: The path to an existing Skeleton object.
    threshold
    The threshold homogeneity. Type: A real number in the range [0, 1].

Description

Select Skeleton Segments that are heterogeneous. Any Segment whose homogeneity is less than the given threshold will be selected.

Figure 6.48. Selecting Heterogeneous Segments

Selecting Heterogeneous Segments

A Skeleton containing some heterogeneous Segments. The pixels have been grouped by color, so Segments straddling two colors are inhomogeneous.

Selecting Heterogeneous Segments

Segments (heavy black lines) that are less than 90% homogeneous have been selected.