Adaptive binarization based on fuzzy integrals