Modulation transfer function measurement with maximum-length sequences