fixed niblack, refactored code
Merge branch 'master' of https://github.com/moehabib/image-binarization