Class ComputeSimilarityMatrixImage<O>

  • Type Parameters:
    O - Object class
    All Implemented Interfaces:
    Evaluator, ResultProcessor

    public class ComputeSimilarityMatrixImage<O>
    extends java.lang.Object
    implements Evaluator
    Compute a similarity matrix for a distance function.
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Field Detail

      • LOG

        private static final Logging LOG
        The logger.
      • distance

        private Distance<? super O> distance
        The distance function to use
      • skipzero

        private boolean skipzero
        Skip zero values.
    • Constructor Detail

      • ComputeSimilarityMatrixImage

        public ComputeSimilarityMatrixImage​(Distance<? super O> distance,
                                            ScalingFunction scaling,
                                            boolean skipzero)
        Constructor.
        Parameters:
        distance - Distance function to use
        scaling - Scaling function to use for contrast
        skipzero - Skip zero values when scaling.