Text this: Fast contrast enhancement by adaptive pixel value stretching