A new grey mapping function and its adaptive algorithm for low-light image enhancement