CN112733852A - Region determination method, device, computer equipment and readable storage medium - Google Patents

Region determination method, device, computer equipment and readable storage medium Download PDF

Info

Publication number
CN112733852A
CN112733852A CN202110073664.0A CN202110073664A CN112733852A CN 112733852 A CN112733852 A CN 112733852A CN 202110073664 A CN202110073664 A CN 202110073664A CN 112733852 A CN112733852 A CN 112733852A
Authority
CN
China
Prior art keywords
area
detected
region
reference point
determining
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.)
Granted
Application number
CN202110073664.0A
Other languages
Chinese (zh)
Other versions
CN112733852B (en
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.)
Wingtech Communication Co Ltd
Original Assignee
Wingtech Communication 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 Wingtech Communication Co Ltd filed Critical Wingtech Communication Co Ltd
Priority to CN202110073664.0A priority Critical patent/CN112733852B/en
Priority claimed from CN202110073664.0A external-priority patent/CN112733852B/en
Publication of CN112733852A publication Critical patent/CN112733852A/en
Application granted granted Critical
Publication of CN112733852B publication Critical patent/CN112733852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection

Abstract

The application provides a region determination method, a device, computer equipment and a readable storage medium, which relate to the technical field of industrial detection, wherein the region determination method comprises the following steps: acquiring a structural strain cloud picture, wherein the structural strain cloud picture comprises a front view angle area, a back view angle area and an area to be detected; acquiring position information of the front visual angle area, the back visual angle area and the area to be detected; calculating to obtain a position reference point according to the position information of the front visual angle area and the position information of the back visual angle area; and determining the region of the region to be detected according to the position reference point and the position information of the region to be detected, wherein the region comprises the front visual angle region and the back visual angle region.

Description

Region determination method, device, computer equipment and readable storage medium
Technical Field
The present application relates to the field of industrial detection technologies, and in particular, to a region determination method, an apparatus, a computer device, and a readable storage medium.
Background
The strain cloud picture is a structural reliability expression method which is most widely used in the field of computational mechanics, the strain distribution condition of a structure is clearly displayed through color gradient, and the failure position is quickly positioned through the strain cloud picture. In the prior art, the output of the strain cloud picture is mostly needed manually, that is, the area where the detection part in the strain cloud picture is located is used as a main view to be printed or stored, so that subsequent tests and data recording are performed. The manual determination of the area not only consumes a lot of time, but also has a problem of inaccuracy.
In view of the above, it is desirable to provide an automated region determination scheme.
Disclosure of Invention
The application provides a region determination method, a region determination device, computer equipment and a readable storage medium.
The embodiment of the application can be realized as follows:
in a first aspect, the present application provides a method for determining a region, including:
acquiring a structural strain cloud picture, wherein the structural strain cloud picture comprises a front view angle area, a back view angle area and an area to be detected;
acquiring position information of a front visual angle area, a back visual angle area and an area to be detected;
calculating to obtain a position reference point according to the position information of the front visual angle area and the position information of the back visual angle area;
and determining the area of the area to be detected according to the position reference point and the position information of the area to be detected, wherein the area comprises a front visual angle area and a back visual angle area.
In an optional embodiment, the front view area includes a plurality of first nodes, the back view area includes a plurality of second nodes, and the area to be detected includes a plurality of third nodes;
acquiring the position information of the front visual angle area, the back visual angle area and the area to be detected, comprising the following steps:
and acquiring the coordinate information of each first node, the coordinate information of each second node and the coordinate information of each third node in a pre-constructed three-dimensional coordinate system.
In an optional embodiment, calculating a position reference point according to the position information of the front view angle area and the position information of the back view angle area includes:
calculating to obtain coordinate information of a geometric symmetry center of the structural strain cloud picture according to the coordinate information of each first node and the coordinate information of each second node;
and taking the node represented by the coordinate information of the geometric symmetry center as a position reference point.
In an optional embodiment, determining the region where the region to be detected is located according to the position reference point and the position information of the region to be detected includes:
determining at least three nodes to be tested from the plurality of third nodes, wherein the at least three nodes to be tested are not on the same straight line;
calculating to obtain a to-be-detected area expression of the to-be-detected area according to the coordinate information of each to-be-detected node;
and determining the area of the area to be detected according to the expression of the area to be detected and the position reference point.
In an optional embodiment, determining the region where the region to be detected is located according to the region expression to be detected and the position reference point includes:
calculating a first distance from the position reference point to the area to be measured according to the coordinate information of the position reference point and the expression of the area to be measured;
determining a conservative moving range according to the first distance, wherein the minimum value of the conservative moving range is 0, and the maximum value is half of the first distance;
moving the to-be-detected region in a preset direction according to the conservative moving range to obtain a contrast detection region;
calculating a second distance from the coordinate information of the position reference point to the comparison detection area;
and determining the region of the region to be detected according to the first distance and the second distance.
In an optional embodiment, determining the region where the region to be detected is located according to the first distance and the second distance includes:
when the first distance is larger than the second distance, determining that the area to be detected is located in the back visual angle area;
and when the first distance is smaller than the second distance, determining that the area to be detected is located in the front visual angle area.
In an alternative embodiment, after the position information according to the position reference point and the region to be detected, the method further comprises:
when the area to be detected is located in the front view area, the structural strain cloud picture is adjusted to the direction of the standard front view;
and when the area to be detected is located in the back view area, adjusting the structural strain cloud picture to the standard back view direction.
In a second aspect, the present application provides an area determination apparatus, comprising:
the acquisition module is used for acquiring a structural strain cloud picture, wherein the structural strain cloud picture comprises a front view angle area, a back view angle area and an area to be detected; acquiring position information of a front visual angle area, a back visual angle area and an area to be detected;
the calculation module is used for calculating to obtain a position reference point according to the position information of the front visual angle area and the position information of the back visual angle area;
and the determining module is used for determining the area where the area to be detected is located according to the position reference point and the position information of the area to be detected, wherein the area comprises a front visual angle area and a back visual angle area.
In a third aspect, the present application provides a computer device comprising a processor and a non-volatile memory storing computer instructions, wherein when the computer instructions are executed by the processor, the computer device performs the area determination method of any one of the preceding embodiments.
In a fourth aspect, the present application provides a readable storage medium, which includes a computer program, and the computer program controls a computer device in which the readable storage medium is executed to perform the region determining method in any one of the foregoing embodiments.
The beneficial effects of the embodiment of the application include, for example: by adopting the area determination method, the area determination device, the computer equipment and the readable storage medium, the structural strain cloud picture is obtained, wherein the structural strain cloud picture comprises a front view angle area, a back view angle area and an area to be detected; then acquiring position information of the front visual angle area, the back visual angle area and the area to be detected; calculating to obtain a position reference point according to the position information of the front visual angle area and the position information of the back visual angle area; and then determining the area of the area to be detected according to the position reference point and the position information of the area to be detected, wherein the area comprises a front visual angle area and a back visual angle area.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart illustrating a step of a region determination method according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating another step of a region determination method according to an embodiment of the present application;
fig. 3 is a block diagram schematically illustrating a structure of an area determination apparatus according to an embodiment of the present application;
fig. 4 is a block diagram schematically illustrating a structure of a computer device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which the present invention product is usually put into use, it is only for convenience of describing the present application and simplifying the description, but it is not intended to indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation and be operated, and thus, should not be construed as limiting the present application.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
At present, in industrial production, the strain cloud chart is widely applied to the design stage, the test stage and the like of each structure, and the reason is that the strain cloud chart can clearly display the strain distribution condition of the structure through color gradient, and then can be quickly positioned to a test area through the strain cloud chart. In practical application, a system has many structures, each structure has multiple devices, and in order to obtain data such as reliability of each device, it is necessary to obtain strain cloud maps of the region where the device is located under different working conditions, and print the strain cloud maps or store the strain cloud maps as pictures for subsequent approval. In order to accurately analyze the region where the device to be measured is located, when the strain cloud image is output, it is necessary to ensure that the image of the region to be measured is clear, and thus it is necessary to determine the region where the region to be measured is located. In the prior art, the determination is generally performed manually by a human, and the method is time-consuming, labor-consuming and error-prone.
To solve the above technical problem, please refer to fig. 1 in combination, and fig. 1 is a schematic flowchart illustrating a step of a method for determining an area according to an embodiment of the present application. The region determination method is described in detail below.
Step 201, obtaining a structural strain cloud picture.
The structural strain cloud picture comprises a front view angle area, a back view angle area and an area to be detected.
Step 202, acquiring position information of the front view angle area, the back view angle area and the area to be detected.
And step 203, calculating to obtain a position reference point according to the position information of the front view angle area and the position information of the back view angle area.
And 204, determining the area of the area to be detected according to the position reference point and the position information of the area to be detected.
Wherein the region comprises a front view angle region and a back view angle region.
In the embodiment of the present application, the structural strain cloud chart may represent key devices of electronic devices such as a plate structure and a proximity plate structure of a Liquid Crystal Display (LCD) Panel, Touch Panel (Touch Panel) glass, a camera IR (Infrared Radiation)/Complementary Metal Oxide Semiconductor (CMOS), and the like. Based on this, the structural strain cloud picture can include two surfaces, namely a front visual angle area and a back visual angle area, the area to be detected is the area where the device to be detected is located, the area to be detected is located in the front visual angle area or the back visual angle area, and after the position of the area to be detected is determined, subsequent strain cloud picture output can be performed.
Through the steps, the area where the area to be detected is located can be automatically determined, manual excessive participation is not needed, and automatic area determination is achieved.
As an alternative specific embodiment, the front view area includes a plurality of first nodes, the back view area includes a plurality of second nodes, and the area to be detected includes a plurality of third nodes. The foregoing step 202 can be implemented by the following steps.
In the substep 202-1, coordinate information of each first node, coordinate information of each second node, and coordinate information of each third node are obtained in a pre-constructed three-dimensional coordinate system.
It should be understood that the position information of the front view angle region, the back view angle region and the region to be detected may be obtained from a pre-constructed three-dimensional coordinate system, i.e. coordinate information, which does not change with the orientation of the current structural strain cloud map.
On this basis, as an alternative embodiment, the aforementioned step 203 may be implemented in the following manner.
And a substep 203-1, calculating to obtain coordinate information of the geometric symmetry center of the structural strain cloud picture according to the coordinate information of each first node and the coordinate information of each second node.
And a substep 203-2, using the node represented by the coordinate information of the geometric symmetry center as a position reference point.
The coordinate information of each first node and the coordinate information of each second node can be obtained firstly, namely, the nodes formed by the front view angle area and the back view angle area are obtained, and then the geometric symmetry center of the structural strain cloud picture can be calculated.
On the basis of the foregoing, please refer to fig. 2, in order to more clearly describe the scheme provided by the present application, the foregoing step 204 may be implemented by the following steps.
And a substep 204-1 of determining at least three nodes to be tested from the plurality of third nodes.
Wherein, at least three nodes to be measured are not on the same straight line.
And a substep 204-2, calculating to obtain a to-be-detected region expression of the to-be-detected region according to the coordinate information of each to-be-detected node.
And a substep 204-3 of determining the region where the region to be detected is located according to the expression of the region to be detected and the position reference point.
In order to more clearly describe the scheme provided by the present application, all the nodes of the front view angle region and the back view angle region, i.e., the first node and the second node, may be expressed as (x)i,yi,zi) Wherein i is a positive integer, the structural strain cloud graph can be composed of ii nodes. Alternatively, the coordinate information of the position reference point a, i.e. the geometric symmetry center of the structural strain cloud picture, may be represented as (u)A,vA,wA) At least three nodes to be measured B, C and D can be determined from the plurality of third nodes, and in order to ensure that the expression of the region to be measured is determined, the at least three nodes to be measured are not on the same straight line and can be represented as (u)B,vB,wB)、(uC,vC,wC) And (u)D,vD,wD) Based on this, the region-to-be-detected expression of the region-to-be-detected, ax + by + cz +1, which is 0, can be constructed. The expression of the area to be tested can be converted into the expression of the area to be tested based on the at least three nodes to be tested
Figure BDA0002906820760000081
Based on this, it can be determined that the detailed coordinates of the position reference point A are
Figure BDA0002906820760000082
Figure BDA0002906820760000083
On this basis, in order to be able to describe the scheme provided by the present application more clearly, the aforementioned sub-step 204-3 can be implemented in the following specific manner.
(1) And calculating a first distance from the position reference point to the area to be measured according to the coordinate information of the position reference point and the expression of the area to be measured.
On the basis, the first distance from the position reference point A to the region to be measured can be calculated to be distance1=abs(a*uA+b*vA+c*wA+1)/sqrt(a*a+b*b+c*c)。
(2) And determining a conservative moving range according to the first distance, wherein the minimum value of the conservative moving range is 0, and the maximum value is half of the first distance.
In the embodiment of the present application, the conservative moving range d may be determined as (0, distance1) in order to ensure the validity of the data.
(3) And moving the region to be detected in a preset direction according to the conservative moving range to obtain a contrast detection region.
Through the above steps, the expression of the contrast detection region may be 0 ═ ex + fy + gz +1, and may be converted into
Figure BDA0002906820760000091
(4) And calculating a second distance from the coordinate information of the position reference point to the comparison detection area.
Based on this, the second distance2 ═ abs (e × u) can be calculated in the same manner as when the first distance is calculatedB+f*vB+g*wB+1)/sqrt(e*e+f*f+g*g)。
(5) And determining the region of the region to be detected according to the first distance and the second distance.
Through the steps, the position reference point A is skillfully arranged, so that the problem that the area where the area to be detected is located can be judged even if the structural strain cloud picture and the coordinate axes of the pre-constructed three-dimensional coordinate system are not in the vertical or parallel relation is solved.
On the basis of the foregoing, as an alternative embodiment, the part (5) in the foregoing sub-step 204-3 may be implemented in the following manner.
And (I) when the first distance is larger than the second distance, determining that the area to be detected is located in the back visual angle area.
And (II) when the first distance is smaller than the second distance, determining that the area to be detected is located in the front visual angle area.
Optionally, on the basis, when the first distance is greater than the second distance, it is determined that the region to be detected is located in the back view region, and when the first distance is less than the second distance, it is determined that the region to be detected is located in the front view region.
In addition, after the foregoing step 204, the embodiments of the present application also provide the following examples.
And step 205, when the area to be detected is located in the front view area, adjusting the structural strain cloud picture to the standard front view direction.
And step 206, when the area to be detected is located in the back view area, adjusting the structural strain cloud picture to the standard back view direction.
In the embodiment of the application, after the position of the region to be detected is determined, the strain cloud picture can be output, namely, the structural strain cloud picture showing the clearest orientation of the region to be detected is displayed so as to be output. Based on the method, when the area to be detected is located in the front view area, the structural strain cloud picture is adjusted to the standard front view direction, and when the area to be detected is located in the back view area, the structural strain cloud picture is adjusted to the standard back view direction.
Through the steps, the area where the device to be detected is located corresponding to the device to be detected can be automatically identified without excessive manual participation, the corresponding orientation of the structural strain cloud picture is adjusted, and the subsequent output strain cloud picture can be guaranteed to have higher reference value.
An embodiment of the present invention provides an area determining apparatus 110, please refer to fig. 3, including:
the acquiring module 1101 is configured to acquire a structural strain cloud map, where the structural strain cloud map includes a front view area, a back view area, and an area to be detected; and acquiring the position information of the front visual angle area, the back visual angle area and the area to be detected.
The calculating module 1102 is configured to calculate a position reference point according to the position information of the front view area and the position information of the back view area.
The determining module 1103 is configured to determine, according to the position reference point and the position information of the to-be-detected region, a region where the to-be-detected region is located, where the region includes a front view angle region and a back view angle region.
Further, the front view angle region includes a plurality of first nodes, the back view angle region includes a plurality of second nodes, the to-be-detected region includes a plurality of third nodes, and the obtaining module 1101 is specifically configured to:
and acquiring the coordinate information of each first node, the coordinate information of each second node and the coordinate information of each third node in a pre-constructed three-dimensional coordinate system.
Further, the calculation module 1102 is specifically configured to:
calculating to obtain coordinate information of a geometric symmetry center of the structural strain cloud picture according to the coordinate information of each first node and the coordinate information of each second node; and taking the node represented by the coordinate information of the geometric symmetry center as a position reference point.
Further, the determining module 1103 is specifically configured to:
determining at least three nodes to be tested from the plurality of third nodes, wherein the at least three nodes to be tested are not on the same straight line; calculating to obtain a to-be-detected area expression of the to-be-detected area according to the coordinate information of each to-be-detected node; and determining the area of the area to be detected according to the expression of the area to be detected and the position reference point.
Further, the determining module 1103 is further specifically configured to:
calculating a first distance from the position reference point to the area to be measured according to the coordinate information of the position reference point and the expression of the area to be measured; determining a conservative moving range according to the first distance, wherein the minimum value of the conservative moving range is 0, and the maximum value is half of the first distance; moving the to-be-detected region in a preset direction according to the conservative moving range to obtain a contrast detection region; calculating a second distance from the coordinate information of the position reference point to the comparison detection area; and determining the region of the region to be detected according to the first distance and the second distance.
Further, the determining module 1103 is further specifically configured to:
when the first distance is larger than the second distance, determining that the area to be detected is located in the back visual angle area; and when the first distance is smaller than the second distance, determining that the area to be detected is located in the front visual angle area.
Further, the determining module 1103 is further configured to:
when the area to be detected is located in the front view area, the structural strain cloud picture is adjusted to the direction of the standard front view; and when the area to be detected is located in the back view area, adjusting the structural strain cloud picture to the standard back view direction.
The embodiment of the present application provides a computer device 100, where the computer device 100 includes a processor and a non-volatile memory storing computer instructions, and when the computer instructions are executed by the processor, the computer device 100 executes the foregoing region determination method.
In one embodiment, as shown in fig. 4, there is provided a computer device 100 comprising a memory 111, a processor 112 and an area determination apparatus 110, the memory 111 storing a computer program, the processor 112 implementing the following steps when executing the computer program:
and acquiring a structural strain cloud picture, wherein the structural strain cloud picture comprises a front view angle area, a back view angle area and an area to be detected.
And acquiring the position information of the front visual angle area, the back visual angle area and the area to be detected.
And calculating to obtain a position reference point according to the position information of the front visual angle area and the position information of the back visual angle area.
And determining the area of the area to be detected according to the position reference point and the position information of the area to be detected, wherein the area comprises the front visual angle area and the back visual angle area.
In an embodiment, when the processor 112 executes the computer program, the following steps are further implemented:
and acquiring the coordinate information of each first node, the coordinate information of each second node and the coordinate information of each third node in a pre-constructed three-dimensional coordinate system.
In one embodiment, the processor 112, when executing the computer program, further performs the steps of:
and calculating to obtain the coordinate information of the geometric symmetry center of the structural strain cloud picture according to the coordinate information of each first node and the coordinate information of each second node.
And taking the node represented by the coordinate information of the geometric symmetry center as the position reference point.
In one embodiment, the processor 112, when executing the computer program, further performs the steps of:
and determining at least three nodes to be tested from the plurality of third nodes, wherein the at least three nodes to be tested are not on the same straight line.
And calculating to obtain a to-be-detected region expression of the to-be-detected region according to the coordinate information of each to-be-detected node.
And determining the area of the area to be detected according to the expression of the area to be detected and the position reference point.
In one embodiment, the processor 112, when executing the computer program, further performs the steps of:
and calculating a first distance from the position reference point to the area to be measured according to the coordinate information of the position reference point and the expression of the area to be measured.
And determining a conservative moving range according to the first distance, wherein the minimum value of the conservative moving range is 0, and the maximum value is half of the first distance.
And moving the region to be detected in a preset direction according to the conservative moving range to obtain a contrast detection region.
And calculating a second distance from the coordinate information of the position reference point to the comparison detection area.
And determining the region of the region to be detected according to the first distance and the second distance.
In one embodiment, the processor 112, when executing the computer program, further performs the steps of:
when the first distance is larger than the second distance, determining that the area to be detected is located in the back visual angle area;
and when the first distance is smaller than the second distance, determining that the area to be detected is located in the front view angle area.
In one embodiment, the processor 112, when executing the computer program, further performs the steps of:
and when the area to be detected is located in the front view area, adjusting the structural strain cloud picture to a standard front view direction.
And when the area to be detected is located in the back view area, adjusting the structural strain cloud picture to a standard back view direction.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
and acquiring a structural strain cloud picture, wherein the structural strain cloud picture comprises a front view angle area, a back view angle area and an area to be detected.
And acquiring the position information of the front visual angle area, the back visual angle area and the area to be detected.
And calculating to obtain a position reference point according to the position information of the front visual angle area and the position information of the back visual angle area.
And determining the area of the area to be detected according to the position reference point and the position information of the area to be detected, wherein the area comprises the front visual angle area and the back visual angle area.
In an embodiment, the front view area comprises a plurality of first nodes, the back view area comprises a plurality of second nodes, and the area to be detected comprises a plurality of third nodes, and the computer program when executed by the processor further implements the steps of:
and acquiring the coordinate information of each first node, the coordinate information of each second node and the coordinate information of each third node in a pre-constructed three-dimensional coordinate system.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and calculating to obtain the coordinate information of the geometric symmetry center of the structural strain cloud picture according to the coordinate information of each first node and the coordinate information of each second node.
And taking the node represented by the coordinate information of the geometric symmetry center as the position reference point.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and determining at least three nodes to be tested from the plurality of third nodes, wherein the at least three nodes to be tested are not on the same straight line.
And calculating to obtain a to-be-detected region expression of the to-be-detected region according to the coordinate information of each to-be-detected node.
And determining the area of the area to be detected according to the expression of the area to be detected and the position reference point.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and calculating a first distance from the position reference point to the area to be measured according to the coordinate information of the position reference point and the expression of the area to be measured.
And determining a conservative moving range according to the first distance, wherein the minimum value of the conservative moving range is 0, and the maximum value is half of the first distance.
And moving the region to be detected in a preset direction according to the conservative moving range to obtain a contrast detection region.
And calculating a second distance from the coordinate information of the position reference point to the comparison detection area.
And determining the region of the region to be detected according to the first distance and the second distance.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the first distance is larger than the second distance, determining that the area to be detected is located in the back visual angle area;
and when the first distance is smaller than the second distance, determining that the area to be detected is located in the front view angle area.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the area to be detected is located in the front view area, adjusting the structural strain cloud picture to a standard front view direction.
And when the area to be detected is located in the back view area, adjusting the structural strain cloud picture to a standard back view direction.
In summary, the embodiment of the present application provides a method and an apparatus for determining a region, a computer device and a readable storage medium, by obtaining a structural strain cloud map, where the structural strain cloud map includes a front view region, a back view region and a region to be detected; then acquiring position information of the front visual angle area, the back visual angle area and the area to be detected; calculating to obtain a position reference point according to the position information of the front visual angle area and the position information of the back visual angle area; and then determining the area of the area to be detected according to the position reference point and the position information of the area to be detected, wherein the area comprises a front visual angle area and a back visual angle area.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for determining a region, comprising:
acquiring a structural strain cloud picture, wherein the structural strain cloud picture comprises a front view angle area, a back view angle area and an area to be detected;
acquiring position information of the front visual angle area, the back visual angle area and the area to be detected;
calculating to obtain a position reference point according to the position information of the front visual angle area and the position information of the back visual angle area;
and determining the area of the area to be detected according to the position reference point and the position information of the area to be detected, wherein the area comprises the front visual angle area and the back visual angle area.
2. The method according to claim 1, wherein the front view area comprises a plurality of first nodes, the back view area comprises a plurality of second nodes, and the area to be detected comprises a plurality of third nodes;
the acquiring the position information of the front view angle area, the back view angle area and the area to be detected comprises the following steps:
and acquiring the coordinate information of each first node, the coordinate information of each second node and the coordinate information of each third node in a pre-constructed three-dimensional coordinate system.
3. The method according to claim 2, wherein calculating a position reference point according to the position information of the front view area and the position information of the back view area comprises:
calculating to obtain coordinate information of a geometric symmetry center of the structural strain cloud picture according to the coordinate information of each first node and the coordinate information of each second node;
and taking the node represented by the coordinate information of the geometric symmetry center as the position reference point.
4. The method according to claim 2, wherein the determining the region where the region to be detected is located according to the position reference point and the position information of the region to be detected comprises:
determining at least three nodes to be tested from the plurality of third nodes, wherein the at least three nodes to be tested are not on the same straight line;
calculating to obtain a to-be-detected region expression of the to-be-detected region according to the coordinate information of each to-be-detected node;
and determining the area of the area to be detected according to the expression of the area to be detected and the position reference point.
5. The method according to claim 4, wherein the determining the region where the region to be detected is located according to the region to be detected expression and the position reference point comprises:
calculating a first distance from the position reference point to the area to be measured according to the coordinate information of the position reference point and the expression of the area to be measured;
determining a conservative moving range according to the first distance, wherein the minimum value of the conservative moving range is 0, and the maximum value is half of the first distance;
moving the to-be-detected region in a preset direction according to the conservative moving range to obtain a contrast detection region;
calculating a second distance from the coordinate information of the position reference point to the comparison detection area;
and determining the region of the region to be detected according to the first distance and the second distance.
6. The method according to claim 5, wherein the determining the region where the region to be detected is located according to the first distance and the second distance comprises:
when the first distance is larger than the second distance, determining that the area to be detected is located in the back visual angle area;
and when the first distance is smaller than the second distance, determining that the area to be detected is located in the front view angle area.
7. The method according to claim 1, characterized in that after said position information according to said position reference point and said area to be detected, said method further comprises:
when the area to be detected is located in the front view area, the structural strain cloud picture is adjusted to the direction of a standard front view;
and when the area to be detected is located in the back view area, adjusting the structural strain cloud picture to a standard back view direction.
8. An area determination apparatus, comprising:
the system comprises an acquisition module, a detection module and a detection module, wherein the acquisition module is used for acquiring a structural strain cloud picture, and the structural strain cloud picture comprises a front view angle area, a back view angle area and an area to be detected; acquiring position information of the front visual angle area, the back visual angle area and the area to be detected;
the calculation module is used for calculating to obtain a position reference point according to the position information of the front visual angle area and the position information of the back visual angle area;
and the determining module is used for determining the area where the area to be detected is located according to the position reference point and the position information of the area to be detected, wherein the area comprises the front view angle area and the back view angle area.
9. A computer device comprising a processor and a non-volatile memory having computer instructions stored thereon, wherein the computer instructions, when executed by the processor, cause the computer device to perform the region determination method of any one of claims 1-7.
10. A readable storage medium, characterized in that the readable storage medium comprises a computer program which, when executed, controls a computer device on which the readable storage medium is located to perform the region determination method of any one of claims 1-7.
CN202110073664.0A 2021-01-20 Region determination method, device, computer equipment and readable storage medium Active CN112733852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110073664.0A CN112733852B (en) 2021-01-20 Region determination method, device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110073664.0A CN112733852B (en) 2021-01-20 Region determination method, device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112733852A true CN112733852A (en) 2021-04-30
CN112733852B CN112733852B (en) 2024-04-26

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200020155A1 (en) * 2018-07-13 2020-01-16 Nvidia Corporation Virtual photogrammetry
CN112053397A (en) * 2020-07-14 2020-12-08 北京迈格威科技有限公司 Image processing method, image processing device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200020155A1 (en) * 2018-07-13 2020-01-16 Nvidia Corporation Virtual photogrammetry
CN112053397A (en) * 2020-07-14 2020-12-08 北京迈格威科技有限公司 Image processing method, image processing device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
车向前;赵灿;孟祥林;程俊延;王国权;: "结构光测量系统中多视点云自动拼合算法", 计算机应用, no. 06 *

Similar Documents

Publication Publication Date Title
EP2458405A1 (en) Graphics-aided remote position measurement with handheld geodesic device
CN103765870A (en) Image processing apparatus, projector and projector system including image processing apparatus, image processing method
CN101673397B (en) Digital camera nonlinear calibration method based on LCDs
CN111735439B (en) Map construction method, map construction device and computer-readable storage medium
CN107038722A (en) A kind of equipment localization method and device
CN108074237B (en) Image definition detection method and device, storage medium and electronic equipment
CN105303549A (en) Method of determining position relation between detected objects in video image and device
US20190287257A1 (en) Method and system for measuring the distance to remote objects
CN111798521A (en) Calibration method, calibration device, storage medium and electronic equipment
JP2015194424A (en) Information processor, information processing method, information processing program and recording medium storing the information processing program
CN109978956A (en) Acquire scaling method, device and the calibration system of equipment
CN112950759B (en) Three-dimensional house model construction method and device based on house panoramic image
CN112634366B (en) Method for generating position information, related device and computer program product
CN112200002B (en) Body temperature measuring method, device, terminal equipment and storage medium
CN112733852B (en) Region determination method, device, computer equipment and readable storage medium
CN112733852A (en) Region determination method, device, computer equipment and readable storage medium
CN107291717B (en) Method and device for determining position of interest point
CN111435069B (en) Method and device for measuring volume
CN114266876B (en) Positioning method, visual map generation method and device
CN110288654A (en) A kind of method that the geometry of single image measures
EP4054187A1 (en) Calibration method of a portable electronic device
CN115908581A (en) Vehicle-mounted camera pitch angle calibration method, device, equipment and storage medium
CN114339020A (en) Photographing posture prompting method, device, equipment and computer readable storage medium
CN113269761A (en) Method, device and equipment for detecting reflection
US20150247721A1 (en) Game Sizing Camera

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
GR01 Patent grant