Package elki.application.experiments
Class VisualizeGeodesicDistances
- java.lang.Object
-
- elki.application.AbstractApplication
-
- elki.application.experiments.VisualizeGeodesicDistances
-
@Reference(authors="Erich Schubert, Arthur Zimek, Hans-Peter Kriegel", title="Geodetic Distance Queries on R-Trees for Indexing Geographic Data", booktitle="Int. Symp. Advances in Spatial and Temporal Databases (SSTD\'2013)", url="https://doi.org/10.1007/978-3-642-40235-7_9", bibkey="DBLP:conf/ssd/SchubertZK13") public class VisualizeGeodesicDistances extends AbstractApplication
Visualization function for Cross-track, Along-track, and minimum distance function.TODO: make origin point / rectangle configurable.
Reference:
Erich Schubert, Arthur Zimek, Hans-Peter Kriegel
Geodetic Distance Queries on R-Trees for Indexing Geographic Data
Int. Symp. Advances in Spatial and Temporal Databases (SSTD'2013)- Since:
- 0.5.5
- Author:
- Niels Dörre, Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VisualizeGeodesicDistances.Mode
Visualization mode.static class
VisualizeGeodesicDistances.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description protected int
height
Image size.private static Logging
LOG
Get a logger for this class.protected VisualizeGeodesicDistances.Mode
mode
Visualization mode.protected EarthModel
model
Earth model.private java.nio.file.Path
out
Holds the file to print results to.protected int
steps
Number of steps for shades.protected int
width
Image size.-
Fields inherited from class elki.application.AbstractApplication
REFERENCE, VERSION
-
-
Constructor Summary
Constructors Constructor Description VisualizeGeodesicDistances(java.nio.file.Path out, int resolution, int steps, VisualizeGeodesicDistances.Mode mode, EarthModel model)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
colorMultiply(int col, double reldist, boolean ceil)
static void
main(java.lang.String[] args)
Main method for application.void
run()
Runs the application.-
Methods inherited from class elki.application.AbstractApplication
printErrorMessage, runCLIApplication, usage
-
-
-
-
Field Detail
-
LOG
private static final Logging LOG
Get a logger for this class.
-
out
private java.nio.file.Path out
Holds the file to print results to.
-
width
protected int width
Image size.
-
height
protected int height
Image size.
-
steps
protected int steps
Number of steps for shades.
-
mode
protected VisualizeGeodesicDistances.Mode mode
Visualization mode.
-
model
protected EarthModel model
Earth model.
-
-
Constructor Detail
-
VisualizeGeodesicDistances
public VisualizeGeodesicDistances(java.nio.file.Path out, int resolution, int steps, VisualizeGeodesicDistances.Mode mode, EarthModel model)
Constructor.- Parameters:
out
- Output filenamesteps
- Number of steps in the color mapmode
- Visualization modemodel
- Earth model
-
-
Method Detail
-
run
public void run()
Description copied from class:AbstractApplication
Runs the application.- Specified by:
run
in classAbstractApplication
-
colorMultiply
private int colorMultiply(int col, double reldist, boolean ceil)
-
main
public static void main(java.lang.String[] args)
Main method for application.- Parameters:
args
- Parameters
-
-