Apply image position data to an image (Excel data)

1 回表示 (過去 30 日間)
HJ
HJ 2021 年 6 月 10 日
コメント済み: Image Analyst 2021 年 6 月 10 日
There are multiple dots in one image.
Also, I have the location data of the points in Excel, so I want to apply that data to the image.
I would like to see in the image how much difference appears between that point and the excel data.
I wonder if there is a suitable example or method.
  1 件のコメント
Image Analyst
Image Analyst 2021 年 6 月 10 日
You forgot to attach the Excel workbook. Does it contain 3 columns of (x, y, gray level)? Or 5 if color (x, y, r, g, b)? Or 3 like (row, column, gray level) or 5 is (row, column, r, g, b)? To get a difference you can subtract the values.

サインインしてコメントする。

採用された回答

KSSV
KSSV 2021 年 6 月 10 日
You can check that visually by plotting the dots on the image.
I = imread(myimage) ;
T = readtable(myexcelfile) ; % assuming excel files has two columns (x,y)
% plot
imshow(I)
hold on
plot(T.(1),T.(2),'+r')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by