CN115731256A - Vertex coordinate detection method, device, equipment and storage medium - Google Patents

Vertex coordinate detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN115731256A
CN115731256A CN202111004774.8A CN202111004774A CN115731256A CN 115731256 A CN115731256 A CN 115731256A CN 202111004774 A CN202111004774 A CN 202111004774A CN 115731256 A CN115731256 A CN 115731256A
Authority
CN
China
Prior art keywords
coordinates
detection
vertex
corner
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111004774.8A
Other languages
Chinese (zh)
Inventor
刘贺
辛磊
曾建伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202111004774.8A priority Critical patent/CN115731256A/en
Priority to PCT/CN2021/119730 priority patent/WO2023029123A1/en
Publication of CN115731256A publication Critical patent/CN115731256A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/10Image enhancement or restoration using non-spatial domain filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)

Abstract

The invention discloses a method, a device and equipment for detecting vertex coordinates and a computer readable storage medium, wherein the method comprises the following steps: carrying out angular point detection on the acquired image to be detected to acquire angular point coordinates; the image to be detected comprises a polygonal area; performing linear detection on an image to be detected to obtain intersection point coordinates of straight lines corresponding to the polygonal area; acquiring vertex coordinates of the polygonal area according to the corner point coordinates and the intersection point coordinates; the invention utilizes the corner coordinates obtained by corner detection and the intersection coordinates obtained by line detection to obtain the vertex coordinates of the polygonal area in the image to be detected, and the vertex coordinates of the polygon in the image are more accurately detected in a mode of combining the corner detection and the line detection, thereby providing a prerequisite for extracting the subsequent polygonal area and further being used for carrying out color correction on the display screen of the rectangular area.

Description

Vertex coordinate detection method, device, equipment and storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to a method, an apparatus, and a device for detecting vertex coordinates, and a computer-readable storage medium.
Background
At present, when the color of the display screen is calibrated, a camera is required to shoot an image of the display screen. As shown in fig. 1, a rectangular area in an image is a display screen, and the rest is useless information, and a portion of the display screen, that is, the rectangular area, needs to be separated for color calibration; and extracting the rectangular area, wherein the vertex coordinates of the rectangular area need to be obtained.
Therefore, how to accurately extract the vertex coordinates of the polygonal area in the image to facilitate the subsequent extraction of the polygonal area is a problem that needs to be solved nowadays.
Disclosure of Invention
The invention aims to provide a method, a device and equipment for detecting vertex coordinates and a computer readable storage medium, which are used for accurately extracting the vertex coordinates of a polygonal area in an image so as to facilitate the subsequent extraction of the polygonal area.
In order to solve the above technical problem, the present invention provides a method for detecting vertex coordinates, including:
carrying out angular point detection on the acquired image to be detected to acquire angular point coordinates; wherein the image to be detected comprises a polygonal area;
performing linear detection on the image to be detected to obtain intersection point coordinates of straight lines corresponding to the polygonal area;
and acquiring the vertex coordinates of the polygonal area according to the corner point coordinates and the intersection point coordinates.
Optionally, the angular point detection is performed on the acquired image to be detected, and an angular point coordinate is acquired, including:
and carrying out corner detection on the image to be detected by using a Harris corner detection algorithm to obtain the coordinates of the corner.
Optionally, the right is to wait to detect the image and carry out the straight line detection, acquire the intersection point coordinate of the straight line that the polygon region corresponds includes:
performing linear detection on the image to be detected by using a Hough transformation linear detection algorithm to obtain a linear line corresponding to the polygonal area;
intersection point coordinates of intersection points between the straight lines are determined.
Optionally, the polygonal area is specifically a rectangular area.
Optionally, the obtaining vertex coordinates of the polygonal area according to the corner point coordinates and the intersection point coordinates includes:
according to a preset radius, respectively taking each vertex coordinate as a circle center, and generating a detection circle corresponding to each vertex coordinate;
calculating vertex coordinates corresponding to the detection circles by using the target coordinates in each detection circle; wherein the target coordinates comprise the corner coordinates or the corner coordinates and the vertex coordinates.
Optionally, the calculating vertex coordinates corresponding to the respective vertex coordinates by using the target coordinates in each detection circle includes:
calculating a first average value of an abscissa and a second average value of an ordinate of a target coordinate in a current detection circle, and respectively determining the first average value and the second average value as the abscissa and the ordinate of a vertex coordinate corresponding to the current detection circle; the current detection circle is any one of the detection circles, and the target coordinates in the current detection circle comprise the corner coordinates and the vertex coordinates.
The invention also provides a device for detecting vertex coordinates, which comprises:
the angular point detection module is used for carrying out angular point detection on the acquired image to be detected and acquiring angular point coordinates; wherein the image to be detected comprises a polygonal area;
the line detection module is used for performing line detection on the image to be detected and acquiring intersection point coordinates of lines corresponding to the polygonal area;
and the vertex detection module is used for acquiring the vertex coordinates of the polygonal area according to the corner point coordinates and the intersection point coordinates.
Optionally, the vertex detecting module includes:
the generating submodule is used for generating a detection circle corresponding to each vertex coordinate by respectively taking each vertex coordinate as a circle center according to a preset radius;
the calculation submodule is used for calculating the vertex coordinates corresponding to the detection circles by using the target coordinates in each detection circle; wherein the target coordinates comprise the corner coordinates or the corner coordinates and the vertex coordinates.
The invention also provides a device for detecting vertex coordinates, which comprises:
a memory for storing a computer program;
a processor for implementing the steps of the method for detecting vertex coordinates as described above when executing the computer program.
Furthermore, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, implements the steps of the method for detecting vertex coordinates as described above.
The invention provides a method for detecting vertex coordinates, which comprises the following steps: carrying out angular point detection on the acquired image to be detected to acquire angular point coordinates; the image to be detected comprises a polygonal area; performing linear detection on an image to be detected to obtain intersection point coordinates of straight lines corresponding to the polygonal area; acquiring vertex coordinates of the polygonal area according to the corner coordinates and the intersection point coordinates;
therefore, the vertex coordinates of the polygon area in the image to be detected are obtained by utilizing the corner coordinates obtained by corner detection and the intersection point coordinates obtained by line detection, the vertex coordinates of the polygon in the image are more accurately detected in a mode of combining the corner detection and the line detection, a prerequisite condition is provided for extracting the subsequent polygon area, and the method can be used for performing color correction on the display screen of the rectangular area. In addition, the invention also provides a device and equipment for detecting the vertex coordinates and a computer readable storage medium, and the device and the equipment also have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of an image to be detected according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for detecting vertex coordinates according to an embodiment of the present invention;
FIG. 3 is a block diagram of an apparatus for detecting vertex coordinates according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for detecting vertex coordinates according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a vertex coordinate detection apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for detecting vertex coordinates according to an embodiment of the present invention. The method can comprise the following steps:
step 101: carrying out corner detection on the acquired image to be detected to acquire corner coordinates; the image to be detected comprises a polygonal area.
It can be understood that the image to be detected in this step may be an image for which vertex coordinate detection is required; the image to be detected may include a polygonal area (i.e., a polygonal portion) in which the coordinates of the vertices are to be detected, such as a rectangular area in fig. 1.
Specifically, the specific shape of the polygonal area in the image to be detected in this embodiment may be set by a designer according to a practical scene and a user requirement, for example, the polygonal area in the image to be detected may be a rectangular area, such as the rectangular area of the display in the image shown in fig. 1; the polygonal area in the image to be detected may also be other types of polygons, such as a trapezoidal area, a triangular area, or a hexagonal area, which is not limited in this embodiment.
It should be noted that, in this step, the vertex coordinate detection device may detect the corner coordinates in the image to be detected by performing corner detection on the image to be detected. The specific mode of detecting the corner points of the acquired image to be detected by the detection equipment in the step and acquiring the corner point coordinates can be set by designers according to practical scenes and user requirements, for example, the detection equipment can utilize a Harris corner point detection algorithm to detect the corner points of the image to be detected and acquire the corner point coordinates; the detection device may also perform corner detection on the image to be detected by using another corner detection algorithm, such as a Moravec (moravik) corner detection algorithm, to obtain the coordinates of the corner. The present embodiment does not set any limit to this.
Specifically, when the detection device in this step adopts the Harris corner detection algorithm, filtering may be performed on each pixel of the image to be detected by using a horizontal difference operator and a vertical difference operator to obtain a matrix M, and performing gaussian smoothing filtering on the matrix M, for example, using
Figure BDA0003236725420000051
Calculating a matrix M corresponding to each pixel of an image to be detected; the matrix M may be an autocorrelation matrix of the pixel (x, y), and w (x, y) may be a window function, and a gaussian window may be selected; I.C. A x Can be a horizontal difference operator, I y Can be a vertical difference operator; utilizing the matrix M and an angular point response matrix R corresponding to each pixel of the image to be detected; wherein, R = det M-k (traceM) 2 ,det M=λ 1 λ 2 ,traceM=λ 12 K may be a predetermined parameter, λ 1 And λ 2 May be two eigenvalues of the matrix M; will be provided withThe pixel point coordinate corresponding to the target element in the matrix R is used as an angular point coordinate; the target element may be an element that is the maximum value in a corresponding local region (e.g., a region of three rows and three columns with the target original as the center) and is greater than a threshold, and the threshold may adopt a smaller numerical value, so as to ensure that corner points near each vertex of the polygon region can be detected, thereby facilitating subsequent processing.
In this embodiment, the specific sequence of step 101 and step 102 is not limited, for example, step 101 may be performed first and then step 102 may be performed, step 102 may be performed first and then step 101 may be performed, and step 101 and step 102 may be performed simultaneously. As long as the step 103 can obtain the vertex coordinates of the polygon area by using the corner coordinates and the corner coordinates detected in the steps 101 and 102, this embodiment does not limit this.
Correspondingly, the method provided by the present embodiment may further include a step of acquiring an image to be detected before step 101 and step 102. For example, the detection device of the vertex coordinates may directly receive the image to be detected, and for example, the detection device may receive an original image captured by a camera and directly take the original image as the image to be detected. The detection equipment can also carry out pretreatment on the received original image to obtain an image to be detected; for example, the detection device may pre-process the original image, filter other regions except the polygon region in the original image, and generate the image to be detected that only includes the polygon region.
Step 102: and performing linear detection on the image to be detected to obtain intersection point coordinates of the straight lines corresponding to the polygonal area.
It is understood that the coordinates of the intersection point in this step may be coordinates of an intersection point between straight lines in the image to be detected, which are obtained by straight line detection. In the step, the detection device can detect the straight line of the polygonal area in the image to be detected by performing straight line detection on the image to be detected, so as to obtain the coordinates of the intersection point between the straight lines (namely the coordinates of the intersection point).
Specifically, the specific way in which the detection device performs line detection on the image to be detected in this step to obtain the intersection point coordinates of the lines corresponding to the polygonal region may be set by a designer according to a practical scene and a user requirement, for example, the detection device may perform line detection on the image to be detected by using Hough (Hough) transform line detection algorithm to obtain the lines corresponding to the polygonal region; intersection coordinates of intersections between the straight lines are determined. The detection equipment can also utilize other corner point detection algorithms such as an inchworm creeping line detection algorithm to perform line detection on the image to be detected and obtain intersection point coordinates of lines corresponding to the polygonal area. The present embodiment does not set any limit to this.
Specifically, when the detection device adopts a Hough transformation linear detection algorithm, binarization can be performed on an image to be detected first so as to facilitate edge extraction, so that a polygonal area (such as a rectangular area) can be changed into white, and the rest areas can be changed into black; then, the edge extraction is carried out by using a morphological method, and the extracted edge can be beneficial to carrying out straight line detection.
Step 103: and acquiring the vertex coordinates of the polygonal area according to the corner point coordinates and the intersection point coordinates.
It can be understood that, in this step, the detection apparatus may detect the vertex position (i.e., vertex coordinates) of the polygon region in the image to be detected by using the intersection point obtained by detecting the corner point and the line, so as to combine the corner point detection and the line detection, thereby improving the accuracy of the vertex coordinates of the polygon region.
Specifically, the specific manner in which the detection device in this step acquires the vertex coordinates of the polygonal region according to the corner coordinates and the intersection coordinates may be set by a designer according to a practical scene and a user requirement, and if it is found through experiments that the corner detected by the corner detection algorithm is more inclined to the inner side of the true vertex position, and the intersection calculated through the line detection is more inclined to the outer side of the true vertex position, the detection device in this step may set a suitable parameter (i.e., a preset radius) as a radius with the intersection coordinates obtained through the line detection as a center of a circle, and detect the corner detected by the corner detection algorithm falling in the circle (i.e., the detection circle), so as to calculate a vertex position (i.e., vertex coordinates) of the polygonal region corresponding to the circle by using the corner or the corner and the center of the circle (i.e., the intersection) in the circle; that is, the detection device generates a detection circle corresponding to each vertex coordinate by taking each vertex coordinate as a circle center according to a preset radius; calculating the vertex coordinates corresponding to the detection circles by using the target coordinates in each detection circle; wherein the target coordinates comprise corner coordinates or corner coordinates and vertex coordinates. The detection equipment can also respectively take each vertex coordinate as a center according to the preset side length to generate a square area corresponding to each vertex coordinate; and calculating the vertex coordinates corresponding to the detection circles by using the target coordinates in each square area. The present embodiment does not set any limit to this.
Correspondingly, the preset radius may be a preset radius of the detection circle. The specific obtaining manner of the preset radius is not limited in this embodiment, for example, the preset radius may be a preset fixed radius value, that is, the detection device may directly search the stored preset radius. The preset radius can also be a radius value generated by the detection equipment, for example, the detection equipment can generate the preset radius according to the specification information of the image or the polygonal area to be detected; for example, the detection device may detect a shortest straight line of straight lines of the obtained polygonal area to generate a preset radius, where the preset radius may be one third of the shortest straight line. The present embodiment does not set any limit to this.
Correspondingly, the specific manner of calculating the vertex coordinates corresponding to each detection circle by the detection equipment by using the target coordinates in each detection circle can be set by a designer, for example, the detection equipment can take the average value of the horizontal and vertical coordinates of all detected corner points and circle centers (namely intersection points) in each detection circle as the vertex coordinates; the detection device can calculate a first average value of an abscissa and a second average value of an ordinate of a target coordinate in the current detection circle, and respectively determine the first average value and the second average value as the abscissa and the ordinate of a vertex coordinate corresponding to the current detection circle; the current detection circle is any detection circle, and the target coordinates in the current detection circle comprise corner point coordinates and vertex coordinates. The detecting device may also take the average of the horizontal and vertical coordinates of all the detected corner points in each detection circle as the vertex coordinates. The present embodiment does not set any limit to this.
In the embodiment of the invention, the vertex coordinates of the polygon region in the image to be detected are obtained by utilizing the corner coordinates obtained by corner detection and the intersection coordinates obtained by line detection, and the vertex coordinates of the polygon in the image are more accurately detected in a mode of combining the corner detection and the line detection, so that a prerequisite condition is provided for extracting the subsequent polygon region, and the method can be used for performing color correction on the display screen of the rectangular region.
Corresponding to the above method embodiments, embodiments of the present invention further provide a vertex coordinate detection apparatus, and a vertex coordinate detection apparatus described below and a vertex coordinate detection method described above may be referred to in correspondence with each other.
Referring to fig. 3, fig. 3 is a block diagram illustrating a structure of an apparatus for detecting vertex coordinates according to an embodiment of the invention. The apparatus may include:
the angular point detection module 10 is configured to perform angular point detection on the acquired image to be detected, and acquire angular point coordinates; the image to be detected comprises a polygonal area;
the line detection module 20 is configured to perform line detection on an image to be detected, and acquire intersection coordinates of lines corresponding to the polygonal area;
and the vertex detection module 30 is configured to obtain vertex coordinates of the polygon area according to the corner coordinates and the intersection coordinates.
Optionally, the corner detection module 10 may be specifically configured to perform corner detection on the image to be detected by using a Harris corner detection algorithm, so as to obtain corner coordinates.
Optionally, the line detection module 20 may be specifically configured to perform line detection on the image to be detected by using a Hough transform line detection algorithm, so as to obtain a line corresponding to the polygonal area; intersection coordinates of intersections between the straight lines are determined.
Optionally, the vertex detection module 30 may include:
the generating submodule is used for generating a detection circle corresponding to each vertex coordinate by respectively taking each vertex coordinate as a circle center according to a preset radius;
the calculation submodule is used for calculating the vertex coordinates corresponding to the detection circles by using the target coordinates in each detection circle; wherein the target coordinates comprise corner coordinates or corner coordinates and vertex coordinates.
Optionally, the calculating submodule may be specifically configured to calculate a first average value of an abscissa and a second average value of an ordinate of a target coordinate in the current detection circle, and determine the first average value and the second average value as the abscissa and the ordinate of a vertex coordinate corresponding to the current detection circle, respectively; the current detection circle is any detection circle, and the target coordinates in the current detection circle comprise corner point coordinates and vertex coordinates.
In this embodiment, in the embodiment of the present invention, the vertex detection module 30 obtains the vertex coordinates of the polygon region in the image to be detected according to the corner coordinates obtained by the corner detection and the intersection coordinates obtained by the line detection, and the vertex coordinates of the polygon in the image are more accurately detected in a manner of combining the corner detection and the line detection, which provides a prerequisite for extracting the subsequent polygon region, so that the vertex coordinates can be used for performing color correction on the display screen of the rectangular region.
Corresponding to the above method embodiment, an embodiment of the present invention further provides a vertex coordinate detecting apparatus, and a vertex coordinate detecting apparatus described below and a vertex coordinate detecting method described above may be referred to in correspondence with each other.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a vertex coordinate detecting apparatus according to an embodiment of the present invention. The detection device may include:
a memory D1 for storing a computer program;
and a processor D2, configured to implement the steps of the vertex coordinate detection method provided in the foregoing method embodiment when executing the computer program.
Specifically, referring to fig. 5, fig. 5 is a schematic diagram illustrating a specific structure of a vertex coordinate detection apparatus according to an embodiment of the present invention, where the vertex coordinate detection apparatus 210 may generate relatively large differences due to different configurations or performances, and may include one or more processors (CPUs) 222 (e.g., one or more processors), a memory 232, and one or more storage media 230 (e.g., one or more mass storage devices) for storing applications 242 or data 244. Memory 232 and storage medium 230 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 230 may include one or more modules (not shown), each of which may include a sequence of instructions operating on the data processing apparatus. Still further, the central processor 222 may be configured to communicate with the storage medium 230 to execute a series of instruction operations in the storage medium 230 on the vertex coordinates detection device 210.
The vertex coordinates detection apparatus 210 may also include one or more power supplies 226, one or more wired or wireless network interfaces 250, one or more input-output interfaces 258, and/or one or more operating systems 241. Such as a Windows system.
The steps in the above-described vertex coordinate detection method may be implemented by the structure of the vertex coordinate detection apparatus.
Corresponding to the above method embodiment, the embodiment of the present invention further provides a computer-readable storage medium, and a computer-readable storage medium described below and a vertex coordinate detection method described above may be referred to in correspondence.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for detecting vertex coordinates, as provided by the above-mentioned method embodiments.
The computer readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various readable storage media capable of storing program codes.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the apparatus and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
The present invention provides a vertex coordinate detection method, apparatus, device and computer readable storage medium. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A method for detecting vertex coordinates, comprising:
carrying out corner detection on the acquired image to be detected to acquire corner coordinates; wherein the image to be detected comprises a polygonal area;
performing linear detection on the image to be detected to obtain intersection point coordinates of straight lines corresponding to the polygonal area;
and acquiring the vertex coordinates of the polygonal area according to the corner point coordinates and the intersection point coordinates.
2. The vertex coordinate detection method of claim 1, wherein the performing corner detection on the acquired image to be detected to acquire corner coordinates comprises:
and carrying out corner detection on the image to be detected by using a Harris corner detection algorithm to obtain the coordinates of the corner.
3. The method for detecting vertex coordinates according to claim 1, wherein the performing line detection on the image to be detected to obtain intersection coordinates of lines corresponding to the polygonal area includes:
performing linear detection on the image to be detected by using a Hough transformation linear detection algorithm to obtain a linear line corresponding to the polygonal area;
the coordinates of the intersection point of the intersection points between the straight lines are determined.
4. The method for detecting vertex coordinates according to claim 1, wherein the polygonal area is a rectangular area.
5. The method for detecting vertex coordinates according to any one of claims 1 to 4, wherein the obtaining vertex coordinates of the polygon area according to the corner point coordinates and the intersection point coordinates includes:
according to a preset radius, respectively taking each vertex coordinate as a circle center, and generating a detection circle corresponding to each vertex coordinate;
calculating vertex coordinates corresponding to the detection circles by using the target coordinates in each detection circle; wherein the target coordinates comprise the corner coordinates or the corner coordinates and the vertex coordinates.
6. The method for detecting vertex coordinates according to claim 5, wherein the calculating vertex coordinates corresponding to the respective vertex coordinates by using the target coordinates in each detection circle comprises:
calculating a first average value of an abscissa and a second average value of an ordinate of a target coordinate in a current detection circle, and respectively determining the first average value and the second average value as the abscissa and the ordinate of a vertex coordinate corresponding to the current detection circle; the current detection circle is any one of the detection circles, and the target coordinates in the current detection circle comprise the corner point coordinates and the vertex coordinates.
7. An apparatus for detecting vertex coordinates, comprising:
the angular point detection module is used for carrying out angular point detection on the acquired image to be detected and acquiring angular point coordinates; wherein the image to be detected comprises a polygonal area;
the line detection module is used for performing line detection on the image to be detected and acquiring intersection point coordinates of lines corresponding to the polygonal area;
and the vertex detection module is used for acquiring the vertex coordinates of the polygonal area according to the corner point coordinates and the intersection point coordinates.
8. The vertex coordinate detecting apparatus according to claim 7, wherein the vertex detecting module includes:
the generating submodule is used for generating a detection circle corresponding to each vertex coordinate by respectively taking each vertex coordinate as a circle center according to a preset radius;
the calculation submodule is used for calculating the vertex coordinates corresponding to the detection circles by using the target coordinates in each detection circle; wherein the target coordinates comprise the corner coordinates or the corner coordinates and the vertex coordinates.
9. An apparatus for detecting vertex coordinates, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of detecting vertex coordinates according to any one of claims 1 to 6 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, carries out the steps of the method for detecting vertex coordinates according to any one of claims 1 to 6.
CN202111004774.8A 2021-08-30 2021-08-30 Vertex coordinate detection method, device, equipment and storage medium Pending CN115731256A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111004774.8A CN115731256A (en) 2021-08-30 2021-08-30 Vertex coordinate detection method, device, equipment and storage medium
PCT/CN2021/119730 WO2023029123A1 (en) 2021-08-30 2021-09-23 Vertex coordinate detection method and apparatus, and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111004774.8A CN115731256A (en) 2021-08-30 2021-08-30 Vertex coordinate detection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115731256A true CN115731256A (en) 2023-03-03

Family

ID=85290834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111004774.8A Pending CN115731256A (en) 2021-08-30 2021-08-30 Vertex coordinate detection method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN115731256A (en)
WO (1) WO2023029123A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116894939A (en) * 2023-09-11 2023-10-17 深圳精智达技术股份有限公司 Regional positioning method and device for special-shaped screen, electronic equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096299B (en) * 2014-05-08 2019-02-26 北京大学 Polygon detecting method and polygon detecting device
CN105069799B (en) * 2015-08-13 2017-03-22 深圳市华汉伟业科技有限公司 Angular point positioning method and apparatus
CN107631782B (en) * 2017-07-18 2020-02-21 南京邮电大学 Water level detection method based on Harris angular point detection
CN112001933A (en) * 2020-09-09 2020-11-27 成都市精卫鸟科技有限责任公司 Image capturing method, device, equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116894939A (en) * 2023-09-11 2023-10-17 深圳精智达技术股份有限公司 Regional positioning method and device for special-shaped screen, electronic equipment and storage medium
CN116894939B (en) * 2023-09-11 2024-01-09 深圳精智达技术股份有限公司 Regional positioning method and device for special-shaped screen, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2023029123A1 (en) 2023-03-09

Similar Documents

Publication Publication Date Title
CN106897648B (en) Method and system for identifying position of two-dimensional code
CN111582054B (en) Point cloud data processing method and device and obstacle detection method and device
KR101988384B1 (en) Image matching apparatus, image matching system and image matching mehod
KR102354299B1 (en) Camera calibration method using single image and apparatus therefor
US20140161359A1 (en) Method for detecting a straight line in a digital image
KR20120130788A (en) Method and arrangement for multi-camera calibration
CN108074237B (en) Image definition detection method and device, storage medium and electronic equipment
CN115731256A (en) Vertex coordinate detection method, device, equipment and storage medium
KR101799143B1 (en) System and method for estimating target size
CN110288655B (en) Method and device for automatically identifying position of test pattern in chart picture
EP3859608A1 (en) Narrow-strip two-dimensional barcode, and method, apparatus and device for generating and recognizing narrow-strip two-dimensional barcode
CN111862206A (en) Visual positioning method and device, electronic equipment and readable storage medium
CN114897999B (en) Object pose recognition method, electronic device, storage medium, and program product
CN107480710B (en) Feature point matching result processing method and device
JP6080424B2 (en) Corresponding point search device, program thereof, and camera parameter estimation device
CN115249024A (en) Bar code identification method and device, storage medium and computer equipment
JP2017117038A (en) Road surface estimation device
CN109644236B (en) Angle detection method
CN112348876A (en) Method and device for acquiring space coordinates of signboards
CN113312979B (en) Image processing method and device, electronic equipment, road side equipment and cloud control platform
KR102389295B1 (en) Method and Apparatus for Instance Segmentation Based Object Size Estimation from Single Indoor Image
CN117372988B (en) Road boundary detection method, device, electronic equipment and storage medium
CN116630806A (en) Object detection method and device under target size, computer equipment and storage medium
CN111630569A (en) Binocular matching method, visual imaging device and device with storage function
CN115546747B (en) Road edge detection method and device, image pickup equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination