Package host.anzo.commons.graphics.image
Class HeatMapImage
java.lang.Object
host.anzo.commons.graphics.image.HeatMapImage
- Since:
- 8/3/2023
-
Constructor Summary
ConstructorsConstructorDescriptionHeatMapImage(@NotNull BufferedImage backgroundImage, @NotNull Collection<Point> points) -
Method Summary
Modifier and TypeMethodDescriptioncreateHeatMap(float multiplier, boolean withBackground) creates the heatmap.voidSave heat map to file by specified path
-
Constructor Details
-
HeatMapImage
public HeatMapImage(@NotNull @NotNull BufferedImage backgroundImage, @NotNull @NotNull Collection<Point> points)
-
-
Method Details
-
createHeatMap
creates the heatmap.- Parameters:
multiplier- this value will multiply the calculated opacity of every point. This leads to a HeatMap that is easier to read, especially when there are not too many points or the points are to spread out. Pass 1.0f for original.
-
save
Save heat map to file by specified path- Parameters:
path- file path
-