ImageCloud
 All Classes Namespaces Functions Variables Enumerations Properties Events
Public Member Functions | Properties
VisWpf.Algorithm.EMDMatrixController Class Reference

Controls the EMD-Matrix. Can execute query methods to return a reduced emd Matrix. More...

List of all members.

Public Member Functions

 EMDMatrixController (IObserver< string > emdc, IList< ImageInfoContainer > images)
 Creates a new EMDMatrixController. Computes an EMD Matrix with for the given ImageInfosContainers.
EMDQueryResult RecomputeImagePositions (EMDQuery qs)
 Recomputes the image positions, for a given query. Returns a mm.
void computeInitialImagePositions (IList< ImageInfoContainer > imageInfos)
 Computes the initial MDS Positioning of the Images. Must be called first.
double[,] ComputeEMDMatrix (IList< ImageInfoContainer > imageInfos)
 Computes an EMD Matrix for the given ImageInfos.
IDisposable Subscribe (IObserver< string > observer)
 Not used.

Properties

double AverageDistance [get]
 Gets the average EMD distance of all Images.
double[,] EMDMatrix [get]
 Gets or sets the current EMD Matrix.

Detailed Description

Controls the EMD-Matrix. Can execute query methods to return a reduced emd Matrix.


Constructor & Destructor Documentation

VisWpf.Algorithm.EMDMatrixController.EMDMatrixController ( IObserver< string >  emdc,
IList< ImageInfoContainer images 
)

Creates a new EMDMatrixController. Computes an EMD Matrix with for the given ImageInfosContainers.

Parameters:
emdcThe Observer for this class.(For UI Messages)
imagesThe List of ImageInfoContainer for the initial computation

Member Function Documentation

double [,] VisWpf.Algorithm.EMDMatrixController.ComputeEMDMatrix ( IList< ImageInfoContainer imageInfos)

Computes an EMD Matrix for the given ImageInfos.

Parameters:
imageInfosThe image infos to compute the emd matrix for.
Returns:
The EMD Matrix for the Images
void VisWpf.Algorithm.EMDMatrixController.computeInitialImagePositions ( IList< ImageInfoContainer imageInfos)

Computes the initial MDS Positioning of the Images. Must be called first.

Parameters:
imageInfosA list of ImageInfoContainer objects provided from the clustering.
Returns:
EMDQueryResult VisWpf.Algorithm.EMDMatrixController.RecomputeImagePositions ( EMDQuery  qs)

Recomputes the image positions, for a given query. Returns a mm.

Parameters:
qsA parameter of the type QueryStructure
Returns:
A new MDS Structure with the reconfiguration for the given query.
IDisposable VisWpf.Algorithm.EMDMatrixController.Subscribe ( IObserver< string >  observer)

Not used.

Parameters:
observer
Returns:

Property Documentation

double VisWpf.Algorithm.EMDMatrixController.AverageDistance
get

Gets the average EMD distance of all Images.

double [,] VisWpf.Algorithm.EMDMatrixController.EMDMatrix
get

Gets or sets the current EMD Matrix.


The documentation for this class was generated from the following file: