OOF2: The Manual

Name

OOF.ElementSelection.Select_by_Homogeneity — Select Elements with homogeneity less than the threshold homogeneity.

Synopsis

OOF.ElementSelection.Select_by_Homogeneity(skeleton,threshold)

Details

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

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

Description

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

Figure 6.3. Selecting Heterogeneous Elements

Selecting Heterogeneous Elements

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

Selecting Heterogeneous Elements

Elements (in red) that are less than 90% homogeneous have been selected.