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

2 ビュー (過去 30 日間)
MiauMiau
MiauMiau 2018 年 10 月 14 日
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 Center および File ExchangeRead, 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