Text this: Study of local assessments of contrast for digital images