convert rgb image to mean power spectral density
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Giuseppa Buscaino
el 12 de Dic. de 2018
Comentada: Guillaume
el 12 de Dic. de 2018
Hi,
I like to convert rgb data of a photo in a mean power spectrum density of this photo.
Giusi
0 comentarios
Respuesta aceptada
Guillaume
el 12 de Dic. de 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 comentarios
Más respuestas (1)
Giuseppa Buscaino
el 12 de Dic. de 2018
1 comentario
Guillaume
el 12 de Dic. de 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.
Comunidades de usuarios
Más respuestas en Power Electronics Control
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!