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)

 Réponse acceptée

Image Analyst
Image Analyst le 7 Nov 2020
Modifié(e) : Image Analyst le 7 Nov 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);

Plus de réponses (1)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by