modify average contrast
Merge pull request #9 from liuzhaoguo/master

modify average contrast