ICSV - Image Color Similarity Visualization
Vienna Technical University - Course 'Visualization 2'. Author: Stefan Spelitz (0925601)
ICSV.Server.Signatures.SignatureProvider Class Reference

Class responsible for creating signatures. More...

Public Member Functions

Signature CreateSignature (double[][] input, double cellSize, double threshold)
 Creates a signature from the given parameters. More...
 

Detailed Description

Class responsible for creating signatures.

Member Function Documentation

Signature ICSV.Server.Signatures.SignatureProvider.CreateSignature ( double  input[][],
double  cellSize,
double  threshold 
)

Creates a signature from the given parameters.

Parameters
inputthe CIE Lab converted pixels of an image. Assumed to be N x 3, where N is the number of pixels of the image and 3 are the axes of CIE Lab (L,a,b)
cellSizeThe minimum cell size where subdivision stops. A smaller cell size typically results in more features of the signature
thresholdAll clusters with a relative pixelCount (= pixelCountCluster / pixelCountImage) below this threshold are discarded. E.g. a threshold of 0.001 results in discarding clusters with a relative pixelCount of 0.1 % or less to be discarded. A higher threshold results in a smaller feature count, but delivers non-optimal results.
Returns
the created signature with a specific number of features (= clusters) and its corresponding count of pixel per feature