public class DensityEstimationOverlay.Instance extends AbstractScatterplotVisualization
Modifier and Type | Field and Description |
---|---|
private java.awt.image.BufferedImage |
img
The actual image
|
private int |
resolution
Density map resolution
|
proj, rel, sample
context, layer, svgp, task
Constructor and Description |
---|
Instance(VisualizerContext context,
VisualizationTask task,
VisualizationPlot plot,
double width,
double height,
Projection proj)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
fullRedraw()
Request a full redrawing of the visualization.
|
private double[] |
initializeBandwidth(double[][] data) |
private void |
renderImage() |
private int |
unflip(int binarySearch) |
setupCanvas, setupCanvas, visualizationChanged
addListeners, contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultChanged, resultRemoved
private int resolution
private java.awt.image.BufferedImage img
public Instance(VisualizerContext context, VisualizationTask task, VisualizationPlot plot, double width, double height, Projection proj)
context
- Visualizer contexttask
- Taskplot
- Plot to draw towidth
- Embedding widthheight
- Embedding heightproj
- Projectionpublic void fullRedraw()
Visualization
fullRedraw
in interface Visualization
fullRedraw
in class AbstractVisualization
@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)
private void renderImage()
private int unflip(int binarySearch)
Copyright © 2019 ELKI Development Team. License information.