Currently I am working on web scanning project in which I have to get the documents from the scanner and save them in form of TIFF files (either single page or multi-page). As an enhancement to this project, I have to detect and eliminate blank pages. Can anybody please tell me how to detect blank pages/images??
I have found the solution to the problem.
Blank images will have highly uniform pixel values throughout the whole image. To measure the degree of uniformity (or variability), I came up with the function that calculates the standard deviation of all pixel values. An image is determined to be blank if the standard deviation falls below a certain threshold.