CPC G06V 10/56 (2022.01) [G06T 7/90 (2017.01); G06V 10/50 (2022.01); G06V 40/10 (2022.01)] | 10 Claims |
1. An image processing method, comprising:
obtaining an image;
extracting a plurality of first current pixels from a plurality of pixels of the image obtained, based on a pixel value of each of the plurality of pixels, the plurality of first current pixels each having a pixel value included in a first color range including a specific color range that defines a specific color;
excluding, in a second region different from a first region including a center region of the image, (i) a low saturation pixel from the plurality of first current pixels when a total number of low saturation pixels is greater than or equal to a first threshold value, and (ii) a high saturation pixel from the plurality of first current pixels when a total number of high saturation pixels is greater than or equal to a second threshold value, the low saturation pixel having a pixel value included in a low saturation range which is a range of saturation lower than first saturation, the high saturation pixel having a pixel value included in a high saturation range which is a range of saturation higher than second saturation higher than the first saturation; and
outputting a plurality of second current pixels obtained as a result of the excluding.
|