Class DensityEstimationOverlay.Instance

    • Field Detail

      • resolution

        private int resolution
        Density map resolution
      • img

        private java.awt.image.BufferedImage img
        The actual image
    • Constructor Detail

      • Instance

        public Instance​(VisualizerContext context,
                        VisualizationTask task,
                        VisualizationPlot plot,
                        double width,
                        double height,
                        Projection proj)
        Constructor.
        Parameters:
        context - Visualizer context
        task - Task
        plot - Plot to draw to
        width - Embedding width
        height - Embedding height
        proj - Projection
    • Method Detail

      • initializeBandwidth

        @Reference(authors="D. W. Scott",
                   title="Multivariate density estimation: Theory, Practice, and Visualization",
                   booktitle="Multivariate Density Estimation: Theory, Practice, and Visualization",
                   url="https://doi.org/10.1002/9780470316849",
                   bibkey="doi:10.1002/9780470316849")
        private double[] initializeBandwidth​(double[][] data)
      • renderImage

        private void renderImage()
      • unflip

        private int unflip​(int binarySearch)