Info
This question is closed. Reopen it to edit or answer.
HOW CAN I ADD RBG color at a given point say x(2,, 7) and generate the wavelenght?
1 view (last 30 days)
Show older comments
let say this is my code f=imread('/tmp/marbles.jpg'); f=uint8(f); %need to convert back to uint8 to show picture
%Split into RGB Channels f_red = f(:,:,1); f_green = f(:,:,2); f_blue = f(:,:,3); the values of red , green and bleu are sorted but at a particular point they all interset e.g (2 6). what is the wavelenth at position (2,6). please can someone help me to generate the code if possible?
3 Comments
Kris Fedorenko
on 9 Jan 2018
Edited: Kris Fedorenko
on 9 Jan 2018
You might want to take a look at this thread: https://www.mathworks.com/matlabcentral/answers/240430-rgb-to-wavelength-is-it-possible
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!