Theoretical Analysis of Power-law Transformation on Images for Text Polarity Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yadav, Narendra Singh, Perepu, Pavan Kumar
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914150424248320
author Yadav, Narendra Singh
Perepu, Pavan Kumar
author_facet Yadav, Narendra Singh
Perepu, Pavan Kumar
contents Several computer vision applications like vehicle license plate recognition, captcha recognition, printed or handwriting character recognition from images etc., text polarity detection and binarization are the important preprocessing tasks. To analyze any image, it has to be converted to a simple binary image. This binarization process requires the knowledge of polarity of text in the images. Text polarity is defined as the contrast of text with respect to background. That means, text is darker than the background (dark text on bright background) or vice-versa. The binarization process uses this polarity information to convert the original colour or gray scale image into a binary image. In the literature, there is an intuitive approach based on power-law transformation on the original images. In this approach, the authors have illustrated an interesting phenomenon from the histogram statistics of the transformed images. Considering text and background as two classes, they have observed that maximum between-class variance between two classes is increasing (decreasing) for dark (bright) text on bright (dark) background. The corresponding empirical results have been presented. In this paper, we present a theoretical analysis of the above phenomenon.
format Preprint
id arxiv_https___arxiv_org_abs_2511_07916
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Theoretical Analysis of Power-law Transformation on Images for Text Polarity Detection
Yadav, Narendra Singh
Perepu, Pavan Kumar
Computer Vision and Pattern Recognition
Several computer vision applications like vehicle license plate recognition, captcha recognition, printed or handwriting character recognition from images etc., text polarity detection and binarization are the important preprocessing tasks. To analyze any image, it has to be converted to a simple binary image. This binarization process requires the knowledge of polarity of text in the images. Text polarity is defined as the contrast of text with respect to background. That means, text is darker than the background (dark text on bright background) or vice-versa. The binarization process uses this polarity information to convert the original colour or gray scale image into a binary image. In the literature, there is an intuitive approach based on power-law transformation on the original images. In this approach, the authors have illustrated an interesting phenomenon from the histogram statistics of the transformed images. Considering text and background as two classes, they have observed that maximum between-class variance between two classes is increasing (decreasing) for dark (bright) text on bright (dark) background. The corresponding empirical results have been presented. In this paper, we present a theoretical analysis of the above phenomenon.
title Theoretical Analysis of Power-law Transformation on Images for Text Polarity Detection
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2511.07916