Predict Illuminance -room lux Level -in room by image processing

Dear All,
I have about 130 captured images for a room with known and different lux value mesured by luxmeter,,,, if it possible to write code function in MATLAB to predict lux level by image processing
function Predict_Lux_Value = File_Name(rgbimage)

 Respuesta aceptada

Image Analyst
Image Analyst el 7 de Nov. de 2020
Editada: Image Analyst el 7 de Nov. de 2020
Sameh, yes you could if you place your luxmeter in the same place in the scene and get the pixel intensity of that same place. Of course it won't work for any other location since there is no correspondence for the lux level at one place and the lux level at a different place.
You basically make up an equation for lux vs gray level using your measurements using polyfit. Then intepolate to some arbitrary gray level using polyval().
coefficients = polyfit(grayLevel, luxLevel, 3); % Fit a cubic.
% Now find a gray level somehow, then plug it into polyval to get the estimated lux level
estimatedLuxLevel = polyfit(coefficients, testGrayLevel);

Más respuestas (1)

shivam pandey
shivam pandey el 7 de Nov. de 2020
1500 candela at a distance of 3meter

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 1 de Abr. de 2020

Editada:

el 7 de Nov. de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by