CN112449175B - Image splicing test method, device, equipment and storage medium - Google Patents

Image splicing test method, device, equipment and storage medium Download PDF

Info

Publication number
CN112449175B
CN112449175B CN201910810280.5A CN201910810280A CN112449175B CN 112449175 B CN112449175 B CN 112449175B CN 201910810280 A CN201910810280 A CN 201910810280A CN 112449175 B CN112449175 B CN 112449175B
Authority
CN
China
Prior art keywords
splicing
distance
entities
equipment
view
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.)
Active
Application number
CN201910810280.5A
Other languages
Chinese (zh)
Other versions
CN112449175A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201910810280.5A priority Critical patent/CN112449175B/en
Publication of CN112449175A publication Critical patent/CN112449175A/en
Application granted granted Critical
Publication of CN112449175B publication Critical patent/CN112449175B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Abstract

The embodiment of the invention discloses an image splicing test method, device, equipment and storage medium. The method comprises the following steps: shooting two entities or non-entities in a real plane in real time, and splicing the shot images; repeatedly executing the operation until the appointed points on the two entities or the non-entities in the spliced image are superposed; when the designated points on the two entities or the non-entities are superposed, the designated points on the two entities or the non-entities are two equivalent points of a target point on the image splicing seam; and determining the distance between the appointed points on the two entities or the non-entities, and calculating the optimal splicing distance from the target point to the multi-view splicing equipment by combining the parameters of the multi-view splicing equipment. The embodiment of the invention can complete the test of the optimal splicing distance of the splicing points by measuring the distance between equivalent entities or non-entities of the splicing points in the real plane and integrating the equipment parameters, does not need real-scene test, reduces the test labor and improves the test precision.

Description

Image splicing test method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of monitoring, in particular to an image stitching test method, device, equipment and storage medium.
Background
In the field of monitoring, in order to make a monitoring picture wider, a plurality of cameras are generally used for image acquisition, and the images are spliced into one picture when the acquired images are output. Due to the fact that splicing traces exist in the images spliced by the multi-view splicing equipment, the splicing effect of the equipment needs to be measured. At present, the splicing effect of the test equipment needs to be installed in an actual scene so as to verify the splicing effect of the equipment under the conditions of different scenes, heights and object distances. However, by means of live-action testing, there are certain disadvantages: the scene is single, and manpower and material resources consume greatly, and can't judge whether have scene adaptability.
Disclosure of Invention
The embodiment of the invention provides an image splicing test method, an image splicing test device, image splicing equipment and a storage medium, and aims to solve the technical problems that in the prior art, a scene is single, manpower and material resource consumption is large, and whether the equipment has scene adaptability cannot be judged through a live-action test.
In a first aspect, an embodiment of the present invention provides an image stitching test method applied to a multi-view stitching device, where the method includes:
shooting two entities or non-entities in a real plane in real time, and splicing the shot images; wherein the relative positions of two entities or non-entities in the real plane are dynamically adjusted;
repeatedly executing the operation until the appointed points on the two entities or the non-entities in the spliced image are superposed; when the designated points on the two entities or the non-entities are superposed, the designated points on the two entities or the non-entities are two equivalent points of a target point on the image splicing seam;
determining the distance between designated points on two entities or non-entities, and calculating the optimal splicing distance from the target point to the multi-view splicing device by combining the parameters of the multi-view splicing device, wherein the optimal splicing distance is used for measuring the splicing effect of the multi-view splicing device.
In a second aspect, an embodiment of the present invention further provides an image stitching test apparatus configured in a multi-view stitching device, where the apparatus includes:
the shooting and splicing module is used for shooting two entities or non-entities in a real plane in real time and splicing the shot images; wherein the relative positions of two entities or non-entities in the real plane are dynamically adjusted;
the judging module is used for repeatedly executing the operation until the appointed points on the two entities or the non-entities in the spliced image are superposed; when the designated points on the two entities or the non-entities are superposed, the designated points on the two entities or the non-entities are two equivalent points of a target point on the image splicing seam;
the first calculation module is used for determining the distance between two entities or non-entities and calculating the optimal splicing distance from the target point to the multi-purpose splicing equipment by combining the parameters of the multi-purpose splicing equipment, wherein the optimal splicing distance is used for measuring the splicing effect of the multi-purpose splicing equipment.
In a third aspect, an embodiment of the present invention further provides an apparatus, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement an image stitching test method according to any one of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the image stitching test method according to any embodiment of the present invention.
The embodiment of the invention shoots two entities or non-entities in a real plane in real time and splices the shot images until the appointed points on the two entities or non-entities in the spliced image coincide, the appointed points on the two entities or non-entities are two equivalent points of a target point on the image splicing seam, and the optimal splicing distance from the target point to the multi-purpose splicing equipment is calculated by determining the distance between the appointed points on the two entities or non-entities and combining the parameters of the multi-purpose splicing equipment. Therefore, the embodiment of the invention can finish the test of the optimal splicing distance of the splicing points only by measuring the distance between equivalent entities or non-entities of the splicing points in the real plane and integrating the equipment parameters, does not need real-scene test, reduces the test labor and improves the test precision.
Drawings
FIG. 1a is a flowchart of an image stitching test method according to a first embodiment of the present invention;
FIG. 1b is a diagram of a stitching analysis with pixel rows according to a first embodiment of the present invention;
FIG. 1c is a diagram illustrating an analysis of equivalent points according to a first embodiment of the present invention;
FIG. 1d is a schematic diagram of a position of a test card in a real plane according to an embodiment of the present invention;
fig. 1e is a diagram of a splicing effect in the splicing device in the first embodiment of the present invention;
FIG. 2a is a flowchart of an image stitching test method according to a second embodiment of the present invention;
fig. 2b is a schematic diagram of a splicing device in an actual scene in the second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an image stitching test apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1a is a flowchart of an image stitching test method according to an embodiment of the present invention, which is applicable to a situation that a stitching test is required, and the method may be executed by an image stitching test apparatus, and the apparatus may be implemented in a software and/or hardware manner, and may be integrated on a device, for example, a multi-view stitching device.
Referring to fig. 1B, point a is a perfectly stitched point in the stitched image, and point B is a point with abnormal stitching. The distance from point a to the camera is the optimal stitching distance for point a. Therefore, if the optimal splicing positions of all the points on the splicing seams are deduced, the measurement of the splicing effect of the equipment can be realized. From fig. 1B it can be deduced that point B and the real plane intersect at two points B' and B ". The points B ' and B ' can completely replace the points B in the visual angle of the spliced camera, and are equivalent points of the points B, namely in an optical system, the results generated by the points B ', B ' and B ' are the same. Hereby two points can be used to test the optimal stitching distance of the camera. Specifically, referring to fig. 1c, if there are two non-coincident points B ' and B ″ in a real plane, if B ' and B ″ intersect at the same point in the stitching camera frame, it is determined that the corresponding point B of B ' and B ″ on the virtual plane is the optimal stitching distance of the camera. On the basis, the method for carrying out the image splicing test indoors comprises the following steps:
s101, shooting two entities or non-entities in a real plane in real time, and splicing the shot images, wherein the relative positions of the two entities or the non-entities in the real plane are dynamically adjusted.
After the multi-view splicing device is erected indoors, parameters of the multi-view splicing device are recorded, for example, the distance from the multi-view splicing device to a real plane and the distance between two cameras on the multi-view splicing device are recorded. In the embodiment of the invention, the relative positions of the two entities or the non-entities in the real plane are dynamically adjusted, for example, the two entities or the non-entities are controlled to move oppositely, meanwhile, the two entities or the non-entities moving oppositely in the real plane are shot in real time by utilizing a multi-view splicing device, and the shot images are spliced.
And S102, repeating the step S101 until the specified points on the two entities or the non-entities in the spliced image are superposed.
The designated point may be two real or non-real predetermined points, for example, two non-real points are triangles with opposite vertices, and the opposite vertices of the two triangles may be the designated point. When the two designated points coincide, the designated points on the two entities or the non-entities are two equivalent points of the target point on the image seam. Therefore, the optimal splicing distance of the target point on the image splicing seam can be calculated according to the distance between two solid or non-solid designated points.
S103, determining the distance between the designated points on the two entities or the non-entities, and calculating the optimal splicing distance from the target point to the multi-view splicing device by combining the parameters of the multi-view splicing device, wherein the optimal splicing distance is used for measuring the splicing effect of the multi-view splicing device.
The distance between two designated points of an entity or a non-entity comprises a transverse distance and a longitudinal distance, wherein the transverse distance is the horizontal distance of one designated point relative to the other designated point, and the longitudinal distance is the vertical distance of one designated point relative to the other designated point; illustratively, a xoy coordinate system is established in a real plane, wherein the transverse distance is the distance between two entities or non-entities along the direction of an x axis, and the longitudinal distance is the distance between the two entities or non-entities along the direction of a y axis; the parameters of the multi-view splicing equipment at least comprise the distance from the multi-view splicing equipment to a real plane and the distance between two cameras, wherein the real plane is a real planeThe plane is a plane on which the solid or non-solid is placed. The operation of calculating the optimal splicing distance from the target point to the multi-purpose splicing device comprises the following steps: and calculating the optimal splicing distance of the multi-view splicing equipment according to the distance from the multi-view splicing equipment to a real plane, the distance between the two cameras, the transverse distance and the longitudinal distance. Illustratively, it can be according to a formula
Figure GDA0003551608920000061
And calculating, wherein K represents the optimal splicing distance, D represents the distance from the multi-view splicing device to a real plane, D represents the distance between two cameras of the multi-view splicing device, and x represents the transverse distance between two designated points on an entity or a non-entity. Therefore, the optimal splicing distance of a target point on the splicing seam can be calculated.
Based on the same theoretical method, taking a double-sided splicing device as an example, by placing a plurality of pairs of entities or non-entities on a real plane, the respective splicing distances of a plurality of points on a splice can be measured simultaneously. Illustratively, as shown in fig. 1d, two rows of test cards (i.e., non-solid) are placed on a solid plane, each row includes 8 isosceles triangle cards numbered 1 to 8, the positions of the two rows of test cards in the solid plane are adjusted, the two rows of test cards are photographed in real time during the adjustment process, and the photographed images are spliced until the positions of the vertexes (i.e., designated points) of the two rows of test cards in the camera picture are all overlapped, the overlapped images are referred to fig. 1e, the transverse distance and the longitudinal distance between each pair of triangular test cards (i.e., test cards with the same number) in the solid plane are calculated, and the optimal splicing distance between 8 points in the splice can be calculated through the above formula. For exemplary, measured data see table 1.
TABLE 1 measurement results
Figure GDA0003551608920000062
Figure GDA0003551608920000071
Furthermore, after the optimal splicing distance from each point on the seam to the multi-purpose splicing device is obtained, a curve graph of the optimal splicing distance from each point on the seam is drawn, wherein the curve graph is used for analyzing the splicing effect of the multi-purpose splicing device. Illustratively, the splicing effect of the equipment can be judged according to the trend of the graph because the splicing distance of the points is smaller as the points are closer to the camera.
The embodiment of the invention shoots two entities or non-entities moving oppositely in a real plane in real time, splices the shot images until the appointed points on the two entities or non-entities in the spliced image coincide, the appointed points on the two entities or non-entities are two equivalent points of a target point on the image splicing seam, and calculates the optimal splicing distance from the target point to the multi-view splicing device by determining the distance between the appointed points on the two entities or non-entities and combining the parameters of the multi-view splicing device. Therefore, the embodiment of the invention can finish the test of the optimal splicing distance of the splicing points only by measuring the distance between equivalent entities or non-entities of the splicing points in the real plane and integrating the equipment parameters, does not need real-scene test, reduces the test labor and improves the test precision.
Example two
Fig. 2a is a flowchart of an image stitching test method according to a second embodiment of the present invention, where the second embodiment is further optimized on the basis of the first embodiment, and the evaluation for judging the scene adaptability of the multi-view stitching device is added. As shown in fig. 2a, the method comprises:
s201, aiming at any actual scene, calculating a standard splicing distance of the multi-view splicing equipment in the actual scene according to the corresponding installation parameters of the multi-view splicing equipment.
In the embodiment of the invention, each actual scene is respectively corresponding to a mathematical model for calculating the optimal splicing distance. For example, referring to fig. 2b, taking an open and building-free blocked spliced scene as an example, a mathematical model for calculating an optimal splicing distance K in the scene is a function of a viewing angle bisection coefficient n, specifically as follows, where α is a bisection angle, h is an installation height, and θ is an included angle between a connecting line between a closest point captured by the camera and a ground plane:
K=h*tan(θ+nα)
and calculating to obtain the standard optimal splicing distance under the scene, which is shown in table 2.
TABLE 2 results of calculation
Figure GDA0003551608920000081
Figure GDA0003551608920000091
S202, calculating the deviation between the optimal splicing distance and the standard splicing distance, and determining the adaptability of the multi-view splicing equipment in the actual scene according to the calculation result.
After the optimal splicing distance is measured in the above embodiment, the deviation between the optimal splicing distance and the standard splicing distance is calculated only according to a deviation calculation formula, and the adaptability of the multi-view splicing device in the actual scene is determined according to the calculation result. In addition, a standard splicing distance curve graph can be drawn according to the data measured in the scene, the optimal splicing distance curve graph measured in the embodiment is fitted with the standard splicing distance curve graph through a fitting tool, and the adaptability of the multi-view splicing device in the actual scene is judged according to the set result.
In the embodiment of the invention, the adaptability of the multi-view splicing equipment in an actual scene can be determined by calculating the deviation between the optimal splicing distance and the standard splicing distance, so that a basis is provided for the installation of the subsequent multi-view splicing equipment.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an image stitching test apparatus according to a third embodiment of the present invention, where the apparatus is configured in a multi-view stitching device, and the multi-view stitching device includes at least two cameras. As shown in fig. 3, the apparatus includes:
the shooting and splicing module 301 is used for shooting two entities or non-entities in a real plane in real time and splicing the shot images; wherein the relative positions of two entities or non-entities in the real plane are dynamically adjusted;
a judging module 302, configured to repeatedly perform the above operations until specified points on two entities or non-entities in the stitched image coincide; when the designated points on the two entities or the non-entities are superposed, the designated points on the two entities or the non-entities are two equivalent points of a target point on the image splicing seam;
the first calculating module 303 is configured to determine a distance between two designated points on an entity or a non-entity, and calculate an optimal splicing distance from the target point to the multi-view splicing device in combination with a parameter of the multi-view splicing device, where the optimal splicing distance is used to measure a splicing effect of the multi-view splicing device.
On the basis of the above embodiment, the distance between the specified points on the two entities or the non-entities includes a transverse distance and a longitudinal distance; wherein the lateral distance is a horizontal distance of one designated point relative to another designated point, and the longitudinal distance is a vertical distance of one designated point relative to another designated point;
the parameters of the multi-view splicing equipment at least comprise the distance from the multi-view splicing equipment to a real plane and the distance between two cameras, wherein the real plane is a plane for placing the entity or the non-entity;
correspondingly, the first computing module is configured to:
and calculating the optimal splicing distance of the multi-view splicing equipment according to the distance from the multi-view splicing equipment to a real plane, the distance between two cameras, the transverse distance and the longitudinal distance.
On the basis of the above embodiment, the apparatus further includes:
and the drawing module is used for drawing a curve graph of the optimal splicing distance between each point on the seam and the multi-purpose splicing equipment after the optimal splicing distance between each point on the seam and the multi-purpose splicing equipment is obtained, wherein the curve graph is used for analyzing the splicing effect of the multi-purpose splicing equipment.
On the basis of the above embodiment, the apparatus further includes:
the second calculation module is used for calculating the standard splicing distance of the multi-view splicing equipment in any actual scene according to the corresponding installation parameters of the multi-view splicing equipment;
and the third calculation module is used for calculating the deviation between the optimal splicing distance and the standard splicing distance and determining the adaptability of the camera equipment in the actual scene according to the calculation result. The image stitching test device provided by the embodiment of the invention can execute the image stitching test method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of an apparatus according to a fourth embodiment of the present invention. Fig. 4 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 4 is only an example and should not bring any limitation to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 4, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, for example, implementing an image stitching test method applied to a multi-purpose stitching device provided by an embodiment of the present invention, where the multi-purpose stitching device includes at least two cameras, the method includes:
shooting two entities or non-entities in a real plane in real time, and splicing the shot images; wherein the relative positions of two entities or non-entities in the real plane are dynamically adjusted;
repeatedly executing the operation until the appointed points on the two entities or the non-entities in the spliced image are superposed; when the designated points on the two entities or the non-entities are superposed, the designated points on the two entities or the non-entities are two equivalent points of a target point on the image splicing seam;
determining the distance between designated points on two entities or non-entities, and calculating the optimal splicing distance from the target point to the multi-view splicing device by combining the parameters of the multi-view splicing device, wherein the optimal splicing distance is used for measuring the splicing effect of the multi-view splicing device.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an image stitching test method applied to a multi-view stitching device provided in an embodiment of the present invention, where the multi-view stitching device includes at least two cameras, and the method includes:
shooting two entities or non-entities in a real plane in real time, and splicing the shot images; wherein the relative positions of two entities or non-entities in the real plane are dynamically adjusted;
repeatedly executing the operation until the appointed points on the two entities or the non-entities in the spliced image are superposed; when the designated points on the two entities or the non-entities are superposed, the designated points on the two entities or the non-entities are two equivalent points of a target point on the image splicing seam;
determining the distance between the appointed points on two entities or non-entities, and calculating the optimal splicing distance from the target point to the multi-view splicing device by combining the parameters of the multi-view splicing device, wherein the optimal splicing distance is used for measuring the splicing effect of the multi-view splicing device.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. An image stitching test method is applied to multi-view stitching equipment, the multi-view stitching equipment at least comprises two cameras, and the method comprises the following steps:
shooting two entities or non-entities in a real plane in real time, and splicing the shot images; wherein the relative positions of two entities or non-entities in the real plane are dynamically adjusted;
repeatedly executing the operation until the appointed points on the two entities or the non-entities in the spliced image are superposed; when the designated points on the two entities or the non-entities are superposed, the designated points on the two entities or the non-entities are two equivalent points of a target point on the image splicing seam;
determining the distance between designated points on two entities or non-entities, and calculating the optimal splicing distance from the target point to the multi-view splicing device by combining the parameters of the multi-view splicing device, wherein the optimal splicing distance is used for measuring the splicing effect of the multi-view splicing device;
wherein the distance between specified points on the two entities or non-entities comprises a lateral distance and a longitudinal distance; wherein the lateral distance is a horizontal distance of one designated point relative to another designated point, and the longitudinal distance is a vertical distance of one designated point relative to another designated point;
the parameters of the multi-view splicing equipment at least comprise the distance from the multi-view splicing equipment to a real plane and the distance between two cameras, wherein the real plane is a plane for placing the entity or the non-entity;
correspondingly, the operation of calculating the optimal splicing distance from the target point to the multi-purpose splicing equipment comprises the following steps:
and calculating the optimal splicing distance of the multi-view splicing equipment according to the distance from the multi-view splicing equipment to a real plane, the distance between two cameras, the transverse distance and the longitudinal distance.
2. The method of claim 1, further comprising:
and after the optimal splicing distance from each point on the seam to the multi-purpose splicing equipment is obtained, drawing a curve graph of the optimal splicing distance from each point on the seam, wherein the curve graph is used for analyzing the splicing effect of the multi-purpose splicing equipment.
3. The method of claim 1, further comprising:
aiming at any actual scene, calculating a standard splicing distance of the multi-view splicing equipment in the actual scene according to the corresponding installation parameters of the multi-view splicing equipment;
and calculating the deviation between the optimal splicing distance and the standard splicing distance, and determining the adaptability of the multi-view splicing equipment in the actual scene according to the calculation result.
4. An image stitching test device, configured to a multi-view stitching device, the multi-view stitching device including at least two cameras, the device comprising:
the shooting and splicing module is used for shooting two entities or non-entities in a real plane in real time and splicing the shot images; wherein the relative positions of two entities or non-entities in the real plane are dynamically adjusted;
the judging module is used for repeatedly executing the operation until the appointed points on the two entities or the non-entities in the spliced image are superposed; when the designated points on the two entities or the non-entities are superposed, the designated points of the two entities or the non-entities are two equivalent points of a target point on the image splicing seam;
the first calculation module is used for determining the distance between two entities or non-entities and calculating the optimal splicing distance from the target point to the multi-purpose splicing equipment by combining the parameters of the multi-purpose splicing equipment, wherein the optimal splicing distance is used for measuring the splicing effect of the multi-purpose splicing equipment;
wherein the distance between specified points on the two entities or non-entities comprises a lateral distance and a longitudinal distance; wherein the lateral distance is a horizontal distance of one designated point relative to another designated point, and the longitudinal distance is a vertical distance of one designated point relative to another designated point;
the parameters of the multi-view splicing equipment at least comprise the distance from the multi-view splicing equipment to a real plane and the distance between two cameras, wherein the real plane is a plane for placing the entity or the non-entity;
correspondingly, the first computing module is configured to:
and calculating the optimal splicing distance of the multi-view splicing equipment according to the distance from the multi-view splicing equipment to a real plane, the distance between two cameras, the transverse distance and the longitudinal distance.
5. The apparatus of claim 4, further comprising:
and the drawing module is used for drawing a curve graph of the optimal splicing distance between each point on the seam and the multi-purpose splicing equipment after the optimal splicing distance between each point on the seam and the multi-purpose splicing equipment is obtained, wherein the curve graph is used for analyzing the splicing effect of the multi-purpose splicing equipment.
6. The apparatus of claim 4, further comprising:
the second calculation module is used for calculating the standard splicing distance of the multi-view splicing equipment in any actual scene according to the corresponding installation parameters of the multi-view splicing equipment;
and the third calculation module is used for calculating the deviation between the optimal splicing distance and the standard splicing distance and determining the adaptability of the multi-view splicing equipment in the actual scene according to the calculation result.
7. An apparatus, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the image stitching test method of any one of claims 1-3.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the image stitching test method according to any one of claims 1 to 3.
CN201910810280.5A 2019-08-29 2019-08-29 Image splicing test method, device, equipment and storage medium Active CN112449175B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910810280.5A CN112449175B (en) 2019-08-29 2019-08-29 Image splicing test method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910810280.5A CN112449175B (en) 2019-08-29 2019-08-29 Image splicing test method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112449175A CN112449175A (en) 2021-03-05
CN112449175B true CN112449175B (en) 2022-05-17

Family

ID=74741331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910810280.5A Active CN112449175B (en) 2019-08-29 2019-08-29 Image splicing test method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112449175B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673395A (en) * 2008-09-10 2010-03-17 深圳华为通信技术有限公司 Image mosaic method and image mosaic device
CN105430375A (en) * 2015-11-11 2016-03-23 深圳进化动力数码科技有限公司 Method and device for detecting joint applicable distance of panoramic camera
CN105894451A (en) * 2016-03-30 2016-08-24 沈阳泰科易科技有限公司 Method and device for splicing panoramic image
WO2017003557A1 (en) * 2015-06-30 2017-01-05 Gopro, Inc. Image stitching in a multi-camera array
CN106886979A (en) * 2017-03-30 2017-06-23 深圳市未来媒体技术研究院 A kind of image splicing device and image split-joint method
CN106991645A (en) * 2017-03-22 2017-07-28 腾讯科技(深圳)有限公司 Image split-joint method and device
CN109146844A (en) * 2018-07-11 2019-01-04 信利光电股份有限公司 The image mosaic detection method and readable storage medium storing program for executing of more camera lens multisensor photographic devices
CN109493319A (en) * 2018-10-10 2019-03-19 武汉联影医疗科技有限公司 Blending image effect quantization method, device, computer equipment and storage medium
CN109712076A (en) * 2018-12-29 2019-05-03 苏州精濑光电有限公司 Image split-joint method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7778491B2 (en) * 2006-04-10 2010-08-17 Microsoft Corporation Oblique image stitching
US10313584B2 (en) * 2017-01-04 2019-06-04 Texas Instruments Incorporated Rear-stitched view panorama for rear-view visualization

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673395A (en) * 2008-09-10 2010-03-17 深圳华为通信技术有限公司 Image mosaic method and image mosaic device
WO2017003557A1 (en) * 2015-06-30 2017-01-05 Gopro, Inc. Image stitching in a multi-camera array
CN105430375A (en) * 2015-11-11 2016-03-23 深圳进化动力数码科技有限公司 Method and device for detecting joint applicable distance of panoramic camera
CN105894451A (en) * 2016-03-30 2016-08-24 沈阳泰科易科技有限公司 Method and device for splicing panoramic image
CN106991645A (en) * 2017-03-22 2017-07-28 腾讯科技(深圳)有限公司 Image split-joint method and device
CN106886979A (en) * 2017-03-30 2017-06-23 深圳市未来媒体技术研究院 A kind of image splicing device and image split-joint method
CN109146844A (en) * 2018-07-11 2019-01-04 信利光电股份有限公司 The image mosaic detection method and readable storage medium storing program for executing of more camera lens multisensor photographic devices
CN109493319A (en) * 2018-10-10 2019-03-19 武汉联影医疗科技有限公司 Blending image effect quantization method, device, computer equipment and storage medium
CN109712076A (en) * 2018-12-29 2019-05-03 苏州精濑光电有限公司 Image split-joint method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
不同视点重叠图像自动拼接算法;兰培真 等;《中国航海》;20011230(第02期);41-45 *
基于自适应匹配的实时视频拼接系统;张军 等;《电视技术》;20151102;第第39卷卷(第21期);104-106、119 *

Also Published As

Publication number Publication date
CN112449175A (en) 2021-03-05

Similar Documents

Publication Publication Date Title
US8369578B2 (en) Method and system for position determination using image deformation
CN110717861B (en) Image splicing method and device, electronic equipment and computer readable storage medium
CN109993798B (en) Method and equipment for detecting motion trail by multiple cameras and storage medium
CN109788277B (en) Method and device for compensating optical axis deviation of anti-shake movement and storage medium
CN104111059A (en) Distance measuring and locating device and method and terminal
CN114952856A (en) Mechanical arm hand-eye calibration method, system, computer and readable storage medium
CN105447865A (en) Method and device for evaluating static splicing quality of panoramic splicing algorithm
CN110796738A (en) Three-dimensional visualization method and device for tracking state of inspection equipment
CN113436267B (en) Visual inertial navigation calibration method, device, computer equipment and storage medium
CN113763478B (en) Unmanned vehicle camera calibration method, device, equipment, storage medium and system
CN114187589A (en) Target detection method, device, equipment and storage medium
CN112634366B (en) Method for generating position information, related device and computer program product
CN112449175B (en) Image splicing test method, device, equipment and storage medium
CN111161350B (en) Position information and position relation determining method, position information acquiring device
CN109712076B (en) Image stitching method, device, equipment and storage medium
CN111951328A (en) Object position detection method, device, equipment and storage medium
CN110853098A (en) Robot positioning method, device, equipment and storage medium
CN116203976A (en) Indoor inspection method and device for transformer substation, unmanned aerial vehicle and storage medium
CN110675445B (en) Visual positioning method, device and storage medium
CN114640800B (en) Camera arrangement method and system
CN113205591A (en) Method and device for acquiring three-dimensional reconstruction training data and electronic equipment
CN112788292A (en) Method and device for determining inspection observation point, inspection robot and storage medium
CN116883516B (en) Camera parameter calibration method and device
CN111667539A (en) Camera calibration and plane measurement method
CN114963025B (en) Leakage point positioning method and device, electronic equipment and readable 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
GR01 Patent grant
GR01 Patent grant