Text this: A generalized quality assessment method for natural and screen content images