Is there any way to get intensity value of a certain wavelength for given pixel of a normal  image?
If I understand correctly - you want to know what wavelength a given RGB value will show?

Only some RGB values represent a pure wavelength, those on the edge of CIE diagram (there is no wavelength of brown for example) see http://www.fourmilab.ch/documents/specrend/ for details and code