Class SoReorderLabelsProcessing

  • All Implemented Interfaces:

    public class SoReorderLabelsProcessing
    extends SoImageVizEngine
    SoReorderLabelsProcessing image filter. The SoReorderLabelsProcessing forces label values to be consecutive.

    When a label image has some missing values in its histogram, it is not possible to automatically reassign consecutive labels using the SoLabelingProcessing command. By definition, that filter assigns a unique value to each connected component. The SoReorderLabelsProcessing filter fills the missing values of the histogram while preserving the original connectivity of the input labels.

    File format/default:

    ReorderLabelsProcessing {

      computeMode MODE_AUTO
      inLabelImage NULL

    Library references: reorder_labels