Real-time implementation of lateral flow estimation using spatial quadrature