public class DensityEstimationOverlay.Instance extends AbstractScatterplotVisualization
Modifier and Type | Field and Description |
---|---|
private BufferedImage |
img
The actual image
|
private int |
resolution
Density map resolution
|
proj, rel, sample
context, layer, pendingRedraw, svgp, task
Constructor and Description |
---|
DensityEstimationOverlay.Instance(VisualizationTask task)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private double[] |
initializeBandwidth(double[][] data) |
protected void |
redraw()
Perform a full redraw.
|
private void |
renderImage() |
private int |
unflip(int binarySearch) |
resultChanged, setupCanvas
contentChanged, destroy, getHeight, getLayer, getWidth, incrementalRedraw, resultAdded, resultRemoved, synchronizedRedraw
private int resolution
private BufferedImage img
public DensityEstimationOverlay.Instance(VisualizationTask task)
task
- Taskprotected void redraw()
AbstractVisualization
redraw
in class AbstractVisualization
@Reference(authors="D. W. Scott", title="Multivariate density estimation", booktitle="Multivariate Density Estimation: Theory, Practice, and Visualization", url="http://dx.doi.org/10.1002/9780470316849.fmatter") private double[] initializeBandwidth(double[][] data)
private void renderImage()
private int unflip(int binarySearch)