Image boundary determination method and device, equipment and storage medium
A technology for determining methods and boundaries, applied in the field of image processing, can solve problems that sometimes exist, affect the accuracy of boundary determination, and numerical differences
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] Figure 1a It is a flow chart of a method for determining an image boundary provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of identifying an image boundary, and the method can be executed by an image boundary determination device, which can use software and / or or by means of hardware. The method specifically may include the following steps:
[0057] S110. Perform binarization on the target image to obtain a binarized target image.
[0058] Specifically, binary processing is performed on the target image, and the target image can be obtained using an image acquisition device. Wherein, the image acquisition device may be a camera or a terminal device equipped with a camera. The binarization process is to set the gray value of the pixel on the target image to 0 or 255, that is, the entire image presents a visual effect of only black and white. Optionally, the target image may be a circular figure or a similar figure wit...
Embodiment 2
[0079] figure 2 It is a flow chart of a method for determining an image boundary provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment is concerned with "according to preset rules, calculate the foreground point of each target boundary within a preset area. Eigenvalues" were optimized. The method specifically may include the following steps:
[0080] S210. Perform binarization on the target image to obtain a binarized target image.
[0081] S220. Determine a basic boundary of the binarized target image, where the basic boundary is a basic right boundary.
[0082] S230. According to the basic boundary, determine a plurality of target boundaries with a preset number of left and right columns or a preset number of upper and lower rows of the basic boundary.
[0083] S240. Calculate the center position in the row direction of the binarized target image to obtain the center position of each target boundary.
[0084]...
Embodiment 3
[0111] image 3 It is a flow chart of a method for determining an image boundary provided in Embodiment 3 of the present invention, and this embodiment is optimized on the basis of the foregoing embodiments. The method specifically may include the following steps:
[0112] S310. Perform binarization on the target image to obtain a binarized target image.
[0113] S320. Determine a basic boundary of the binarized target image, where the basic boundary is a basic right boundary.
[0114] S330. According to the basic boundary, determine a plurality of target boundaries with a preset number of left and right columns or a preset number of upper and lower rows of the basic boundary.
[0115] S340. According to a preset rule, calculate the feature value of the foreground point of each target boundary within the preset area.
[0116] S350. Determine the boundary of the target image from the multiple target boundaries according to the obtained multiple feature values.
[0117] S360...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


