Constructing the matrix for a color-coded 2d matrix visualization
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi all,
I have the following:
- Two distance vectors: Each of these vectors contains the distances of all points (pixels) of an image to one specific point respectively.
- An accuracy vector, as each point/pixel is also associated with an accuracy value (their order corresponds to the order of the distances).
What I want to do:
I would like to have a color coded 2d-matrix, whereby the y- and x-axis being the distances (ordered from smallest to largest) contained in the two "distance" vectors, and the values displayed in matrix are the accuracies.
What is the fastest way to construct a matrix from these three vectors (attached), as in my case the same distance can also appear more than once (and so the corresponding accuracies in the matrix would have to averaged possibly)?
Thanks for the help
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!