Estimation of the amplitude of the signal for the active optical gesture sensor with sparse detectors