If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Extract source spectrum from JPEG?
Howdy all!
To what extent is it possible to extract the `spectrum' of a light source from, e.g., a digital camera JPEG, with existing freely-distributed software, such as the Gimp? Can someone point me to such a tool? (I've googled this group's archives but found nothing specific.) EG: I'd like to demonstrate that the newish green traffic lights using GaN-based semiconductors are more spectrally pure than the old incandescent light/filter combinations they replace. I intend to (i) deliberately defocus the camera, (ii) photograph each light source (iii) identify the spectral intensity of each light source and compare. Of course, this is vaguely what we are doing each time we *take* a digital photograph: from an unknown subject taken through 3 different color filters, we let the camera firmware reconstitute the full color content of the original scene. The only difference is that I want explicit information about the relative abundances of each spectral color in the form of a continuous spectrum, ranging over the visible spectrum. The R, G, and B intensity curves are only slightly useful, alas, and of course the DETAILS of the spectral intensity probably require knowledge of the details of the CCDs used to acquire the image... Many thanks! -- David WOOD Laboratoire d'Optique des Solides ; 01.44.27.45.07 On sabbatic Jun-Dec 2004 from Dept. of Physics, Colorado School of Mines: |
#2
|
|||
|
|||
David M. Wood wrote:
Howdy all! To what extent is it possible to extract the `spectrum' of a light source from, e.g., a digital camera JPEG, with existing freely-distributed software, such as the Gimp? Can someone point me to such a tool? (I've googled this group's archives but found nothing specific.) Not a price. The only way to do it is to photograph the spectrum of the light diffracted off a grating or refracted through a prism. Shovelware CDs (use an aluminium one) provide cheap reflection diffraction gratings. Or you could buy a Cokin 2 point spectrum star filter. EG: I'd like to demonstrate that the newish green traffic lights using GaN-based semiconductors are more spectrally pure than the old incandescent light/filter combinations they replace. I intend to (i) deliberately defocus the camera, (ii) photograph each light source (iii) identify the spectral intensity of each light source and compare. Of course, this is vaguely what we are doing each time we *take* a digital photograph: from an unknown subject taken through 3 different color filters, we let the camera firmware reconstitute the full color content of the original scene. The only difference is that I want explicit information about the relative abundances of each spectral color in the form of a continuous spectrum, ranging over the visible spectrum. The only way to do that is separate the light by wavelength before it hits the sensor. Examples on streetlamps at: http://www.nezumi.demon.co.uk/nonad/spectra.htm Conventional coloured glass filters are very impure colourer light. LED technology is typically outputs most power in about 50nm bandwidth with a tail. Regards, Martin Brown |
#3
|
|||
|
|||
David M. Wood wrote:
Howdy all! To what extent is it possible to extract the `spectrum' of a light source from, e.g., a digital camera JPEG, with existing freely-distributed software, such as the Gimp? Can someone point me to such a tool? (I've googled this group's archives but found nothing specific.) Not a price. The only way to do it is to photograph the spectrum of the light diffracted off a grating or refracted through a prism. Shovelware CDs (use an aluminium one) provide cheap reflection diffraction gratings. Or you could buy a Cokin 2 point spectrum star filter. EG: I'd like to demonstrate that the newish green traffic lights using GaN-based semiconductors are more spectrally pure than the old incandescent light/filter combinations they replace. I intend to (i) deliberately defocus the camera, (ii) photograph each light source (iii) identify the spectral intensity of each light source and compare. Of course, this is vaguely what we are doing each time we *take* a digital photograph: from an unknown subject taken through 3 different color filters, we let the camera firmware reconstitute the full color content of the original scene. The only difference is that I want explicit information about the relative abundances of each spectral color in the form of a continuous spectrum, ranging over the visible spectrum. The only way to do that is separate the light by wavelength before it hits the sensor. Examples on streetlamps at: http://www.nezumi.demon.co.uk/nonad/spectra.htm Conventional coloured glass filters are very impure colourer light. LED technology is typically outputs most power in about 50nm bandwidth with a tail. Regards, Martin Brown |
#4
|
|||
|
|||
|
#5
|
|||
|
|||
|
#6
|
|||
|
|||
David M. Wood wrote:
.... EG: I'd like to demonstrate that the newish green traffic lights using GaN-based semiconductors are more spectrally pure than the old incandescent light/filter combinations they replace. I intend to (i) deliberately defocus the camera, (ii) photograph each light source (iii) identify the spectral intensity of each light source and compare. This has *got* to be some governmental thing. Only governments could find a very complicated way to find out if a green light is green! How much simpler would it be to just put a few people in front of the light, and ask, "Does this look green to you?" The actual spectrum purity wouldn't matter. It would eithe rlook green or it wouldn't. yes, it could be altered by adding blue or yellow light, but that's easily done, too. Oh well, it's just my taxes. :-) -- Bill Funk Change "g" to "a" |
#7
|
|||
|
|||
Rent or borrow a spectrophotometer, and measure them directly.
[Edmund Optics has one at a *relatively* low cost ... http://www.edmundoptics.com/onlineca...productID=2306 &search=1 As "an aside" ... it's the "scientifically correct" way of doing this task, and it's probably the only way that "would stand up in court." "David M. Wood" wrote in message ... Howdy all! To what extent is it possible to extract the `spectrum' of a light source from, e.g., a digital camera JPEG, with existing freely-distributed software, such as the Gimp? Can someone point me to such a tool? (I've googled this group's archives but found nothing specific.) EG: I'd like to demonstrate that the newish green traffic lights using GaN-based semiconductors are more spectrally pure than the old incandescent light/filter combinations they replace. I intend to (i) deliberately defocus the camera, (ii) photograph each light source (iii) identify the spectral intensity of each light source and compare. Of course, this is vaguely what we are doing each time we *take* a digital photograph: from an unknown subject taken through 3 different color filters, we let the camera firmware reconstitute the full color content of the original scene. The only difference is that I want explicit information about the relative abundances of each spectral color in the form of a continuous spectrum, ranging over the visible spectrum. The R, G, and B intensity curves are only slightly useful, alas, and of course the DETAILS of the spectral intensity probably require knowledge of the details of the CCDs used to acquire the image... Many thanks! -- David WOOD Laboratoire d'Optique des Solides ; 01.44.27.45.07 On sabbatic Jun-Dec 2004 from Dept. of Physics, Colorado School of Mines: |
#8
|
|||
|
|||
Rent or borrow a spectrophotometer, and measure them directly.
[Edmund Optics has one at a *relatively* low cost ... http://www.edmundoptics.com/onlineca...productID=2306 &search=1 As "an aside" ... it's the "scientifically correct" way of doing this task, and it's probably the only way that "would stand up in court." "David M. Wood" wrote in message ... Howdy all! To what extent is it possible to extract the `spectrum' of a light source from, e.g., a digital camera JPEG, with existing freely-distributed software, such as the Gimp? Can someone point me to such a tool? (I've googled this group's archives but found nothing specific.) EG: I'd like to demonstrate that the newish green traffic lights using GaN-based semiconductors are more spectrally pure than the old incandescent light/filter combinations they replace. I intend to (i) deliberately defocus the camera, (ii) photograph each light source (iii) identify the spectral intensity of each light source and compare. Of course, this is vaguely what we are doing each time we *take* a digital photograph: from an unknown subject taken through 3 different color filters, we let the camera firmware reconstitute the full color content of the original scene. The only difference is that I want explicit information about the relative abundances of each spectral color in the form of a continuous spectrum, ranging over the visible spectrum. The R, G, and B intensity curves are only slightly useful, alas, and of course the DETAILS of the spectral intensity probably require knowledge of the details of the CCDs used to acquire the image... Many thanks! -- David WOOD Laboratoire d'Optique des Solides ; 01.44.27.45.07 On sabbatic Jun-Dec 2004 from Dept. of Physics, Colorado School of Mines: |
#9
|
|||
|
|||
Big Bill writes:
David M. Wood wrote: ... EG: I'd like to demonstrate that the newish green traffic lights using GaN-based semiconductors are more spectrally pure than the old incandescent light/filter combinations they replace. I intend to (i) deliberately defocus the camera, (ii) photograph each light source (iii) identify the spectral intensity of each light source and compare. This has *got* to be some governmental thing. Only governments could find a very complicated way to find out if a green light is green! Governments or people with a clue, which you appear not to have. How much simpler would it be to just put a few people in front of the light, and ask, "Does this look green to you?" Since people perceive colour in a variety of ways, that's a stupid bloody idea. I know! let's fly in the face of many decades of colour theory! The actual spectrum purity wouldn't matter. It would eithe rlook green or it wouldn't. yes, it could be altered by adding blue or yellow light, but that's easily done, too. Actually, the spectral purity *does* matter, particularly when you've got people with limit colour vision around who should not have suddenly unexpected results. B |
#10
|
|||
|
|||
Big Bill writes:
David M. Wood wrote: ... EG: I'd like to demonstrate that the newish green traffic lights using GaN-based semiconductors are more spectrally pure than the old incandescent light/filter combinations they replace. I intend to (i) deliberately defocus the camera, (ii) photograph each light source (iii) identify the spectral intensity of each light source and compare. This has *got* to be some governmental thing. Only governments could find a very complicated way to find out if a green light is green! Governments or people with a clue, which you appear not to have. How much simpler would it be to just put a few people in front of the light, and ask, "Does this look green to you?" Since people perceive colour in a variety of ways, that's a stupid bloody idea. I know! let's fly in the face of many decades of colour theory! The actual spectrum purity wouldn't matter. It would eithe rlook green or it wouldn't. yes, it could be altered by adding blue or yellow light, but that's easily done, too. Actually, the spectral purity *does* matter, particularly when you've got people with limit colour vision around who should not have suddenly unexpected results. B |
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
8Mp Digital The Theoretical 35mm Quality Equivelant | Matt | Digital Photography | 1144 | December 17th 04 09:48 PM |
NEF vs JPEG fine, large on D70 - benefits? | AK | Digital Photography | 45 | November 29th 04 10:37 AM |
Microsoft JPEG Hoax! | Guido Vollbeding | Digital Photography | 445 | October 21st 04 08:51 AM |
A short study on digicam's fixed jpeg compression ratio | Heikki Siltala | Digital Photography | 23 | July 28th 04 08:49 AM |
JPEG Questions: Loss In Quality When "Saving" | Xtx99 | General Photography Techniques | 3 | April 8th 04 04:25 PM |