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) A Skeleton containing some heterogeneous Elements. The pixels have been grouped by color, so Elements straddling two or more colors are inhomogeneous.

(b) The Elements (in red) that are less than 80% homogeneous have been selected.


See Also