i have an RGB image and i would like to convert it into numerical data

2 ビュー (過去 30 日間)
Ahmed Abdulla
Ahmed Abdulla 2019 年 6 月 13 日
回答済み: Theron FARRELL 2019 年 6 月 13 日
the image below uses an RGB scale to show the magnetic field strength at each point on the map. I've been struggling to find a way to convert this image into an array that shows the x and y coordinates of the pixel along with the magnetic field value at each coordinate using MATLAB
The radial component of the field scaled to +.- 220 nT.jpeg

採用された回答

Theron FARRELL
Theron FARRELL 2019 年 6 月 13 日
I suppose you know how to read an image
% I will be a numerical array, then
I = imread(...)
% Then you may use
% k is ones of channels
surf(I(:, :, k));
mesh(I(:, :, k));
% If you want to examine each pixel precisely, you may use
imtool(I)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

製品


リリース

R12.1

Community Treasure Hunt

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

Start Hunting!

Translated by