public static class ComputeSimilarityMatrixImage.SimilarityMatrix extends java.lang.Object implements PixmapResult
Modifier and Type | Field and Description |
---|---|
(package private) ArrayDBIDs |
ids
The database IDs used
|
(package private) java.awt.image.RenderedImage |
img
Our image
|
(package private) java.io.File |
imgfile
The file we have written the image to
|
private static java.lang.String |
IMGFILEPREFIX
Prefix for filenames
|
(package private) Relation<?> |
relation
The database
|
Constructor and Description |
---|
SimilarityMatrix(java.awt.image.RenderedImage img,
Relation<?> relation,
ArrayDBIDs ids)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getAsFile()
Get the image result as file (usually a temporary file).
|
ArrayDBIDs |
getIDs()
Get the IDs
|
java.awt.image.RenderedImage |
getImage()
Get the image pixmap
|
java.lang.String |
getLongName()
A "pretty" name for the result, for use in titles, captions and menus.
|
Relation<?> |
getRelation()
Get the relation
|
java.lang.String |
getShortName()
A short name for the result, useful for file names.
|
private static final java.lang.String IMGFILEPREFIX
Relation<?> relation
ArrayDBIDs ids
java.awt.image.RenderedImage img
java.io.File imgfile
public SimilarityMatrix(java.awt.image.RenderedImage img, Relation<?> relation, ArrayDBIDs ids)
img
- Image datapublic java.awt.image.RenderedImage getImage()
PixmapResult
getImage
in interface PixmapResult
public java.io.File getAsFile()
PixmapResult
getAsFile
in interface PixmapResult
public Relation<?> getRelation()
public ArrayDBIDs getIDs()
public java.lang.String getLongName()
Result
getLongName
in interface Result
public java.lang.String getShortName()
Result
getShortName
in interface Result
Copyright © 2019 ELKI Development Team. License information.