// from shooting_get_luminance()static int luaCB_get_luminance( lua_State* L ) // http://en.wikipedia.org/wiki/APEX_system{// static const double K = 12.5; // K is the reflected-light meter calibration constant (*100) short bv = shooting_get_bv96(); int b=(int)(1250*pow(2.0,((double)(bv-168)/96.0))); lua_pushnumber(L, b); return 1;}// FUNC(get_luminance)
That doesn’t look mathematically/scientifically ‘robust’ to me, it looks more like a heuristic or empirical type of approach.
I have tried a few ways of calculating for an over exposed image; but I can't find anything that I think is usable.
Started by pigeonhill General Discussion and Assistance
Started by pigeonhill General Help and Assistance on using CHDK stable releases