public class HeatMap extends VisualizationOperator
blue, colorAlpha, colorizeOption, controlColorChannel, datasetBoundary, distributedRasterColorMatrix, distributedRasterCountMatrix, distributedRasterImage, distributedVectorColors, distributedVectorImage, distributedVectorObjects, green, hasBeenSpatialPartitioned, maxPixelCount, onlyDrawOutline, parallelPhotoFilter, parallelRenderImage, partitionIntervalX, partitionIntervalY, partitionX, partitionY, PhotoFilterConvolutionMatrix, photoFilterRadius, rasterImage, red, resolutionX, resolutionY, reverseSpatialCoordinate, useInverseRatioForControlColorChannel, vectorImage
Constructor and Description |
---|
HeatMap(int resolutionX,
int resolutionY,
org.locationtech.jts.geom.Envelope datasetBoundary,
boolean reverseSpatialCoordinate,
int blurRadius)
Instantiates a new heat map.
|
HeatMap(int resolutionX,
int resolutionY,
org.locationtech.jts.geom.Envelope datasetBoundary,
boolean reverseSpatialCoordinate,
int blurRadius,
int partitionX,
int partitionY,
boolean parallelPhotoFilter,
boolean parallelRenderImage)
Instantiates a new heat map.
|
Modifier and Type | Method and Description |
---|---|
protected Integer |
EncodeToRGB(int normailizedCount)
Encode to RGB.
|
boolean |
Visualize(org.apache.spark.api.java.JavaSparkContext sparkContext,
SpatialRDD spatialRDD)
Visualize.
|
ApplyPhotoFilter, Colorize, CustomizeColor, EncodeToColor, InitPhotoFilterWeightMatrix, Rasterize, Rasterize, RenderImage, setMaxPixelCount
public HeatMap(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, int blurRadius)
resolutionX
- the resolution XresolutionY
- the resolution YdatasetBoundary
- the dataset boundaryreverseSpatialCoordinate
- the reverse spatial coordinateblurRadius
- the blur radiuspublic HeatMap(int resolutionX, int resolutionY, org.locationtech.jts.geom.Envelope datasetBoundary, boolean reverseSpatialCoordinate, int blurRadius, int partitionX, int partitionY, boolean parallelPhotoFilter, boolean parallelRenderImage)
resolutionX
- the resolution XresolutionY
- the resolution YdatasetBoundary
- the dataset boundaryreverseSpatialCoordinate
- the reverse spatial coordinateblurRadius
- the blur radiuspartitionX
- the partition XpartitionY
- the partition YparallelPhotoFilter
- the parallel photo filterparallelRenderImage
- the parallel render imageprotected Integer EncodeToRGB(int normailizedCount) throws Exception
VisualizationOperator
EncodeToRGB
in class VisualizationOperator
normailizedCount
- the normailized countException
- the exceptionpublic boolean Visualize(org.apache.spark.api.java.JavaSparkContext sparkContext, SpatialRDD spatialRDD) throws Exception
sparkContext
- the spark contextspatialRDD
- the spatial RDDException
- the exceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.