Image region extraction result identification method and device, and computer readable storage medium
A technology of image area and identification method, which is applied in the field of mobile communication, and can solve problems such as image area affecting the normal operation of applications, user function troubles, image area extraction failure, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0081] image 3 It is a flow chart of the first embodiment of the image region extraction result recognition method of the present invention. A method for identifying an image region extraction result, the method comprising:
[0082] S1. Acquire a first edge image and a second edge image obtained after edge extraction of the original image and its corresponding mask image respectively.
[0083] S2. For each pixel of the second edge image, determine a first number of pixels whose pixel value is not less than a preset pixel value, and at the same time, for each pixel of the second edge image, determine that the pixel value is equal to the The second number of pixels of the preset pixel value.
[0084] S3. For each pixel of the second number, determine each corresponding pixel in the first edge image, and determine that all grayscale values are equal to the predetermined Set the pixel value of the third number of paired pixels.
[0085] S4. If the ratio of the third number ...
Embodiment 2
[0097] Figure 4 It is a flow chart of the second embodiment of the image region extraction result recognition method of the present invention. Based on the above embodiment, the acquisition of the first edge image and the second edge image obtained after edge extraction of the original image and its corresponding mask image respectively, include:
[0098] S11. Obtain the input original image.
[0099] S12. Extract an image area from the original image, and obtain the mask image corresponding to the original image through deep learning, wherein the image area is a sky area.
[0100] Optionally, in this embodiment, when the user extracts the image region of the selected image, the user inputs the original image of this embodiment from the gallery of the device or the network terminal, and when the application performs the function application based on the image region extraction, Get the original image before image region extraction.
[0101] Optionally, in this embodiment, ...
Embodiment 3
[0104] Figure 5 It is a flow chart of the third embodiment of the image region extraction result recognition method of the present invention. Based on the above embodiment, for each pixel of the second edge image, determine the first number of pixels whose value is not less than the preset pixel value pixel, and at the same time, for each pixel of the second edge image, determining a second number of pixels whose pixel value is equal to the preset pixel value includes:
[0105] S21. Acquire regional features of the image region.
[0106] S22. Determine the preset pixel value corresponding to the region characteristic, wherein when the image region is the sky region, the region characteristic is pure white, and the preset pixel value is 255.
[0107] Optionally, in this embodiment, the area features of the image area are acquired. For example, when the image area is the sky, the feature of this area is a white solid color feature.
[0108]Optionally, in this embodiment, the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


