This site requires JavaScript, please enable it in your browser!
Greenfoot back
Mkheo
Mkheo wrote ...

2014/4/22

Specrtometry: Converting Pixels to Spectrum

Mkheo Mkheo

2014/4/22

#
Hello folks, At this stage I have no code whatsoever. I need to convert an image of stars from RGB into its Spectrum or so to say -wavelengths. I tried doing it manually with for loops and for statements; it was awful :D Can you give me any ideas on where to start?
davmac davmac

2014/4/22

#
A google search on "rgb to spectrum" showed some interesting-looking results so you might want to try that. Note that you can't convert all RGB combinations into a single wavelength, because some colours are made up of more than one frequency of light.
You need to login to post a reply.