Class SoTensorVotingProcessing2d

  • All Implemented Interfaces:
    SafeDisposable

    public class SoTensorVotingProcessing2d
    extends SoImageVizEngine
    SoTensorVotingProcessing2d engine. The SoTensorVotingProcessing2d engine strengthens an image local features according to their consistency with a model of smooth curves.

    The computation will use a feature score image and an orientation vector image.

    The voting field used assumes that the best connection between two points with one orientation imposes a circular arc that decays with the radius according to a Gaussian function. The voting field size is defined by the parameter "scale".

    This voting field can be illustrated on the unit sphere: Example of a stick voting field. The method is referenced by Franken and van Almsick publication
    E.Franken, M.van Almsick, P.Rongen, L.Florack, B.ter Haar Romeny,
    "An efficient method for tensor voting using steerable filters."
    Computer Vision - ECCV 2006. Springer, pp. 228-240, 2006.

    Different outputs can be computed by this filter and are selected with the "outputSelection" parameter. Only the outputs necessary to the application can be selected in order to minimize memory and computation time usage.

    This filter can provide an output spectral image where each channel represents a tensor component set in the following order , , .

    The saliency, ballness and orientation vector images can be extracted from this tensor image following:

    • Orientation:
    • Saliency:
    • Ballness:

    The saliency can be interpreted as a measure for the orientation certainty or a measure of anisotropy of the ellipse in orientation given in outVectorImage.

    The ballness can be interpreted as a measure for the orientation uncertainty or a measure of isotropy.

    The orientation vector image defines the main orientation of the output tensor.

    File format/default:

    TensorVotingProcessing2d {

      inFeatureImage NULL
      inVectorImage NULL
      scale 5.0
      outputSelection SALIENCY
    }


    Library references: TensorVoting2d

    • Field Detail

      • inFeatureImage

        public final SoSFImageDataAdapter inFeatureImage
        Input feature image. Image must have only one spectral canal. Default value is NULL. Supported types include: grayscale image.
      • inVectorImage

        public final SoSFImageDataAdapter inVectorImage
        Input orientation vector image. Image must have the same size as the input and 2 spectral canals. Each vector is used to define an orientation and its norm is ignored. Default value is NULL. Supported types include: color image.
      • scale

        public final SoSFDouble scale
        This parameter acts on the gap length filled by the tensor voting algorithm. It is expressed in pixels. Default value is 5.0.
      • outTensorImage

        public final SoImageVizEngineOutput<SoSFImageDataAdapter,​SoImageDataAdapter> outTensorImage
        Output tensor image. The size (except spectral serie), calibration and interpretation of the output image are forced to the same values as the feature input. Type is forced to float. Default value is NULL. Supported types include: color image.
      • outVectorImage

        public final SoImageVizEngineOutput<SoSFImageDataAdapter,​SoImageDataAdapter> outVectorImage
        Output orientation vector image. The size (except spectral serie), calibration and interpretation of the output image are forced to the same values as the feature input. The size of the spectral serie component is forced to 2. Each vector defines the main orientation of the output tensor and its norm is equal to the saliency. Type is forced to float. Default value is NULL. Supported types include: color image.
      • outSaliencyImage

        public final SoImageVizEngineOutput<SoSFImageDataAdapter,​SoImageDataAdapter> outSaliencyImage
        Output saliency image. The size, calibration and interpretation of the output image are forced to the same values as the feature input. Type is forced to float. Default value is NULL. Supported types include: grayscale image.
      • outBallnessImage

        public final SoImageVizEngineOutput<SoSFImageDataAdapter,​SoImageDataAdapter> outBallnessImage
        Output ballness image. The size, calibration and interpretation of the output image are forced to the same values as the feature input. Type is forced to float. Default value is NULL. Supported types include: grayscale image.
    • Constructor Detail

      • SoTensorVotingProcessing2d

        public SoTensorVotingProcessing2d()
        Constructor.