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

4 次查看(过去 30 天)
Input image, extract rgb values from the image and convert those rgb values to concentration.
MATLAB Image Processing
How to code this ?
  5 个评论
Priyal Bagwe
Priyal Bagwe 2018-12-28
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 2019-1-19
Attach your one-color (i.e., gray scale) image and your calibration table in a .mat file with the paper clip icon.

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Biomedical Imaging 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by