What is the correct use of the "RGB2Lab" function in this situation?
10 views (last 30 days)
Show older comments
Hi, what I am looking to do is an analysis on the color change of a sample over time.
What I thought of doing is the following:
1- A mask of the first photo that will be used in all the following ones. In this way observe only the sample.
2- Using the mask to obtain the average value of the RGB channels of the sample in each of the photos.
3- Use the "RGB2Lab" function to obtain the values in Lab mode for each photo.
4-From these last values calculate the color difference "Delta E" for each of the photos with respect to the first one.
My doubts are then the following (if you have any recommendation for any of the above steps I will also be grateful, I am new to image analysis and I learned about Lab mode last week):
Does it make sense to occupy Lab mode as I am doing?
From what I understand the "RGB2Lab" function has other inputs that are related to the light used. If I used a white fluorescent light I should use the light standard "F" or am I wrong?
However this standard is not available for the function, any advice?
This is the sample:
EDIT: I was quick to ask the question myself. But I found some links to other answered questions that, I think, encapsulate everything I asked.
2 Comments
Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!