1:41 PM
@ThePhoton perhaps you could say a light sensor
and you want to subtract ambient light from a source light
and the ambient light level can vary
the method i'm using is to sample the ambient light and then sample the source light and then subtract the ambient light from that
but the problem is if it is automated how to know when the source influence or other external influences could be incorrectly raising the ambient level when the ambient level is sampled
i think a possible path would be to have directional array and detect external sources that way and try to determine the background based on that information . . but i am not sure