final draft
added local contrast normalization