CPC G06T 7/11 (2017.01) [G06F 18/241 (2023.01); G06T 7/0012 (2013.01); G06T 7/514 (2017.01); G06V 10/56 (2022.01); G06V 40/10 (2022.01); G06V 40/171 (2022.01); G06T 2207/10024 (2013.01); G06T 2207/30088 (2013.01); G06V 2201/03 (2022.01)] | 17 Claims |
1. A speckle detection method, comprises:
obtaining a to-be-detected image;
converting the to-be-detected image into Lab color space to obtain a Lab image;
extracting a speckle feature from the Lab image to obtain a speckle feature image, comprising separately extracting detail feature components of a channel L, a channel a, and a channel b in the Lab image to obtain the speckle feature image, wherein the speckle feature image comprises a skin speckle feature and a subcutaneous speckle feature; and
determining a skin speckle and a subcutaneous speckle in the speckle feature image, comprising
determining one or more speckle regions in the speckle feature image,
for each of the one or more speckle regions, determining a channel b average value of pixel points of the respective speckle region, determining the respective speckle region whose channel b average value is greater than a first threshold as the skin speckle, and determining the respective speckle region whose channel b average value is less than or equal to the first threshold as the subcutaneous speckle.
|