OOF2: The Manual

Name

SkeletonQuality (SkeletonQualityDisplay) — Color each element according to its effective energy.

Synopsis

SkeletonQualityDisplay(alpha, colormap, min, max)

Details

  • Base class: DisplayMethod
  • Parameters:

    alpha
    alpha controls the relative importance of element shape and homogeneity. alpha=0 emphasizes shape and ignores homogeneity. alpha=1 emphasizes homogeneity and ignores shape. Type: A real number in the range [0, 1].
    colormap
    color scheme Type: An object of the ColorMap class.
    min
    lowest energy to display, or 'automatic' Type: An integer, a real number, or the value automatic.
    max
    highest energy to display, or 'automatic' Type: An integer, a real number, or the value automatic.

Description

SkeletonQualityDisplay fills each Skeleton Element with a single color, determined by the effective energy of the Element.

The alpha parameter controls the relative importance of shape and homogeneity when computing the energy.

The colormap argument governs the translation from scalar values to colors.

min and max determine the range of energies to display. They should be real numbers between 0 and 1, or the special object automatic. If they're set to automatic, the limits will be determined by the extremes of the data.

Figure 6.103. The Skeleton Quality Display

The Skeleton Quality Display

(a) A Skeleton for a Microstructure with three types of pixels. The initial 10×10 rectangular grid has been refined twice by Bisection with alpha=0.3.

(b) The SkeletonQualityDisplay with alpha=0 and the ThermalMap color map with min = max = automatic. The scale (on the right) goes from 0 (black) to 0.64 (white). Because alpha=0 the energy depends only on shape, so the poorly shaped Elements are highlighted.

(c) The same display, but with alpha=0.8. The inhomogeneous Elements and the poorly shaped Elements are both highlighted. The color scale goes from 0 (black) to 0.46 (white).

(d) The same display, again, but with alpha=1. Only the homogeneity contributes to the energy, so only the inhomogeneous Elements are colored. The color scale goes from 0 (black) to 0.50 (white).