i have an RGB image and i would like to convert it into numerical data
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ahmed Abdulla
le 13 Juin 2019
Réponse apportée : Theron FARRELL
le 13 Juin 2019
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
0 commentaires
Réponse acceptée
Theron FARRELL
le 13 Juin 2019
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Convert Image Type dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!