![]() |
ICSV - Image Color Similarity Visualization
Vienna Technical University - Course 'Visualization 2'. Author: Stefan Spelitz (0925601)
|
This class holds all relevant information about an image, before distances are calculated and a position is applied. More...
Public Member Functions | |
ImageContainer (string id, Signature sig, string uri, Color firstColor) | |
To construct an object all parameters are considered to be mandatory. More... | |
override bool | Equals (System.Object obj) |
Whether or not this object is equal to the given object. Two objects are equal if the ids are equal. More... | |
bool | Equals (ImageContainer p) |
Whether or not this object is equal to the given object. Two objects are equal if the ids are equal. More... | |
override int | GetHashCode () |
The hashcode of the object. I.e. the hashcode of the identifier. More... | |
Public Attributes | |
readonly string | Identifier |
A unique identifier for each image. More... | |
readonly Signature | Signature |
The signature of the image. It contains color clusters with weights (i.e. the count of pixels in the cluster). More... | |
readonly string | DataURI |
The data URI for the image in the format 'data:image/...' More... | |
readonly Color | FirstRGBcolor |
The RGB color of the first pixel of the image. This is useful for the axes of the color space, which are initially represented by images, consisting only of one color. More... | |
This class holds all relevant information about an image, before distances are calculated and a position is applied.
ICSV.Server.ImageContainer.ImageContainer | ( | string | id, |
Signature | sig, | ||
string | uri, | ||
Color | firstColor | ||
) |
To construct an object all parameters are considered to be mandatory.
id | the unique id |
sig | the calculated signature |
uri | the data URI |
firstColor | the color of the first pixel |
override bool ICSV.Server.ImageContainer.Equals | ( | System.Object | obj | ) |
Whether or not this object is equal to the given object. Two objects are equal if the ids are equal.
obj | the object to check equality with |
bool ICSV.Server.ImageContainer.Equals | ( | ImageContainer | p | ) |
Whether or not this object is equal to the given object. Two objects are equal if the ids are equal.
obj | the object to check equality with |
override int ICSV.Server.ImageContainer.GetHashCode | ( | ) |
The hashcode of the object. I.e. the hashcode of the identifier.
readonly string ICSV.Server.ImageContainer.DataURI |
The data URI for the image in the format 'data:image/...'
Data URI scheme: http://en.wikipedia.org/wiki/Data_URI_scheme
readonly Color ICSV.Server.ImageContainer.FirstRGBcolor |
The RGB color of the first pixel of the image. This is useful for the axes of the color space, which are initially represented by images, consisting only of one color.
readonly string ICSV.Server.ImageContainer.Identifier |
A unique identifier for each image.
readonly Signature ICSV.Server.ImageContainer.Signature |
The signature of the image. It contains color clusters with weights (i.e. the count of pixels in the cluster).