Convex polygonal image block detection method, device and equipment
A technology of convex polygon and detection method, which is applied in the computer field and can solve problems such as detecting convex polygon image blocks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] see figure 1 , an embodiment of the present invention provides a method for detecting a convex polygon image block, including:
[0062] Step 101: acquiring an image collected by an image sensor;
[0063] Step 102: Obtain a corner point set, where the corner point set includes a corner point in the image, and the corner point is the intersection of any two non-parallel straight lines in the image;
[0064] Step 103: According to the set of corner points, obtain from the image a convex polygonal image block whose shape is a preset shape and whose similarity with the preset image block exceeds a preset first threshold.
[0065] In the embodiment of the present invention, an image collected by an image sensor is obtained, and a corner point set is obtained, where the corner point set includes a corner point in the image, and the corner point is an intersection point where any two non-parallel straight lines in the image intersect; according to For the corner point set, a ...
Embodiment 2
[0067] see Figure 2-1 , an embodiment of the present invention provides a method for detecting a convex polygon image block, including:
[0068] Step 201: acquiring an image captured by an image sensor;
[0069] Step 202: Obtain a set of candidate corner points, where the candidate corner points included in the candidate corner point set are pixels whose corner point response values in the image are greater than a preset second threshold;
[0070] Specifically, it can be achieved through the following steps from 2021 to 2023, including:
[0071] 2021: Acquire the grayscale value of each pixel included in the image;
[0072] 2022: Calculate the corner response value of each pixel respectively according to the acquired gray value of each pixel, the preset first matrix and the preset second matrix;
[0073] Wherein, for any pixel in the image, the following steps (A-1) to (A-8) can be used to calculate the corner response value of the pixel, including:
[0074] (A-1): Obta...
Embodiment 3
[0175] see image 3 , an embodiment of the present invention provides a method for detecting a convex polygon image block, including:
[0176] Step 301: acquiring an image collected by an image sensor;
[0177] Step 302: Obtain a set of candidate corner points, and the candidate corner points included in the candidate corner point set are contour points included in the contour of the connected domain in the image;
[0178] Specifically, the gray value of each pixel in the image is obtained, the obtained gray value is averaged to obtain the average gray value, and the gray value of the pixel whose gray value in the image is greater than or equal to the average gray value is calculated. The value is set as the first gray value, and the gray value of the pixel whose gray value in the image is less than the average recovery value is set as the second gray value; The original image is converted into a black and white image through the above-mentioned conversion process; The conne...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 