CPC G06T 7/0004 (2013.01) [G01B 11/06 (2013.01); G06T 5/50 (2013.01); G07D 7/164 (2013.01); G06T 2207/20216 (2013.01); G06T 2207/30124 (2013.01)] | 14 Claims |
1. A method for detecting a thickness of paper, comprising:
acquiring a first thickness image of a target paper;
extracting at least one first thickness feature and at least one second thickness feature from the first thickness image, wherein a number of pixel points of each of the at least one first thickness feature in the first thickness image is smaller than or equal to a first target threshold, and a number of pixel points of each of the at least one second thickness feature in the first thickness image is greater than the first target threshold;
performing average processing on gray values of a plurality of pixel points in the at least one first thickness feature to acquire a first gray value, and performing the average processing on gray values of a plurality of pixel points in the at least one second thickness feature to acquire a second gray value; and
when the first gray value is smaller than the second gray value of a plurality of pixel points in the at least one second thickness feature, determining that a thickness of a region, corresponding to the at least one second thickness feature, on the target paper has changed.
|