Controls the EMD-Matrix. Can execute query methods to return a reduced emd Matrix. More...
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. |
Controls the EMD-Matrix. Can execute query methods to return a reduced emd Matrix.
VisWpf.Algorithm.EMDMatrixController.EMDMatrixController | ( | IObserver< string > | emdc, |
IList< ImageInfoContainer > | images | ||
) |
Creates a new EMDMatrixController. Computes an EMD Matrix with for the given ImageInfosContainers.
emdc | The Observer for this class.(For UI Messages) |
images | The List of ImageInfoContainer for the initial computation |
double [,] VisWpf.Algorithm.EMDMatrixController.ComputeEMDMatrix | ( | IList< ImageInfoContainer > | imageInfos | ) |
Computes an EMD Matrix for the given ImageInfos.
imageInfos | The image infos to compute the emd matrix for. |
void VisWpf.Algorithm.EMDMatrixController.computeInitialImagePositions | ( | IList< ImageInfoContainer > | imageInfos | ) |
Computes the initial MDS Positioning of the Images. Must be called first.
imageInfos | A list of ImageInfoContainer objects provided from the clustering. |
EMDQueryResult VisWpf.Algorithm.EMDMatrixController.RecomputeImagePositions | ( | EMDQuery | qs | ) |
Recomputes the image positions, for a given query. Returns a mm.
qs | A parameter of the type QueryStructure |
IDisposable VisWpf.Algorithm.EMDMatrixController.Subscribe | ( | IObserver< string > | observer | ) |
Not used.
observer |
|
get |
Gets the average EMD distance of all Images.
|
get |
Gets or sets the current EMD Matrix.