CPC G06T 5/20 (2013.01) [G06T 5/40 (2013.01); G06T 5/70 (2024.01); G06V 10/764 (2022.01); G06T 2207/20192 (2013.01)] | 23 Claims |
1. A method for detecting a non-active area in an image, the method comprising:
calculating a histogram of a predefined area located at a boundary of the image;
finding a peak and a width of the peak of the histogram;
based on the peak and the width of the peak of the histogram, classifying a presence of the non-active area in the image, thereby generating a peak detection score;
based on a ratio of the pixels that belong to the peak on a predefined minimum possible non-active areas at the predefined area located at the boundary of the image, classifying the presence of the non-active area in the image, thereby generating a boundary detection score;
generating a total score based on a combination of the peak and the boundary detection scores, and
detecting the presence of the non-active area based on the total score.
|