Text this: Illumination compensation for document images using local-global block analysis