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

조회 수: 2 (최근 30일)
Priyal Bagwe
Priyal Bagwe 2018년 12월 27일
댓글: Image Analyst 2019년 1월 19일
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에서 Image Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by