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