Constructing the matrix for a color-coded 2d matrix visualization

2 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by