Skip to content

Spectrophotometer absorbance values to RGB space #7

Answered by thomased
chloefouilloux asked this question in Q&A
Discussion options

You must be logged in to vote

Emailed, but just posting my answer here too in case!

Yeah you’re right that the package (including spec2rgb) is understandably centred on reflectance. So for spec2rgb() to work I guess you could just make some assumptions and convert your absorbance to reflectance and go from there? In the simplest possible case that’d just be Reflectance = 1 – (Transmittance + Absorbance). And if you assume there’s no transmittance, then just subtract your % absorbances from 1 to get a reflectance spectrum (i.e. any light that isn’t absorbed, is reflected).

Again, that’s a simple case, but might be all you need depending on your question(s). Hope that helps anyway - just shout if you hit any snags.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thomased
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants