java - How convert ARGB to wavelenght(nanometers)? -


i searching method allow me convert argb(from bufferedimage.getrgb) nanometers( wavelength of light). know exist coz saw programs can that.

example code

example code goes rgba wavelength can found here. disclaimer: have not tried code, found on interwebs.

for example code goes wavelength>rgb, see question linked mayo (relinked here).

rgb , wavelength

if you're asking question, should make sure understand nuances of relation between rgb , wavelength.

a color perceived our eye may light of single wavelength, or light of several wavelengths superimposed on 1 approximate appearance of light of single wavelength.

rgb treats colors adding light of 3 specific wavelengths thing perceive. going wavelength rgb asking question: "how can add red, green, , blue approximate appearance of color?" there many possible answers question.

going rgb wavelength asking question (as are) "what single wavelength light approximates superposition of light given these rgb values?". it's important understand you're working many 1 mapping here.

**here can find discussion of along cool tool check work.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -