convert rgb image to mean power spectral density
4 views (last 30 days)
Show older comments
Giuseppa Buscaino
on 12 Dec 2018
Commented: Guillaume
on 12 Dec 2018
Hi,
I like to convert rgb data of a photo in a mean power spectrum density of this photo.
Giusi
0 Comments
Accepted Answer
Guillaume
on 12 Dec 2018
For that you would first need to know the frequency response of the camera sensor that has been used to acquire that photo. I can guarantee that it's not going to be flat at all (non-scientific sensors tend to respond more to green). In addition, you'll need to know the exact settings under which that photo has been acquired (exposure, aperture, iso settings, any digital correction applied, etc.). Without any of this information it is impossible to get the PSD.
0 Comments
More Answers (1)
Giuseppa Buscaino
on 12 Dec 2018
1 Comment
Guillaume
on 12 Dec 2018
No, you will need the frequency response of the sensor. It's not something that's normally published so that's something you would normally measure under lab conditions. And I forgot that you also need the frequency response of the lens.
That response is also going to depend on the camera settings. Some of them are indeed encoded in your file but it doesn't look that it's enough. In particular, since most settings seem to be on Auto. In particular, auto ISO and auto white balance will affect the frequency response of the sensor/electronics.
In general, unless you're using calibrated equipment (that you've calibrated yourself under the exact same conditions) it's not possible to get information about the light spectrum from a photo.
Communities
More Answers in the Power Electronics Control
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!