Constructing the matrix for a color-coded 2d matrix visualization
1 次查看(过去 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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!