How to extract rgb values from an image and convert them into concentration?

4 vues (au cours des 30 derniers jours)
Priyal Bagwe
Priyal Bagwe le 27 Déc 2018
Commenté : Image Analyst le 19 Jan 2019
Input image, extract rgb values from the image and convert those rgb values to concentration.
MATLAB Image Processing
How to code this ?
  5 commentaires
Priyal Bagwe
Priyal Bagwe le 28 Déc 2018
On image insertion, I want the rgb value to be extracted (entire image is of one color) and then, concentration to be determined. Yes, I have a table correlating the RGB values to concentration. How do I proceed?
Image Analyst
Image Analyst le 19 Jan 2019
Attach your one-color (i.e., gray scale) image and your calibration table in a .mat file with the paper clip icon.

Connectez-vous pour commenter.

Réponses (1)

Rahul punk
Rahul punk le 19 Jan 2019
%% try this
rgbImage = permute(rgbImage, [3,1,2])
serialValues = rgbImage(:)'

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by