Shooting method and device, multi-view camera and storage medium
By setting up a polarization switching system in the PTZ system of a multi-eye camera and adjusting the polarization angle, the fill light interference problem caused by the multi-PTZ structure is solved, and the effect of reducing the brightness of the image spot is achieved and the flashlight effect of the image is improved.
Patent Information
- Application Number
- CN202311606822.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-28
- Publication Date
- 2025-05-30
AI Technical Summary
The multi-PTZ structure of multi-eye cameras leads to fill light interference, resulting in obvious flashlight effect, and the image is prone to light spots.
Polarization switching systems are arranged at the lens ends and fill light ends of multiple PTZ systems to adjust the state of the polarization switching system so that the polarization angles of at least two PTZ systems are different, thereby reducing fill light interference.
By reducing the fill light when multiple sets of lenses illuminate the same scene, preventing fill light interference, reducing the brightness of the spots captured in the image, and improving the flashlight effect of the image.
Smart Images

Figure CN120065607A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of camera technologies, and in particular, to a shooting method, device, multi-camera, and storage medium. Background Art
[0002] In order to adapt to more shooting scenarios, multi-cameras are widely used. Their advantage lies in that the multi-Panning Tilting Zooming (PTZ) structure can cover a large detection scene and has rich functions.
[0003] However, since the multi-PTZ structures of the multi-camera can independently image respectively, when the fill lights of the multi-camera are turned on, there will be fill light interference, resulting in an obvious flashlight effect in the captured image, that is, when any two or more groups of lenses in the multi-PTZ structure irradiate the same scene, obvious light spots ("flashlight" phenomenon) are likely to exist in the captured image.
[0004] Therefore, how to weaken the flashlight effect of the captured image has become an urgent problem to be solved. Summary of the Invention
[0005] The present invention provides a shooting method, device, multi-camera, and storage medium to solve the defect that obvious light spots are likely to exist in the captured image in the prior art, and to weaken the brightness of the light spots in the captured image to improve the flashlight effect of the image.
[0006] The present invention provides a shooting method applied to a multi-camera. The multi-camera includes a plurality of PTZ systems. A polarization switching system is provided at the lens end and the fill light end of each PTZ system. The states of the polarization switching system include a non-polarized state and a plurality of states corresponding to a plurality of polarization angles respectively. The method includes:
[0007] When it is determined that there are at least two first PTZ systems among the plurality of PTZ systems, the states of the polarization switching systems of the at least two first PTZ systems are respectively adjusted so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, where the images generated by the at least two first PTZ systems in the shooting scene overlap;
[0008] Shoot in the shooting scene.
[0009] According to a shooting method provided by the present invention, before shooting in the shooting scene, the method further includes:
[0010] When it is determined that there is at least one second PTZ system among the multiple PTZ systems, adjust the state of the polarization switching system of the at least one second PTZ system so that the state of the at least one second PTZ system is a non-polarized state, where the picture generated by the second PTZ system in the shooting scene does not coincide with the pictures generated by the multiple PTZ systems in the shooting scene.
[0011] According to a shooting method provided by the present invention, the polarization switching system includes a non-polarized glass sheet and / or a polarizer;
[0012] When the target position of the polarization switching system is the polarizer, the state of the polarization switching system is the state corresponding to the polarization angle of the polarizer;
[0013] When the target position of the polarization switching system is the non-polarized glass sheet, the state of the polarization switching system is the non-polarized state.
[0014] According to a shooting method provided by the present invention, the polarizer includes at least one of the following: multiple polarizers corresponding to multiple polarization angles respectively, and at least one polarizer with an adjustable polarization angle.
[0015] According to a shooting method provided by the present invention, when the number of the at least two first PTZ systems is greater than 2, adjusting the states of the polarization switching systems of the at least two first PTZ systems respectively so that the polarization angles corresponding to the states of the at least two first PTZ systems are different includes:
[0016] Switch the polarizers of the polarization switching systems of the at least two first PTZ systems respectively so that the polarization angle sequence increases or decreases based on a fixed angle difference, and the difference between the maximum value and the minimum value in the polarization angle sequence is less than or equal to 180 degrees;
[0017] Wherein, the polarization angle sequence is composed of the polarization angles of the polarizers at the target positions of the polarization switching systems of the at least two first PTZ systems.
[0018] According to a shooting method provided by the present invention, when the at least two first PTZ systems are two first PTZ systems, adjusting the states of the polarization switching systems of the at least two first PTZ systems respectively so that the polarization angles corresponding to the states of the at least two first PTZ systems are different includes:
[0019] Switch the polarizers of the polarization switching systems of the two first PTZ systems respectively so that the polarization angles of the polarizers at the target positions of the polarization switching systems of the two first PTZ systems are 0° and 90°.
[0020] A shooting method provided by the present invention, wherein determining that there are at least two first PTZ systems among the multiple PTZ systems includes:
[0021] Obtaining the lens field of view angle data and / or PTZ pan-tilt data of the multiple PTZ systems in the shooting scene;
[0022] Based on the lens field of view angle data and / or PTZ pan-tilt data of the multiple PTZ systems in the shooting scene, determining that the images generated by the at least two first PTZ systems in the shooting scene overlap.
[0023] The present invention further provides a shooting device applied to a multi-camera. The multi-camera includes multiple pan-tilt-zoom (PTZ) systems with all-round panning and tilting capabilities. A polarization switching system is provided at the lens end and the fill light end of each PTZ system. The states of the polarization switching system include a non-polarized state and multiple states corresponding to multiple polarization angles respectively. The device includes:
[0024] An adjustment module for, when it is determined that there are at least two first PTZ systems among the multiple PTZ systems, respectively adjusting the states of the polarization switching systems of the at least two first PTZ systems so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, wherein the images generated by the at least two first PTZ systems in the shooting scene overlap;
[0025] A shooting module for shooting in the shooting scene.
[0026] The present invention further provides a multi-camera, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the shooting method described in any one of the above are implemented.
[0027] The present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the shooting method described in any one of the above are implemented.
[0028] The present invention further provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the shooting method described in any one of the above are implemented.
[0029] The shooting method, device, multi-camera and storage medium provided by the present invention respectively set polarization switching systems capable of switching states corresponding to multiple polarization angles at the lens end and the fill light end of multiple PTZ systems. When it is determined that there are at least two first PTZ systems with overlapping generated images in the shooting scene, the states of the polarization switching systems of the at least two first PTZ systems are respectively adjusted so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, thereby reducing the fill light when multiple groups of lenses irradiate the same scene, preventing fill light interference, and weakening the spot brightness of the captured image to improve the flashlight effect of the image. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0031] Figure 1 is a schematic flowchart of the shooting method provided by the present invention;
[0032] Figure 2 is a schematic hardware structure diagram of the PTZ system provided by the present invention;
[0033] Figure 3 is a schematic structure diagram of the polarization switching system provided by the present invention;
[0034] Figure 4 is a schematic structure diagram of the polarization switching system provided by the present invention;
[0035] Figure 5 is a schematic diagram of the spherical coordinate system provided by the present invention;
[0036] Figure 6 is a schematic diagram of the determination method of the first PTZ system provided by the present invention;
[0037] Figure 7 is a schematic diagram of the determination method of the first PTZ system provided by the present invention;
[0038] Figure 8 is a schematic flowchart of the state switching method provided by the present invention;
[0039] Figure 9 is a schematic flowchart of the state switching method provided by the present invention;
[0040] Figure 10 is a schematic structure diagram of the shooting device provided by the present invention;
[0041] Figure 11 Illustrates a schematic diagram of the physical structure of a multi-camera
[0042] Figure 12 Illustrates a schematic diagram of the structure of a multi-camera Detailed implementation manners
[0043] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without creative efforts shall fall within the protection scope of the present invention
[0044] The shooting method, device, multi-camera and storage medium of the present invention will be described below with reference to the accompanying drawings
[0045] Figure 2 Is a schematic diagram of the hardware structure of the PTZ system provided by the present invention, as Figure 2 Shown, the fill light end of each PTZ system may be provided with a polarization switching system, and, the lens end of each PTZ system may be provided with a polarization switching system
[0046] Specifically, the polarization switching system may be disposed in front of the lens of the PTZ system, or, the polarization switching system may be disposed between the lens of the PTZ system and the Sensor
[0047] Specifically, a polarization switching system is also provided at the fill light end of the PTZ system
[0048] Wherein, the states of the polarization switching system include a non-polarized state and multiple states corresponding to multiple polarization angles respectively
[0049] Figure 1 Is a schematic flowchart of the shooting method provided by the present invention. The shooting method is applied to a multi-camera, and the multi-camera includes multiple such as Figure 2 Shown PTZ systems; as Figure 1 Shown, the shooting method includes the following steps
[0050] Step 100, when it is determined that there are at least two first PTZ systems among the multiple PTZ systems, adjust the states of the polarization switching systems of at least two first PTZ systems respectively, so that the polarization angles corresponding to the states of at least two first PTZ systems are different, wherein, the images generated by at least two first PTZ systems in the shooting scene overlap
[0051] Step 110, perform shooting in the shooting scene
[0052] Specifically, the polarization switching system can transmit only a part of the light, thereby reducing the brightness of the light. In the present invention, a polarization switching system is provided at the lens end and the fill light end of the PTZ system of the multi-camera, that is, by adjusting the state of the polarization switching system of each PTZ system, the brightness of the light transmitted through the lens of each PTZ system and the fill light brightness of the fill light can be adjusted.
[0053] It should be noted that the states of the two polarization systems (the polarization system provided at the lens end and the polarization system provided at the fill light end) of the same PTZ system are kept consistent, that is, synchronized adjustment.
[0054] Optionally, when polarization switching systems are provided at both the lens end and the fill light end of the PTZ system of the multi-camera, the states of the polarization switching systems at the lens end and the fill light end are the same.
[0055] Specifically, when it is determined that the images generated by at least two first PTZ systems overlap in the shooting scene, it can be determined that there are multiple groups of lenses illuminating the same scene, and there may be overfill light resulting in light spots; therefore, the states of the polarization switching systems of each PTZ system can be adjusted, and the polarization angles corresponding to the states of at least two first PTZ systems are different, so that the brightness of the light in the same scene illuminated by multiple groups of lenses is weakened, and the light in the same scene is polarized light from different directions, effectively weakening the generation of light spots on the captured image.
[0056] For example, if it is determined that the images generated by two first PTZ systems overlap in the shooting scene, that is, PTZ system A and PTZ system B, the state of the polarization switching system of PTZ system A can be adjusted to the state corresponding to angle a, and the state of the polarization switching system of PTZ system B can be adjusted to the state corresponding to angle b. Since angle a is different from angle b, the light used in the image captured by PTZ system A only includes the light in the direction corresponding to angle a, and the light used in the image captured by PTZ system B only includes the light in the direction corresponding to angle b. Then there will be no overfill light, thereby avoiding light spots.
[0057] For example, if it is determined that the images generated by two first PTZ systems overlap in the shooting scene, that is, PTZ system A and PTZ system B, the state of the polarization switching system of PTZ system A can be adjusted to the state corresponding to 0°, and the state of the polarization switching system of PTZ system B can be adjusted to the state corresponding to 90°. Then the light used in the image captured by PTZ system A only includes the light in the direction corresponding to 0°, and the light used in the image captured by PTZ system B only includes the light in the direction corresponding to 90°. Then there will be no overfill light, thereby avoiding light spots.
[0058] For example, if it is determined that there are two first PTZ systems with overlapping generated images in the shooting scenario, namely PTZ system C, PTZ system D, and PTZ system E, then the state of the polarization switching system of PTZ system C can be adjusted to the state corresponding to angle c, the state of the polarization switching system of PTZ system D can be adjusted to the state corresponding to angle d, and the state of the polarization switching system of PTZ system E can be adjusted to the state corresponding to angle e. Since angles c, d, and e are different, the light used in the image captured by PTZ system C only includes the light in the direction corresponding to angle c, the light used in the image captured by PTZ system D only includes the light in the direction corresponding to angle d, and the light used in the image captured by PTZ system E only includes the light in the direction corresponding to angle e. Then, there will be no excessive fill light, thereby avoiding light spots.
[0059] For example, if it is determined that there are two first PTZ systems with overlapping generated images in the shooting scenario, namely PTZ system C, PTZ system D, and PTZ system E, then the state of the polarization switching system of PTZ system C can be adjusted to the state corresponding to 60°, the state of the polarization switching system of PTZ system D can be adjusted to the state corresponding to 120°, and the state of the polarization switching system of PTZ system E can be adjusted to the state corresponding to 180°. Then, the light used in the image captured by PTZ system C only includes the light in the direction corresponding to 60°, the light used in the image captured by PTZ system D only includes the light in the direction corresponding to 120°, and the light used in the image captured by PTZ system E only includes the light in the direction corresponding to 180°. Then, there will be no excessive fill light, thereby avoiding light spots.
[0060] The shooting method provided by the present invention includes respectively setting polarization switching systems capable of switching states corresponding to multiple polarization angles at the lens end and the fill light end of multiple PTZ systems, and when it is determined that there are at least two first PTZ systems with overlapping generated images in the shooting scenario, respectively adjusting the states of the polarization switching systems of the at least two first PTZ systems so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, thereby reducing the fill light when multiple groups of lenses irradiate the same scene, preventing fill light interference, and weakening the light spot brightness of the captured image to improve the flashlight effect of the image.
[0061] In some alternative embodiments, before shooting in the shooting scenario, the method further includes:
[0062] When it is determined that there is at least one second PTZ system among the multiple PTZ systems, adjusting the state of the polarization switching system of the at least one second PTZ system so that the state of the at least one second PTZ system is a non-polarized state, where the image generated by the second PTZ system in the shooting scenario does not overlap with the images generated by the multiple PTZ systems in the shooting scenario.
[0063] Specifically, in order to prevent the polarization switching system from only transmitting part of the light and reducing the image quality obtained by the multi-camera, the polarization switching system of the second PTZ system that generates non-overlapping images in the shooting scene can be set to a non-polarized state so that the light can be transmitted normally.
[0064] For example, if it is determined that there are two first PTZ systems whose generated images in the shooting scene overlap, namely PTZ system F and PTZ system G, and there is a second PTZ system whose generated image in the shooting scene is different from the generated images of the aforementioned two first PTZ systems, namely PTZ system H, then the state of the polarization switching system of PTZ system F can be adjusted to the state corresponding to the f angle, the state of the polarization switching system of PTZ system G can be adjusted to the state corresponding to the g angle, the f angle is different from the g angle, and the state of PTZ system H is adjusted to a non-polarized state.
[0065] For example, if it is determined that there are two first PTZ systems whose generated images in the shooting scene overlap, namely PTZ system I and PTZ system J, and there are two second PTZ systems whose generated images in the shooting scene are different from the generated images of the aforementioned two first PTZ systems, and the generated images of the two second PTZ systems are different from each other, namely PTZ system K and PTZ system L, then the state of the polarization switching system of PTZ system I can be adjusted to the state corresponding to the i angle, the state of the polarization switching system of PTZ system J can be adjusted to the state corresponding to the j angle, the i angle is different from the j angle, and the states of PTZ system K and PTZ system L are adjusted to a non-polarized state.
[0066] In some alternative embodiments, the polarization switching system includes a non-polarized glass slide and / or a polarizer;
[0067] When the target position of the polarization switching system is the polarizer, the state of the polarization switching system is the state corresponding to the polarization angle of the polarizer;
[0068] When the target position of the polarization switching system is the non-polarized glass slide, the state of the polarization switching system is the non-polarized state.
[0069] Optionally, for the polarization switching system provided at the fill light end of the PTZ system, the target position of the polarization switching system can face the fill light directly to achieve transmitting only part of the light of the fill light.
[0070] Optionally, for the polarization switching system provided at the lens end of the PTZ system, the target position of the polarization switching system can face the lens directly to achieve only part of the light entering the camera;
[0071] Specifically, the non-polarized state of the polarization switching system can be understood as the conventional shooting state of the PTZ system; when the non-polarized glass slide is switched to the target position of the polarization switching system, all light can be transmitted, achieving the conventional shooting state of the PTZ system. At this time, the state of the polarization switching system is the non-polarized state of the polarization switching system.
[0072] Specifically, the state corresponding to a certain polarization angle of the polarization switching system of the PTZ system can be understood as: only the light of this polarization angle can be transmitted into the PTZ system; when the polarizer of this polarization angle is switched to the target position of the polarization switching system, the light of this polarization angle can be transmitted. At this time, the state of the polarization switching system is the state corresponding to this polarization angle.
[0073] For example, when the polarizer of 0° is switched to the target position of the polarization switching system, the state of the polarization switching system is the state corresponding to 0°.
[0074] For example, when the polarizer of 90° is switched to the target position of the polarization switching system, the state of the polarization switching system is the state corresponding to 90°.
[0075] For example, when the polarizer of 30° is switched to the target position of the polarization switching system, the state of the polarization switching system is the state corresponding to 30°.
[0076] In some alternative embodiments, the polarizer includes at least one of the following: multiple polarizers corresponding to multiple polarization angles, and at least one polarizer with an adjustable polarization angle.
[0077] Optionally, the polarization switching system may include multiple polarizers corresponding to multiple polarization angles.
[0078] For example, Figure 3 is one of the schematic structural diagrams of the polarization switching system provided by the present invention. As Figure 3 shown, the multi-camera includes 3 PTZ systems, namely PTZ system M, PTZ system N, and PTZ system O. PTZ system M may include three polarizers and a non-polarized conventional glass slide. The polarization angles corresponding to the three polarizers are 60°, 0°, and 90° respectively. PTZ system N may include three polarizers and a non-polarized conventional glass slide. The polarization angles corresponding to the three polarizers are 120°, 0°, and 90° respectively. PTZ system O may include three polarizers and a non-polarized conventional glass slide. The polarization angles corresponding to the three polarizers are 180°, 0°, and 90° respectively. The polarizer corresponding to the corresponding angle can be switched to the target position of the polarization switching system through the gripper and motor adjustment.
[0079] For example, if it is necessary to adjust PTZ system M, PTZ system N, and PTZ system O to the states corresponding to 60°, 120°, and 180° respectively, then the 120° polarizer of PTZ system N can be switched to the target position of PTZ system N, the 180° polarizer of PTZ system O can be switched to the target position of PTZ system O, and the 60° polarizer of PTZ system M can be switched to the target position of PTZ system M;
[0080] For example, if it is necessary to adjust PTZ system N and PTZ system O to the states corresponding to 0° and 90° respectively, then the 0° polarizer of PTZ system N can be switched to the target position of PTZ system N, the 90° polarizer of PTZ system O can be switched to the target position of PTZ system O, and the non-polarizing conventional glass slide of PTZ system M can be switched to the target position of PTZ system M.
[0081] Optionally, the polarization switching system may include at least one polarizer with an adjustable polarization angle, which can reduce the number of filters and has stronger compatibility;
[0082] For example, Figure 4 is the second schematic diagram of the structure of the polarization switching system provided by the present invention. As Figure 4 shown, the multi-eye camera includes multiple PTZ systems. Each PTZ system may include a polarizer with an adjustable polarization angle and a non-polarizing conventional glass slide; the polarization angle of the above polarizer can be adjusted by the polarizer rotation motor gear, and the polarizer and the conventional glass slide can be switched back and forth at the target position by the overall rotation motor gear;
[0083] For example, in the case of switching the polarization switching system to the state corresponding to 30°, first switch the polarizer to the target position by the overall rotation motor gear, and rotate the angle of the polarizer to 30° by the polarizer rotation motor gear;
[0084] For example, in the case of switching the polarization switching system to the state corresponding to 60°, first switch the polarizer to the target position by the overall rotation motor gear, and rotate the angle of the polarizer to 60° by the polarizer rotation motor gear; for another example, in the case of switching the polarization switching system to the non-polarized state, then switch the conventional glass slide to the target position by the overall rotation motor gear.
[0085] Optionally, the polarization switching system may include multiple polarizers corresponding to multiple polarization angles, and at least one polarizer with an adjustable polarization angle;
[0086] For example, a multi-camera can include three PTZ systems, namely PTZ system P, PTZ system Q, and PTZ system R. PTZ system P can include three polarizers and a non-polarizing conventional glass slide. The three polarizers are a polarizer with an adjustable polarization angle, a 0° polarizer, and a 90° polarizer. PTZ system Q can include three polarizers and a non-polarizing conventional glass slide. The three polarizers are a polarizer with an adjustable polarization angle, a 0° polarizer, and a 90° polarizer. PTZ system R can include three polarizers and a non-polarizing conventional glass slide. The three polarizers are a polarizer with an adjustable polarization angle, a 0° polarizer, and a 90° polarizer. The corresponding polarizer can be switched to the target position of the polarization switching system by a gripper and a motor. For the polarizer with an adjustable polarization angle, the polarization angle of the polarizer with an adjustable polarization angle can be adjusted by a polarizer rotation motor gear.
[0087] For example, if it is necessary to adjust PTZ system P, PTZ system Q, and PTZ system R to the states corresponding to 60°, 120°, and 180° respectively, the polarizer with an adjustable polarization angle of PTZ system P can be switched to the target position of PTZ system P, and the angle of this polarizer can be rotated to 60°. The polarizer with an adjustable polarization angle of PTZ system Q can be switched to the target position of PTZ system Q, and the angle of this polarizer can be rotated to 120°. The polarizer with an adjustable polarization angle of PTZ system R can be switched to the target position of PTZ system R, and the angle of this polarizer can be rotated to 180°.
[0088] For example, if it is necessary to adjust PTZ system P, PTZ system Q, and PTZ system R to the states corresponding to 0°, 90°, and non-polarized respectively, the 0° polarizer of PTZ system P can be switched to the target position of PTZ system P, the 90° polarizer of PTZ system Q can be switched to the target position of PTZ system Q, and the non-polarizing conventional glass slide of PTZ system R can be switched to the target position of PTZ system R.
[0089] In some alternative embodiments, when the number of the at least two first PTZ systems is greater than 2, adjusting the states of the polarization switching systems of the at least two first PTZ systems respectively so that the polarization angles corresponding to the states of the at least two first PTZ systems are different includes:
[0090] Switching the polarizers of the polarization switching systems of the at least two first PTZ systems respectively so that the polarization angle sequence increases or decreases based on a fixed angle difference, and the difference between the maximum value and the minimum value in the polarization angle sequence is less than or equal to 180 degrees;
[0091] Among them, the polarization angle sequence is composed of the polarization angles of the polarizers at the target positions of the polarization switching systems of the at least two first PTZ systems.
[0092] Specifically, it can be assumed that n is the number of PTZ systems in the multi-camera, and m is the number of at least two first PTZ systems in the multi-camera. In this case, the polarization angles of the polarizers of the polarization switching systems of the at least two first PTZ systems can be respectively:
[0093] (180 / n)°, 2×(180 / n)°, …, (n - 1)×(180 / n)°, n×(180 / n)°.
[0094] Specifically, it can be assumed that n is the number of PTZ systems in the multi-camera, and m is the number of at least two first PTZ systems in the multi-camera. When m is greater than 2 and less than n, the at least two first PTZ systems are PTZx, PTZy, …, PTZz; the polarization angles of the polarizers of the polarization switching systems of PTZx, PTZy, …, PTZz can be respectively:
[0095] X×(180 / n)°, y×(180 / n)°, …, z×(180 / n)°.
[0096] In some alternative embodiments, when the at least two first PTZ systems are two first PTZ systems, respectively adjusting the states of the polarization switching systems of the at least two first PTZ systems so that the polarization angles corresponding to the states of the at least two first PTZ systems are different includes:
[0097] Respectively switching the polarizers of the polarization switching systems of the two first PTZ systems so that the polarization angles of the polarizers at the target positions of the polarization switching systems of the two first PTZ systems are 0° and 90°.
[0098] Specifically, it can be assumed that n is the number of PTZ systems in the multi-camera, and m is the number of at least two first PTZ systems in the multi-camera. When m is equal to 2, the polarization angles of the polarizers of the two first PTZ systems can be 0° and 90° respectively.
[0099] Specifically, for a camera with an n - eye PTZ system, it can be implemented according to the polarization scheme shown in Table 1 below:
[0100] Table 1
[0101]
[0102]
[0103] For example, a multi-camera may include n PTZ systems. If there are two PTZ systems whose generated images overlap, the states of the polarization switching systems of these two PTZ systems are respectively adjusted to the states corresponding to 0° and 90°, and the states of the polarization switching systems of the remaining (n - 2) PTZ systems are adjusted to the unpolarized state; if there are m = 3 to (n - 1) PTZ systems whose generated images overlap, the states of the polarization switching systems of the m PTZ systems with overlapping images are respectively adjusted to the states corresponding to (180 / n)°, 2×(180 / n)°, ……, m×(180 / n)°, and the remaining polarization switching systems are switched to the unpolarized state; if the images generated by all n PTZ systems overlap, the states of the polarization switching systems of the n PTZ systems with overlapping images are respectively adjusted to the states corresponding to (180 / n)°, 2×(180 / n)°, ……, n×(180 / n)°; if there is no overlap, the polarization switching systems of all PTZ systems are switched to the unpolarized state.
[0104] For example, a multi-camera may include 3 PTZ systems. If there are two PTZ systems whose generated images overlap, the states of the polarization switching systems of these two PTZ systems are respectively adjusted to the states corresponding to 0° and 90°, and the remaining one polarization switching system is switched to the unpolarized state; if there are 3 PTZ systems with overlapping images, the states of the polarization switching systems of these three PTZ systems are respectively adjusted to the states corresponding to 60°, 120°, and 180°; if there is no overlap, the polarization switching systems of these three PTZ systems are all switched to the unpolarized state.
[0105] In some alternative embodiments, determining that there are at least two first PTZ systems among the multiple PTZ systems includes:
[0106] Obtaining the lens field of view angle data and / or PTZ pan-tilt data of the multiple PTZ systems in the shooting scene;
[0107] Based on the lens field of view angle data and / or PTZ pan-tilt data of the multiple PTZ systems in the shooting scene, determining that the images generated by the at least two first PTZ systems overlap in the shooting scene.
[0108] Figure 5 is a schematic diagram of the spherical coordinate system provided by the present invention. As Figure 5 shown, the PTZ pan-tilt data of a PTZ system can be represented in the spherical coordinate system as (r, θ, φ), where θ is the vertical rotation angle of the pan-tilt, φ is the horizontal rotation angle of the pan-tilt, and r is the object distance. r may not be involved in the determination calculation of whether the images overlap.
[0109] Specifically, if the field of view angle data of a PTZ system in a shooting scenario is α, then in the shooting scenario, the coverage area of the PTZ system is ψ(PTZ) = (r, θ + αsinβ, φ + αsinβ), where β = (0, 360°);
[0110] For n PTZ systems in a multi - camera: PTZ1, PTZ2, PTZ3,..., PTZn, it is possible to determine whether the images generated by the n PTZ systems overlap in the shooting scenario by checking whether there is an overlapping area among ψ1(PTZ1), ψ2(PTZ2), ψ3(PTZ3),..., ψn(PTZn), and further determine the number m of PTZ systems with overlapping areas.
[0111] For example, Figure 6 is one of the schematic diagrams of the determination method of the first PTZ system provided by the present invention. As Figure 6 shown, a multi - camera can include n PTZ systems. It is possible to obtain the field of view angle data of the lens of PTZ system 1 (field of view angle of lens 1) and the PTZ pan - tilt data (PTZ1 pan - tilt data), the field of view angle data of the lens of PTZ system 2 (field of view angle of lens 2) and the PTZ pan - tilt data (PTZ2 pan - tilt data), the field of view angle data of the lens of PTZ system 3 (field of view angle of lens 3) and the PTZ pan - tilt data (PTZ3 pan - tilt data),..., the field of view angle data of the lens of PTZ system n (field of view angle of lens n) and the PTZ pan - tilt data (PTZn pan - tilt data). Based on the aforementioned calculation method, perform data processing on the field of view angle data of the lens of PTZ system 1 (field of view angle of lens 1) and the PTZ pan - tilt data (PTZ1 pan - tilt data), the field of view angle data of the lens of PTZ system 2 (field of view angle of lens 2) and the PTZ pan - tilt data (PTZ2 pan - tilt data), the field of view angle data of the lens of PTZ system 3 (field of view angle of lens 3) and the PTZ pan - tilt data (PTZ3 pan - tilt data),..., the field of view angle data of the lens of PTZ system n (field of view angle of lens n) and the PTZ pan - tilt data (PTZn pan - tilt data) to calculate ψ1(PTZ1), ψ2(PTZ2), ψ3(PTZ3),..., ψn(PTZn). Then, if it is obtained that the images generated by m PTZ systems overlap in the shooting scenario, the states of the polarization switching system 1 of PTZ system 1, the polarization switching system 2 of PTZ system 2, the polarization switching system 3 of PTZ system 3,..., the polarization switching system n of PTZ system n can be adjusted based on the aforementioned polarization scheme.
[0112] For example, Figure 7 is the second schematic diagram of the determination method of the first PTZ system provided by the present invention. As Figure 7As shown, the multi-camera can include 3 PTZ systems, and can obtain the lens field of view angle data (lens 1 field of view angle) and PTZ pan-tilt data (PTZ1 pan-tilt data) of PTZ system 1, the lens field of view angle data (lens 2 field of view angle) and PTZ pan-tilt data (PTZ2 pan-tilt data) of PTZ system 2, and the lens field of view angle data (lens 3 field of view angle) and PTZ pan-tilt data (PTZ3 pan-tilt data) of PTZ system 3. Based on the foregoing calculation method, perform data processing on the lens field of view angle data (lens 1 field of view angle) and PTZ pan-tilt data (PTZ1 pan-tilt data) of PTZ system 1, the lens field of view angle data (lens 2 field of view angle) and PTZ pan-tilt data (PTZ2 pan-tilt data) of PTZ system 2, and the lens field of view angle data (lens 3 field of view angle) and PTZ pan-tilt data (PTZ3 pan-tilt data) of PTZ system 3, calculate ψ1(PTZ1), ψ2(PTZ2) and ψ3(PTZ3), and further obtain whether the generated images of m PTZ systems in the shooting scene overlap, then the state of the polarization switching system 1 of PTZ system 1, the state of the polarization switching system 2 of PTZ system 2, and the state of the polarization switching system 3 of PTZ system 3 can be adjusted based on the foregoing polarization scheme.
[0113] In one embodiment, Figure 8 is one of the flow diagrams of the state switching method provided by the present invention. As Figure 8 shown, the multi-camera can include n PTZ systems, and can obtain the lens field of view angle data and PTZ pan-tilt data (pan-tilt vertical rotation angle θ1, pan-tilt horizontal rotation angle φ1, lens diagonal field of view angle α1) of PTZ system 1, the lens field of view angle data and PTZ pan-tilt data (θ2, φ2, α2) of PTZ system 2, the lens field of view angle data and PTZ pan-tilt data (θ3, φ3, α3) of PTZ system 3,..., and the lens field of view angle data and PTZ pan-tilt data (θn, φn, αn) of PTZ system n; based on the foregoing calculation method, calculate ψ1(PTZ1) for (θ1, φ1, α1), calculate ψ2(PTZ2) for (θ2, φ2, α2), calculate ψ3(PTZ3) for (θ3, φ3, α3),..., calculate ψn(PTZn) for (θn, φn, αn), and then determine whether there is an overlapping area among ψ1(PTZ1), ψ2(PTZ2), ψ3(PTZ3),..., ψn(PTZn), and further determine the number of overlapping areas, then the first PTZ system with overlapping images can be determined; furthermore, based on the state switching scheme provided in Table 1, the state of the polarization switching system of each PTZ pan-tilt data can be adjusted:
[0114] ① In the case where there is overlap in the images of n first PTZ systems, the states of the polarization switching systems of the n first PTZ systems with overlapping images are adjusted to the states corresponding to (180 / n)°, 2×(180 / n)°, ……, n×(180 / n)°; ② If there is no overlap, the polarization switching systems of all PTZ systems are switched to the non-polarized state; ③ In the case where there is overlap in the images of two first PTZ systems, the states of the two first PTZ systems are respectively adjusted to the states corresponding to 0° and 90°, and the states of the polarization switching systems of the other PTZ systems are adjusted to the non-polarized state; ④ In the case where there is overlap in the images generated by m = 3 to (n - 1) first PTZ systems, the states of the polarization switching systems of the m first PTZ systems with overlapping images are respectively adjusted to the states corresponding to (180 / n)°, 2×(180 / n)°, ……, m×(180 / n)°, and the states of the polarization switching systems of the other PTZ systems are adjusted to the non-polarized state.
[0115] In one embodiment, Figure 9 is the second flowchart of the state switching method provided by the present invention. As Figure 9 shown, the multi-camera can include 3 PTZ systems, and can obtain the lens field of view angle data and PTZ pan-tilt data (θ1, φ1, α1) of PTZ system 1, the lens field of view angle data and PTZ pan-tilt data (θ2, φ2, α2) of PTZ system 2, and the lens field of view angle data and PTZ pan-tilt data (θ3, φ3, α3) of PTZ system 3; based on the foregoing calculation method, ψ1(PTZ1) is calculated for (θ1, φ1, α1), ψ2(PTZ2) is calculated for (θ2, φ2, α2), and ψ3(PTZ3) is calculated for (θ3, φ3, α3), and then it is determined whether there is an overlapping area among ψ1(PTZ1), ψ2(PTZ2), and ψ3(PTZ3), and further the number of overlapping areas can be determined, so that the first PTZ systems with overlapping images can be determined; furthermore, based on the state switching scheme provided in Table 2, the states of the polarization switching systems of each PTZ pan-tilt data can be adjusted:
[0116] ① When the images of all three first PTZ systems overlap, the states of the polarization switching systems of the three first PTZ systems with overlapping images are respectively adjusted to the states corresponding to 60°, 120°, and 180°; ② If there is no overlap, the polarization switching systems of all PTZ systems are switched to the non-polarized state; ③ When the images of two first PTZ systems overlap, the states of the two first PTZ systems (PTZx and PTZy) are respectively adjusted to the states corresponding to 0° and 90°, and the polarization switching systems of the polarizing films of the other PTZ system (PTZz) are switched to the non-polarized state.
[0117] Table 2
[0118]
[0119]
[0120] The present invention prevents fill light interference through polarization fill light, sets a switchable or rotatable polarizing film at the front end of the fill light and the lens end, and uses the lens field of view angle data and the PTZ rotation coordinates for determination to ensure that when multiple lenses monitor the same scene, polarization fill light at a certain angle is used to prevent fill light interference; when the monitored scenes of each lens do not overlap, it is switched to conventional fill light to ensure the fill light brightness. The present invention can not only improve the image flashlight problem but also ensure the image effect of the conventional monitoring scene.
[0121] The shooting device provided by the present invention is described below, and the shooting device described below can be mutually corresponded and referred to with the shooting method described above.
[0122] Figure 10 is a schematic structural diagram of the shooting device provided by the present invention, which is applied to a multi-camera. The multi-camera includes multiple PTZ systems as shown in Figure 2 ; as shown in Figure 10 , the shooting device 1000 includes:
[0123] An adjustment module 1010, configured to, when it is determined that there are at least two first PTZ systems among the multiple PTZ systems, respectively adjust the states of the polarization switching systems of the at least two first PTZ systems, so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, where the images generated by the at least two first PTZ systems in the shooting scene overlap;
[0124] A shooting module 1020, configured to perform shooting in the shooting scene.
[0125] It should be noted that each module of the shooting device 1000 can implement the embodiments of the foregoing shooting methods and achieve relevant technical effects, which will not be elaborated here.
[0126] The shooting device provided by the present invention is provided with polarization switching systems capable of switching states corresponding to multiple polarization angles at the lens ends and fill light ends of multiple PTZ systems respectively. When it is determined that there are at least two first PTZ systems with overlapping images generated in the shooting scene, the states of the polarization switching systems of the at least two first PTZ systems are adjusted respectively, so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, thereby reducing the fill light when multiple groups of lenses illuminate the same scene, preventing fill light interference, and weakening the spot brightness of the captured image to improve the flashlight effect of the image.
[0127] Figure 12 An example of the structural schematic diagram of a multi-camera is as Figure 12 shown. The multi-camera includes multiple pan-tilt-zoom (PTZ) systems that can rotate 360 degrees in all directions. Polarization switching systems are provided at the lens ends and fill light ends of each PTZ system. The states of the polarization switching systems include a non-polarized state and multiple states corresponding to multiple polarization angles respectively. This multi-camera can execute the shooting methods provided by the above various methods. The methods include:
[0128] When it is determined that there are at least two first PTZ systems among the multiple PTZ systems, the states of the polarization switching systems of the at least two first PTZ systems are adjusted respectively, so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, where the images generated by the at least two first PTZ systems overlap in the shooting scene;
[0129] Shoot in the shooting scene.
[0130] It should be noted that this multi-camera can implement the above various shooting methods with the multi-camera as the execution subject and achieve the same technical effects, which will not be elaborated here.
[0131] Figure 11 An example of the physical structure schematic diagram of a multi-camera is as Figure 11As shown in the figure, the multi-camera may include: a processor 1110, a communications interface 1120, a memory 1130, and a communication bus 1140. Among them, the processor 1110, the communications interface 1120, and the memory 1130 complete communication with each other through the communication bus 1140. The processor 1110 may call the logical instructions in the memory 1130 to execute a shooting method, which is applied to the multi-camera. The multi-camera includes a plurality of omnidirectional PTZ systems. A polarization switching system is provided at the lens end and the fill light end of each PTZ system. The states of the polarization switching system include a non-polarized state and a plurality of states corresponding to a plurality of polarization angles respectively. The method includes:
[0132] When it is determined that there are at least two first PTZ systems among the plurality of PTZ systems, the states of the polarization switching systems of the at least two first PTZ systems are respectively adjusted so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, wherein the images generated by the at least two first PTZ systems overlap in the shooting scene;
[0133] Shoot in the shooting scene.
[0134] In addition, when the logical instructions in the above-mentioned memory 1130 are implemented in the form of software functional units and sold or used as an independent product, they may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, may be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.
[0135] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the shooting method provided by each of the above methods. This method is applied to a multi-camera, and the multi-camera includes a plurality of pan-tilt-zoom (PTZ) systems with omnidirectional pan-tilt units. A polarization switching system is provided at the lens end and the fill light end of each PTZ system. The states of the polarization switching system include a non-polarized state and a plurality of states corresponding to a plurality of polarization angles respectively. The method includes:
[0136] When it is determined that there are at least two first PTZ systems among the plurality of PTZ systems, the states of the polarization switching systems of the at least two first PTZ systems are respectively adjusted so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, wherein the images generated by the at least two first PTZ systems overlap in the shooting scene;
[0137] Shoot in the shooting scene.
[0138] On another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the shooting method provided by each of the above methods. This method is applied to a multi-camera, and the multi-camera includes a plurality of pan-tilt-zoom (PTZ) systems with omnidirectional pan-tilt units. A polarization switching system is provided at the lens end and the fill light end of each PTZ system. The states of the polarization switching system include a non-polarized state and a plurality of states corresponding to a plurality of polarization angles respectively. The method includes:
[0139] When it is determined that there are at least two first PTZ systems among the plurality of PTZ systems, the states of the polarization switching systems of the at least two first PTZ systems are respectively adjusted so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, wherein the images generated by the at least two first PTZ systems overlap in the shooting scene;
[0140] Shoot in the shooting scene.
[0141] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0142] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0143] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A shooting method, characterized in that, it is applied to a multi-camera, the multi-camera includes a plurality of pan-tilt-zoom (PTZ) systems with all-round orientation, and a polarization switching system is provided at the lens end and the fill light end of each PTZ system. The states of the polarization switching system include a non-polarized state and a plurality of states corresponding to a plurality of polarization angles respectively. The method includes: When it is determined that there are at least two first PTZ systems among the plurality of PTZ systems, respectively adjust the states of the polarization switching systems of the at least two first PTZ systems so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, wherein, the images generated by the at least two first PTZ systems in the shooting scene overlap; Shoot in the shooting scene.
2. The shooting method according to claim 1, characterized in that, before shooting in the shooting scene, the method further includes: When it is determined that there is at least one second PTZ system among the plurality of PTZ systems, adjust the state of the polarization switching system of the at least one second PTZ system so that the state of the at least one second PTZ system is a non-polarized state, wherein, the image generated by the second PTZ system in the shooting scene does not overlap with the images generated by the plurality of PTZ systems in the shooting scene.
3. The shooting method according to claim 1 or 2, characterized in that, the polarization switching system includes a non-polarized glass sheet and / or a polarizer; when the target position of the polarization switching system is the polarizer, the state of the polarization switching system is the state corresponding to the polarization angle of the polarizer; when the target position of the polarization switching system is the non-polarized glass sheet, the state of the polarization switching system is the non-polarized state.
4. The shooting method according to claim 3, characterized in that, the polarizer includes at least one of the following: a plurality of polarizers corresponding to a plurality of polarization angles respectively, at least one polarizer with an adjustable polarization angle.
5. The shooting method according to claim 3, characterized in that, when the number of the at least two first PTZ systems is greater than 2, the step of respectively adjusting the states of the polarization switching systems of the at least two first PTZ systems so that the polarization angles corresponding to the states of the at least two first PTZ systems are different includes: respectively switch the polarizers of the polarization switching systems of the at least two first PTZ systems so that the polarization angle sequence increases or decreases based on a fixed angle difference, and the difference between the maximum value and the minimum value in the polarization angle sequence is less than or equal to 180 degrees; wherein, the polarization angle sequence is composed of the polarization angles of the polarizers at the target positions of the polarization switching systems of the at least two first PTZ systems.
6. The shooting method according to claim 3, characterized in that, when the at least two first PTZ systems are two first PTZ systems, the step of respectively adjusting the states of the polarization switching systems of the at least two first PTZ systems so that the polarization angles corresponding to the states of the at least two first PTZ systems are different includes: Switch the polarizers of the polarization switching systems of the two first PTZ systems respectively, so that the polarization angles of the polarizers at the target positions of the polarization switching systems of the two first PTZ systems are 0° and 90°.
7. The shooting method according to claim 1, wherein, the determination that there are at least two first PTZ systems among the plurality of PTZ systems includes: obtaining the lens field of view angle data and / or PTZ pan-tilt data of the plurality of PTZ systems in the shooting scene; based on the lens field of view angle data and / or PTZ pan-tilt data of the plurality of PTZ systems in the shooting scene, determining that the images generated by the at least two first PTZ systems in the shooting scene overlap.
8. A shooting device, wherein, applied to a multi-camera, the multi-camera includes a plurality of pan-tilt-zoom (PTZ) systems with all-round pan-tilt capabilities, and a polarization switching system is provided at the lens end and the fill light end of each PTZ system. The states of the polarization switching system include a non-polarized state and a plurality of states corresponding to a plurality of polarization angles respectively. The device includes: an adjustment module, configured to, when it is determined that there are at least two first PTZ systems among the plurality of PTZ systems, adjust the states of the polarization switching systems of the at least two first PTZ systems respectively, so that the polarization angles corresponding to the states of the at least two first PTZ systems are different, wherein the images generated by the at least two first PTZ systems in the shooting scene overlap; a shooting module, configured to perform shooting in the shooting scene.
9. A multi-camera, wherein, it includes a plurality of pan-tilt-zoom (PTZ) systems with all-round pan-tilt capabilities, and a polarization switching system is provided at the lens end and the fill light end of each PTZ system. The states of the polarization switching system include a non-polarized state and a plurality of states corresponding to a plurality of polarization angles respectively. It further includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the steps of the shooting method according to any one of claims 1 to 6.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, wherein, when the computer program is executed by a processor, it implements the steps of the shooting method according to any one of claims 1 to 6.