convert rgb image to mean power spectral density
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Giuseppa Buscaino
il 12 Dic 2018
Commentato: Guillaume
il 12 Dic 2018
Hi,
I like to convert rgb data of a photo in a mean power spectrum density of this photo.
Giusi
0 Commenti
Risposta accettata
Guillaume
il 12 Dic 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 Commenti
Più risposte (1)
Giuseppa Buscaino
il 12 Dic 2018
1 Commento
Guillaume
il 12 Dic 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.
Community
Più risposte nel Power Electronics Control
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!