Axially distributed sensing with a monoscopic imaging lens for single-shot distance measurements