An implementation of some binarization methods such as Niblack, Sauvola, Wolfjolion and one based on feature space partitioning