WO2022126375A1 - Zooming method, imaging device, gimbal and movable platform - Google Patents
Zooming method, imaging device, gimbal and movable platform Download PDFInfo
- Publication number
- WO2022126375A1 WO2022126375A1 PCT/CN2020/136515 CN2020136515W WO2022126375A1 WO 2022126375 A1 WO2022126375 A1 WO 2022126375A1 CN 2020136515 W CN2020136515 W CN 2020136515W WO 2022126375 A1 WO2022126375 A1 WO 2022126375A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- zoom
- imaging
- target
- imaging devices
- instruction
- Prior art date
Links
- 238000003384 imaging method Methods 0.000 title claims abstract description 730
- 238000000034 method Methods 0.000 title claims abstract description 103
- 230000001960 triggered effect Effects 0.000 claims description 18
- 238000013507 mapping Methods 0.000 claims description 17
- 230000008569 process Effects 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 8
- 230000036632 reaction speed Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 12
- 238000012545 processing Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 7
- 230000036544 posture Effects 0.000 description 5
- 238000007689 inspection Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 230000003749 cleanliness Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000003331 infrared imaging Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/12—Target-seeking control
Definitions
- the invention belongs to the field of imaging technology, and in particular relates to a zoom method, an imaging device, a pan-tilt and a movable platform.
- Imaging devices are suitable for different application scenarios and can meet the needs of different scenarios.
- different types of imaging devices are usually used in combination. For example, combining visible light cameras and infrared cameras, mounted on drones, and applied to fire protection, power inspection, photovoltaic inspection, security and other industries can greatly improve operational efficiency.
- each imaging device is usually controlled independently, which makes it impossible to uniformly control multiple imaging devices.
- the present invention provides a zoom method, an imaging device, a pan-tilt head and a movable platform, so as to solve the problem that the zoom cannot be controlled uniformly in the application scene of multiple imaging devices.
- an embodiment of the present invention provides a zooming method, which is applied to an electronic device including a plurality of imaging devices, and the method includes:
- the zoom instruction includes zoom parameters for adjusting the focal lengths of the plurality of imaging devices
- the focal lengths of the plurality of imaging devices are adjusted according to the zoom parameters in the zoom instruction.
- the plurality of imaging devices perform imaging according to light in different wavelength ranges.
- the plurality of imaging devices include at least two of the following: visible light cameras, infrared cameras, and ultraviolet cameras.
- the method before the step of acquiring the zoom instruction, the method further includes:
- zoom control receiving a first input to a zoom control, wherein the zoom control is used to adjust the focus of at least two of the plurality of imaging devices;
- the zoom instruction is generated according to the first input.
- generating the zoom instruction according to the first input includes:
- the zoom instruction is generated according to the zoom parameter.
- obtaining the zoom parameter according to the first input includes:
- the zoom parameter is acquired according to the numerical value currently indicated by the zoom control; wherein, the numerical value currently indicated is the numerical value obtained through the first input.
- the zoom controls include virtual controls or physical controls.
- the method before the step of receiving the first input to the zoom control, the method further includes:
- the zoom control in the first zoom mode, can adjust the focal length of one of the at least two imaging devices, and in the second zoom mode, the zoom control can adjust the at least two The focal length of the imaging device.
- the first target control includes a virtual control or an entity control.
- the method further includes:
- the zoom mode of the electronic device is switched from the second zoom mode to the first zoom mode.
- the method further includes:
- the focus adjustment object of the zoom control is switched between the at least two imaging devices.
- the second target control includes a virtual control or an entity control.
- the method further includes:
- the focal lengths of the at least two imaging devices are adjusted to the same focal length value.
- the method further includes:
- the method before the step of acquiring the zoom instruction, the method further includes:
- the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object.
- the method further includes:
- the at least two imaging devices track and focus the same target object, acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices;
- the zoom instruction is generated according to the imaging scale.
- the acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices includes:
- the at least two imaging devices include a first imaging device and a second imaging device device, the first picture is a picture acquired by the first imaging device, and the second picture is a picture acquired by the second imaging device.
- generating the zoom instruction according to the imaging scale includes:
- the zoom parameter In the case where the scale value of the image of the target object in the first target picture is not within a preset value range, obtain the zoom parameter; wherein, the focal length value in the zoom parameter is used to convert the image of the target object
- the scale value in the first target picture is adjusted to be within the preset value range; wherein, the first target picture is the first picture and/or the second picture.
- the zoom instruction is generated according to the zoom parameter.
- the method further includes:
- the multiple imaging devices track and focus on the same target object, acquiring a field of view parameter, where the field of view parameter is used to make the field of view of the multiple imaging devices in a preset ratio;
- the zoom parameter corresponding to the field of view parameter is obtained by calculating
- the zoom instruction is generated according to the zoom parameter.
- the angle of view of the plurality of imaging devices being in a preset ratio includes: the angle of view of at least two imaging devices of the plurality of imaging devices is the same.
- the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same.
- the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, including:
- the imaging position of the target object on the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures.
- the method before the step of acquiring the tracking instruction, the method further includes:
- the second target picture is an imaging picture of a first imaging device among the at least two imaging devices
- the imaging pictures of the at least two imaging devices determine the region of the image of the target object in each of the remaining target pictures, wherein the remaining The target picture is an imaging picture of an imaging device other than the first imaging device among the at least two imaging devices;
- a tracking instruction for tracking and focusing the target objects in the second target picture and each of the remaining target pictures is generated.
- the acquiring the area of the image of the target object in the second target picture includes:
- a selection operation on a first area in the second target picture is received; wherein, the first area is an area including an image of the target object.
- determining that the image of the target object is in each remaining target frame according to the relationship between the imaging frames of the at least two imaging devices and the area of the image of the target object in the second target frame area, including:
- the coordinate information of the first area in the second target picture and the preset coordinate mapping relationship between the second target picture and each of the remaining target pictures determine in each of the remaining target pictures A second area that includes the target object.
- the acquiring the area of the image of the target object in the second target picture includes:
- meeting the preset condition is the highest temperature and/or the lowest temperature.
- the preset condition is satisfied that the temperature is greater than the first temperature threshold and/or the temperature is less than the second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold.
- the adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction includes:
- the focal lengths of the plurality of imaging devices are changed according to a preset ratio.
- the focal lengths of multiple imaging devices are changed according to a preset ratio, including:
- the target value corresponding to each imaging device is determined according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the plurality of imaging devices.
- the zoom parameter indicates the target value.
- the ratio between the zoom value and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device;
- the focal lengths of the plurality of imaging devices are adjusted to respective corresponding target values.
- the adjusting the focal lengths of the plurality of imaging devices includes:
- the focal lengths of a plurality of imaging devices are changed in tandem.
- the step of causing the focal lengths of the multiple imaging devices to change in a coordinated manner includes:
- the focal lengths of the plurality of imaging devices are sequentially changed in a preset ratio.
- an embodiment of the present invention provides an imaging device, which is applied to an electronic device including multiple imaging devices, where the imaging device includes a computer-readable storage medium and a processor; the processor is configured to perform the following operations:
- the zoom instruction includes zoom parameters for adjusting the focal lengths of the plurality of imaging devices
- the focal lengths of the plurality of imaging devices are adjusted according to the zoom parameters in the zoom instruction.
- the plurality of imaging devices perform imaging according to light in different wavelength ranges.
- the plurality of imaging devices include at least two of the following: visible light cameras, infrared cameras, and ultraviolet cameras.
- the processor is further configured to perform the following operations:
- zoom control receiving a first input to a zoom control, wherein the zoom control is used to adjust the focus of at least two of the plurality of imaging devices;
- the zoom instruction is generated according to the first input.
- generating the zoom instruction according to the first input includes:
- the zoom instruction is generated according to the zoom parameter.
- obtaining the zoom parameter according to the first input includes:
- the zoom parameter is acquired according to the numerical value currently indicated by the zoom control; wherein, the numerical value currently indicated is the numerical value obtained through the first input.
- the zoom controls include virtual controls or physical controls.
- the processor before the step of receiving the first input to the zoom control, the processor is further configured to perform the following operations:
- the zoom control in the first zoom mode, can adjust the focal length of one of the at least two imaging devices, and in the second zoom mode, the zoom control can adjust the at least two The focal length of the imaging device.
- the first target control includes a virtual control or an entity control.
- the processor is further configured to perform the following operations:
- the zoom mode of the electronic device is switched from the second zoom mode to the first zoom mode.
- the processor is further configured to execute the following operate:
- the focus adjustment object of the zoom control is switched between the at least two imaging devices.
- the second target control includes a virtual control or an entity control.
- the processor is further configured to perform the following operations:
- the focal lengths of the at least two imaging devices are adjusted to the same focal length value.
- the processor is further configured to perform the following operations:
- the processor is further configured to perform the following operations:
- the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object.
- the processor is further configured to perform the following operations:
- the at least two imaging devices track and focus the same target object, acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices;
- the zoom instruction is generated according to the imaging scale.
- the acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices includes:
- the at least two imaging devices include a first imaging device and a second imaging device device, the first picture is a picture acquired by the first imaging device, and the second picture is a picture acquired by the second imaging device.
- generating the zoom instruction according to the imaging scale includes:
- the zoom parameter In the case where the scale value of the image of the target object in the first target picture is not within a preset value range, obtain the zoom parameter; wherein, the focal length value in the zoom parameter is used to convert the image of the target object
- the scale value in the first target picture is adjusted to be within the preset value range; wherein, the first target picture is the first picture and/or the second picture.
- the zoom instruction is generated according to the zoom parameter.
- the processor is further configured to perform the following operations:
- the multiple imaging devices track and focus on the same target object, acquiring a field of view parameter, where the field of view parameter is used to make the field of view of the multiple imaging devices in a preset ratio;
- the zoom parameter corresponding to the field of view parameter is obtained by calculating
- the zoom instruction is generated according to the zoom parameter.
- the angle of view of the plurality of imaging devices being in a preset ratio includes: the angle of view of at least two imaging devices of the plurality of imaging devices is the same.
- the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same.
- the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, including:
- the imaging position of the target object on the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures.
- the processor is further configured to perform the following operations:
- the second target picture is an imaging picture of a first imaging device among the at least two imaging devices
- the imaging pictures of the at least two imaging devices determine the region of the image of the target object in each of the remaining target pictures, wherein the remaining The target picture is an imaging picture of an imaging device other than the first imaging device among the at least two imaging devices;
- a tracking instruction for tracking and focusing the target objects in the second target picture and each of the remaining target pictures is generated.
- the acquiring the area of the image of the target object in the second target picture includes:
- a selection operation on a first area in the second target picture is received; wherein, the first area is an area including an image of the target object.
- determining that the image of the target object is in each remaining target frame according to the relationship between the imaging frames of the at least two imaging devices and the area of the image of the target object in the second target frame area, including:
- the coordinate information of the first area in the second target picture and the preset coordinate mapping relationship between the second target picture and each of the remaining target pictures determine in each of the remaining target pictures A second area that includes the target object.
- the acquiring the area of the image of the target object in the second target picture includes:
- meeting the preset condition is the highest temperature and/or the lowest temperature.
- the preset condition is satisfied that the temperature is greater than the first temperature threshold and/or the temperature is less than the second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold.
- the adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction includes:
- the focal lengths of the plurality of imaging devices are changed according to a preset ratio.
- the focal lengths of multiple imaging devices are changed according to a preset ratio, including:
- the target value corresponding to each imaging device is determined according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the plurality of imaging devices.
- the zoom parameter indicates the target value.
- the ratio between the zoom value and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device;
- the focal lengths of the plurality of imaging devices are adjusted to respective corresponding target values.
- the adjusting the focal lengths of the plurality of imaging devices includes:
- the focal lengths of a plurality of imaging devices are changed in tandem.
- the step of causing the focal lengths of the multiple imaging devices to change in a coordinated manner includes:
- the focal lengths of the plurality of imaging devices are sequentially changed in a preset ratio.
- an embodiment of the present invention provides a pan/tilt head, including an axial movement device, and the imaging device according to the second aspect whose orientation is controlled by the axial movement device.
- an embodiment of the present invention provides a movable platform, which is characterized by comprising a body, and the imaging device according to the second aspect mounted on the body.
- an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the following operations are implemented:
- the zoom instruction includes zoom parameters for adjusting the focal lengths of multiple imaging devices in the electronic device;
- the focal lengths of the plurality of imaging devices are adjusted according to the zoom parameters in the zoom instruction.
- the focal lengths of multiple imaging devices can be adjusted according to the zoom parameters in the zoom instruction, so as to realize unified zooming of multiple imaging devices, thereby reducing the difficulty of zooming operation of multiple imaging devices and response speed, improve the work efficiency of subsequent steps such as multi-camera follow focus, multi-camera linked zoom, intelligent monitoring, and intelligent tracking.
- FIG. 1 is a flowchart of steps of a zooming method provided by an embodiment of the present invention.
- FIG. 2 is one of the schematic diagrams showing the display screen of the electronic device in the embodiment of the present invention.
- FIG 3 is the second schematic diagram showing the display screen of the electronic device in the embodiment of the present invention.
- FIG. 4 is the third schematic diagram showing the display screen of the electronic device in the embodiment of the present invention.
- FIG. 5 is a schematic diagram showing a zoom control for performing optical zooming in an embodiment of the present invention.
- FIG. 6 is a schematic diagram showing a zoom control for digital zooming provided by an embodiment of the present invention.
- FIG. 7 is the fourth schematic diagram showing the display screen of the electronic device in the embodiment of the present invention.
- FIG. 8 is a block diagram of an imaging device provided by an embodiment of the present invention.
- FIG. 9 is a schematic diagram of a hardware structure of a device implementing various embodiments of the present invention.
- FIG. 10 is a block diagram of a computing processing device provided by an embodiment of the present invention.
- FIG. 11 is a block diagram of a portable or fixed storage unit according to an embodiment of the present invention.
- FIG. 1 is a flowchart of steps of a zoom method provided by an embodiment of the present invention. As shown in FIG. 1 , the method is applied to an electronic device including multiple imaging devices, including:
- Step 101 Acquire a zoom instruction.
- the zoom instruction includes zoom parameters for adjusting the focal lengths of the multiple imaging devices.
- the zoom parameter may be a focal length value, that is, a corresponding focal length value after the imaging device is zoomed.
- the zoom parameter may also be other parameters associated with the focal length value, the other parameters have a fixed relationship with the focal length value, and the corresponding focal length value can be calculated according to the other parameters through a preset calculation method.
- Step 102 Adjust the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction.
- the same zoom instruction can adjust the focal lengths of multiple imaging devices.
- the imaging device is a device that performs imaging according to light, and the imaging devices can be classified based on the wavelength range of the light on which the imaging device is imaging. Imaging devices of the same type will image based on light in the same wavelength range; imaging devices of different types will image based on light in different wavelength ranges.
- the multiple imaging devices in the electronic device may be the same type of imaging device, or may be different types of imaging devices.
- the imaging device may be a camera, a mobile phone, or the like.
- the focal lengths of at least two of the plurality of imaging devices can be adjusted according to the zoom parameter.
- Adjusting the focal length of the imaging device means adjusting the focal length of the lens in the imaging device, which is often referred to as optical zoom.
- adjusting the focal length of the imaging device can also be understood as adjusting the parameters associated with the digital zoom in the imaging device, so as to achieve a zoom effect.
- the focal lengths of multiple imaging devices can be adjusted according to the zoom parameters in the zoom instruction, so as to realize unified zooming of the multiple imaging devices, thereby reducing the operational difficulty and difficulty of zooming the multiple imaging devices.
- the response speed improves the work efficiency of subsequent steps such as multi-camera follow focus, multi-camera linked zoom, intelligent monitoring, and intelligent tracking.
- a plurality of imaging devices perform imaging according to light of different wavelength ranges.
- light can be classified into visible light, infrared light, ultraviolet light, etc. according to different wavelength ranges
- imaging devices that perform imaging according to light in different wavelength ranges can be applied to different scenarios.
- the multiple imaging devices in the embodiments of the present invention perform imaging according to light in different wavelength ranges.
- the plurality of imaging devices include at least two of the following: visible light cameras, infrared cameras, and ultraviolet cameras.
- visible light cameras infrared cameras
- ultraviolet cameras ultraviolet cameras.
- the cooperation of visible light cameras and infrared cameras can greatly improve operational efficiency in fire protection, power inspection, photovoltaic inspection, security and other industries.
- the visible light camera is used to obtain high-definition images while the ultraviolet camera is used to obtain images under ultraviolet light, so as to achieve the scene requirements that require both the visible light camera and the ultraviolet camera for operation.
- the infrared camera is used for infrared imaging
- the ultraviolet camera is used to obtain images under ultraviolet radiation, so as to meet the scene requirements that require both the infrared camera and the ultraviolet camera for operation.
- multiple imaging devices can also be understood as the same device including multiple imaging modules, for example, the multiple imaging devices can include a visible light camera and an infrared camera; it can also be a dual-light camera, wherein the dual-light camera is provided with two imaging devices Modules, one imaging module uses visible light imaging, and the other imaging module uses infrared light imaging.
- the wavelength range on which the visible light camera is usually imaged is a certain wavelength range within the visible light wavelength range. That is to say, the wavelength ranges on which the imaging of different visible light cameras is based may be different wavelength ranges within the visible light wavelength range.
- An imaging device that performs imaging For example, the wavelength range of visible light is 390 nanometers to 780 nanometers.
- the first imaging device in the plurality of imaging devices can be a visible light camera that performs imaging based on visible light of 390 nanometers to 600 nanometers, and the second imaging device can be based on 500 nanometers to 700 nanometers. Visible light camera for imaging with visible light.
- multiple imaging devices perform imaging according to light in different wavelength ranges, so that they can be applied to more application scenarios.
- the multiple imaging images collected by the multiple imaging devices may be images displayed on the display screen of the electronic device, and the imaging images of different imaging devices may be displayed on different display screens;
- a display screen is divided into multiple display areas, and each display area displays an imaging image of an imaging device; the above method can ensure that the details of different imaging images are presented separately.
- the same screen mode can also be used to display multiple imaging images on the same display screen, and at least some of the images overlap, for example, the imaging centers of the multiple imaging images are placed at the same point on the same display screen; Intuitively comparing the differences between different imaging pictures, and under the condition that the field angles of different imaging pictures are at least partially aligned, it is also possible to quickly locate the position of the same point on different imaging pictures.
- the method before the step of acquiring the zoom instruction, the method further includes:
- a first input to the zoom control is received.
- the zoom control is used to adjust the focal length of at least two imaging devices in the plurality of imaging devices. That is, zooming of at least two imaging devices on the electronic device can be achieved through the zoom control.
- the zoom controls include virtual controls or physical controls. That is, the virtual control displayed in the display screen of the electronic device can be used as a zoom control, as shown in FIG.
- the zoom control can also use physical controls on the electronic device, for example, a joystick, a key, a sliding key, etc., as the zoom control.
- the first input here may be input such as click, slide, long press, toggle, and open.
- the first input may also include a preset instruction, such as an input instruction that can be triggered when a specific condition is met, and the specific condition includes a specific time (segment), a specific location, and the data sensed by the sensor reaches a threshold.
- a zoom instruction is generated.
- a zoom instruction may be generated through the user's manipulation of the zoom control, so that unified zooming of at least two imaging devices among the plurality of imaging devices can be implemented according to the zoom instruction.
- generating a zoom instruction according to the first input including:
- the zoom parameter is obtained.
- zoom parameters need to be used.
- the zoom parameter can be acquired through a first input to the zoom control, and the zoom parameter is associated with the first input.
- a zoom command is generated.
- the zoom instruction may be an instruction in a preset format, and the zoom instruction is generated according to the zoom parameter, that is, an instruction in a preset format carrying the zoom parameter is generated.
- the zoom parameters required in the zooming process of the imaging device are obtained first, and then the zoom instruction is regenerated according to the zoom parameters.
- obtain zoom parameters according to the first input including:
- the currently indicated numerical value is the numerical value obtained by the first input.
- the zoom control can correspond to multiple numerical values, and the current corresponding numerical value can be switched through the first input. Among them, the current corresponding value is the currently indicated value.
- the zoom control can be a fixed-length virtual control with a scale, and is provided with a slidable slider. The user slides the slider through the first input, and the scale value at the position of the slider is the value currently indicated by the zoom control.
- the zoom control can also be a physical button, the user will adjust the value currently indicated by the physical button by first inputting the physical button.
- the zoom parameter can be determined conveniently and quickly according to the value currently indicated by the zoom parameter.
- the method before the step of receiving the first input to the zoom control, the method further includes:
- a second input to the first target control is received.
- the first target control includes a virtual control or an entity control. That is, the virtual control displayed on the display screen of the electronic device can be used as the first target control.
- a physical control on the electronic device may also be used as the second target control, for example, a joystick, a button, a sliding key, etc., may be used as the first target control.
- the second input here can be input such as click, slide, long press, toggle, and open.
- the second input may also include a preset instruction, for example, an input instruction that can be triggered when a specific condition is met, and the specific condition includes a specific time (segment), a specific location, the data sensed by the sensor reaches a threshold, and the like.
- the zoom mode of the electronic device is switched from the first zoom mode to the second zoom mode.
- the first target control can realize switching of the zoom mode of the electronic device.
- the electronic device includes at least two zoom modes.
- the zoom control can adjust the focal length of one of the at least two imaging devices, that is, to realize zooming on one imaging device; in the second zoom mode, zoom The control can adjust the focal lengths of the at least two imaging devices, that is, realize unified zooming of the at least two imaging devices.
- prompt information for prompting the current zoom mode is displayed on the electronic device, and different zoom modes can be indicated through different patterns displayed on the first target control. For example, a lock pattern is displayed on the first target control.
- the lock pattern is the pattern that has been unlocked; in the second zoom mode, the lock pattern is the pattern that has been locked, but Not limited to this.
- FIG. 3 it is a schematic diagram of a display screen of an electronic device, which includes a first display area 31 for displaying an imaging picture of a first imaging device in at least two imaging devices, and an imaging image in a second imaging device in the at least two imaging devices.
- the second display area 32, the zoom control 33, and the first target control 34 of the screen switch the zoom mode of the electronic device by inputting the first target control 34.
- the first target control 34 displays a locked pattern. , indicating that the current zoom mode is the second zoom mode.
- the user can switch the zoom mode through the first target control, and switch the zoom mode of the electronic device to the second zoom mode that can uniformly zoom at least two imaging devices, so as to meet user needs.
- the method further includes:
- a third input to the first target control is received.
- the third input here can be input such as click, slide, long press, toggle, and open.
- the third input may also include a preset instruction, for example, an input instruction that can be triggered when a specific condition is met, and the specific condition includes a specific time (segment), a specific location, the data sensed by the sensor reaches a threshold, and the like.
- the zoom mode of the electronic device is switched from the second zoom mode to the first zoom mode.
- the zoom control in the first zoom mode, can adjust the focal length of one of the at least two imaging devices, that is, realize zooming of one imaging device.
- the same number of zoom controls as the imaging devices are displayed, and each zoom control is used to zoom one imaging device, but is not limited thereto.
- the user can switch the zoom mode through the first target control, and switch the zoom mode of the electronic device to the first zoom mode that can zoom an imaging device, so as to meet the user's needs.
- the method further includes:
- a fourth input to the second target control is received.
- the second target control includes a virtual control or an entity control. That is, the virtual control displayed on the display screen of the electronic device can be used as the second target control.
- a physical control on the electronic device may also be used as the second target control, for example, a joystick, a button, a sliding key, etc., may be used as the second target control.
- the fourth input here can be input such as click, slide, long press, toggle, and open.
- the fourth input may also include a preset instruction, for example, an input instruction that can be triggered when a specific condition is met, and the specific condition includes a specific time (segment), a specific location, the data sensed by the sensor reaches a threshold, and the like. According to the fourth input, the focus adjustment object of the zoom control is switched between the at least two imaging devices.
- FIG. 4 it is a schematic diagram of a display screen of an electronic device, which includes a first display area 41 for displaying the imaging picture of the first imaging device in the at least two imaging devices, and displaying the imaging image of the second imaging device in the at least two imaging devices.
- the second display area 42 , the zoom control 43 and the second target control 44 of the screen switch the focus adjustment object of the zoom control 43 by inputting the second target control 44 .
- different logos may be displayed on the second target control 44 to indicate the current focus adjustment object of the zoom control 43 .
- IR/VIS is displayed on the second target control 44.
- IR When IR is in a highlighted state, or when only IR is displayed on the second target control 44, it indicates that the current focus adjustment object of the zoom control 43 is an infrared camera.
- VIS When the VIS is in a highlighted state, or when only the VIS is displayed on the second target control 44, it is indicated that the current focus adjustment object of the zoom control 43 is a visible light camera.
- only one zoom control needs to be set to realize the zooming of each imaging device, so as to avoid the influence of many zoom controls, especially when using the zoom control on a small screen, it is easy to be There are too many controls on it, which increases the complexity of use; in addition, when using it in strong light outdoors or in emergency situations, it is even more necessary to ensure that the interface is simple to reduce the possibility of misoperation.
- the method further includes:
- the focal lengths of the at least two imaging devices are adjusted to the same focal length value.
- the same focal length value may be the current focal length value of any one of the at least two imaging devices.
- it can also be a preset fixed focal length value.
- the zoom mode of the electronic device when the zoom mode of the electronic device is switched to the second zoom mode, the focal lengths of at least two imaging devices are first synchronized, and then unified zooming is performed, which can better ensure the consistency of imaging between the two imaging devices. It reduces the difficulty of using this zoom solution, and improves the work efficiency of subsequent steps such as multi-camera follow focus, multi-camera linked zoom, intelligent monitoring, and intelligent tracking.
- the method further includes:
- the transparency of the zoom control is adjusted to the first target value.
- the first target value is a preset fixed value, which can be set according to requirements.
- the first target value is less than the transparency of all controls displayed in the display screen.
- the preset duration can be any preset duration, preferably, the preset duration can be any duration within one minute.
- the first target value is smaller than the second target value.
- the second target value may be equal to the transparency of other controls displayed in the display screen.
- the zoom control when the zoom control is used and when the zoom control is not used within a preset time period, the zoom control is adjusted to different transparency, so as to reduce the sight obstruction of the zoom control when the zoom control is not used for a long time.
- the purpose is to better ensure the cleanliness of the zoom interface, and to ensure that the user's attention is focused on the imaging part.
- the zoom control is used to optically zoom and/or digitally zoom the plurality of imaging devices.
- the optical zoom can be understood as a non-integer zoom
- the digital zoom is an integer zoom
- the two different zoom methods can present different effects.
- optical zooming or digital zooming can be used according to requirements.
- Figure 5 is a schematic diagram showing a zoom control for optical zooming
- Figure 6 is a schematic diagram showing a zoom control for digital zooming.
- the electronic device can also be set to support both optical zoom and digital zoom.
- a switch control is provided to switch the zoom mode used when the imaging device zooms.
- optical zooming and/or digital zooming may be implemented.
- the method before the step of acquiring the zoom instruction, the method further includes:
- the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object. Thereby, automatic zooming is realized during the tracking and focusing process of the target object.
- the at least two imaging devices can be automatically zoomed without user operation, especially when the target object is far away or moves frequently , such as scientific investigation, rescue and rescue, wildlife protection and other fields, which further improves the response speed of target tracking and prevents the loss of the target.
- the method further includes;
- the imaging ratio of the target object in the imaging frames of the at least two imaging devices is acquired.
- the imaging image is collected by the imaging device and displayed on the display screen of the electronic device.
- the imaging images of different imaging devices can be displayed on different display screens; For multiple display areas, each display area displays an imaging image of an imaging device; of course, the same-screen mode can also be used to display multiple imaging images on the same display screen, wherein at least some of the images overlap.
- Each imaging device corresponds to an imaging ratio, and for one imaging device, the imaging ratio of the target object is the ratio of the image of the target object occupying the imaging screen of the imaging device. It should be noted that, for the same imaging device, in the process of tracking and focusing on an object, the larger the focal length of the imaging device, the larger the imaging ratio of the object.
- the zoom instruction generated according to the imaging ratio is used to indicate the imaging ratio of the target object in the imaging device after zooming.
- a zoom instruction may be generated according to the imaging ratio of the target object in the imaging screen of the imaging devices, and then the target object can be adjusted after the imaging device is zoomed.
- the imaging ratio in the picture in the process of tracking and focusing on the target object by at least two imaging devices, a zoom instruction may be generated according to the imaging ratio of the target object in the imaging screen of the imaging devices, and then the target object can be adjusted after the imaging device is zoomed. The imaging ratio in the picture.
- acquiring the imaging ratio of the target object in the imaging pictures of at least two imaging devices includes:
- the ratio value of the image of the target object in the first frame and the ratio value of the image of the target object in the second frame are obtained respectively.
- the at least two imaging devices include a first imaging device and a second imaging device
- the first picture is a picture acquired by the first imaging device, that is, an imaging picture of the first imaging device
- the second picture is a picture acquired by the second imaging device , that is, the imaging picture of the second imaging device.
- only two imaging devices are taken as an example, and the number of imaging devices is not limited to two.
- a zoom instruction including:
- the zoom parameter is acquired.
- the focal length value in the zoom parameter is used to adjust the ratio value of the image of the target object in the first target picture to be within the preset value range; wherein, the first target picture is the first picture and/or the second picture. That is, after the imaging device corresponding to the first target picture is zoomed according to the zoom parameter, the scale value of the image of the target object in the first target picture will be within a preset numerical range.
- the preset value range is a value range preset by the user according to requirements.
- a zoom command is generated.
- the ratio value of the image of the target object occupying the imaging screen is stabilized within a preset value range, so as to avoid the ratio value being too large or too large. small impact.
- the method further includes:
- the FOV parameter is obtained.
- the field of view parameter is used to make the field of view of the multiple imaging devices in a preset ratio.
- the field angles of the multiple imaging devices are in a preset ratio, there is a certain relationship between the imaging pictures of different imaging devices.
- a plurality of different field of view parameters may be preset, and in the case of multiple imaging devices tracking and focusing on the same target object, a field of view parameter is acquired according to the difference between the imaging pictures of different imaging devices.
- a fixed field of view parameter can also be preset, and the fixed field of view parameter can be directly acquired when multiple imaging devices track and focus on the same target object.
- the zoom parameter corresponding to the field of view angle parameter is obtained by calculation.
- a zoom command is generated.
- the zoom parameter can be obtained according to the field angle parameter, and then the imaging device can be zoomed according to the zoom parameter.
- the angle of view of the plurality of imaging devices being in a preset ratio includes: the angle of view of at least two imaging devices of the plurality of imaging devices is the same.
- imaging images can be completely for the same imaging scene at the same imaging time, or even achieve the same content of the images, thereby facilitating the user to compare the imaging images.
- the field of view angles of the at least two imaging devices can be adjusted to the same field of view angle.
- the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same.
- the imaging position may be any position in the imaging screen, in order to display as many scenes around the target object as possible, the imaging position may be the position in the center of the imaging screen.
- the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, including: the imaging position of the target object in the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures.
- the imaging images of the at least two imaging devices can be adjusted to be approximately the same image, thereby facilitating the user to compare and locate.
- the method before the step of acquiring the tracking instruction, the method further includes:
- the second target picture is an imaging picture of the first imaging device among the at least two imaging devices. That is, any one of the at least two imaging devices.
- the region of the image of the target object in each of the remaining target pictures is determined according to the correlation between the imaging pictures of the at least two imaging devices and the region of the image of the target object in the second target picture.
- each imaging device has an imaging picture
- the remaining target pictures are imaging pictures of imaging devices other than the first imaging device among the at least two imaging devices.
- the regions of the image of the target object in each of the remaining target pictures are respectively determined.
- a tracking instruction for tracking and focusing the target objects in the second target picture and each remaining target picture is generated.
- the target object in the second target picture and each remaining target picture can be tracked and focused according to the tracking instruction.
- the image of the target object in the screen is marked, for example, framed, but not limited to this.
- the image of the target object in the imaging screen of any imaging device can be determined, and then the tracking instruction for tracking and focusing the target object is generated.
- acquiring the area of the image of the target object in the second target picture includes:
- a selection operation for the first area in the second target screen is received.
- the first area is an area including an image of the target object.
- the user selects the image of the target object in the second target screen through the selection operation, so as to realize the free selection of the target object.
- the user can freely select the target object to be tracked and focused, which greatly satisfies the user's needs.
- the imaging pictures of at least two imaging devices and the region of the image of the target object in the second target picture determine the region of the image of the target object in each remaining target picture, including:
- the second region including the target object is determined in each remaining target picture.
- the preset coordinate mapping relationship is a coordinate mapping relationship established in advance according to the positions and postures between the imaging devices.
- the preset coordinate mapping relationship between the respective imaging pictures of two imaging devices is used as an example for description, wherein the two imaging devices include a first imaging device and a second imaging device, and the imaging picture of the first imaging device is the first imaging device. picture, the imaging picture of the second imaging device is the second picture.
- the positions and postures of the first imaging device and the second imaging device are pre-calibrated, so that the content of the first picture and the second picture are almost the same.
- the coordinates in the first screen are the same as the coordinates mapped to the second screen, that is, the screen contents at the corresponding positions of the first screen and the second screen with the same coordinates are the same.
- the region indicated by the coordinate information in the second picture is determined as The image of the target object is in the area of the second screen. Referring to FIG. 7 , the first image is displayed in the first display area 71 of the display screen of the electronic device, and the image of the target object in the first image is the first image 72 .
- the second image is displayed in the second display area 73 of the display screen of the electronic device, and the image of the target object in the second image is the second image 74 .
- the screen contents displayed by the first screen and the second screen are almost the same. If the coordinates of the first image 72 in the first frame are (0,0), the coordinates of the second image 74 in the second frame are also (0,0).
- the position and posture of the second imaging device can be adjusted so that the picture contents of the first picture and the second picture are almost the same.
- the coordinates in the first screen are the same as the coordinates mapped to the second screen, that is, the screen contents at the corresponding positions of the first screen and the second screen with the same coordinates are the same.
- the coordinate information of the area of the image of the target object in the first picture and the preset coordinate mapping relationship when determining the area of the image of the target object in the second picture, the area indicated by the coordinate information in the second picture is determined as the target The image of the object is in the area of the second screen.
- a preset coordinate mapping relationship can also be determined according to the relationship between the two, so that the coordinates of the same object in the first screen are the same as those in the first image.
- the coordinates in the two pictures conform to the preset coordinate mapping relationship.
- the position of the target object in the imaging pictures of other imaging devices can be accurately determined.
- acquiring the area of the image of the target object in the second target picture includes:
- the target objects that meet the preset conditions are determined.
- the filter conditions associated with the temperature can be preset to filter the target objects.
- meeting the preset condition is the highest temperature and/or the lowest temperature. That is, the object corresponding to the image with the lowest temperature and/or the highest temperature in the imaging picture of the infrared camera can be determined as the target object.
- the number of target objects is not limited, and after the target objects are determined, all target objects can be tracked and focused.
- different preset conditions can be set, wherein the preset conditions are met when the temperature is greater than the first temperature threshold and/or the temperature is less than the second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold.
- the image recognition technology may be used to recognize the image of the target object, and then determine the area of the target object in the second target image.
- conditions can be preset, and target objects that meet the conditions can be automatically screened for tracking and focusing, thereby reducing user operations.
- adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction including:
- the focal lengths of the plurality of imaging devices are changed according to a preset ratio.
- the preset ratio can be any preset ratio, wherein the ratio value of the preset ratio can be equal to 1, greater than 1 or less than 1.
- the preset ratio may be 1:2. If the infrared camera is enlarged by 1 times according to the zoom parameter, the visible light camera is enlarged by 2 times at the same time. The parameters make the infrared camera magnify 2 times, and at the same time make the visible light camera magnify 4 times.
- a proportional control can also be set, and the proportional value of the preset ratio can be adjusted by triggering the proportional control.
- the focal lengths of multiple imaging devices can be changed in a certain proportion according to the zoom parameters, so as to meet more scene requirements.
- the focal lengths of multiple imaging devices are changed according to a preset ratio, including:
- the target value corresponding to each imaging device is determined according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the plurality of imaging devices.
- the ratio between the zoom value indicated by the zoom parameter and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device.
- the preset ratio corresponding to the infrared camera can be 1:2
- the preset ratio corresponding to the visible light camera can be 1:4
- the zoom value indicated by the zoom parameter is When m, the target value corresponding to the infrared camera is 2m, and the target value corresponding to the visible light camera is 4m.
- the focal lengths of the plurality of imaging devices are adjusted to respective corresponding target values.
- the focal length of the imaging device can be adjusted according to the corresponding preset ratio.
- adjusting the focal lengths of the plurality of imaging devices includes:
- the focal lengths of a plurality of imaging devices are changed in tandem.
- Adjusting the focal lengths of the multiple imaging devices may include adjusting the focal lengths of the multiple imaging devices simultaneously, or sequentially adjusting the focal lengths of the multiple imaging devices, or separately adjusting the focal lengths of the multiple imaging devices.
- changing the focal lengths of the multiple imaging devices in a coordinated manner includes: simultaneously changing the focal lengths of the multiple imaging devices according to a preset ratio; or changing the focal lengths of the multiple imaging devices sequentially according to the preset ratio. That is to say, when the focal lengths of multiple imaging devices are changed, they can be changed simultaneously; or based on one imaging device, after the focal lengths of the imaging devices are changed, the focal lengths of the remaining imaging devices are changed sequentially.
- the focal length adjustment of multiple imaging devices is implemented in a linked manner.
- the apparatus 80 is applied to an electronic device including multiple imaging devices, and may include:
- the instruction acquisition module 81 is configured to acquire a zoom instruction, wherein the zoom instruction includes zoom parameters for adjusting the focal lengths of multiple imaging devices.
- the zoom module 82 is configured to adjust the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction.
- a plurality of imaging devices perform imaging according to light of different wavelength ranges.
- the plurality of imaging devices include at least two of the following: a visible light camera, an infrared camera, and an ultraviolet camera.
- the apparatus further includes: a first receiving module configured to receive a first input to a zoom control, wherein the zoom control is used to adjust the focal length of at least two imaging devices in the plurality of imaging devices.
- the instruction generation module is configured to generate a zoom instruction according to the first input.
- the instruction generation module includes: a parameter acquisition unit for acquiring zoom parameters according to the first input; and an instruction generation unit for generating a zoom instruction according to the zoom parameters.
- the parameter obtaining unit is specifically configured to obtain the zoom parameter according to the numerical value currently indicated by the zoom control; wherein the numerical value currently indicated is the numerical value obtained through the first input.
- the zoom controls include virtual controls or physical controls.
- the apparatus further includes: a second receiving module, configured to receive a second input to the first target control.
- the zoom control can adjust one of the at least two imaging devices
- a focal length of one, in the second zoom mode, the zoom control is capable of adjusting the focal lengths of at least two imaging devices.
- the first target control includes a virtual control or an entity control.
- the apparatus further includes: a third receiving module, configured to receive a third input to the first target control.
- the second switching module is configured to switch the zoom mode of the electronic device from the second zoom mode to the first zoom mode according to the third input.
- the apparatus further includes: a fourth receiving module, configured to receive a fourth input to the second target control.
- the third switching module is configured to switch the focus adjustment object of the zoom control between at least two imaging devices according to the fourth input.
- the second target control includes a virtual control or an entity control.
- the apparatus further includes: a synchronization module configured to adjust the focal lengths of the at least two imaging devices to the same focal length value during the process of switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode.
- the zoom control includes a virtual control displayed in the display screen of the electronic device
- this further includes: a first transparency module configured to detect that the zoom control displayed in the display screen is within a preset time period When not triggered, adjust the transparency of the zoom control to the first target value.
- the second transparency module is configured to adjust the transparency of the zoom control to a second target value when it is triggered when the transparency of the zoom control is the first target value, wherein the first target value is smaller than the second target value.
- the apparatus further includes: a tracking module, configured to acquire a tracking instruction, where the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object.
- the apparatus further includes: an imaging scale module, configured to acquire the imaging scale of the target object in the imaging pictures of the at least two imaging devices when the at least two imaging devices track and focus the same target object.
- the scale adjustment module is used to generate a zoom instruction according to the imaging scale.
- the imaging scale module is specifically configured to respectively obtain the scale value of the image of the target object in the first picture and the scale value of the image of the target object in the second picture; wherein, the at least two imaging devices include the first imaging device.
- the device and the second imaging device the first picture is a picture acquired by the first imaging device, and the second picture is a picture acquired by the second imaging device.
- the scale adjustment module is specifically configured to obtain the zoom parameter when the scale value of the image of the target object in the first target picture is not within the preset numerical range; wherein, the focal length value in the zoom parameter is used to The scale value of the image of the object in the first target picture is adjusted to be within a preset value range; wherein, the first target picture is the first picture and/or the second picture; according to the zoom parameter, a zoom instruction is generated.
- the device further includes: a field of view parameter module, configured to obtain a field of view parameter when multiple imaging devices track and focus on the same target object, and the field of view parameter is used to make the view of the multiple imaging devices.
- the field angle is in a preset ratio.
- the field angle calculation module is configured to calculate and obtain the zoom parameter corresponding to the field angle parameter according to the relationship between the focal length and the field angle in the plurality of imaging devices.
- the instruction generation module is used for generating a zoom instruction according to the zoom parameter.
- the angle of view of the plurality of imaging devices being in a preset ratio includes: the angle of view of at least two imaging devices of the plurality of imaging devices is the same.
- the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same.
- the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, including: the imaging position of the target object in the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures.
- the apparatus further includes: an area acquisition module, configured to acquire an area of the image of the target object in a second target picture, where the second target picture is an imaging picture of a first imaging device among the at least two imaging devices .
- a mapping module configured to determine the region of the image of the target object in each remaining target picture according to the relationship between the imaging pictures of the at least two imaging devices and the region of the image of the target object in the second target picture, wherein, The remaining target pictures are imaging pictures of imaging devices other than the first imaging device among the at least two imaging devices.
- the tracking instruction generation module is configured to generate a tracking instruction for tracking and focusing the target objects in the second target picture and each remaining target picture.
- the area acquisition module is specifically configured to receive a selection operation on a first area in the second target image; wherein, the first area is an area including an image of the target object.
- the mapping module is specifically configured to determine, according to the coordinate information of the first area in the second target image and the preset coordinate mapping relationship between the second target image and each remaining target image, the target image including the target image in each remaining target image.
- the second area of the object is specifically configured to determine the target objects that meet the preset conditions according to the temperatures indicated by the images of different objects in the second target screen; The area of the image of the target object of the condition in the second target screen.
- meeting the preset condition is the highest temperature and/or the lowest temperature.
- meeting the preset condition is that the temperature is greater than the first temperature threshold and/or the temperature is less than the second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold.
- the zoom module 82 is specifically configured to change the focal lengths of the multiple imaging devices according to a preset ratio according to the zoom parameters in the zoom instruction.
- the zoom module 82 is specifically configured to determine the target value corresponding to each imaging device according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the plurality of imaging devices, for each imaging device. , the ratio between the zoom value indicated by the zoom parameter and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device; the focal lengths of the multiple imaging devices are adjusted to their corresponding target values.
- the zoom module 82 is specifically configured to change the focal lengths of multiple imaging devices in linkage.
- the zoom module 82 is specifically configured to make the focal lengths of the multiple imaging devices change simultaneously according to a preset ratio; or make the focal lengths of the multiple imaging devices change sequentially according to the preset ratio.
- an embodiment of the present invention also provides an imaging device, which is applied to an electronic device including multiple imaging devices, where the imaging device includes a computer-readable storage medium and a processor; the processor is configured to perform the following operations:
- the zoom instruction includes zoom parameters for adjusting the focal lengths of multiple imaging devices
- the focal lengths of the plurality of imaging devices are adjusted.
- a plurality of imaging devices perform imaging according to light of different wavelength ranges.
- the plurality of imaging devices include at least two of the following: a visible light camera, an infrared camera, and an ultraviolet camera.
- the processor is further configured to perform the following operations: receiving a first input to a zoom control, wherein the zoom control is used to adjust the focal length of at least two imaging devices in the plurality of imaging devices; Based on the first input, a zoom instruction is generated.
- generating a zoom instruction according to the first input includes: acquiring a zoom parameter according to the first input; and generating a zoom instruction according to the zoom parameter.
- obtaining the zoom parameter according to the first input includes: obtaining the zoom parameter according to the value currently indicated by the zoom control; wherein the value currently indicated is the value obtained through the first input.
- the zoom controls include virtual controls or physical controls.
- the processor before the step of receiving the first input to the zoom control, the processor is further configured to perform the following operations: receive a second input to the first target control; A zoom mode is switched to a second zoom mode; wherein, in the first zoom mode, the zoom control can adjust the focal length of one of the at least two imaging devices, and in the second zoom mode, the zoom control can adjust the at least two imaging devices focal length.
- the first target control includes a virtual control or an entity control.
- the processor is further configured to perform the following operations: receive a third input to the first target control; The zoom mode of the electronic device is switched from the second zoom mode to the first zoom mode.
- the processor is further configured to perform the following operations: receiving a fourth input to the second target control ; according to the fourth input, switch the focus adjustment object of the zoom control between at least two imaging devices.
- the second target control includes a virtual control or an entity control.
- the processor is further configured to perform the following operation: adjust the focal lengths of the at least two imaging devices to the same focal length value.
- the processor is further configured to perform the following operation: after detecting that the zoom control displayed in the display screen has not been used within a preset time period In the case of triggering, adjust the transparency of the zoom control to the first target value; when triggered when the transparency of the zoom control is the first target value, adjust the transparency of the zoom control to the second target value, wherein the first The target value is less than the second target value.
- the processor before the step of acquiring the zoom instruction, is further configured to perform the following operations: acquiring a tracking instruction, where the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object.
- the processor is further configured to perform the following operation: in the case that the at least two imaging devices track and focus on the same target object, acquire the target object in the imaging pictures of the at least two imaging devices. Imaging ratio; according to the imaging ratio, generate a zoom command.
- acquiring the imaging proportions of the target object in the imaging pictures of the at least two imaging devices includes: respectively acquiring the proportion value of the image of the target object in the first picture and the proportion value of the image of the target object in the second picture.
- the at least two imaging devices include a first imaging device and a second imaging device, the first picture is a picture obtained by the first imaging device, and the second picture is a picture obtained by the second imaging device.
- generating a zoom instruction according to the imaging scale including: in the case that the scale value of the image of the target object in the first target picture is not within a preset numerical range, obtaining a zoom parameter; wherein, the focal length value in the zoom parameter is determined by for adjusting the ratio of the image of the target object in the first target frame to a predetermined value range; wherein the first target frame is the first frame and/or the second frame.
- a zoom command is generated.
- the processor is further configured to perform the following operations: in the case where multiple imaging devices track and focus on the same target object, acquire a field of view parameter, where the field of view parameter is used to make the The field of view angle of the imaging device is in a preset ratio; according to the correlation between the focal length and the field of view angle in the multiple imaging devices, the zoom parameter corresponding to the field of view parameter is calculated and obtained; the zoom instruction is generated according to the zoom parameter.
- the angle of view of the plurality of imaging devices being in a preset ratio includes: the angle of view of at least two imaging devices of the plurality of imaging devices is the same.
- the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same.
- the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, including: the imaging position of the target object in the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures.
- the processor is further configured to perform the following operations: acquiring an area of the image of the target object in the second target picture, where the second target picture is the first image of the at least two imaging devices.
- An imaging picture of an imaging device according to the relationship between the imaging pictures of at least two imaging devices and the region of the image of the target object in the second target picture, determine the region of the image of the target object in each remaining target picture,
- the remaining target picture is an imaging picture of an imaging device other than the first imaging device among the at least two imaging devices; and a tracking instruction for tracking and focusing the target object in the second target picture and each remaining target picture is generated.
- acquiring the area of the image of the target object in the second target image includes: receiving a selection operation on the first area in the second target image; wherein the first area is an area including the image of the target object.
- determining the area of the image of the target object in each remaining target frame according to the correlation between the imaging frames of the at least two imaging devices and the area of the image of the target object in the second target frame including: according to The coordinate information of the first region in the second target picture and the preset coordinate mapping relationship between the second target picture and each remaining target picture, determine the second region including the target object in each remaining target picture.
- acquiring the area of the image of the target object in the second target image includes: determining, according to the temperatures indicated by the images of different objects in the second target image, that the image conforms to the preset image.
- adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction includes: changing the focal lengths of the multiple imaging devices according to a preset ratio according to the zoom parameters in the zoom instruction.
- changing the focal lengths of the multiple imaging devices according to a preset ratio including: according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the multiple imaging devices, Determine the target value corresponding to each imaging device, and for each imaging device, the ratio between the zoom value indicated by the zoom parameter and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device; Adjust to their corresponding target values.
- adjusting the focal lengths of the multiple imaging devices includes: changing the focal lengths of the multiple imaging devices in a coordinated manner.
- changing the focal lengths of the multiple imaging devices in a coordinated manner includes: simultaneously changing the focal lengths of the multiple imaging devices according to a preset ratio; or changing the focal lengths of the multiple imaging devices sequentially according to the preset ratio.
- an embodiment of the present invention further provides a pan/tilt head, including an axial movement device, and the above imaging device whose orientation is controlled by the axial movement device.
- the imaging device is used to perform each step in the above zooming method, and can achieve the same technical effect. To avoid repetition, details are not described here.
- an embodiment of the present invention also provides a mobile platform, including a body, and the above-mentioned imaging device installed on the body. The imaging device is used to perform each step in the above zooming method, and can achieve the same technical effect. To avoid repetition, details are not described here.
- an embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each step of the above zooming method is implemented, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here.
- the device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, User input unit 907, interface unit 908, memory 909, processor 910, and power supply 911 and other components.
- a radio frequency unit 901 for implementing various embodiments of the present invention.
- the device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, User input unit 907, interface unit 908, memory 909, processor 910, and power supply 911 and other components.
- the device structure shown in FIG. 9 does not constitute a limitation to the device, and the device may include more or less components than the one shown, or combine some components, or arrange different components.
- the devices include but are not limited to mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted devices, wearable devices, and pedometers.
- the radio frequency unit 901 can be used for receiving and sending signals during sending and receiving information or during a call, receiving downlink data from the base station, and processing it to the processor 910, and sending uplink data to the base station.
- the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
- the radio frequency unit 901 can also communicate with the network and other devices through a wireless communication system.
- the device provides the user with wireless broadband Internet access through the network module 902, such as helping the user to send and receive emails, browse web pages, access streaming media, and so on.
- the audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into audio signals and output as sound. Also, the audio output unit 903 may also provide audio output related to a specific function performed by the device 900 (eg, call signal reception sound, message reception sound, etc.).
- the audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
- the input unit 904 is used to receive audio or video signals.
- the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed.
- GPU Graphics Processing Unit
- the processed image frames may be displayed on the display unit 906 .
- the image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902 .
- the microphone 9042 can receive sound and can process such sound into audio data.
- the processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 901 for output in the case of a telephone call mode.
- Device 900 also includes at least one sensor 905, such as a light sensor, motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 9061 and/or the backlight when the device 900 is moved to the ear.
- the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the device posture (such as horizontal and vertical screen switching, related games.
- the sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared Sensors, etc., will not be repeated here.
- the display unit 906 is used to display information input by the user or information provided to the user.
- the display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
- the user input unit 907 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the device.
- the user input unit 907 includes a touch panel 9041 and other input devices 9072 .
- the touch panel 9041 also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 9041).
- the touch panel 9041 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 910, the command sent by the processor 910 is received and executed.
- the touch panel 9041 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
- the user input unit 907 may also include other input devices 9072 .
- other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
- the touch panel 9041 can be covered on the display panel 9061. When the touch panel 9041 detects a touch operation on or near it, it transmits it to the processor 910 to determine the type of the touch event, and then the processor 910 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on the display panel 9061.
- the interface unit 908 is an interface for connecting an external device to the device 900 .
- external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more.
- Interface unit 908 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within device 900 or may be used between device 900 and an external device. transfer data between.
- the memory 909 may be used to store software programs as well as various data.
- the memory 909 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc.
- memory 909 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the processor 910 is the control center of the device, uses various interfaces and lines to connect various parts of the entire device, and executes by running or executing the software programs and/or modules stored in the memory 909, and calling the data stored in the memory 909. Various functions of the equipment and processing data, so as to monitor the equipment as a whole.
- the processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication.
- the device 900 may also include a power supply 911 (such as a battery) for supplying power to various components.
- a power supply 911 such as a battery
- the power supply 911 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. Function.
- the device 900 includes some unshown functional modules, which are not repeated here.
- the device embodiments described above are only illustrative, wherein 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 it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
- Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof.
- FIG. 10 is a block diagram of a computing and processing device provided by an embodiment of the present invention. As shown in FIG. 10 , FIG.
- the computing processing device traditionally includes a processor 1010 and a computer program product or computer readable medium in the form of a memory 1020 .
- the memory 1020 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
- the memory 1020 has storage space 1030 for program code for performing any of the method steps in the above-described methods.
- the storage space 1030 for program codes may include various program codes for implementing various steps in the above methods, respectively. These program codes can be read from or written to one or more computer program products.
- These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG. 11 .
- the storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 1020 in the computing processing device of FIG. 10 .
- the program code may, for example, be compressed in a suitable form.
- the storage unit comprises computer readable code, ie code readable by a processor such as 1010 for example, which when executed by a computing processing device, causes the computing processing device to perform each of the methods described above. step.
- any reference signs placed between parentheses shall not be construed as limiting the claim.
- the word “comprising” does not exclude the presence of elements or steps not listed in a claim.
- the word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements.
- the invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware.
- the use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.
Landscapes
- Engineering & Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Studio Devices (AREA)
Abstract
A zooming method, an imaging device, a gimbal and a movable platform. The zooming method is applied to an electronic device and comprises: acquiring a zooming instruction, wherein the zooming instruction comprises zooming parameters for adjusting the focal lengths of a plurality of imaging devices; and according to the zooming parameters in the zooming instruction, adjusting the focal lengths of the plurality of imaging devices. The focal lengths of the plurality of imaging devices can be adjusted according to the zooming parameters in the zooming instruction, thereby reducing the operation difficulty and reaction speed of zooming of the plurality of the plurality of imaging devices, and improving the working efficiency of subsequent steps.
Description
本发明属于成像技术领域,特别是涉及一种变焦方法、成像装置、云台以及可移动平台。The invention belongs to the field of imaging technology, and in particular relates to a zoom method, an imaging device, a pan-tilt and a movable platform.
不同类型的成像设备适用于不同的应用场景,可以满足不同的场景需求。目前,为适应更多的应用场景,满足更多场景需求,通常将不同类型的成像设备结合使用。例如将可见光相机和红外相机相结合,搭载在无人机上,并将其应用于消防,电力巡检,光伏巡检,安防等行业,可以大大提高作业效率。Different types of imaging devices are suitable for different application scenarios and can meet the needs of different scenarios. At present, in order to adapt to more application scenarios and meet the needs of more scenarios, different types of imaging devices are usually used in combination. For example, combining visible light cameras and infrared cameras, mounted on drones, and applied to fire protection, power inspection, photovoltaic inspection, security and other industries can greatly improve operational efficiency.
然而,即使将不同类型的成像设备结合使用,但是为避免相互干扰,通常每个成像设备独立控制,这就使得无法对多个成像设备统一控制。However, even if different types of imaging devices are used in combination, in order to avoid mutual interference, each imaging device is usually controlled independently, which makes it impossible to uniformly control multiple imaging devices.
发明内容SUMMARY OF THE INVENTION
本发明提供一种变焦方法、成像装置、云台以及可移动平台,以便解决多成像设备应用场景中无法统一控制变焦的问题。The present invention provides a zoom method, an imaging device, a pan-tilt head and a movable platform, so as to solve the problem that the zoom cannot be controlled uniformly in the application scene of multiple imaging devices.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,本发明实施例提供了一种变焦方法,应用于包括多个成像设备的电子设备,该方法包括:In a first aspect, an embodiment of the present invention provides a zooming method, which is applied to an electronic device including a plurality of imaging devices, and the method includes:
获取变焦指令,其中,所述变焦指令中包括用于调节所述多个成像设备焦距的变焦参数;acquiring a zoom instruction, wherein the zoom instruction includes zoom parameters for adjusting the focal lengths of the plurality of imaging devices;
根据所述变焦指令中的所述变焦参数,调节所述多个成像设备的焦距。The focal lengths of the plurality of imaging devices are adjusted according to the zoom parameters in the zoom instruction.
可选地,所述多个成像设备依据不同波长范围的光进行成像。Optionally, the plurality of imaging devices perform imaging according to light in different wavelength ranges.
可选地,所述多个成像设备包括以下至少两种:可见光相机、红外相机、紫外相机。Optionally, the plurality of imaging devices include at least two of the following: visible light cameras, infrared cameras, and ultraviolet cameras.
可选地,在所述获取变焦指令的步骤之前,所述方法还包括:Optionally, before the step of acquiring the zoom instruction, the method further includes:
接收对变焦控件的第一输入,其中,所述变焦控件用于调节所述多个成像设备中至少两个成像设备的焦距;receiving a first input to a zoom control, wherein the zoom control is used to adjust the focus of at least two of the plurality of imaging devices;
根据所述第一输入,生成所述变焦指令。The zoom instruction is generated according to the first input.
可选地,所述根据所述第一输入,生成所述变焦指令,包括:Optionally, generating the zoom instruction according to the first input includes:
根据所述第一输入,获取所述变焦参数;obtaining the zoom parameter according to the first input;
根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
可选地,所述根据所述第一输入,获取所述变焦参数,包括:Optionally, obtaining the zoom parameter according to the first input includes:
根据所述变焦控件当前指示的数值,获取所述变焦参数;其中,所述当前指示的数值为通过所述第一输入获得的数值。The zoom parameter is acquired according to the numerical value currently indicated by the zoom control; wherein, the numerical value currently indicated is the numerical value obtained through the first input.
可选地,所述变焦控件包括虚拟控件或者实体控件。Optionally, the zoom controls include virtual controls or physical controls.
可选地,在所述接收对变焦控件的第一输入的步骤之前,所述方法还包括:Optionally, before the step of receiving the first input to the zoom control, the method further includes:
接收对第一目标控件的第二输入;receiving a second input to the first target control;
根据所述第二输入,将所述电子设备的变焦模式由第一变焦模式切换为第二变焦模式;switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode according to the second input;
其中,在所述第一变焦模式下,所述变焦控件能够调节所述至少两个成像设备其中之一的焦距,在所述第二变焦模式下,所述变焦控件能够调节所述至少两个成像设备的焦距。Wherein, in the first zoom mode, the zoom control can adjust the focal length of one of the at least two imaging devices, and in the second zoom mode, the zoom control can adjust the at least two The focal length of the imaging device.
可选地,所述第一目标控件包括虚拟控件或者实体控件。Optionally, the first target control includes a virtual control or an entity control.
可选地,在所述根据所述变焦指令中的所述变焦参数,调节所述多个成像设备的焦距的步骤之后,所述方法还包括:Optionally, after the step of adjusting the focal lengths of the plurality of imaging devices according to the zoom parameters in the zoom instruction, the method further includes:
接收对所述第一目标控件的第三输入;receiving a third input to the first target control;
根据所述第三输入,将所述电子设备的变焦模式由所述第二变焦模式切换为所述第一变焦模式。According to the third input, the zoom mode of the electronic device is switched from the second zoom mode to the first zoom mode.
可选地,在所述根据所述第三输入,将所述电子设备的变焦模式由所述第二变焦模式切换为所述第一变焦模式的步骤之后,所述方法还包括:Optionally, after the step of switching the zoom mode of the electronic device from the second zoom mode to the first zoom mode according to the third input, the method further includes:
接收对第二目标控件的第四输入;receiving a fourth input to the second target control;
根据所述第四输入,将所述变焦控件的焦距调节对象在所述至少两个成像设备之间切换。According to the fourth input, the focus adjustment object of the zoom control is switched between the at least two imaging devices.
可选地,所述第二目标控件包括虚拟控件或者实体控件。Optionally, the second target control includes a virtual control or an entity control.
可选地,在将所述电子设备的变焦模式由第一变焦模式切换为第二变焦模式的过程中,所述方法还包括:Optionally, in the process of switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode, the method further includes:
将所述至少两个成像设备的焦距调整为同一焦距值。The focal lengths of the at least two imaging devices are adjusted to the same focal length value.
可选地,在所述变焦控件包括显示于所述电子设备的显示屏中的虚拟控件的情况下,所述方法还包括:Optionally, when the zoom control includes a virtual control displayed on the display screen of the electronic device, the method further includes:
在检测到显示于所述显示屏中的变焦控件在预设时长内未被触发的情况下,将所述变焦控件的透明度调整为第一目标数值;adjusting the transparency of the zoom control to a first target value when it is detected that the zoom control displayed on the display screen has not been triggered within a preset time period;
在所述变焦控件的透明度为所述第一目标数值的情况下被触发时,将所述变焦控件的透明度调整为第二目标数值,其中,所述第一目标数值小于所述第二目标数值。When triggered when the transparency of the zoom control is the first target value, adjust the transparency of the zoom control to a second target value, wherein the first target value is smaller than the second target value .
可选地,在所述获取变焦指令的步骤之前,所述方法还包括:Optionally, before the step of acquiring the zoom instruction, the method further includes:
获取跟踪指令,所述跟踪指令用于使所述多个成像设备中至少两个成像设备跟踪对焦相同目标物体。Acquiring a tracking instruction, where the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object.
可选地,在所述获取跟踪指令的步骤之后,所述方法还包括:Optionally, after the step of acquiring the tracking instruction, the method further includes:
在所述至少两个成像设备跟踪对焦相同目标物体的情况下,获取所述目标物体在所述至少两个成像设备的成像画面中的成像比例;In the case that the at least two imaging devices track and focus the same target object, acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices;
根据所述成像比例,生成所述变焦指令。The zoom instruction is generated according to the imaging scale.
可选地,所述获取所述目标物体在所述至少两个成像设备的成像画面中的成像比例,包括:Optionally, the acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices includes:
分别获取所述目标物体的影像在第一画面中的比例值和所述目标物体的影像在第二画面中的比例值;其中,所述至少两个成像设备包括第一成像设备和第二成像设备,所述第一画面为所述第一成 像设备获取的画面,所述第二画面为所述第二成像设备获取的画面。respectively acquiring the ratio value of the image of the target object in the first frame and the ratio value of the image of the target object in the second frame; wherein, the at least two imaging devices include a first imaging device and a second imaging device device, the first picture is a picture acquired by the first imaging device, and the second picture is a picture acquired by the second imaging device.
可选地,所述根据所述成像比例,生成所述变焦指令,包括:Optionally, generating the zoom instruction according to the imaging scale includes:
在第一目标画面中所述目标物体的影像的比例值未处于预设数值范围的情况下,获取所述变焦参数;其中,所述变焦参数中的焦距值用于将所述目标物体的影像在所述第一目标画面中的比例值调整至所述预设数值范围内;其中,所述第一目标画面为所述第一画面和/或所述第二画面。In the case where the scale value of the image of the target object in the first target picture is not within a preset value range, obtain the zoom parameter; wherein, the focal length value in the zoom parameter is used to convert the image of the target object The scale value in the first target picture is adjusted to be within the preset value range; wherein, the first target picture is the first picture and/or the second picture.
根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
可选地,在所述获取跟踪指令的步骤之后,所述方法还包括:Optionally, after the step of acquiring the tracking instruction, the method further includes:
在所述多个成像设备跟踪对焦相同目标物体的情况下,获取视场角参数,所述视场角参数用于使所述多个成像设备的视场角呈预设比例;In the case where the multiple imaging devices track and focus on the same target object, acquiring a field of view parameter, where the field of view parameter is used to make the field of view of the multiple imaging devices in a preset ratio;
根据所述多个成像设备中焦距与视场角的关联关系,计算得到所述视场角参数对应的变焦参数;According to the correlation relationship between the focal length and the field of view in the plurality of imaging devices, the zoom parameter corresponding to the field of view parameter is obtained by calculating;
根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
可选地,所述多个成像设备的视场角呈预设比例包括:所述多个成像设备中至少两个成像设备的视场角相同。Optionally, the angle of view of the plurality of imaging devices being in a preset ratio includes: the angle of view of at least two imaging devices of the plurality of imaging devices is the same.
可选地,所述目标物体在所述至少两个成像设备的成像画面中的成像位置相同。Optionally, the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same.
可选地,所述目标物体在所述至少两个成像设备的成像画面中的成像位置相同,包括:Optionally, the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, including:
所述目标物体在所述至少两个成像设备的成像画面的成像位置为成像画面的正中心。The imaging position of the target object on the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures.
可选地,在所述获取跟踪指令的步骤之前,所述方法还包括:Optionally, before the step of acquiring the tracking instruction, the method further includes:
获取目标物体的影像在第二目标画面中的区域,其中,所述第二目标画面为所述至少两个成像设备中的第一成像设备的成像画面;acquiring an area of the image of the target object in a second target picture, wherein the second target picture is an imaging picture of a first imaging device among the at least two imaging devices;
根据所述至少两个成像设备的成像画面之间的关联关系以及所述目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,其中,剩余目标画面为所述至少两个成像设备中除第一成像设备之外的成像设备的成像画面;According to the relationship between the imaging pictures of the at least two imaging devices and the region of the image of the target object in the second target picture, determine the region of the image of the target object in each of the remaining target pictures, wherein the remaining The target picture is an imaging picture of an imaging device other than the first imaging device among the at least two imaging devices;
生成对所述第二目标画面和每一所述剩余目标画面中的目标物体进行跟踪对焦的跟踪指令。A tracking instruction for tracking and focusing the target objects in the second target picture and each of the remaining target pictures is generated.
可选地,所述获取目标物体的影像在第二目标画面中的区域,包括:Optionally, the acquiring the area of the image of the target object in the second target picture includes:
接收对所述第二目标画面中的第一区域的选择操作;其中,所述第一区域为包括所述目标物体的影像的区域。A selection operation on a first area in the second target picture is received; wherein, the first area is an area including an image of the target object.
可选地,所述根据所述至少两个成像设备的成像画面之间的关联关系以及所述目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,包括:Optionally, determining that the image of the target object is in each remaining target frame according to the relationship between the imaging frames of the at least two imaging devices and the area of the image of the target object in the second target frame area, including:
根据所述第二目标画面中的第一区域的坐标信息,以及所述第二目标画面与每一所述剩余目标画面之间的预设坐标映射关系,在每一所述剩余目标画面中确定包括所述目标物体的第二区域。According to the coordinate information of the first area in the second target picture and the preset coordinate mapping relationship between the second target picture and each of the remaining target pictures, determine in each of the remaining target pictures A second area that includes the target object.
可选地,在所述第一成像设备为红外相机的情况下,所述获取目标物体的影像在第二目标画面中的区域,包括:Optionally, in the case where the first imaging device is an infrared camera, the acquiring the area of the image of the target object in the second target picture includes:
根据第二目标画面中不同物体的影像指示的温度,确定符合预设条件的目标物体;According to the temperature indicated by the images of different objects in the second target screen, determine the target objects that meet the preset conditions;
获取所述符合预设条件的目标物体的影像在第二目标画面中的区域。Acquire an area of the image of the target object that meets the preset condition in the second target image.
可选地,符合预设条件为温度最高和/或温度最低。Optionally, meeting the preset condition is the highest temperature and/or the lowest temperature.
可选地,符合预设条件为温度大于第一温度阈值和/或温度小于第二温度阈值;其中,所述第一温度阈值大于所述第二温度阈值。Optionally, the preset condition is satisfied that the temperature is greater than the first temperature threshold and/or the temperature is less than the second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold.
可选地,所述根据所述变焦指令中的变焦参数,调节所述多个成像设备的焦距,包括:Optionally, the adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction includes:
根据所述变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化。According to the zoom parameters in the zoom instruction, the focal lengths of the plurality of imaging devices are changed according to a preset ratio.
可选地,根据所述变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化,包括:Optionally, according to the zoom parameters in the zoom instruction, the focal lengths of multiple imaging devices are changed according to a preset ratio, including:
根据所述变焦参数指示的变焦数值以及所述多个成像设备中每一成像设备对应的预设比例,确定每一成像设备对应的目标数值,针对于每一成像设备,所述变焦参数指示的变焦数值与所述成像设备对应的目标数值之间的比例等于所述成像设备对应的预设比例;The target value corresponding to each imaging device is determined according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the plurality of imaging devices. For each imaging device, the zoom parameter indicates the target value. The ratio between the zoom value and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device;
将所述多个成像设备的焦距调节为各自对应的目标数值。The focal lengths of the plurality of imaging devices are adjusted to respective corresponding target values.
可选地,所述调节所述多个成像设备的焦距,包括:Optionally, the adjusting the focal lengths of the plurality of imaging devices includes:
使多个成像设备的焦距联动变化。The focal lengths of a plurality of imaging devices are changed in tandem.
可选地,所述使多个成像设备的焦距联动变化,包括:Optionally, the step of causing the focal lengths of the multiple imaging devices to change in a coordinated manner includes:
使多个成像设备的焦距按预设比例同时变化;或cause the focal lengths of multiple imaging devices to vary simultaneously by a preset ratio; or
使多个成像设备的焦距按预设比例依次变化。The focal lengths of the plurality of imaging devices are sequentially changed in a preset ratio.
第二方面,本发明实施例提供了一种成像装置,应用于包括多个成像设备的电子设备,所述成像装置包括计算机可读存储介质及处理器;所述处理器用于执行以下操作:In a second aspect, an embodiment of the present invention provides an imaging device, which is applied to an electronic device including multiple imaging devices, where the imaging device includes a computer-readable storage medium and a processor; the processor is configured to perform the following operations:
获取变焦指令,其中,所述变焦指令中包括用于调节所述多个成像设备焦距的变焦参数;acquiring a zoom instruction, wherein the zoom instruction includes zoom parameters for adjusting the focal lengths of the plurality of imaging devices;
根据所述变焦指令中的所述变焦参数,调节所述多个成像设备的焦距。The focal lengths of the plurality of imaging devices are adjusted according to the zoom parameters in the zoom instruction.
可选地,所述多个成像设备依据不同波长范围的光进行成像。Optionally, the plurality of imaging devices perform imaging according to light in different wavelength ranges.
可选地,所述多个成像设备包括以下至少两种:可见光相机、红外相机、紫外相机。Optionally, the plurality of imaging devices include at least two of the following: visible light cameras, infrared cameras, and ultraviolet cameras.
可选地,在所述获取变焦指令的步骤之前,所述处理器还用于执行以下操作:Optionally, before the step of acquiring the zoom instruction, the processor is further configured to perform the following operations:
接收对变焦控件的第一输入,其中,所述变焦控件用于调节所述多个成像设备中至少两个成像设备的焦距;receiving a first input to a zoom control, wherein the zoom control is used to adjust the focus of at least two of the plurality of imaging devices;
根据所述第一输入,生成所述变焦指令。The zoom instruction is generated according to the first input.
可选地,所述根据所述第一输入,生成所述变焦指令,包括:Optionally, generating the zoom instruction according to the first input includes:
根据所述第一输入,获取所述变焦参数;obtaining the zoom parameter according to the first input;
根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
可选地,所述根据所述第一输入,获取所述变焦参数,包括:Optionally, obtaining the zoom parameter according to the first input includes:
根据所述变焦控件当前指示的数值,获取所述变焦参数;其中,所述当前指示的数值为通过所述第一输入获得的数值。The zoom parameter is acquired according to the numerical value currently indicated by the zoom control; wherein, the numerical value currently indicated is the numerical value obtained through the first input.
可选地,所述变焦控件包括虚拟控件或者实体控件。Optionally, the zoom controls include virtual controls or physical controls.
可选地,在所述接收对变焦控件的第一输入的步骤之前,所述处理器还用于执行以下操作:Optionally, before the step of receiving the first input to the zoom control, the processor is further configured to perform the following operations:
接收对第一目标控件的第二输入;receiving a second input to the first target control;
根据所述第二输入,将所述电子设备的变焦模式由第一变焦模式切换为第二变焦模式;switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode according to the second input;
其中,在所述第一变焦模式下,所述变焦控件能够调节所述至少两个成像设备其中之一的焦距,在所述第二变焦模式下,所述变焦控件能够调节所述至少两个成像设备的焦距。Wherein, in the first zoom mode, the zoom control can adjust the focal length of one of the at least two imaging devices, and in the second zoom mode, the zoom control can adjust the at least two The focal length of the imaging device.
可选地,所述第一目标控件包括虚拟控件或者实体控件。Optionally, the first target control includes a virtual control or an entity control.
可选地,在所述根据所述变焦指令中的所述变焦参数,调节所述多个成像设备的焦距的步骤之后,所述处理器还用于执行以下操作:Optionally, after the step of adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction, the processor is further configured to perform the following operations:
接收对所述第一目标控件的第三输入;receiving a third input to the first target control;
根据所述第三输入,将所述电子设备的变焦模式由所述第二变焦模式切换为所述第一变焦模式。According to the third input, the zoom mode of the electronic device is switched from the second zoom mode to the first zoom mode.
可选地,在所述根据所述第三输入,将所述电子设备的变焦模式由所述第二变焦模式切换为所述第一变焦模式的步骤之后,所述处理器还用于执行以下操作:Optionally, after the step of switching the zoom mode of the electronic device from the second zoom mode to the first zoom mode according to the third input, the processor is further configured to execute the following operate:
接收对第二目标控件的第四输入;receiving a fourth input to the second target control;
根据所述第四输入,将所述变焦控件的焦距调节对象在所述至少两个成像设备之间切换。According to the fourth input, the focus adjustment object of the zoom control is switched between the at least two imaging devices.
可选地,所述第二目标控件包括虚拟控件或者实体控件。Optionally, the second target control includes a virtual control or an entity control.
可选地,在将所述电子设备的变焦模式由第一变焦模式切换为第二变焦模式的过程中,所述处理器还用于执行以下操作:Optionally, in the process of switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode, the processor is further configured to perform the following operations:
将所述至少两个成像设备的焦距调整为同一焦距值。The focal lengths of the at least two imaging devices are adjusted to the same focal length value.
可选地,在所述变焦控件包括显示于所述电子设备的显示屏中的虚拟控件的情况下,所述处理器还用于执行以下操作:Optionally, when the zoom control includes a virtual control displayed on the display screen of the electronic device, the processor is further configured to perform the following operations:
在检测到显示于所述显示屏中的变焦控件在预设时长内未被触发的情况下,将所述变焦控件的透明度调整为第一目标数值;adjusting the transparency of the zoom control to a first target value when it is detected that the zoom control displayed on the display screen has not been triggered within a preset time period;
在所述变焦控件的透明度为所述第一目标数值的情况下被触发时,将所述变焦控件的透明度调整为第二目标数值,其中,所述第一目标数值小于所述第二目标数值。When triggered when the transparency of the zoom control is the first target value, adjust the transparency of the zoom control to a second target value, wherein the first target value is smaller than the second target value .
可选地,在所述获取变焦指令的步骤之前,所述处理器还用于执行以下操作:Optionally, before the step of acquiring the zoom instruction, the processor is further configured to perform the following operations:
获取跟踪指令,所述跟踪指令用于使所述多个成像设备中至少两个成像设备跟踪对焦相同目标物体。Acquiring a tracking instruction, where the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object.
可选地,在所述获取跟踪指令的步骤之后,所述处理器还用于执行以下操作:Optionally, after the step of acquiring the tracking instruction, the processor is further configured to perform the following operations:
在所述至少两个成像设备跟踪对焦相同目标物体的情况下,获取所述目标物体在所述至少两个成像设备的成像画面中的成像比例;In the case that the at least two imaging devices track and focus the same target object, acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices;
根据所述成像比例,生成所述变焦指令。The zoom instruction is generated according to the imaging scale.
可选地,所述获取所述目标物体在所述至少两个成像设备的成像画面中的成像比例,包括:Optionally, the acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices includes:
分别获取所述目标物体的影像在第一画面中的比例值和所述目标物体的影像在第二画面中的比 例值;其中,所述至少两个成像设备包括第一成像设备和第二成像设备,所述第一画面为所述第一成像设备获取的画面,所述第二画面为所述第二成像设备获取的画面。respectively acquiring the ratio value of the image of the target object in the first frame and the ratio value of the image of the target object in the second frame; wherein, the at least two imaging devices include a first imaging device and a second imaging device device, the first picture is a picture acquired by the first imaging device, and the second picture is a picture acquired by the second imaging device.
可选地,所述根据所述成像比例,生成所述变焦指令,包括:Optionally, generating the zoom instruction according to the imaging scale includes:
在第一目标画面中所述目标物体的影像的比例值未处于预设数值范围的情况下,获取所述变焦参数;其中,所述变焦参数中的焦距值用于将所述目标物体的影像在所述第一目标画面中的比例值调整至所述预设数值范围内;其中,所述第一目标画面为所述第一画面和/或所述第二画面。In the case where the scale value of the image of the target object in the first target picture is not within a preset value range, obtain the zoom parameter; wherein, the focal length value in the zoom parameter is used to convert the image of the target object The scale value in the first target picture is adjusted to be within the preset value range; wherein, the first target picture is the first picture and/or the second picture.
根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
可选地,在所述获取跟踪指令的步骤之后,所述处理器还用于执行以下操作:Optionally, after the step of acquiring the tracking instruction, the processor is further configured to perform the following operations:
在所述多个成像设备跟踪对焦相同目标物体的情况下,获取视场角参数,所述视场角参数用于使所述多个成像设备的视场角呈预设比例;In the case where the multiple imaging devices track and focus on the same target object, acquiring a field of view parameter, where the field of view parameter is used to make the field of view of the multiple imaging devices in a preset ratio;
根据所述多个成像设备中焦距与视场角的关联关系,计算得到所述视场角参数对应的变焦参数;According to the correlation relationship between the focal length and the field of view in the plurality of imaging devices, the zoom parameter corresponding to the field of view parameter is obtained by calculating;
根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
可选地,所述多个成像设备的视场角呈预设比例包括:所述多个成像设备中至少两个成像设备的视场角相同。Optionally, the angle of view of the plurality of imaging devices being in a preset ratio includes: the angle of view of at least two imaging devices of the plurality of imaging devices is the same.
可选地,所述目标物体在所述至少两个成像设备的成像画面中的成像位置相同。Optionally, the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same.
可选地,所述目标物体在所述至少两个成像设备的成像画面中的成像位置相同,包括:Optionally, the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, including:
所述目标物体在所述至少两个成像设备的成像画面的成像位置为成像画面的正中心。The imaging position of the target object on the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures.
可选地,在所述获取跟踪指令的步骤之前,所述处理器还用于执行以下操作:Optionally, before the step of acquiring the tracking instruction, the processor is further configured to perform the following operations:
获取目标物体的影像在第二目标画面中的区域,其中,所述第二目标画面为所述至少两个成像设备中的第一成像设备的成像画面;acquiring an area of the image of the target object in a second target picture, wherein the second target picture is an imaging picture of a first imaging device among the at least two imaging devices;
根据所述至少两个成像设备的成像画面之间的关联关系以及所述目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,其中,剩余目标画面为所述至少两个成像设备中除第一成像设备之外的成像设备的成像画面;According to the relationship between the imaging pictures of the at least two imaging devices and the region of the image of the target object in the second target picture, determine the region of the image of the target object in each of the remaining target pictures, wherein the remaining The target picture is an imaging picture of an imaging device other than the first imaging device among the at least two imaging devices;
生成对所述第二目标画面和每一所述剩余目标画面中的目标物体进行跟踪对焦的跟踪指令。A tracking instruction for tracking and focusing the target objects in the second target picture and each of the remaining target pictures is generated.
可选地,所述获取目标物体的影像在第二目标画面中的区域,包括:Optionally, the acquiring the area of the image of the target object in the second target picture includes:
接收对所述第二目标画面中的第一区域的选择操作;其中,所述第一区域为包括所述目标物体的影像的区域。A selection operation on a first area in the second target picture is received; wherein, the first area is an area including an image of the target object.
可选地,所述根据所述至少两个成像设备的成像画面之间的关联关系以及所述目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,包括:Optionally, determining that the image of the target object is in each remaining target frame according to the relationship between the imaging frames of the at least two imaging devices and the area of the image of the target object in the second target frame area, including:
根据所述第二目标画面中的第一区域的坐标信息,以及所述第二目标画面与每一所述剩余目标画面之间的预设坐标映射关系,在每一所述剩余目标画面中确定包括所述目标物体的第二区域。According to the coordinate information of the first area in the second target picture and the preset coordinate mapping relationship between the second target picture and each of the remaining target pictures, determine in each of the remaining target pictures A second area that includes the target object.
可选地,在所述第一成像设备为红外相机的情况下,所述获取目标物体的影像在第二目标画面中的区域,包括:Optionally, in the case where the first imaging device is an infrared camera, the acquiring the area of the image of the target object in the second target picture includes:
根据第二目标画面中不同物体的影像指示的温度,确定符合预设条件的目标物体;According to the temperature indicated by the images of different objects in the second target screen, determine the target objects that meet the preset conditions;
获取所述符合预设条件的目标物体的影像在第二目标画面中的区域。Acquire an area of the image of the target object that meets the preset condition in the second target image.
可选地,符合预设条件为温度最高和/或温度最低。Optionally, meeting the preset condition is the highest temperature and/or the lowest temperature.
可选地,符合预设条件为温度大于第一温度阈值和/或温度小于第二温度阈值;其中,所述第一温度阈值大于所述第二温度阈值。Optionally, the preset condition is satisfied that the temperature is greater than the first temperature threshold and/or the temperature is less than the second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold.
可选地,所述根据所述变焦指令中的变焦参数,调节所述多个成像设备的焦距,包括:Optionally, the adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction includes:
根据所述变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化。According to the zoom parameters in the zoom instruction, the focal lengths of the plurality of imaging devices are changed according to a preset ratio.
可选地,根据所述变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化,包括:Optionally, according to the zoom parameters in the zoom instruction, the focal lengths of multiple imaging devices are changed according to a preset ratio, including:
根据所述变焦参数指示的变焦数值以及所述多个成像设备中每一成像设备对应的预设比例,确定每一成像设备对应的目标数值,针对于每一成像设备,所述变焦参数指示的变焦数值与所述成像设备对应的目标数值之间的比例等于所述成像设备对应的预设比例;The target value corresponding to each imaging device is determined according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the plurality of imaging devices. For each imaging device, the zoom parameter indicates the target value. The ratio between the zoom value and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device;
将所述多个成像设备的焦距调节为各自对应的目标数值。The focal lengths of the plurality of imaging devices are adjusted to respective corresponding target values.
可选地,所述调节所述多个成像设备的焦距,包括:Optionally, the adjusting the focal lengths of the plurality of imaging devices includes:
使多个成像设备的焦距联动变化。The focal lengths of a plurality of imaging devices are changed in tandem.
可选地,所述使多个成像设备的焦距联动变化,包括:Optionally, the step of causing the focal lengths of the multiple imaging devices to change in a coordinated manner includes:
使多个成像设备的焦距按预设比例同时变化;或cause the focal lengths of multiple imaging devices to vary simultaneously by a preset ratio; or
使多个成像设备的焦距按预设比例依次变化。The focal lengths of the plurality of imaging devices are sequentially changed in a preset ratio.
第三方面,本发明实施例提供了一种云台,包括轴向运动装置,以及通过轴向运动装置控制朝向的如第二方面所述的成像装置。In a third aspect, an embodiment of the present invention provides a pan/tilt head, including an axial movement device, and the imaging device according to the second aspect whose orientation is controlled by the axial movement device.
第四方面,本发明实施例提供了一种可移动平台,其特征在于,包括机体,以及安装在所述机体上的如第二方面所述的成像装置。In a fourth aspect, an embodiment of the present invention provides a movable platform, which is characterized by comprising a body, and the imaging device according to the second aspect mounted on the body.
第五方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现以下操作:In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the following operations are implemented:
获取变焦指令,其中,所述变焦指令中包括用于调节电子设备中多个成像设备焦距的变焦参数;Acquiring a zoom instruction, wherein the zoom instruction includes zoom parameters for adjusting the focal lengths of multiple imaging devices in the electronic device;
根据所述变焦指令中的所述变焦参数,调节所述多个成像设备的焦距。The focal lengths of the plurality of imaging devices are adjusted according to the zoom parameters in the zoom instruction.
在本发明实施例中,在获取变焦指令之后,可以根据变焦指令中的变焦参数,调节多个成像设备的焦距,实现对多个成像设备的统一变焦,从而减少多个成像设备变焦的操作难度和反应速度,提升后续步骤如多相机跟焦、多相机联动变焦、智能监控、智能追踪的工作效率。In this embodiment of the present invention, after the zoom instruction is acquired, the focal lengths of multiple imaging devices can be adjusted according to the zoom parameters in the zoom instruction, so as to realize unified zooming of multiple imaging devices, thereby reducing the difficulty of zooming operation of multiple imaging devices and response speed, improve the work efficiency of subsequent steps such as multi-camera follow focus, multi-camera linked zoom, intelligent monitoring, and intelligent tracking.
图1是本发明实施例提供的一种变焦方法的步骤流程图;1 is a flowchart of steps of a zooming method provided by an embodiment of the present invention;
图2是本发明实施例中电子设备的显示屏展示示意图之一;2 is one of the schematic diagrams showing the display screen of the electronic device in the embodiment of the present invention;
图3是本发明实施例中电子设备的显示屏展示示意图之二;3 is the second schematic diagram showing the display screen of the electronic device in the embodiment of the present invention;
图4是本发明实施例中电子设备的显示屏展示示意图之三;4 is the third schematic diagram showing the display screen of the electronic device in the embodiment of the present invention;
图5是本发明实施例提供中进行光学变焦的变焦控件展示示意图;5 is a schematic diagram showing a zoom control for performing optical zooming in an embodiment of the present invention;
图6是本发明实施例提供中进行数码变焦的变焦控件展示示意图;6 is a schematic diagram showing a zoom control for digital zooming provided by an embodiment of the present invention;
图7是本发明实施例中电子设备的显示屏展示示意图之四;FIG. 7 is the fourth schematic diagram showing the display screen of the electronic device in the embodiment of the present invention;
图8是本发明实施例提供的一种成像装置的框图;8 is a block diagram of an imaging device provided by an embodiment of the present invention;
图9为实现本发明各个实施例的一种设备的硬件结构示意图;9 is a schematic diagram of a hardware structure of a device implementing various embodiments of the present invention;
图10为本发明实施例提供的一种计算处理设备的框图;10 is a block diagram of a computing processing device provided by an embodiment of the present invention;
图11为本发明实施例提供的一种便携式或者固定存储单元的框图。FIG. 11 is a block diagram of a portable or fixed storage unit according to an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1是本发明实施例提供的一种变焦方法的步骤流程图,如图1所示,该方法应用于包括多个成像设备的电子设备,包括:FIG. 1 is a flowchart of steps of a zoom method provided by an embodiment of the present invention. As shown in FIG. 1 , the method is applied to an electronic device including multiple imaging devices, including:
步骤101:获取变焦指令。Step 101: Acquire a zoom instruction.
本步骤中,变焦指令中包括用于调节多个成像设备焦距的变焦参数。这里,变焦参数可以为焦距值,即成像设备变焦后对应的焦距值。当然变焦参数也可以为与焦距值相关联的其它参数,该其它参数与焦距值具有固定关系,通过预设计算方式可以根据该其它参数计算得到对应的焦距值。In this step, the zoom instruction includes zoom parameters for adjusting the focal lengths of the multiple imaging devices. Here, the zoom parameter may be a focal length value, that is, a corresponding focal length value after the imaging device is zoomed. Of course, the zoom parameter may also be other parameters associated with the focal length value, the other parameters have a fixed relationship with the focal length value, and the corresponding focal length value can be calculated according to the other parameters through a preset calculation method.
步骤102:根据变焦指令中的变焦参数,调节多个成像设备的焦距。Step 102: Adjust the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction.
本步骤中,同一变焦指令可以调节多个成像设备的焦距。其中,成像设备为依据光线进行成像的设备,可以基于成像设备成像所依据的光线的波长范围对成像设备进行分类。同一类的成像设备将依据相同波长范围的光进行成像;不同类的成像设备将依据不同波长范围的光进行成像。电子设备中的多个成像设备可以为同一类的成像设备,也可以为不同类的成像设备。这里,成像设备可以为相机、手机等。较佳地,可以根据变焦参数调节多个成像设备中至少两个成像设备的焦距。调节成像设备的焦距,即调节成像设备中镜头的焦距,也就是常说的光学变焦。当然调节成像设备的焦距,还可以理解为调节成像设备中与数码变焦相关联的参数,从而达到变焦效果。本发明实施例中,在获取变焦指令之后,可以根据变焦指令中的变焦参数,调节多个成像设备的焦距,实现对多个成像设备的统一变焦,从而减少多个成像设备变焦的操作难度和反应速度,提升后续步骤如多相机跟焦、多相机联动变焦、智能监控、智能追踪的工作效率。In this step, the same zoom instruction can adjust the focal lengths of multiple imaging devices. The imaging device is a device that performs imaging according to light, and the imaging devices can be classified based on the wavelength range of the light on which the imaging device is imaging. Imaging devices of the same type will image based on light in the same wavelength range; imaging devices of different types will image based on light in different wavelength ranges. The multiple imaging devices in the electronic device may be the same type of imaging device, or may be different types of imaging devices. Here, the imaging device may be a camera, a mobile phone, or the like. Preferably, the focal lengths of at least two of the plurality of imaging devices can be adjusted according to the zoom parameter. Adjusting the focal length of the imaging device means adjusting the focal length of the lens in the imaging device, which is often referred to as optical zoom. Of course, adjusting the focal length of the imaging device can also be understood as adjusting the parameters associated with the digital zoom in the imaging device, so as to achieve a zoom effect. In this embodiment of the present invention, after the zoom instruction is acquired, the focal lengths of multiple imaging devices can be adjusted according to the zoom parameters in the zoom instruction, so as to realize unified zooming of the multiple imaging devices, thereby reducing the operational difficulty and difficulty of zooming the multiple imaging devices. The response speed improves the work efficiency of subsequent steps such as multi-camera follow focus, multi-camera linked zoom, intelligent monitoring, and intelligent tracking.
可选地,多个成像设备依据不同波长范围的光进行成像。Optionally, a plurality of imaging devices perform imaging according to light of different wavelength ranges.
这里,光可以依据不同波长范围分为可见光、红外光、紫外光等,而依据不同波长范围的光进行成像的成像设备可以应用于不同的场景中。为适用更多的场景,本发明实施例中的多个成像设备依据不同波长范围的光进行成像。可选地,多个成像设备包括以下至少两种:可见光相机、红外相机、紫 外相机。其中,在多个成像设备包括可见光相机和红外相机时,通过可见光相机和红外相机两者的配合,可以在消防,电力巡检,光伏巡检,安防等行业大大提高作业效率。在多个成像设备包括可见光相机和紫外相机时,在利用紫外相机获取紫外线照射下的影像的同时,利用可见光相机获取高清晰影像,实现同时需要可见光相机和紫外相机进行作业的场景需求。在多个成像设备包括红外相机和紫外相机时,利用红外相机进行红外成像的同时,利用紫外相机获取紫外线照射下的影像,实现同时需要红外相机和紫外相机进行作业的场景需求。当然,多个成像设备也可以理解为包括多个成像模块的同一设备,例如,多个成像设备可以包括可见光相机和红外相机;也可以为一双光相机,其中,双光相机设置有两个成像模块,一个成像模块利用可见光成像,另一个成像模块利用红外光成像。Here, light can be classified into visible light, infrared light, ultraviolet light, etc. according to different wavelength ranges, and imaging devices that perform imaging according to light in different wavelength ranges can be applied to different scenarios. In order to apply to more scenarios, the multiple imaging devices in the embodiments of the present invention perform imaging according to light in different wavelength ranges. Optionally, the plurality of imaging devices include at least two of the following: visible light cameras, infrared cameras, and ultraviolet cameras. Among them, when multiple imaging devices include visible light cameras and infrared cameras, the cooperation of visible light cameras and infrared cameras can greatly improve operational efficiency in fire protection, power inspection, photovoltaic inspection, security and other industries. When multiple imaging devices include a visible light camera and an ultraviolet camera, the visible light camera is used to obtain high-definition images while the ultraviolet camera is used to obtain images under ultraviolet light, so as to achieve the scene requirements that require both the visible light camera and the ultraviolet camera for operation. When multiple imaging devices include an infrared camera and an ultraviolet camera, the infrared camera is used for infrared imaging, and the ultraviolet camera is used to obtain images under ultraviolet radiation, so as to meet the scene requirements that require both the infrared camera and the ultraviolet camera for operation. Of course, multiple imaging devices can also be understood as the same device including multiple imaging modules, for example, the multiple imaging devices can include a visible light camera and an infrared camera; it can also be a dual-light camera, wherein the dual-light camera is provided with two imaging devices Modules, one imaging module uses visible light imaging, and the other imaging module uses infrared light imaging.
可以理解的是,通常可见光相机成像所依据的波长范围,为可见光波长范围内的某一波长范围。也就是说,不同可见光相机成像所依据的波长范围,可以为可见光波长范围内的不同波长范围,本发明实施例中多个成像设备可以为依据同一种光进行成像,但依据不同波长范围的光进行成像的成像设备。例如可见光波长范围为390纳米~780纳米,多个成像设备中的第一成像设备可以为依据390纳米~600纳米的可见光进行成像的可见光相机,第二成像设备可以为依据500纳米~700纳米的可见光进行成像的可见光相机。It can be understood that, the wavelength range on which the visible light camera is usually imaged is a certain wavelength range within the visible light wavelength range. That is to say, the wavelength ranges on which the imaging of different visible light cameras is based may be different wavelength ranges within the visible light wavelength range. An imaging device that performs imaging. For example, the wavelength range of visible light is 390 nanometers to 780 nanometers. The first imaging device in the plurality of imaging devices can be a visible light camera that performs imaging based on visible light of 390 nanometers to 600 nanometers, and the second imaging device can be based on 500 nanometers to 700 nanometers. Visible light camera for imaging with visible light.
本发明实施例中,多个成像设备依据不同波长范围的光进行成像,从而可以适用于更多的应用场景。In this embodiment of the present invention, multiple imaging devices perform imaging according to light in different wavelength ranges, so that they can be applied to more application scenarios.
可选地,多个成像设备采集的多个成像画面可以是显示于电子设备的显示屏上的画面,不同成像设备的成像画面可以显示于不同显示屏中;当然也可以采用分屏模式,将一个显示屏分为多个显示区域,每个显示区域显示一个成像设备的成像画面;上述方式可以保证不同成像画面的细节分别得到呈现。当然也可以采用同屏模式,将多个成像画面显示于同一个显示屏中,其中至少部分画面重叠,例如,将多个成像画面的成像中心置于同一显示屏中的同一点处;这样可以直观地比较不同成像画面的差异之处,在不同成像画面的视场角至少部分对齐的情况下,还能保证快速定位到同一点在不同成像画面上的位置。Optionally, the multiple imaging images collected by the multiple imaging devices may be images displayed on the display screen of the electronic device, and the imaging images of different imaging devices may be displayed on different display screens; A display screen is divided into multiple display areas, and each display area displays an imaging image of an imaging device; the above method can ensure that the details of different imaging images are presented separately. Of course, the same screen mode can also be used to display multiple imaging images on the same display screen, and at least some of the images overlap, for example, the imaging centers of the multiple imaging images are placed at the same point on the same display screen; Intuitively comparing the differences between different imaging pictures, and under the condition that the field angles of different imaging pictures are at least partially aligned, it is also possible to quickly locate the position of the same point on different imaging pictures.
可选地,在获取变焦指令的步骤之前,该方法还包括:Optionally, before the step of acquiring the zoom instruction, the method further includes:
接收对变焦控件的第一输入。A first input to the zoom control is received.
本步骤中,变焦控件用于调节多个成像设备中至少两个成像设备的焦距。即,通过变焦控件可以实现对电子设备上的至少两个成像设备进行变焦。这里,变焦控件包括虚拟控件或者实体控件。即可以将电子设备的显示屏中显示的虚拟控件作为变焦控件,如图2所示,为电子设备的显示屏示意图,其中包括显示至少两个成像设备中第一成像设备的成像画面的第一显示区域21、显示至少两个成像设备中第二成像设备的成像画面的第二显示区域22以及变焦控件23,通过对变焦控件23进行输入可以调节第一成像设备和第二成像设备的焦距。当然,变焦控件也可以将电子设备上的实体控件,例如将摇杆、按键、滑动键等作为变焦控件。这里的第一输入可以为点击、滑动、长按、拨动、开启等输入。当然地,第一输入也可以包括预设指令,例如满足特定条件即可触发的输入指令,特定条件包 括特定时间(段)、特定地点、传感器感知到的数据达到阈值等。In this step, the zoom control is used to adjust the focal length of at least two imaging devices in the plurality of imaging devices. That is, zooming of at least two imaging devices on the electronic device can be achieved through the zoom control. Here, the zoom controls include virtual controls or physical controls. That is, the virtual control displayed in the display screen of the electronic device can be used as a zoom control, as shown in FIG. The display area 21 , the second display area 22 displaying the imaging screen of the second imaging device among the at least two imaging devices, and the zoom control 23 , the focus of the first imaging device and the second imaging device can be adjusted by inputting the zoom control 23 . Of course, the zoom control can also use physical controls on the electronic device, for example, a joystick, a key, a sliding key, etc., as the zoom control. The first input here may be input such as click, slide, long press, toggle, and open. Of course, the first input may also include a preset instruction, such as an input instruction that can be triggered when a specific condition is met, and the specific condition includes a specific time (segment), a specific location, and the data sensed by the sensor reaches a threshold.
根据第一输入,生成变焦指令。Based on the first input, a zoom instruction is generated.
本步骤中,变焦控件被触发之后,生成变焦指令,并且变焦指令中携带的信息与第一输入相关联。In this step, after the zoom control is triggered, a zoom instruction is generated, and the information carried in the zoom instruction is associated with the first input.
本发明实施例中,通过用户对变焦控件的操控,可以生成变焦指令,从而根据变焦指令实现对多个成像设备中的至少两个成像设备进行统一变焦。In this embodiment of the present invention, a zoom instruction may be generated through the user's manipulation of the zoom control, so that unified zooming of at least two imaging devices among the plurality of imaging devices can be implemented according to the zoom instruction.
可选地,根据第一输入,生成变焦指令,包括:Optionally, generating a zoom instruction according to the first input, including:
根据第一输入,获取变焦参数。According to the first input, the zoom parameter is obtained.
本步骤中,在对成像设备进行变焦过程中,需要依据变焦参数。这里,通过对变焦控件的第一输入可以获取该变焦参数,该变焦参数与第一输入相关联。In this step, in the process of zooming the imaging device, zoom parameters need to be used. Here, the zoom parameter can be acquired through a first input to the zoom control, and the zoom parameter is associated with the first input.
根据变焦参数,生成变焦指令。According to the zoom parameters, a zoom command is generated.
本步骤中,变焦指令可以为预设格式的指令,根据变焦参数,生成变焦指令,即为生成携带有变焦参数的预设格式的指令。In this step, the zoom instruction may be an instruction in a preset format, and the zoom instruction is generated according to the zoom parameter, that is, an instruction in a preset format carrying the zoom parameter is generated.
本发明实施例中,首先获取成像设备变焦过程中所需的变焦参数,进而根据变焦参数再生成变焦指令。In the embodiment of the present invention, the zoom parameters required in the zooming process of the imaging device are obtained first, and then the zoom instruction is regenerated according to the zoom parameters.
可选地,根据第一输入,获取变焦参数,包括:Optionally, obtain zoom parameters according to the first input, including:
根据变焦控件当前指示的数值,获取变焦参数。Get the zoom parameter according to the value currently indicated by the zoom control.
这里,当前指示的数值为通过第一输入获得的数值。变焦控件可以对应多个数值,通过第一输入可以切换其当前对应的数值。其中,当前对应的数值即为当前指示的数值。例如变焦控件可以为一具有刻度的固定长度的虚拟控件,并且设置有可滑动的滑块。用户通过第一输入对滑块进行滑动,滑块位置处的刻度值即为变焦控件当前指示的数值。变焦控件还可以为一实体按键时,用户通过对实体按键进行第一输入,将调整实体按键当前指示的数值。Here, the currently indicated numerical value is the numerical value obtained by the first input. The zoom control can correspond to multiple numerical values, and the current corresponding numerical value can be switched through the first input. Among them, the current corresponding value is the currently indicated value. For example, the zoom control can be a fixed-length virtual control with a scale, and is provided with a slidable slider. The user slides the slider through the first input, and the scale value at the position of the slider is the value currently indicated by the zoom control. When the zoom control can also be a physical button, the user will adjust the value currently indicated by the physical button by first inputting the physical button.
本发明实施例中,可以根据变焦参数当前指示的数值,方便快捷的确定变焦参数。In the embodiment of the present invention, the zoom parameter can be determined conveniently and quickly according to the value currently indicated by the zoom parameter.
可选地,在接收对变焦控件的第一输入的步骤之前,该方法还包括:Optionally, before the step of receiving the first input to the zoom control, the method further includes:
接收对第一目标控件的第二输入。A second input to the first target control is received.
本步骤中,第一目标控件包括虚拟控件或者实体控件。即可以将电子设备的显示屏中显示的虚拟控件作为第一目标控件。也可以将电子设备上的实体控件作为第二目标控件,例如将摇杆、按键、滑动键等作为第一目标控件。这里的第二输入可以为点击、滑动、长按、拨动、开启等输入。当然地,第二输入也可以包括预设指令,例如满足特定条件即可触发的输入指令,特定条件包括特定时间(段)、特定地点、传感器感知到的数据达到阈值等。In this step, the first target control includes a virtual control or an entity control. That is, the virtual control displayed on the display screen of the electronic device can be used as the first target control. A physical control on the electronic device may also be used as the second target control, for example, a joystick, a button, a sliding key, etc., may be used as the first target control. The second input here can be input such as click, slide, long press, toggle, and open. Of course, the second input may also include a preset instruction, for example, an input instruction that can be triggered when a specific condition is met, and the specific condition includes a specific time (segment), a specific location, the data sensed by the sensor reaches a threshold, and the like.
根据第二输入,将电子设备的变焦模式由第一变焦模式切换为第二变焦模式。According to the second input, the zoom mode of the electronic device is switched from the first zoom mode to the second zoom mode.
本步骤中,第一目标控件可以实现电子设备的变焦模式的切换。其中,电子设备至少包括两种变焦模式,在第一变焦模式下,变焦控件能够调节至少两个成像设备其中之一的焦距,即实现对一个成 像设备进行变焦;在第二变焦模式下,变焦控件能够调节至少两个成像设备的焦距,即实现对至少两个成像设备进行统一变焦。较佳地,电子设备上显示有用于提示当前变焦模式的提示信息,可以通过第一目标控件上显示的不同图案,指示不同的变焦模式。例如,第一目标控件上显示有一把锁的图案,在第一变焦模式下,该锁的图案为已经解锁的图案;在第二变焦模式下,该锁的图案为已经上锁的图案,但不限于此。如图3所示,为电子设备的显示屏示意图,其中包括显示至少两个成像设备中第一成像设备的成像画面的第一显示区域31、显示至少两个成像设备中第二成像设备的成像画面的第二显示区域32、变焦控件33以及第一目标控件34,通过对第一目标控件34进行输入切换电子设备的变焦模式,图3中第一目标控件34上显示有已经上锁的图案,指示当前变焦模式为第二变焦模式。In this step, the first target control can realize switching of the zoom mode of the electronic device. The electronic device includes at least two zoom modes. In the first zoom mode, the zoom control can adjust the focal length of one of the at least two imaging devices, that is, to realize zooming on one imaging device; in the second zoom mode, zoom The control can adjust the focal lengths of the at least two imaging devices, that is, realize unified zooming of the at least two imaging devices. Preferably, prompt information for prompting the current zoom mode is displayed on the electronic device, and different zoom modes can be indicated through different patterns displayed on the first target control. For example, a lock pattern is displayed on the first target control. In the first zoom mode, the lock pattern is the pattern that has been unlocked; in the second zoom mode, the lock pattern is the pattern that has been locked, but Not limited to this. As shown in FIG. 3 , it is a schematic diagram of a display screen of an electronic device, which includes a first display area 31 for displaying an imaging picture of a first imaging device in at least two imaging devices, and an imaging image in a second imaging device in the at least two imaging devices. The second display area 32, the zoom control 33, and the first target control 34 of the screen switch the zoom mode of the electronic device by inputting the first target control 34. In FIG. 3, the first target control 34 displays a locked pattern. , indicating that the current zoom mode is the second zoom mode.
本发明实施例中,用户可以通过第一目标控件实现变焦模式的切换,将电子设备的变焦模式切换至可以对至少两个成像设备进行统一变焦的第二变焦模式,从而满足用户需求。In the embodiment of the present invention, the user can switch the zoom mode through the first target control, and switch the zoom mode of the electronic device to the second zoom mode that can uniformly zoom at least two imaging devices, so as to meet user needs.
可选地,在根据变焦指令中的变焦参数,调节多个成像设备的焦距的步骤之后,该方法还包括:Optionally, after the step of adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction, the method further includes:
接收对第一目标控件的第三输入。A third input to the first target control is received.
这里的第三输入可以为点击、滑动、长按、拨动、开启等输入。当然地,第三输入也可以包括预设指令,例如满足特定条件即可触发的输入指令,特定条件包括特定时间(段)、特定地点、传感器感知到的数据达到阈值等。The third input here can be input such as click, slide, long press, toggle, and open. Of course, the third input may also include a preset instruction, for example, an input instruction that can be triggered when a specific condition is met, and the specific condition includes a specific time (segment), a specific location, the data sensed by the sensor reaches a threshold, and the like.
根据第三输入,将电子设备的变焦模式由第二变焦模式切换为第一变焦模式。According to the third input, the zoom mode of the electronic device is switched from the second zoom mode to the first zoom mode.
本步骤中,在第一变焦模式,变焦控件能够调节至少两个成像设备其中之一的焦距,即实现对一个成像设备进行变焦。较佳地,在第一变焦模式下,显示与成像设备相同数量的变焦控件,每一变焦控件用于对一个成像设备进行变焦,但不限于此。In this step, in the first zoom mode, the zoom control can adjust the focal length of one of the at least two imaging devices, that is, realize zooming of one imaging device. Preferably, in the first zoom mode, the same number of zoom controls as the imaging devices are displayed, and each zoom control is used to zoom one imaging device, but is not limited thereto.
本发明实施例中,用户可以通过第一目标控件实现变焦模式的切换,将电子设备的变焦模式切换至可以对一个成像设备进行变焦的第一变焦模式,从而满足用户需求。In the embodiment of the present invention, the user can switch the zoom mode through the first target control, and switch the zoom mode of the electronic device to the first zoom mode that can zoom an imaging device, so as to meet the user's needs.
可选地,在根据第三输入,将电子设备的变焦模式由第二变焦模式切换为第一变焦模式的步骤之后,该方法还包括:Optionally, after the step of switching the zoom mode of the electronic device from the second zoom mode to the first zoom mode according to the third input, the method further includes:
接收对第二目标控件的第四输入。A fourth input to the second target control is received.
本步骤中,第二目标控件包括虚拟控件或者实体控件。即可以将电子设备的显示屏中显示的虚拟控件作为第二目标控件。也可以将电子设备上的实体控件作为第二目标控件,例如将摇杆、按键、滑动键等作为第二目标控件。这里的第四输入可以为点击、滑动、长按、拨动、开启等输入。当然地,第四输入也可以包括预设指令,例如满足特定条件即可触发的输入指令,特定条件包括特定时间(段)、特定地点、传感器感知到的数据达到阈值等。根据第四输入,将变焦控件的焦距调节对象在至少两个成像设备之间切换。In this step, the second target control includes a virtual control or an entity control. That is, the virtual control displayed on the display screen of the electronic device can be used as the second target control. A physical control on the electronic device may also be used as the second target control, for example, a joystick, a button, a sliding key, etc., may be used as the second target control. The fourth input here can be input such as click, slide, long press, toggle, and open. Of course, the fourth input may also include a preset instruction, for example, an input instruction that can be triggered when a specific condition is met, and the specific condition includes a specific time (segment), a specific location, the data sensed by the sensor reaches a threshold, and the like. According to the fourth input, the focus adjustment object of the zoom control is switched between the at least two imaging devices.
本步骤中,变焦控件的焦距调节对象切换至哪个成像设备,则变焦控件就可以对哪个成像设备进行变焦。如图4所示,为电子设备的显示屏示意图,其中包括显示至少两个成像设备中第一成像设备的成像画面的第一显示区域41、显示至少两个成像设备中第二成像设备的成像画面的第二显示区域 42、变焦控件43以及第二目标控件44,通过对第二目标控件44进行输入切换变焦控件43的焦距调节对象。其中,可以在第二目标控件44上显示不同的标识,用于指示变焦控件43当前的焦距调节对象。例如第二目标控件44上显示有IR/VIS,在IR处于高亮状态,或第二目标控件44上仅显示IR时,指示变焦控件43当前的焦距调节对象为红外相机。在VIS处于高亮状态,或第二目标控件44上仅显示VIS时,指示变焦控件43当前的焦距调节对象为可见光相机。In this step, which imaging device is switched to which the focal length adjustment object of the zoom control is, then which imaging device can be zoomed by the zoom control. As shown in FIG. 4 , it is a schematic diagram of a display screen of an electronic device, which includes a first display area 41 for displaying the imaging picture of the first imaging device in the at least two imaging devices, and displaying the imaging image of the second imaging device in the at least two imaging devices. The second display area 42 , the zoom control 43 and the second target control 44 of the screen switch the focus adjustment object of the zoom control 43 by inputting the second target control 44 . Wherein, different logos may be displayed on the second target control 44 to indicate the current focus adjustment object of the zoom control 43 . For example, IR/VIS is displayed on the second target control 44. When IR is in a highlighted state, or when only IR is displayed on the second target control 44, it indicates that the current focus adjustment object of the zoom control 43 is an infrared camera. When the VIS is in a highlighted state, or when only the VIS is displayed on the second target control 44, it is indicated that the current focus adjustment object of the zoom control 43 is a visible light camera.
本发明实施例中,仅需设置一个变焦控件,就可以实现分别对每一个成像设备的变焦,从而避免变焦控件较多带来的影响,特别是在小屏上使用变焦控件时,容易因为界面上控件太多而增加使用复杂度;此外,在户外强光或者紧急情况下使用时,更需要保证界面简洁,以降低误操作可能性。In the embodiment of the present invention, only one zoom control needs to be set to realize the zooming of each imaging device, so as to avoid the influence of many zoom controls, especially when using the zoom control on a small screen, it is easy to be There are too many controls on it, which increases the complexity of use; in addition, when using it in strong light outdoors or in emergency situations, it is even more necessary to ensure that the interface is simple to reduce the possibility of misoperation.
可选地,在将所述电子设备的变焦模式由第一变焦模式切换为第二变焦模式的过程中,该方法还包括:Optionally, in the process of switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode, the method further includes:
将所述至少两个成像设备的焦距调整为同一焦距值。The focal lengths of the at least two imaging devices are adjusted to the same focal length value.
这里,该同一焦距值可以为至少两个成像设备中任一成像设备当前的焦距值。当然也可以为预先设定的一固定的焦距值。Here, the same focal length value may be the current focal length value of any one of the at least two imaging devices. Of course, it can also be a preset fixed focal length value.
本发明实施例中,电子设备的变焦模式切换至第二变焦模式时,先对至少两个成像设备的焦距进行同步,然后再进行统一变焦,这样能够更好地保证两个成像设备成像的一致性,降低本变焦方案的使用难度,以及提升后续步骤如多相机跟焦、多相机联动变焦、智能监控、智能追踪的工作效率。In this embodiment of the present invention, when the zoom mode of the electronic device is switched to the second zoom mode, the focal lengths of at least two imaging devices are first synchronized, and then unified zooming is performed, which can better ensure the consistency of imaging between the two imaging devices. It reduces the difficulty of using this zoom solution, and improves the work efficiency of subsequent steps such as multi-camera follow focus, multi-camera linked zoom, intelligent monitoring, and intelligent tracking.
可选地,在变焦控件包括显示于电子设备的显示屏中的虚拟控件的情况下,该方法还包括:Optionally, when the zoom control includes a virtual control displayed in the display screen of the electronic device, the method further includes:
在检测到显示于显示屏中的变焦控件在预设时长内未被触发的情况下,将变焦控件的透明度调整为第一目标数值。When it is detected that the zoom control displayed on the display screen has not been triggered within the preset time period, the transparency of the zoom control is adjusted to the first target value.
本步骤中,第一目标数值为预先设置好的固定数值,可以根据需求自行设定。较佳地,第一目标数值小于显示屏中显示的所有控件的透明度。预设时长可以为预先设置的任意时长,较佳地,预设时长可以为一分钟之内的任意时长。In this step, the first target value is a preset fixed value, which can be set according to requirements. Preferably, the first target value is less than the transparency of all controls displayed in the display screen. The preset duration can be any preset duration, preferably, the preset duration can be any duration within one minute.
在变焦控件的透明度为第一目标数值的情况下被触发时,将变焦控件的透明度调整为第二目标数值。When triggered when the transparency of the zoom control is the first target value, adjust the transparency of the zoom control to the second target value.
本步骤中,第一目标数值小于第二目标数值。第二目标数值可以与显示屏中显示的其他控件的透明度相等。In this step, the first target value is smaller than the second target value. The second target value may be equal to the transparency of other controls displayed in the display screen.
本发明实施例中,在使用变焦控件时以及预设时长内不使用变焦控件时,将变焦控件调整为不同的透明度,从而达到长时间不使用变焦控件的情况下,减少变焦控件的视线遮挡的目的,更好地保证变焦界面的整洁度,保证使用者的关注点集中在成像部分。In the embodiment of the present invention, when the zoom control is used and when the zoom control is not used within a preset time period, the zoom control is adjusted to different transparency, so as to reduce the sight obstruction of the zoom control when the zoom control is not used for a long time. The purpose is to better ensure the cleanliness of the zoom interface, and to ensure that the user's attention is focused on the imaging part.
可选地,变焦控件用于对多个成像设备进行光学变焦和/或数码变焦。Optionally, the zoom control is used to optically zoom and/or digitally zoom the plurality of imaging devices.
这里,光学变焦可以理解为非整数倍变焦,数码变焦为整数倍变焦,两种不同的变焦方式可以呈现出不同的效果。可以根据需求在多个成像设备进行变焦时,均采用光学变焦或者数码变焦。如图5和图6所示,其中,图5所示为进行光学变焦的变焦控件展示示意图,图6所示 为进行数码变焦的变焦控件展示示意图。当然,还可以将电子设备设置为同时支持光学变焦和数码变焦。例如设置一切换控件,用于对成像设备变焦时采用的变焦方式进行切换。Here, the optical zoom can be understood as a non-integer zoom, and the digital zoom is an integer zoom, and the two different zoom methods can present different effects. When zooming in multiple imaging devices, optical zooming or digital zooming can be used according to requirements. As shown in Figure 5 and Figure 6, wherein, Figure 5 is a schematic diagram showing a zoom control for optical zooming, and Figure 6 is a schematic diagram showing a zoom control for digital zooming. Of course, the electronic device can also be set to support both optical zoom and digital zoom. For example, a switch control is provided to switch the zoom mode used when the imaging device zooms.
本发明实施例中,在对成像设备进行变焦时,可以实现光学变焦和/或数码变焦。In this embodiment of the present invention, when zooming the imaging device, optical zooming and/or digital zooming may be implemented.
可选地,在获取变焦指令的步骤之前,方法还包括:Optionally, before the step of acquiring the zoom instruction, the method further includes:
获取跟踪指令。Get trace instructions.
本步骤中,跟踪指令用于使多个成像设备中至少两个成像设备跟踪对焦相同目标物体。从而实现在对目标物体进行跟踪对焦过程中,自动变焦。In this step, the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object. Thereby, automatic zooming is realized during the tracking and focusing process of the target object.
本发明实施例中,在至少两个成像设备对目标物体进行跟踪对焦过程中,可以无需用户操作,自动对至少两个成像设备进行变焦,特别是在目标物体距离较远或移动较频繁的情况,例如科学考察、救援救护、野生动物保护等领域,进一步提高了目标跟踪的反应速度,防止目标丢失的情况。In this embodiment of the present invention, during the tracking and focusing of the target object by at least two imaging devices, the at least two imaging devices can be automatically zoomed without user operation, especially when the target object is far away or moves frequently , such as scientific investigation, rescue and rescue, wildlife protection and other fields, which further improves the response speed of target tracking and prevents the loss of the target.
可选地,在获取跟踪指令的步骤之后,该方法还包括;Optionally, after the step of acquiring the tracking instruction, the method further includes;
在至少两个成像设备跟踪对焦相同目标物体的情况下,获取目标物体在至少两个成像设备的成像画面中的成像比例。In the case that the at least two imaging devices track and focus the same target object, the imaging ratio of the target object in the imaging frames of the at least two imaging devices is acquired.
本步骤中,成像画面为成像设备采集的,显示于电子设备的显示屏上的画面,不同成像设备的成像画面可以显示于不同显示屏中;当然也可以采用分屏模式,将一个显示屏分为多个显示区域,每个显示区域显示一个成像设备的成像画面;当然也可以采用同屏模式,将多个成像画面显示于同一个显示屏中,其中至少部分画面重叠。每一成像设备对应一个成像比例,针对于一个成像设备,目标物体的成像比例即为目标物体的影像占据成像设备的成像画面的比例。应当说明的是,针对于同一成像设备,在对某一物体进行跟踪对焦过程中,成像设备的焦距越大,则物体的成像比例越大。In this step, the imaging image is collected by the imaging device and displayed on the display screen of the electronic device. The imaging images of different imaging devices can be displayed on different display screens; For multiple display areas, each display area displays an imaging image of an imaging device; of course, the same-screen mode can also be used to display multiple imaging images on the same display screen, wherein at least some of the images overlap. Each imaging device corresponds to an imaging ratio, and for one imaging device, the imaging ratio of the target object is the ratio of the image of the target object occupying the imaging screen of the imaging device. It should be noted that, for the same imaging device, in the process of tracking and focusing on an object, the larger the focal length of the imaging device, the larger the imaging ratio of the object.
根据成像比例,生成变焦指令。According to the imaging ratio, a zoom command is generated.
本步骤中,根据成像比例生成的变焦指令,用于指示变焦后成像设备中目标物体的成像比例。In this step, the zoom instruction generated according to the imaging ratio is used to indicate the imaging ratio of the target object in the imaging device after zooming.
本发明实施例中,在至少两个成像设备对目标物体进行跟踪对焦过程中,可以根据目标物体在成像设备的成像画面中的成像比例,生成变焦指令,进而调整成像设备变焦后目标物体在成像画面中的成像比例。In this embodiment of the present invention, in the process of tracking and focusing on the target object by at least two imaging devices, a zoom instruction may be generated according to the imaging ratio of the target object in the imaging screen of the imaging devices, and then the target object can be adjusted after the imaging device is zoomed. The imaging ratio in the picture.
可选地,获取目标物体在至少两个成像设备的成像画面中的成像比例,包括:Optionally, acquiring the imaging ratio of the target object in the imaging pictures of at least two imaging devices includes:
分别获取目标物体的影像在第一画面中的比例值和目标物体的影像在第二画面中的比例值。The ratio value of the image of the target object in the first frame and the ratio value of the image of the target object in the second frame are obtained respectively.
这里,至少两个成像设备包括第一成像设备和第二成像设备,第一画面为第一成像设备获取的画面,即第一成像设备的成像画面;第二画面为第二成像设备获取的画面,即第二成像设备的成像画面。这里仅以两个成像设备为例,成像设备的数量并不限于两个。Here, the at least two imaging devices include a first imaging device and a second imaging device, the first picture is a picture acquired by the first imaging device, that is, an imaging picture of the first imaging device; the second picture is a picture acquired by the second imaging device , that is, the imaging picture of the second imaging device. Here, only two imaging devices are taken as an example, and the number of imaging devices is not limited to two.
可选地,根据成像比例,生成变焦指令,包括:Optionally, according to the imaging ratio, generate a zoom instruction, including:
在第一目标画面中目标物体的影像的比例值未处于预设数值范围的情况下,获取变焦参数。In the case that the scale value of the image of the target object in the first target picture is not within the preset numerical range, the zoom parameter is acquired.
这里,变焦参数中的焦距值用于将目标物体的影像在第一目标画面中的比例值调整至预设数值范 围内;其中,第一目标画面为第一画面和/或第二画面。即,在根据变焦参数对第一目标画面对应的成像设备进行变焦之后,目标物体的影像在第一目标画面中的比例值将位于预设数值范围。其中预设数值范围为用户根据需求预先设定的一数值范围。Here, the focal length value in the zoom parameter is used to adjust the ratio value of the image of the target object in the first target picture to be within the preset value range; wherein, the first target picture is the first picture and/or the second picture. That is, after the imaging device corresponding to the first target picture is zoomed according to the zoom parameter, the scale value of the image of the target object in the first target picture will be within a preset numerical range. The preset value range is a value range preset by the user according to requirements.
根据变焦参数,生成变焦指令。According to the zoom parameters, a zoom command is generated.
本发明实施例中,在至少两个成像设备对目标物体进行跟踪对焦过程中,将目标物体的影像占据成像画面的比例值,稳定在一预设的数值范围内,避免比例值过大或过小带来的影响。In the embodiment of the present invention, in the process of tracking and focusing on the target object by at least two imaging devices, the ratio value of the image of the target object occupying the imaging screen is stabilized within a preset value range, so as to avoid the ratio value being too large or too large. small impact.
可选地,在获取跟踪指令的步骤之后,该方法还包括:Optionally, after the step of acquiring the tracking instruction, the method further includes:
在多个成像设备跟踪对焦相同目标物体的情况下,获取视场角参数。In the case where multiple imaging devices track and focus on the same target object, the FOV parameter is obtained.
本步骤中,视场角参数用于使多个成像设备的视场角呈预设比例。在多个成像设备的视场角呈预设比例的情况下,不同成像设备的成像画面之间具有一定关系。可以预先设置多个不同视场角参数,在多个成像设备跟踪对焦相同目标物体的情况下,根据不同成像设备的成像画面之间的差异,获取一视场角参数。当然也可以预先设定一固定的视场角参数,在多个成像设备跟踪对焦相同目标物体的情况下,直接获取该固定的视场角参数。In this step, the field of view parameter is used to make the field of view of the multiple imaging devices in a preset ratio. In the case that the field angles of the multiple imaging devices are in a preset ratio, there is a certain relationship between the imaging pictures of different imaging devices. A plurality of different field of view parameters may be preset, and in the case of multiple imaging devices tracking and focusing on the same target object, a field of view parameter is acquired according to the difference between the imaging pictures of different imaging devices. Of course, a fixed field of view parameter can also be preset, and the fixed field of view parameter can be directly acquired when multiple imaging devices track and focus on the same target object.
根据多个成像设备中焦距与视场角的关联关系,计算得到视场角参数对应的变焦参数。According to the relationship between the focal length and the field of view angle in the plurality of imaging devices, the zoom parameter corresponding to the field of view angle parameter is obtained by calculation.
本步骤中,针对于同一成像设备,焦距与视场角之间具有固定的关联关系,这里不再赘述。可以理解的是,针对于同一成像设备,将其视场角调整为一目标数值时的显示效果,与将其焦距调整为对应该目标数值的焦距值时的显示效果相同。In this step, for the same imaging device, there is a fixed relationship between the focal length and the angle of view, which will not be repeated here. It can be understood that, for the same imaging device, the display effect when its field of view is adjusted to a target value is the same as the display effect when its focal length is adjusted to a focal length value corresponding to the target value.
根据变焦参数,生成变焦指令。According to the zoom parameters, a zoom command is generated.
本发明实施例中,可以根据视场角参数,得到变焦参数,进而根据变焦参数实现对成像设备进行变焦。In the embodiment of the present invention, the zoom parameter can be obtained according to the field angle parameter, and then the imaging device can be zoomed according to the zoom parameter.
可选地,多个成像设备的视场角呈预设比例包括:多个成像设备中至少两个成像设备的视场角相同。Optionally, the angle of view of the plurality of imaging devices being in a preset ratio includes: the angle of view of at least two imaging devices of the plurality of imaging devices is the same.
这里,在不同成像设备具有相同视场角的情况下,其成像画面可以完全针对同一成像时间的同一成像场景,甚至实现画面内容完全相同,从而方便用户对成像画面进行比较。Here, in the case that different imaging devices have the same field of view, their imaging images can be completely for the same imaging scene at the same imaging time, or even achieve the same content of the images, thereby facilitating the user to compare the imaging images.
本发明实施例中,通过对至少两个成像设备进行变焦,可以将至少两个成像设备的视场角调整为同一视场角。In this embodiment of the present invention, by zooming the at least two imaging devices, the field of view angles of the at least two imaging devices can be adjusted to the same field of view angle.
可选地,目标物体在至少两个成像设备的成像画面中的成像位置相同。这里,成像位置可以为成像画面中的任意位置,为尽可能多的显示目标物体周围的景物,成像位置可以为成像画面正中心的位置。具体的,目标物体在至少两个成像设备的成像画面中的成像位置相同,包括:目标物体在至少两个成像设备的成像画面的成像位置为成像画面的正中心。Optionally, the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same. Here, the imaging position may be any position in the imaging screen, in order to display as many scenes around the target object as possible, the imaging position may be the position in the center of the imaging screen. Specifically, the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, including: the imaging position of the target object in the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures.
本发明实施例中,通过对至少两个成像设备进行变焦,可以将至少两个成像设备的成像画面调整为近乎相同的画面,从而方便用户进行比对及定位。In the embodiment of the present invention, by zooming the at least two imaging devices, the imaging images of the at least two imaging devices can be adjusted to be approximately the same image, thereby facilitating the user to compare and locate.
可选地,在获取跟踪指令的步骤之前,该方法还包括:Optionally, before the step of acquiring the tracking instruction, the method further includes:
获取目标物体的影像在第二目标画面中的区域。Acquire the area of the image of the target object in the second target image.
本步骤中,第二目标画面为至少两个成像设备中的第一成像设备的成像画面。即至少两个成像设备中的任一成像设备。In this step, the second target picture is an imaging picture of the first imaging device among the at least two imaging devices. That is, any one of the at least two imaging devices.
根据至少两个成像设备的成像画面之间的关联关系以及目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域。The region of the image of the target object in each of the remaining target pictures is determined according to the correlation between the imaging pictures of the at least two imaging devices and the region of the image of the target object in the second target picture.
本步骤中,每一成像设备具有一成像画面,剩余目标画面为至少两个成像设备中除第一成像设备之外的成像设备的成像画面。这里,以第二目标画面为基础,分别确定目标物体的影像在每一剩余目标画面中的区域。In this step, each imaging device has an imaging picture, and the remaining target pictures are imaging pictures of imaging devices other than the first imaging device among the at least two imaging devices. Here, based on the second target picture, the regions of the image of the target object in each of the remaining target pictures are respectively determined.
生成对第二目标画面和每一剩余目标画面中的目标物体进行跟踪对焦的跟踪指令。A tracking instruction for tracking and focusing the target objects in the second target picture and each remaining target picture is generated.
本步骤中,可以根据该跟踪指令,对第二目标画面和每一剩余目标画面中的目标物体进行跟踪对焦。较佳地,在跟踪对焦过程中,对画面中目标物体的影像进行标记,例如框选出来,但不限于此。In this step, the target object in the second target picture and each remaining target picture can be tracked and focused according to the tracking instruction. Preferably, during the tracking and focusing process, the image of the target object in the screen is marked, for example, framed, but not limited to this.
本发明实施例中,根据目标物体在任意一个成像设备的成像画面中的影像,可以确定剩余成像设备的成像画面中目标物体的影像,进而生成用于对目标物体进行跟踪对焦的跟踪指令。In the embodiment of the present invention, according to the image of the target object in the imaging screen of any imaging device, the image of the target object in the imaging screen of the remaining imaging devices can be determined, and then the tracking instruction for tracking and focusing the target object is generated.
可选地,获取目标物体的影像在第二目标画面中的区域,包括:Optionally, acquiring the area of the image of the target object in the second target picture includes:
接收对第二目标画面中的第一区域的选择操作。A selection operation for the first area in the second target screen is received.
这里,第一区域为包括目标物体的影像的区域。用户通过选择操作在第二目标画面中选择目标物体的影像,实现对目标物体的自由选择。Here, the first area is an area including an image of the target object. The user selects the image of the target object in the second target screen through the selection operation, so as to realize the free selection of the target object.
本发明实施例中,用户可以自由选择想要跟踪对焦的目标物体,极大的满足了用户需求。In the embodiment of the present invention, the user can freely select the target object to be tracked and focused, which greatly satisfies the user's needs.
可选地,根据至少两个成像设备的成像画面之间的关联关系以及目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,包括:Optionally, according to the relationship between the imaging pictures of at least two imaging devices and the region of the image of the target object in the second target picture, determine the region of the image of the target object in each remaining target picture, including:
根据第二目标画面中的第一区域的坐标信息,以及第二目标画面与每一剩余目标画面之间的预设坐标映射关系,在每一剩余目标画面中确定包括目标物体的第二区域。According to the coordinate information of the first region in the second target picture and the preset coordinate mapping relationship between the second target picture and each remaining target picture, the second region including the target object is determined in each remaining target picture.
本步骤中,预设坐标映射关系为根据成像设备之间的位置及姿态,预先建立的坐标映射关系。这里,以两个成像设备各自的成像画面之间的预设坐标映射关系为例进行说明,其中两个成像设备包括第一成像设备和第二成像设备,第一成像设备的成像画面为第一画面,第二成像设备的成像画面为第二画面。预先标定第一成像设备和第二成像设备的位置及姿态,使得第一画面与第二画面的画面内容近乎相同。此时第一画面中的坐标与该坐标映射至第二画面的坐标相同,即同一坐标分别在第一画面和第二画面对应位置处的画面内容相同。在根据目标物体的影像在第一画面中的区域的坐标信息以及预设坐标映射关系,确定目标物体的影像在第二画面中的区域时,将第二画面中该坐标信息指示的区域确定为目标物体的影像在第二画面的区域。参见图7,第一画面展示于电子设备显示屏的第一显示区域71,并且第一画面中目标物体的影像为第一影像72。第二画面展示于电子设备显示屏的第二显示区域73,并且第二画面中目标物体的影像为第二影像74。第一画面和第二画面各自展示的画面内容近乎相同。若第一影像72在第一画面中 的坐标为(0,0),则第二影像74在第二画面中的坐标也为(0,0)。In this step, the preset coordinate mapping relationship is a coordinate mapping relationship established in advance according to the positions and postures between the imaging devices. Here, the preset coordinate mapping relationship between the respective imaging pictures of two imaging devices is used as an example for description, wherein the two imaging devices include a first imaging device and a second imaging device, and the imaging picture of the first imaging device is the first imaging device. picture, the imaging picture of the second imaging device is the second picture. The positions and postures of the first imaging device and the second imaging device are pre-calibrated, so that the content of the first picture and the second picture are almost the same. At this time, the coordinates in the first screen are the same as the coordinates mapped to the second screen, that is, the screen contents at the corresponding positions of the first screen and the second screen with the same coordinates are the same. When determining the region of the image of the target object in the second picture according to the coordinate information of the region of the image of the target object in the first picture and the preset coordinate mapping relationship, the region indicated by the coordinate information in the second picture is determined as The image of the target object is in the area of the second screen. Referring to FIG. 7 , the first image is displayed in the first display area 71 of the display screen of the electronic device, and the image of the target object in the first image is the first image 72 . The second image is displayed in the second display area 73 of the display screen of the electronic device, and the image of the target object in the second image is the second image 74 . The screen contents displayed by the first screen and the second screen are almost the same. If the coordinates of the first image 72 in the first frame are (0,0), the coordinates of the second image 74 in the second frame are also (0,0).
在第一画面与第二画面的画面内容不同的情况下,可以调整第二成像设备的位置与姿态,使得第一画面与第二画面的画面内容近乎相同。此时第一画面中的坐标与该坐标映射至第二画面的坐标相同,即同一坐标分别在第一画面和第二画面对应位置处的画面内容相同。根据目标物体的影像在第一画面中的区域的坐标信息以及预设坐标映射关系,确定目标物体的影像在第二画面中的区域时,将第二画面中该坐标信息指示的区域确定为目标物体的影像在第二画面的区域。In the case that the picture contents of the first picture and the second picture are different, the position and posture of the second imaging device can be adjusted so that the picture contents of the first picture and the second picture are almost the same. At this time, the coordinates in the first screen are the same as the coordinates mapped to the second screen, that is, the screen contents at the corresponding positions of the first screen and the second screen with the same coordinates are the same. According to the coordinate information of the area of the image of the target object in the first picture and the preset coordinate mapping relationship, when determining the area of the image of the target object in the second picture, the area indicated by the coordinate information in the second picture is determined as the target The image of the object is in the area of the second screen.
当然,还可以在预先标定第一成像设备和第二成像设备的位置及姿态时,根据两者之间的关系,确定预设坐标映射关系,使得同一物体在第一画面中的坐标和在第二画面中的坐标之间符合预设坐标映射关系。Of course, when pre-calibrating the positions and postures of the first imaging device and the second imaging device, a preset coordinate mapping relationship can also be determined according to the relationship between the two, so that the coordinates of the same object in the first screen are the same as those in the first image. The coordinates in the two pictures conform to the preset coordinate mapping relationship.
本发明实施例中,根据预设坐标映射关系,可以准确确定目标物体在其余成像设备的成像画面中的位置。In the embodiment of the present invention, according to the preset coordinate mapping relationship, the position of the target object in the imaging pictures of other imaging devices can be accurately determined.
可选地,在第一成像设备为红外相机的情况下,获取目标物体的影像在第二目标画面中的区域,包括:Optionally, in the case where the first imaging device is an infrared camera, acquiring the area of the image of the target object in the second target picture includes:
根据第二目标画面中不同物体的影像指示的温度,确定符合预设条件的目标物体。According to the temperatures indicated by the images of different objects in the second target image, the target objects that meet the preset conditions are determined.
本步骤中,红外相机的成像画面中采用不同颜色指示不同的温度。因此可以预先设置与温度相关联的筛选条件,筛选目标物体。可选地,符合预设条件为温度最高和/或温度最低。也就是说,可以将红外相机的成像画面中温度最低和/或温度最高的影像对应的物体,确定为目标物体。这里,并不限定目标物体的数量,在确定目标物体之后,可以对所有目标物体进行跟踪对焦。可选地,为追踪对焦温度大于第一温度阈值和/或温度小于第二温度阈值的物体,可以设置不同的预设条件,其中,符合预设条件为温度大于第一温度阈值和/或温度小于第二温度阈值;其中,第一温度阈值大于第二温度阈值。In this step, different colors are used to indicate different temperatures in the imaging picture of the infrared camera. Therefore, the filter conditions associated with the temperature can be preset to filter the target objects. Optionally, meeting the preset condition is the highest temperature and/or the lowest temperature. That is, the object corresponding to the image with the lowest temperature and/or the highest temperature in the imaging picture of the infrared camera can be determined as the target object. Here, the number of target objects is not limited, and after the target objects are determined, all target objects can be tracked and focused. Optionally, in order to track an object whose focus temperature is greater than the first temperature threshold and/or the temperature is less than the second temperature threshold, different preset conditions can be set, wherein the preset conditions are met when the temperature is greater than the first temperature threshold and/or the temperature is less than the second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold.
获取符合预设条件的目标物体的影像在第二目标画面中的区域。Obtain the area of the image of the target object that meets the preset condition in the second target image.
本步骤中,可以利用图像识别技术,识别目标物体的影像,进而确定目标物体在第二目标画面中的区域。In this step, the image recognition technology may be used to recognize the image of the target object, and then determine the area of the target object in the second target image.
本发明实施例中,可以预先设定条件,自动筛选符合条件的目标物体进行跟踪对焦,从而减少用户的操作。In this embodiment of the present invention, conditions can be preset, and target objects that meet the conditions can be automatically screened for tracking and focusing, thereby reducing user operations.
可选地,根据所述变焦指令中的变焦参数,调节所述多个成像设备的焦距,包括:Optionally, adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction, including:
根据所述变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化。According to the zoom parameters in the zoom instruction, the focal lengths of the plurality of imaging devices are changed according to a preset ratio.
本步骤中,预设比例可以为预先设定好的任意比例,其中,预设比例的比例值可以等于1、大于1或者小于1。例如在多个成像设备包括红外相机和可见光相机的情况下,预设比例可以为1:2,在根据变焦参数使得红外相机放大1倍的情况下,同时使可见光相机放大2倍,在根据变焦参数使得红外相机放大2倍的情况下,同时使可见光相机放大4倍。较佳地,还可以设置一比例控件,通过触发该比例控件可以调整上述预设比例的比例值。In this step, the preset ratio can be any preset ratio, wherein the ratio value of the preset ratio can be equal to 1, greater than 1 or less than 1. For example, in the case of multiple imaging devices including infrared cameras and visible light cameras, the preset ratio may be 1:2. If the infrared camera is enlarged by 1 times according to the zoom parameter, the visible light camera is enlarged by 2 times at the same time. The parameters make the infrared camera magnify 2 times, and at the same time make the visible light camera magnify 4 times. Preferably, a proportional control can also be set, and the proportional value of the preset ratio can be adjusted by triggering the proportional control.
本发明实施例中,可以根据变焦参数,将多个成像设备的焦距按一定比例变化,从而满足更多的场景需求。In this embodiment of the present invention, the focal lengths of multiple imaging devices can be changed in a certain proportion according to the zoom parameters, so as to meet more scene requirements.
可选地,根据所述变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化,包括:Optionally, according to the zoom parameters in the zoom instruction, the focal lengths of multiple imaging devices are changed according to a preset ratio, including:
根据所述变焦参数指示的变焦数值以及所述多个成像设备中每一成像设备对应的预设比例,确定每一成像设备对应的目标数值。The target value corresponding to each imaging device is determined according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the plurality of imaging devices.
本步骤中,针对于每一成像设备,所述变焦参数指示的变焦数值与所述成像设备对应的目标数值之间的比例等于所述成像设备对应的预设比例。以多个成像设备包括红外相机和可见光相机为例进行说明,红外相机对应的预设比例可以为1:2,可见光相机对应的预设比例可以为1:4,在变焦参数指示的变焦数值为m时,红外相机对应的目标数值为2m,可见光相机对应的目标数值为4m。In this step, for each imaging device, the ratio between the zoom value indicated by the zoom parameter and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device. Taking multiple imaging devices including an infrared camera and a visible light camera as an example, the preset ratio corresponding to the infrared camera can be 1:2, the preset ratio corresponding to the visible light camera can be 1:4, and the zoom value indicated by the zoom parameter is When m, the target value corresponding to the infrared camera is 2m, and the target value corresponding to the visible light camera is 4m.
将所述多个成像设备的焦距调节为各自对应的目标数值。The focal lengths of the plurality of imaging devices are adjusted to respective corresponding target values.
本发明实施例中,通过设置成像设备对应的预设比例,可以将成像设备按照对应的预设比例调节焦距。In this embodiment of the present invention, by setting a preset ratio corresponding to the imaging device, the focal length of the imaging device can be adjusted according to the corresponding preset ratio.
可选地,调节所述多个成像设备的焦距,包括:Optionally, adjusting the focal lengths of the plurality of imaging devices includes:
使多个成像设备的焦距联动变化。The focal lengths of a plurality of imaging devices are changed in tandem.
调节多个成像设备的焦距,可以包括同时调节多个成像设备的焦距,也可以包括顺次调节多个成像设备的焦距,也可以包括分开调节多个成像设备的焦距等。这里,使多个成像设备的焦距联动变化,包括:使多个成像设备的焦距按预设比例同时变化;或使多个成像设备的焦距按预设比例依次变化。也就是说,在多个成像设备的焦距进行变化时,可以同时进行变化;或者以一个成像设备为基础,在该成像设备的焦距变化之后,剩余成像设备的焦距依次进行变化。Adjusting the focal lengths of the multiple imaging devices may include adjusting the focal lengths of the multiple imaging devices simultaneously, or sequentially adjusting the focal lengths of the multiple imaging devices, or separately adjusting the focal lengths of the multiple imaging devices. Here, changing the focal lengths of the multiple imaging devices in a coordinated manner includes: simultaneously changing the focal lengths of the multiple imaging devices according to a preset ratio; or changing the focal lengths of the multiple imaging devices sequentially according to the preset ratio. That is to say, when the focal lengths of multiple imaging devices are changed, they can be changed simultaneously; or based on one imaging device, after the focal lengths of the imaging devices are changed, the focal lengths of the remaining imaging devices are changed sequentially.
本发明实施例中,通过联动的方式实现对多个成像设备的焦距调节。In this embodiment of the present invention, the focal length adjustment of multiple imaging devices is implemented in a linked manner.
图8是本发明实施例提供的一种成像装置的框图,该装置80应用于包括多个成像设备的电子设备,可以包括:8 is a block diagram of an imaging apparatus provided by an embodiment of the present invention. The apparatus 80 is applied to an electronic device including multiple imaging devices, and may include:
指令获取模块81,用于获取变焦指令,其中,变焦指令中包括用于调节多个成像设备焦距的变焦参数。变焦模块82,用于根据变焦指令中的变焦参数,调节多个成像设备的焦距。可选地,多个成像设备依据不同波长范围的光进行成像。可选地,多个成像设备包括以下至少两种:可见光相机、红外相机、紫外相机。可选地,该装置还包括:第一接收模块,用于接收对变焦控件的第一输入,其中,变焦控件用于调节多个成像设备中至少两个成像设备的焦距。指令生成模块,用于根据第一输入,生成变焦指令。可选地,指令生成模块包括:参数获取单元,用于根据第一输入,获取变焦参数;指令生成单元,用于根据变焦参数,生成变焦指令。可选地,参数获取单元,具体用于根据变焦控件当前指示的数值,获取变焦参数;其中,当前指示的数值为通过第一输入获得的数值。可选地,变焦控件包括虚拟控件或者实体控件。可选地,该装置还包括:第二接收模块,用于接收对第一目标控件的第二输入。第一切换模块,用于根据第二输入,将电子设备的变焦模式由第一变焦模式切换为第二变焦模式;其中,在第一变焦模式下,变焦控件能够调节至少两个成像设备其中之一的焦距,在第二变 焦模式下,变焦控件能够调节至少两个成像设备的焦距。可选地,第一目标控件包括虚拟控件或者实体控件。The instruction acquisition module 81 is configured to acquire a zoom instruction, wherein the zoom instruction includes zoom parameters for adjusting the focal lengths of multiple imaging devices. The zoom module 82 is configured to adjust the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction. Optionally, a plurality of imaging devices perform imaging according to light of different wavelength ranges. Optionally, the plurality of imaging devices include at least two of the following: a visible light camera, an infrared camera, and an ultraviolet camera. Optionally, the apparatus further includes: a first receiving module configured to receive a first input to a zoom control, wherein the zoom control is used to adjust the focal length of at least two imaging devices in the plurality of imaging devices. The instruction generation module is configured to generate a zoom instruction according to the first input. Optionally, the instruction generation module includes: a parameter acquisition unit for acquiring zoom parameters according to the first input; and an instruction generation unit for generating a zoom instruction according to the zoom parameters. Optionally, the parameter obtaining unit is specifically configured to obtain the zoom parameter according to the numerical value currently indicated by the zoom control; wherein the numerical value currently indicated is the numerical value obtained through the first input. Optionally, the zoom controls include virtual controls or physical controls. Optionally, the apparatus further includes: a second receiving module, configured to receive a second input to the first target control. a first switching module for switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode according to the second input; wherein, in the first zoom mode, the zoom control can adjust one of the at least two imaging devices A focal length of one, in the second zoom mode, the zoom control is capable of adjusting the focal lengths of at least two imaging devices. Optionally, the first target control includes a virtual control or an entity control.
可选地,该装置还包括:第三接收模块,用于接收对第一目标控件的第三输入。第二切换模块,用于根据第三输入,将电子设备的变焦模式由第二变焦模式切换为第一变焦模式。可选地,该装置还包括:第四接收模块,用于接收对第二目标控件的第四输入。第三切换模块,用于根据第四输入,将变焦控件的焦距调节对象在至少两个成像设备之间切换。可选地,第二目标控件包括虚拟控件或者实体控件。可选地,该装置还包括:同步模块,用于在将电子设备的变焦模式由第一变焦模式切换为第二变焦模式的过程中,将至少两个成像设备的焦距调整为同一焦距值。Optionally, the apparatus further includes: a third receiving module, configured to receive a third input to the first target control. The second switching module is configured to switch the zoom mode of the electronic device from the second zoom mode to the first zoom mode according to the third input. Optionally, the apparatus further includes: a fourth receiving module, configured to receive a fourth input to the second target control. The third switching module is configured to switch the focus adjustment object of the zoom control between at least two imaging devices according to the fourth input. Optionally, the second target control includes a virtual control or an entity control. Optionally, the apparatus further includes: a synchronization module configured to adjust the focal lengths of the at least two imaging devices to the same focal length value during the process of switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode.
可选地,在变焦控件包括显示于电子设备的显示屏中的虚拟控件的情况下,该还包括:第一透明度模块,用于在检测到显示于显示屏中的变焦控件在预设时长内未被触发的情况下,将变焦控件的透明度调整为第一目标数值。第二透明度模块,用于在变焦控件的透明度为第一目标数值的情况下被触发时,将变焦控件的透明度调整为第二目标数值,其中,第一目标数值小于第二目标数值。可选地,该装置还包括:跟踪模块,用于获取跟踪指令,跟踪指令用于使多个成像设备中至少两个成像设备跟踪对焦相同目标物体。可选地,该装置还包括:成像比例模块,用于在至少两个成像设备跟踪对焦相同目标物体的情况下,获取目标物体在至少两个成像设备的成像画面中的成像比例。比例调节模块,用于根据成像比例,生成变焦指令。可选地,成像比例模块,具体用于分别获取目标物体的影像在第一画面中的比例值和目标物体的影像在第二画面中的比例值;其中,至少两个成像设备包括第一成像设备和第二成像设备,第一画面为第一成像设备获取的画面,第二画面为第二成像设备获取的画面。可选地,比例调节模块,具体用于在第一目标画面中目标物体的影像的比例值未处于预设数值范围的情况下,获取变焦参数;其中,变焦参数中的焦距值用于将目标物体的影像在第一目标画面中的比例值调整至预设数值范围内;其中,第一目标画面为第一画面和/或第二画面;根据变焦参数,生成变焦指令。Optionally, in the case where the zoom control includes a virtual control displayed in the display screen of the electronic device, this further includes: a first transparency module configured to detect that the zoom control displayed in the display screen is within a preset time period When not triggered, adjust the transparency of the zoom control to the first target value. The second transparency module is configured to adjust the transparency of the zoom control to a second target value when it is triggered when the transparency of the zoom control is the first target value, wherein the first target value is smaller than the second target value. Optionally, the apparatus further includes: a tracking module, configured to acquire a tracking instruction, where the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object. Optionally, the apparatus further includes: an imaging scale module, configured to acquire the imaging scale of the target object in the imaging pictures of the at least two imaging devices when the at least two imaging devices track and focus the same target object. The scale adjustment module is used to generate a zoom instruction according to the imaging scale. Optionally, the imaging scale module is specifically configured to respectively obtain the scale value of the image of the target object in the first picture and the scale value of the image of the target object in the second picture; wherein, the at least two imaging devices include the first imaging device. The device and the second imaging device, the first picture is a picture acquired by the first imaging device, and the second picture is a picture acquired by the second imaging device. Optionally, the scale adjustment module is specifically configured to obtain the zoom parameter when the scale value of the image of the target object in the first target picture is not within the preset numerical range; wherein, the focal length value in the zoom parameter is used to The scale value of the image of the object in the first target picture is adjusted to be within a preset value range; wherein, the first target picture is the first picture and/or the second picture; according to the zoom parameter, a zoom instruction is generated.
可选地,该装置还包括:视场角参数模块,用于在多个成像设备跟踪对焦相同目标物体的情况下,获取视场角参数,视场角参数用于使多个成像设备的视场角呈预设比例。视场角计算模块,用于根据多个成像设备中焦距与视场角的关联关系,计算得到视场角参数对应的变焦参数。指令生成模块,用于根据变焦参数,生成变焦指令。可选地,多个成像设备的视场角呈预设比例包括:多个成像设备中至少两个成像设备的视场角相同。可选地,目标物体在至少两个成像设备的成像画面中的成像位置相同。可选地,目标物体在至少两个成像设备的成像画面中的成像位置相同,包括:目标物体在至少两个成像设备的成像画面的成像位置为成像画面的正中心。可选地,该装置还包括:区域获取模块,用于获取目标物体的影像在第二目标画面中的区域,其中,第二目标画面为至少两个成像设备中的第一成像设备的成像画面。映射模块,用于根据至少两个成像设备的成像画面之间的关联关系以及目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,其中,剩余目标画面为至少两个成像设备中除第一成像设备之外的成像设备的成像画面。跟踪指令生成模块,用 于生成对第二目标画面和每一剩余目标画面中的目标物体进行跟踪对焦的跟踪指令。可选地,区域获取模块,具体用于接收对第二目标画面中的第一区域的选择操作;其中,第一区域为包括目标物体的影像的区域。映射模块,具体用于根据第二目标画面中的第一区域的坐标信息,以及第二目标画面与每一剩余目标画面之间的预设坐标映射关系,在每一剩余目标画面中确定包括目标物体的第二区域。可选地,在第一成像设备为红外相机的情况下,区域获取模块,具体用于根据第二目标画面中不同物体的影像指示的温度,确定符合预设条件的目标物体;获取符合预设条件的目标物体的影像在第二目标画面中的区域。可选地,符合预设条件为温度最高和/或温度最低。可选地,符合预设条件为温度大于第一温度阈值和/或温度小于第二温度阈值;其中,第一温度阈值大于第二温度阈值。Optionally, the device further includes: a field of view parameter module, configured to obtain a field of view parameter when multiple imaging devices track and focus on the same target object, and the field of view parameter is used to make the view of the multiple imaging devices. The field angle is in a preset ratio. The field angle calculation module is configured to calculate and obtain the zoom parameter corresponding to the field angle parameter according to the relationship between the focal length and the field angle in the plurality of imaging devices. The instruction generation module is used for generating a zoom instruction according to the zoom parameter. Optionally, the angle of view of the plurality of imaging devices being in a preset ratio includes: the angle of view of at least two imaging devices of the plurality of imaging devices is the same. Optionally, the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same. Optionally, the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, including: the imaging position of the target object in the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures. Optionally, the apparatus further includes: an area acquisition module, configured to acquire an area of the image of the target object in a second target picture, where the second target picture is an imaging picture of a first imaging device among the at least two imaging devices . a mapping module, configured to determine the region of the image of the target object in each remaining target picture according to the relationship between the imaging pictures of the at least two imaging devices and the region of the image of the target object in the second target picture, wherein, The remaining target pictures are imaging pictures of imaging devices other than the first imaging device among the at least two imaging devices. The tracking instruction generation module is configured to generate a tracking instruction for tracking and focusing the target objects in the second target picture and each remaining target picture. Optionally, the area acquisition module is specifically configured to receive a selection operation on a first area in the second target image; wherein, the first area is an area including an image of the target object. The mapping module is specifically configured to determine, according to the coordinate information of the first area in the second target image and the preset coordinate mapping relationship between the second target image and each remaining target image, the target image including the target image in each remaining target image. The second area of the object. Optionally, in the case where the first imaging device is an infrared camera, the area acquisition module is specifically configured to determine the target objects that meet the preset conditions according to the temperatures indicated by the images of different objects in the second target screen; The area of the image of the target object of the condition in the second target screen. Optionally, meeting the preset condition is the highest temperature and/or the lowest temperature. Optionally, meeting the preset condition is that the temperature is greater than the first temperature threshold and/or the temperature is less than the second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold.
可选地,变焦模块82,具体用于根据变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化。可选地,变焦模块82,具体用于根据变焦参数指示的变焦数值以及多个成像设备中每一成像设备对应的预设比例,确定每一成像设备对应的目标数值,针对于每一成像设备,变焦参数指示的变焦数值与成像设备对应的目标数值之间的比例等于成像设备对应的预设比例;将多个成像设备的焦距调节为各自对应的目标数值。可选地,变焦模块82,具体用于使多个成像设备的焦距联动变化。可选地,变焦模块82,具体用于使多个成像设备的焦距按预设比例同时变化;或使多个成像设备的焦距按预设比例依次变化。Optionally, the zoom module 82 is specifically configured to change the focal lengths of the multiple imaging devices according to a preset ratio according to the zoom parameters in the zoom instruction. Optionally, the zoom module 82 is specifically configured to determine the target value corresponding to each imaging device according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the plurality of imaging devices, for each imaging device. , the ratio between the zoom value indicated by the zoom parameter and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device; the focal lengths of the multiple imaging devices are adjusted to their corresponding target values. Optionally, the zoom module 82 is specifically configured to change the focal lengths of multiple imaging devices in linkage. Optionally, the zoom module 82 is specifically configured to make the focal lengths of the multiple imaging devices change simultaneously according to a preset ratio; or make the focal lengths of the multiple imaging devices change sequentially according to the preset ratio.
进一步地,本发明实施例还提供一种成像装置,应用于包括多个成像设备的电子设备,成像装置包括计算机可读存储介质及处理器;处理器用于执行以下操作:Further, an embodiment of the present invention also provides an imaging device, which is applied to an electronic device including multiple imaging devices, where the imaging device includes a computer-readable storage medium and a processor; the processor is configured to perform the following operations:
获取变焦指令,其中,变焦指令中包括用于调节多个成像设备焦距的变焦参数;acquiring a zoom instruction, wherein the zoom instruction includes zoom parameters for adjusting the focal lengths of multiple imaging devices;
根据变焦指令中的变焦参数,调节多个成像设备的焦距。According to the zoom parameters in the zoom instruction, the focal lengths of the plurality of imaging devices are adjusted.
可选地,多个成像设备依据不同波长范围的光进行成像。可选地,多个成像设备包括以下至少两种:可见光相机、红外相机、紫外相机。可选地,在获取变焦指令的步骤之前,处理器还用于执行以下操作:接收对变焦控件的第一输入,其中,变焦控件用于调节多个成像设备中至少两个成像设备的焦距;根据第一输入,生成变焦指令。可选地,根据第一输入,生成变焦指令,包括:根据第一输入,获取变焦参数;根据变焦参数,生成变焦指令。可选地,根据第一输入,获取变焦参数,包括:根据变焦控件当前指示的数值,获取变焦参数;其中,当前指示的数值为通过第一输入获得的数值。可选地,变焦控件包括虚拟控件或者实体控件。可选地,在接收对变焦控件的第一输入的步骤之前,处理器还用于执行以下操作:接收对第一目标控件的第二输入;根据第二输入,将电子设备的变焦模式由第一变焦模式切换为第二变焦模式;其中,在第一变焦模式下,变焦控件能够调节至少两个成像设备其中之一的焦距,在第二变焦模式下,变焦控件能够调节至少两个成像设备的焦距。可选地,第一目标控件包括虚拟控件或者实体控件。可选地,在根据变焦指令中的变焦参数,调节多个成像设备的焦距的步骤之后,处理器还用于执行以下操作:接收对第一目标控件的第三输入;根据第三输入,将电子设备的变焦模式由第二变焦模式切换为第一变焦模式。可选地,在根据第三输入,将电子设备的变焦模式由第二变焦模式切换为第一变焦模式的步骤之后,处理器还用于执行以下操作:接收对第二目 标控件的第四输入;根据第四输入,将变焦控件的焦距调节对象在至少两个成像设备之间切换。可选地,第二目标控件包括虚拟控件或者实体控件。可选地,在将电子设备的变焦模式由第一变焦模式切换为第二变焦模式的过程中,处理器还用于执行以下操作:将至少两个成像设备的焦距调整为同一焦距值。可选地,在变焦控件包括显示于电子设备的显示屏中的虚拟控件的情况下,处理器还用于执行以下操作:在检测到显示于显示屏中的变焦控件在预设时长内未被触发的情况下,将变焦控件的透明度调整为第一目标数值;在变焦控件的透明度为第一目标数值的情况下被触发时,将变焦控件的透明度调整为第二目标数值,其中,第一目标数值小于第二目标数值。可选地,在获取变焦指令的步骤之前,处理器还用于执行以下操作:获取跟踪指令,跟踪指令用于使多个成像设备中至少两个成像设备跟踪对焦相同目标物体。可选地,在获取跟踪指令的步骤之后,处理器还用于执行以下操作:在至少两个成像设备跟踪对焦相同目标物体的情况下,获取目标物体在至少两个成像设备的成像画面中的成像比例;根据成像比例,生成变焦指令。可选地,获取目标物体在至少两个成像设备的成像画面中的成像比例,包括:分别获取目标物体的影像在第一画面中的比例值和目标物体的影像在第二画面中的比例值;其中,至少两个成像设备包括第一成像设备和第二成像设备,第一画面为第一成像设备获取的画面,第二画面为第二成像设备获取的画面。可选地,根据成像比例,生成变焦指令,包括:在第一目标画面中目标物体的影像的比例值未处于预设数值范围的情况下,获取变焦参数;其中,变焦参数中的焦距值用于将目标物体的影像在第一目标画面中的比例值调整至预设数值范围内;其中,第一目标画面为第一画面和/或第二画面。根据变焦参数,生成变焦指令。可选地,在获取跟踪指令的步骤之后,处理器还用于执行以下操作:在多个成像设备跟踪对焦相同目标物体的情况下,获取视场角参数,视场角参数用于使多个成像设备的视场角呈预设比例;根据多个成像设备中焦距与视场角的关联关系,计算得到视场角参数对应的变焦参数;根据变焦参数,生成变焦指令。可选地,多个成像设备的视场角呈预设比例包括:多个成像设备中至少两个成像设备的视场角相同。可选地,目标物体在至少两个成像设备的成像画面中的成像位置相同。可选地,目标物体在至少两个成像设备的成像画面中的成像位置相同,包括:目标物体在至少两个成像设备的成像画面的成像位置为成像画面的正中心。可选地,在获取跟踪指令的步骤之前,处理器还用于执行以下操作:获取目标物体的影像在第二目标画面中的区域,其中,第二目标画面为至少两个成像设备中的第一成像设备的成像画面;根据至少两个成像设备的成像画面之间的关联关系以及目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,其中,剩余目标画面为至少两个成像设备中除第一成像设备之外的成像设备的成像画面;生成对第二目标画面和每一剩余目标画面中的目标物体进行跟踪对焦的跟踪指令。可选地,获取目标物体的影像在第二目标画面中的区域,包括:接收对第二目标画面中的第一区域的选择操作;其中,第一区域为包括目标物体的影像的区域。可选地,根据至少两个成像设备的成像画面之间的关联关系以及目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,包括:根据第二目标画面中的第一区域的坐标信息,以及第二目标画面与每一剩余目标画面之间的预设坐标映射关系,在每一剩余目标画面中确定包括目标物体的第二区域。 可选地,在第一成像设备为红外相机的情况下,获取目标物体的影像在第二目标画面中的区域,包括:根据第二目标画面中不同物体的影像指示的温度,确定符合预设条件的目标物体;获取符合预设条件的目标物体的影像在第二目标画面中的区域。可选地,符合预设条件为温度最高和/或温度最低。可选地,符合预设条件为温度大于第一温度阈值和/或温度小于第二温度阈值;其中,第一温度阈值大于第二温度阈值。可选地,根据变焦指令中的变焦参数,调节多个成像设备的焦距,包括:根据变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化。可选地,根据变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化,包括:根据变焦参数指示的变焦数值以及多个成像设备中每一成像设备对应的预设比例,确定每一成像设备对应的目标数值,针对于每一成像设备,变焦参数指示的变焦数值与成像设备对应的目标数值之间的比例等于成像设备对应的预设比例;将多个成像设备的焦距调节为各自对应的目标数值。可选地,调节多个成像设备的焦距,包括:使多个成像设备的焦距联动变化。可选地,使多个成像设备的焦距联动变化,包括:使多个成像设备的焦距按预设比例同时变化;或使多个成像设备的焦距按预设比例依次变化。Optionally, a plurality of imaging devices perform imaging according to light of different wavelength ranges. Optionally, the plurality of imaging devices include at least two of the following: a visible light camera, an infrared camera, and an ultraviolet camera. Optionally, before the step of acquiring the zoom instruction, the processor is further configured to perform the following operations: receiving a first input to a zoom control, wherein the zoom control is used to adjust the focal length of at least two imaging devices in the plurality of imaging devices; Based on the first input, a zoom instruction is generated. Optionally, generating a zoom instruction according to the first input includes: acquiring a zoom parameter according to the first input; and generating a zoom instruction according to the zoom parameter. Optionally, obtaining the zoom parameter according to the first input includes: obtaining the zoom parameter according to the value currently indicated by the zoom control; wherein the value currently indicated is the value obtained through the first input. Optionally, the zoom controls include virtual controls or physical controls. Optionally, before the step of receiving the first input to the zoom control, the processor is further configured to perform the following operations: receive a second input to the first target control; A zoom mode is switched to a second zoom mode; wherein, in the first zoom mode, the zoom control can adjust the focal length of one of the at least two imaging devices, and in the second zoom mode, the zoom control can adjust the at least two imaging devices focal length. Optionally, the first target control includes a virtual control or an entity control. Optionally, after the step of adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction, the processor is further configured to perform the following operations: receive a third input to the first target control; The zoom mode of the electronic device is switched from the second zoom mode to the first zoom mode. Optionally, after the step of switching the zoom mode of the electronic device from the second zoom mode to the first zoom mode according to the third input, the processor is further configured to perform the following operations: receiving a fourth input to the second target control ; according to the fourth input, switch the focus adjustment object of the zoom control between at least two imaging devices. Optionally, the second target control includes a virtual control or an entity control. Optionally, during the process of switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode, the processor is further configured to perform the following operation: adjust the focal lengths of the at least two imaging devices to the same focal length value. Optionally, in the case that the zoom control includes a virtual control displayed in the display screen of the electronic device, the processor is further configured to perform the following operation: after detecting that the zoom control displayed in the display screen has not been used within a preset time period In the case of triggering, adjust the transparency of the zoom control to the first target value; when triggered when the transparency of the zoom control is the first target value, adjust the transparency of the zoom control to the second target value, wherein the first The target value is less than the second target value. Optionally, before the step of acquiring the zoom instruction, the processor is further configured to perform the following operations: acquiring a tracking instruction, where the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object. Optionally, after the step of acquiring the tracking instruction, the processor is further configured to perform the following operation: in the case that the at least two imaging devices track and focus on the same target object, acquire the target object in the imaging pictures of the at least two imaging devices. Imaging ratio; according to the imaging ratio, generate a zoom command. Optionally, acquiring the imaging proportions of the target object in the imaging pictures of the at least two imaging devices includes: respectively acquiring the proportion value of the image of the target object in the first picture and the proportion value of the image of the target object in the second picture. ; wherein, the at least two imaging devices include a first imaging device and a second imaging device, the first picture is a picture obtained by the first imaging device, and the second picture is a picture obtained by the second imaging device. Optionally, generating a zoom instruction according to the imaging scale, including: in the case that the scale value of the image of the target object in the first target picture is not within a preset numerical range, obtaining a zoom parameter; wherein, the focal length value in the zoom parameter is determined by for adjusting the ratio of the image of the target object in the first target frame to a predetermined value range; wherein the first target frame is the first frame and/or the second frame. According to the zoom parameters, a zoom command is generated. Optionally, after the step of acquiring the tracking instruction, the processor is further configured to perform the following operations: in the case where multiple imaging devices track and focus on the same target object, acquire a field of view parameter, where the field of view parameter is used to make the The field of view angle of the imaging device is in a preset ratio; according to the correlation between the focal length and the field of view angle in the multiple imaging devices, the zoom parameter corresponding to the field of view parameter is calculated and obtained; the zoom instruction is generated according to the zoom parameter. Optionally, the angle of view of the plurality of imaging devices being in a preset ratio includes: the angle of view of at least two imaging devices of the plurality of imaging devices is the same. Optionally, the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same. Optionally, the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, including: the imaging position of the target object in the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures. Optionally, before the step of acquiring the tracking instruction, the processor is further configured to perform the following operations: acquiring an area of the image of the target object in the second target picture, where the second target picture is the first image of the at least two imaging devices. An imaging picture of an imaging device; according to the relationship between the imaging pictures of at least two imaging devices and the region of the image of the target object in the second target picture, determine the region of the image of the target object in each remaining target picture, The remaining target picture is an imaging picture of an imaging device other than the first imaging device among the at least two imaging devices; and a tracking instruction for tracking and focusing the target object in the second target picture and each remaining target picture is generated. Optionally, acquiring the area of the image of the target object in the second target image includes: receiving a selection operation on the first area in the second target image; wherein the first area is an area including the image of the target object. Optionally, determining the area of the image of the target object in each remaining target frame according to the correlation between the imaging frames of the at least two imaging devices and the area of the image of the target object in the second target frame, including: according to The coordinate information of the first region in the second target picture and the preset coordinate mapping relationship between the second target picture and each remaining target picture, determine the second region including the target object in each remaining target picture. Optionally, in the case where the first imaging device is an infrared camera, acquiring the area of the image of the target object in the second target image includes: determining, according to the temperatures indicated by the images of different objects in the second target image, that the image conforms to the preset image. The target object of the condition; the area in the second target screen of the image of the target object that meets the preset condition is obtained. Optionally, meeting the preset condition is the highest temperature and/or the lowest temperature. Optionally, meeting the preset condition is that the temperature is greater than the first temperature threshold and/or the temperature is less than the second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold. Optionally, adjusting the focal lengths of the multiple imaging devices according to the zoom parameters in the zoom instruction includes: changing the focal lengths of the multiple imaging devices according to a preset ratio according to the zoom parameters in the zoom instruction. Optionally, according to the zoom parameter in the zoom instruction, changing the focal lengths of the multiple imaging devices according to a preset ratio, including: according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the multiple imaging devices, Determine the target value corresponding to each imaging device, and for each imaging device, the ratio between the zoom value indicated by the zoom parameter and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device; Adjust to their corresponding target values. Optionally, adjusting the focal lengths of the multiple imaging devices includes: changing the focal lengths of the multiple imaging devices in a coordinated manner. Optionally, changing the focal lengths of the multiple imaging devices in a coordinated manner includes: simultaneously changing the focal lengths of the multiple imaging devices according to a preset ratio; or changing the focal lengths of the multiple imaging devices sequentially according to the preset ratio.
进一步地,本发明实施例还提供一种云台,包括轴向运动装置,以及通过轴向运动装置控制朝向的如上所述的成像装置。成像装置用于执行上述变焦方法中的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。进一步地,本发明实施例还提供一种移动平台,包括机体,以及安装在所述机体上的如上所述的成像装置。成像装置用于执行上述变焦方法中的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。进一步地,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述变焦方法的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Further, an embodiment of the present invention further provides a pan/tilt head, including an axial movement device, and the above imaging device whose orientation is controlled by the axial movement device. The imaging device is used to perform each step in the above zooming method, and can achieve the same technical effect. To avoid repetition, details are not described here. Further, an embodiment of the present invention also provides a mobile platform, including a body, and the above-mentioned imaging device installed on the body. The imaging device is used to perform each step in the above zooming method, and can achieve the same technical effect. To avoid repetition, details are not described here. Further, an embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each step of the above zooming method is implemented, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here.
图9为实现本发明各个实施例的一种设备的硬件结构示意图,该设备900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、处理器910、以及电源911等部件。本领域技术人员可以理解,图9中示出的设备结构并不构成对设备的限定,设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载设备、可穿戴设备、以及计步器等。应理解的是,射频单元901可用于收发信息或通话过程中,信号的接收和发送,将来自基站的下行数据接收后,给处理器910处理;将上行的数据发送给基站。通常,射频单元901包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元901还可以通过无线通信***与网络和其他设备通信。设备通过网络模块902为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。音频输出单元903可以将射频单元901或网络模块902接收的或者在存储器909中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元903还可以提供与设备900执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元903包括扬声器、蜂鸣器 以及受话器等。输入单元904用于接收音频或视频信号。输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获设备(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元906上。经图形处理器9041处理后的图像帧可以存储在存储器909(或其它存储介质)中或者经由射频单元901或网络模块902进行发送。麦克风9042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元901发送到移动通信基站的格式输出。设备900还包括至少一种传感器905,比如光传感器、运动传感器以及其他传感器。光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板9061的亮度,接近传感器可在设备900移动到耳边时,关闭显示面板9061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器905还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。显示单元906用于显示由用户输入的信息或提供给用户的信息。显示单元906可包括显示面板9061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板9061。用户输入单元907可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元907包括触控面板9041以及其他输入设备9072。触控面板9041,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板9041上或在触控面板9041附近的操作)。触控面板9041可包括触摸检测设备和触摸控制器两个部分。其中,触摸检测设备检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测设备上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板9041。除了触控面板9041,用户输入单元907还可以包括其他输入设备9072。具体地,其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。进一步的,触控面板9041可覆盖在显示面板9061上,当触控面板9041检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类型,随后处理器910根据触摸事件的类型在显示面板9061上提供相应的视觉输出。虽然触控面板9041与显示面板9061是作为两个独立的部件来实现设备的输入和输出功能,但是在某些实施例中,可以将触控面板9041与显示面板9061集成而实现设备的输入和输出功能,具体此处不做限定。接口单元908为外部设备与设备900连接的接口。例如,外部设备可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储 卡端口、用于连接具有识别模块的设备的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元908可以用于接收来自外部设备的输入(例如,数据信息、电力等等)并且将接收到的输入传输到设备900内的一个或多个元件或者可以用于在设备900和外部设备之间传输数据。存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器909可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。处理器910是设备的控制中心,利用各种接口和线路连接整个设备的各个部分,通过运行或执行存储在存储器909内的软件程序和/或模块,以及调用存储在存储器909内的数据,执行设备的各种功能和处理数据,从而对设备进行整体监控。处理器910可包括一个或多个处理单元;优选的,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。设备900还可以包括给各个部件供电的电源911(比如电池),优选的,电源911可以通过电源管理***与处理器910逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。另外,设备900包括一些未示出的功能模块,在此不再赘述。9 is a schematic diagram of the hardware structure of a device for implementing various embodiments of the present invention. The device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, User input unit 907, interface unit 908, memory 909, processor 910, and power supply 911 and other components. Those skilled in the art can understand that the device structure shown in FIG. 9 does not constitute a limitation to the device, and the device may include more or less components than the one shown, or combine some components, or arrange different components. In this embodiment of the present invention, the devices include but are not limited to mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted devices, wearable devices, and pedometers. It should be understood that the radio frequency unit 901 can be used for receiving and sending signals during sending and receiving information or during a call, receiving downlink data from the base station, and processing it to the processor 910, and sending uplink data to the base station. Generally, the radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 901 can also communicate with the network and other devices through a wireless communication system. The device provides the user with wireless broadband Internet access through the network module 902, such as helping the user to send and receive emails, browse web pages, access streaming media, and so on. The audio output unit 903 may convert audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into audio signals and output as sound. Also, the audio output unit 903 may also provide audio output related to a specific function performed by the device 900 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, and the like. The input unit 904 is used to receive audio or video signals. The input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 906 . The image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902 . The microphone 9042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 901 for output in the case of a telephone call mode. Device 900 also includes at least one sensor 905, such as a light sensor, motion sensor, and other sensors. The light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 9061 and/or the backlight when the device 900 is moved to the ear. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the device posture (such as horizontal and vertical screen switching, related games, The sensor 905 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared Sensors, etc., will not be repeated here. The display unit 906 is used to display information input by the user or information provided to the user. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The user input unit 907 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the device. Specifically, the user input unit 907 includes a touch panel 9041 and other input devices 9072 . The touch panel 9041, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 9041). operate). The touch panel 9041 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 910, the command sent by the processor 910 is received and executed. In addition, the touch panel 9041 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 9041 , the user input unit 907 may also include other input devices 9072 . Specifically, other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Further, the touch panel 9041 can be covered on the display panel 9061. When the touch panel 9041 detects a touch operation on or near it, it transmits it to the processor 910 to determine the type of the touch event, and then the processor 910 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on the display panel 9061. Although the touch panel 9041 and the display panel 9061 are used as two independent components to realize the input and output functions of the device, in some embodiments, the touch panel 9041 and the display panel 9061 can be integrated to realize the input and output functions of the device. The output function is not limited here. The interface unit 908 is an interface for connecting an external device to the device 900 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. Interface unit 908 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within device 900 or may be used between device 900 and an external device. transfer data between. The memory 909 may be used to store software programs as well as various data. The memory 909 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 909 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The processor 910 is the control center of the device, uses various interfaces and lines to connect various parts of the entire device, and executes by running or executing the software programs and/or modules stored in the memory 909, and calling the data stored in the memory 909. Various functions of the equipment and processing data, so as to monitor the equipment as a whole. The processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 910. The device 900 may also include a power supply 911 (such as a battery) for supplying power to various components. Preferably, the power supply 911 may be logically connected to the processor 910 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. Function. In addition, the device 900 includes some unshown functional modules, which are not repeated here.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器来实现根据本发明实施例的计算处理设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。例如,图10为本发明实施例提供的一种计算处理设备的框图,如图10所示,图10示出了可以实现根据本发明的方法的计算处理设备。该计算处理设备传统上包括处理器1010和以存储器1020形式的计算机程序产品或者计算机可读介质。存储器1020可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1020具有用于执行上述方法中的任何方法步骤的程序代码的存储空间1030。例如,用于程序代码的存储空间1030可以包括分别用于实现上面的方法中的各种步骤的各个程序代码。这些程序代码可以从一个或者多个计算机程序产品 中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图11所述的便携式或者固定存储单元。该存储单元可以具有与图10的计算处理设备中的存储器1020类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码,即可以由例如诸如1010之类的处理器读取的代码,这些代码当由计算处理设备运行时,导致该计算处理设备执行上面所描述的方法中的各个步骤。本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下被实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。The device embodiments described above are only illustrative, wherein 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 it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort. Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor may be used in practice to implement some or all of the functions of some or all of the components in the computing processing device according to the embodiments of the present invention. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form. For example, FIG. 10 is a block diagram of a computing and processing device provided by an embodiment of the present invention. As shown in FIG. 10 , FIG. 10 shows a computing and processing device that can implement the method according to the present invention. The computing processing device traditionally includes a processor 1010 and a computer program product or computer readable medium in the form of a memory 1020 . The memory 1020 may be electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. The memory 1020 has storage space 1030 for program code for performing any of the method steps in the above-described methods. For example, the storage space 1030 for program codes may include various program codes for implementing various steps in the above methods, respectively. These program codes can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG. 11 . The storage unit may have storage segments, storage spaces, etc. arranged similarly to the memory 1020 in the computing processing device of FIG. 10 . The program code may, for example, be compressed in a suitable form. Typically, the storage unit comprises computer readable code, ie code readable by a processor such as 1010 for example, which when executed by a computing processing device, causes the computing processing device to perform each of the methods described above. step. The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments may be referred to each other. Reference herein to "one embodiment," "an embodiment," or "one or more embodiments" means that a particular feature, structure, or characteristic described in connection with an embodiment is included in at least one embodiment of the present invention. Also, please note that instances of the phrase "in one embodiment" herein are not necessarily all referring to the same embodiment. In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names. Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not 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 it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; 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 (67)
- 一种变焦方法,应用于包括多个成像设备的电子设备,其特征在于,所述方法包括:A zoom method, applied to an electronic device including multiple imaging devices, characterized in that the method includes:获取变焦指令,其中,所述变焦指令中包括用于调节所述多个成像设备焦距的变焦参数;acquiring a zoom instruction, wherein the zoom instruction includes zoom parameters for adjusting the focal lengths of the plurality of imaging devices;根据所述变焦指令中的所述变焦参数,调节所述多个成像设备的焦距。The focal lengths of the plurality of imaging devices are adjusted according to the zoom parameters in the zoom instruction.
- 根据权利要求1所述的方法,其特征在于,所述多个成像设备依据不同波长范围的光进行成像。The method of claim 1, wherein the plurality of imaging devices perform imaging according to light in different wavelength ranges.
- 根据权利要求2所述的方法,其特征在于,所述多个成像设备包括以下至少两种:可见光相机、红外相机、紫外相机。The method according to claim 2, wherein the plurality of imaging devices include at least two of the following: a visible light camera, an infrared camera, and an ultraviolet camera.
- 根据权利要求1所述的方法,其特征在于,在所述获取变焦指令的步骤之前,所述方法还包括:The method according to claim 1, wherein before the step of acquiring the zoom instruction, the method further comprises:接收对变焦控件的第一输入,其中,所述变焦控件用于调节所述多个成像设备中至少两个成像设备的焦距;receiving a first input to a zoom control, wherein the zoom control is used to adjust the focus of at least two of the plurality of imaging devices;根据所述第一输入,生成所述变焦指令。The zoom instruction is generated according to the first input.
- 根据权利要求4所述的方法,其特征在于,所述根据所述第一输入,生成所述变焦指令,包括:The method according to claim 4, wherein the generating the zoom instruction according to the first input comprises:根据所述第一输入,获取所述变焦参数;obtaining the zoom parameter according to the first input;根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
- 根据权利要求5所述的方法,其特征在于,所述根据所述第一输入,获取所述变焦参数,包括:The method according to claim 5, wherein the obtaining the zoom parameter according to the first input comprises:根据所述变焦控件当前指示的数值,获取所述变焦参数;其中,所述当前指示的数值为通过所述第一输入获得的数值。The zoom parameter is acquired according to the numerical value currently indicated by the zoom control; wherein, the numerical value currently indicated is the numerical value obtained through the first input.
- 根据权利要求4所述的方法,其特征在于,所述变焦控件包括虚拟控件或者实体控件。The method according to claim 4, wherein the zoom control comprises a virtual control or a physical control.
- 根据权利要求4所述的方法,其特征在于,在所述接收对变焦控件的第一输入的步骤之前,所述方法还包括:The method of claim 4, wherein before the step of receiving the first input to the zoom control, the method further comprises:接收对第一目标控件的第二输入;receiving a second input to the first target control;根据所述第二输入,将所述电子设备的变焦模式由第一变焦模式切换为第二变焦模式;switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode according to the second input;其中,在所述第一变焦模式下,所述变焦控件能够调节所述至少两个成像设备其中之一的焦距,在所述第二变焦模式下,所述变焦控件能够调节所述至少两个成像设备的焦距。Wherein, in the first zoom mode, the zoom control can adjust the focal length of one of the at least two imaging devices, and in the second zoom mode, the zoom control can adjust the at least two The focal length of the imaging device.
- 根据权利要求8所述的方法,其特征在于,所述第一目标控件包括虚拟控件或者实体控件。The method according to claim 8, wherein the first target control comprises a virtual control or an entity control.
- 根据权利要求8所述的方法,其特征在于,在所述根据所述变焦指令中的所述变焦参数,调节所述多个成像设备的焦距的步骤之后,所述方法还包括:The method according to claim 8, wherein after the step of adjusting the focal lengths of the plurality of imaging devices according to the zoom parameters in the zoom instruction, the method further comprises:接收对所述第一目标控件的第三输入;receiving a third input to the first target control;根据所述第三输入,将所述电子设备的变焦模式由所述第二变焦模式切换为所述第一变焦模式。According to the third input, the zoom mode of the electronic device is switched from the second zoom mode to the first zoom mode.
- 根据权利要求10所述的方法,其特征在于,在所述根据所述第三输入,将所述电子设备的变焦模式由所述第二变焦模式切换为所述第一变焦模式的步骤之后,所述方法还包括:The method according to claim 10, wherein after the step of switching the zoom mode of the electronic device from the second zoom mode to the first zoom mode according to the third input, The method also includes:接收对第二目标控件的第四输入;receiving a fourth input to the second target control;根据所述第四输入,将所述变焦控件的焦距调节对象在所述至少两个成像设备之间切换。According to the fourth input, the focus adjustment object of the zoom control is switched between the at least two imaging devices.
- 根据权利要求11所述的方法,其特征在于,所述第二目标控件包括虚拟控件或者实体控件。The method according to claim 11, wherein the second target control comprises a virtual control or an entity control.
- 根据权利要求8所述的方法,其特征在于,在将所述电子设备的变焦模式由第一变焦模式切换为第二变焦模式的过程中,所述方法还包括:The method according to claim 8, wherein in the process of switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode, the method further comprises:将所述至少两个成像设备的焦距调整为同一焦距值。The focal lengths of the at least two imaging devices are adjusted to the same focal length value.
- 根据权利要求4所述的方法,其特征在于,在所述变焦控件包括显示于所述电子设备的显示屏中的虚拟控件的情况下,所述方法还包括:The method according to claim 4, wherein when the zoom control includes a virtual control displayed on a display screen of the electronic device, the method further comprises:在检测到显示于所述显示屏中的变焦控件在预设时长内未被触发的情况下,将所述变焦控件的透明度调整为第一目标数值;adjusting the transparency of the zoom control to a first target value when it is detected that the zoom control displayed on the display screen has not been triggered within a preset time period;在所述变焦控件的透明度为所述第一目标数值的情况下被触发时,将所述变焦控件的透明度调整为第二目标数值,其中,所述第一目标数值小于所述第二目标数值。When triggered when the transparency of the zoom control is the first target value, adjust the transparency of the zoom control to a second target value, where the first target value is smaller than the second target value .
- 根据权利要求1所述的方法,其特征在于,在所述获取变焦指令的步骤之前,所述方法还包括:The method according to claim 1, wherein before the step of acquiring the zoom instruction, the method further comprises:获取跟踪指令,所述跟踪指令用于使所述多个成像设备中至少两个成像设备跟踪对焦相同目标物体。Acquiring a tracking instruction, where the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object.
- 根据权利要求15所述的方法,其特征在于,在所述获取跟踪指令的步骤之后,所述方法还包括:The method according to claim 15, wherein after the step of acquiring the tracking instruction, the method further comprises:在所述至少两个成像设备跟踪对焦相同目标物体的情况下,获取所述目标物体在所述至少两个成像设备的成像画面中的成像比例;In the case that the at least two imaging devices track and focus the same target object, acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices;根据所述成像比例,生成所述变焦指令。The zoom instruction is generated according to the imaging scale.
- 根据权利要求16所述的方法,其特征在于,所述获取所述目标物体在所述至少两个成像设备的成像画面中的成像比例,包括:The method according to claim 16, wherein the acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices comprises:分别获取所述目标物体的影像在第一画面中的比例值和所述目标物体的影像在第二画面中的比例值;其中,所述至少两个成像设备包括第一成像设备和第二成像设备,所述第一画面为所述第一成像设备获取的画面,所述第二画面为所述第二成像设备获取的画面。respectively acquiring the scale value of the image of the target object in the first frame and the scale value of the image of the target object in the second frame; wherein, the at least two imaging devices include a first imaging device and a second imaging device device, the first picture is a picture acquired by the first imaging device, and the second picture is a picture acquired by the second imaging device.
- 根据权利要求17所述的方法,其特征在于,所述根据所述成像比例,生成所述变焦指令,包括:The method according to claim 17, wherein the generating the zoom instruction according to the imaging scale comprises:在第一目标画面中所述目标物体的影像的比例值未处于预设数值范围的情况下,获取所述变焦参数;其中,所述变焦参数中的焦距值用于将所述目标物体的影像在所述第一目标画面中的比例值调整至所述预设数值范围内;其中,所述第一目标画面为所述第一画面和/或所述第二画面;In the case where the scale value of the image of the target object in the first target picture is not within a preset value range, obtain the zoom parameter; wherein, the focal length value in the zoom parameter is used to convert the image of the target object The scale value in the first target picture is adjusted to be within the preset value range; wherein, the first target picture is the first picture and/or the second picture;根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
- 根据权利要求15所述的方法,其特征在于,在所述获取跟踪指令的步骤之后,所述方法还包括:The method according to claim 15, wherein after the step of acquiring the tracking instruction, the method further comprises:在所述多个成像设备跟踪对焦相同目标物体的情况下,获取视场角参数,所述视场角参数用于使所述多个成像设备的视场角呈预设比例;In the case where the multiple imaging devices track and focus on the same target object, acquiring a field of view parameter, where the field of view parameter is used to make the field of view of the multiple imaging devices in a preset ratio;根据所述多个成像设备中焦距与视场角的关联关系,计算得到所述视场角参数对应的变焦参数;According to the correlation between the focal length and the angle of view in the plurality of imaging devices, the zoom parameter corresponding to the angle of view parameter is calculated and obtained;根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
- 根据权利要求19所述的方法,其特征在于,所述多个成像设备的视场角呈预设比例包括:所述多个成像设备中至少两个成像设备的视场角相同。The method according to claim 19, wherein the angle of view of the plurality of imaging devices being in a preset ratio comprises: the angle of view of at least two imaging devices of the plurality of imaging devices is the same.
- 根据权利要求20所述的方法,其特征在于,所述目标物体在所述至少两个成像设备的成像画面中的成像位置相同。The method according to claim 20, wherein the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same.
- 根据权利要求21所述的方法,其特征在于,所述目标物体在所述至少两个成像设备的成像画面中的成像位置相同,包括:The method according to claim 21, wherein the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, comprising:所述目标物体在所述至少两个成像设备的成像画面的成像位置为成像画面的正中心。The imaging position of the target object on the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures.
- 根据权利要求15所述的方法,其特征在于,在所述获取跟踪指令的步骤之前,所述方法还包括:The method according to claim 15, wherein before the step of acquiring the tracking instruction, the method further comprises:获取目标物体的影像在第二目标画面中的区域,其中,所述第二目标画面为所述至少两个成像设备中的第一成像设备的成像画面;acquiring an area of the image of the target object in a second target picture, wherein the second target picture is an imaging picture of a first imaging device among the at least two imaging devices;根据所述至少两个成像设备的成像画面之间的关联关系以及所述目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,其中,剩余目标画面为所述至少两个成像设备中除第一成像设备之外的成像设备的成像画面;According to the relationship between the imaging pictures of the at least two imaging devices and the region of the image of the target object in the second target picture, determine the region of the image of the target object in each of the remaining target pictures, wherein the remaining The target picture is an imaging picture of an imaging device other than the first imaging device among the at least two imaging devices;生成对所述第二目标画面和每一所述剩余目标画面中的目标物体进行跟踪对焦的跟踪指令。A tracking instruction for tracking and focusing the target objects in the second target picture and each of the remaining target pictures is generated.
- 根据权利要求23所述的方法,其特征在于,所述获取目标物体的影像在第二目标画面中的区域,包括:The method according to claim 23, wherein the acquiring the area of the image of the target object in the second target picture comprises:接收对所述第二目标画面中的第一区域的选择操作;其中,所述第一区域为包括所述目标物体的影像的区域。A selection operation on a first area in the second target picture is received; wherein, the first area is an area including an image of the target object.
- 根据权利要求24所述的方法,其特征在于,所述根据所述至少两个成像设备的成像画面之间的关联关系以及所述目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,包括:The method according to claim 24, wherein the target object is determined according to the relationship between the imaging pictures of the at least two imaging devices and the area of the image of the target object in the second target picture The area of the image in each remaining target frame, including:根据所述第二目标画面中的第一区域的坐标信息,以及所述第二目标画面与每一所述剩余目标画面之间的预设坐标映射关系,在每一所述剩余目标画面中确定包括所述目标物体的第二区域。According to the coordinate information of the first area in the second target picture and the preset coordinate mapping relationship between the second target picture and each of the remaining target pictures, determine in each of the remaining target pictures A second area that includes the target object.
- 根据权利要求23所述的方法,其特征在于,在所述第一成像设备为红外相机的情况下,所述获取目标物体的影像在第二目标画面中的区域,包括:The method according to claim 23, wherein, when the first imaging device is an infrared camera, the acquiring the area of the image of the target object in the second target picture comprises:根据第二目标画面中不同物体的影像指示的温度,确定符合预设条件的目标物体;According to the temperature indicated by the images of different objects in the second target screen, determine the target objects that meet the preset conditions;获取所述符合预设条件的目标物体的影像在第二目标画面中的区域。Acquire an area of the image of the target object that meets the preset condition in the second target image.
- 根据权利要求26所述的方法,其特征在于,符合预设条件为温度最高和/或温度最低。The method according to claim 26, characterized in that the pre-set conditions are met: the temperature is the highest and/or the temperature is the lowest.
- 根据权利要求26所述的方法,其特征在于,符合预设条件为温度大于第一温度阈值和/或温度小于第二温度阈值;其中,所述第一温度阈值大于所述第二温度阈值。The method according to claim 26, wherein the predetermined condition is satisfied that the temperature is greater than a first temperature threshold and/or the temperature is less than a second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold.
- 根据权利要求1所述的方法,其特征在于,所述根据所述变焦指令中的变焦参数,调节所述多个成像设备的焦距,包括:The method according to claim 1, wherein the adjusting the focal lengths of the plurality of imaging devices according to the zoom parameters in the zoom instruction comprises:根据所述变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化。According to the zoom parameters in the zoom instruction, the focal lengths of the plurality of imaging devices are changed according to a preset ratio.
- 根据权利要求29所述的方法,其特征在于,根据所述变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化,包括:The method according to claim 29, wherein, according to the zoom parameters in the zoom instruction, changing the focal lengths of multiple imaging devices according to a preset ratio, comprising:根据所述变焦参数指示的变焦数值以及所述多个成像设备中每一成像设备对应的预设比例,确定每一成像设备对应的目标数值,针对于每一成像设备,所述变焦参数指示的变焦数值与所述成像设备对应的目标数值之间的比例等于所述成像设备对应的预设比例;The target value corresponding to each imaging device is determined according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the plurality of imaging devices. For each imaging device, the zoom parameter indicates the target value. The ratio between the zoom value and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device;将所述多个成像设备的焦距调节为各自对应的目标数值。The focal lengths of the plurality of imaging devices are adjusted to respective corresponding target values.
- 根据权利要求1所述的方法,其特征在于,所述调节所述多个成像设备的焦距,包括:The method according to claim 1, wherein the adjusting the focal lengths of the plurality of imaging devices comprises:使多个成像设备的焦距联动变化。The focal lengths of a plurality of imaging devices are changed in tandem.
- 根据权利要求31所述的方法,其特征在于,所述使多个成像设备的焦距联动变化,包括:The method according to claim 31, wherein the step of causing the focal lengths of the plurality of imaging devices to change in a coordinated manner comprises:使多个成像设备的焦距按预设比例同时变化;或cause the focal lengths of multiple imaging devices to vary simultaneously by a preset ratio; or使多个成像设备的焦距按预设比例依次变化。The focal lengths of the plurality of imaging devices are sequentially changed in a preset ratio.
- 一种成像装置,应用于包括多个成像设备的电子设备,其特征在于,所述成像装置包括计算机可读存储介质及处理器;所述处理器用于执行以下操作:An imaging device, applied to an electronic device including multiple imaging devices, is characterized in that, the imaging device includes a computer-readable storage medium and a processor; the processor is configured to perform the following operations:获取变焦指令,其中,所述变焦指令中包括用于调节所述多个成像设备焦距的变焦参数;acquiring a zoom instruction, wherein the zoom instruction includes zoom parameters for adjusting the focal lengths of the plurality of imaging devices;根据所述变焦指令中的所述变焦参数,调节所述多个成像设备的焦距。The focal lengths of the plurality of imaging devices are adjusted according to the zoom parameters in the zoom instruction.
- 根据权利要求33所述的装置,其特征在于,所述多个成像设备依据不同波长范围的光进行成像。The apparatus of claim 33, wherein the plurality of imaging devices perform imaging according to light in different wavelength ranges.
- 根据权利要求34所述的装置,其特征在于,所述多个成像设备包括以下至少两种:可见光相机、红外相机、紫外相机。The apparatus according to claim 34, wherein the plurality of imaging devices include at least two of the following: a visible light camera, an infrared camera, and an ultraviolet camera.
- 根据权利要求33所述的装置,其特征在于,在所述获取变焦指令的步骤之前,所述处理器还用于执行以下操作:The device according to claim 33, wherein before the step of acquiring the zoom instruction, the processor is further configured to perform the following operations:接收对变焦控件的第一输入,其中,所述变焦控件用于调节所述多个成像设备中至少两个成像设备的焦距;receiving a first input to a zoom control, wherein the zoom control is used to adjust the focus of at least two of the plurality of imaging devices;根据所述第一输入,生成所述变焦指令。The zoom instruction is generated according to the first input.
- 根据权利要求36所述的装置,其特征在于,所述根据所述第一输入,生成所述变焦指令, 包括:The apparatus according to claim 36, wherein the generating the zoom instruction according to the first input comprises:根据所述第一输入,获取所述变焦参数;obtaining the zoom parameter according to the first input;根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
- 根据权利要求37所述的装置,其特征在于,所述根据所述第一输入,获取所述变焦参数,包括:The device according to claim 37, wherein the obtaining the zoom parameter according to the first input comprises:根据所述变焦控件当前指示的数值,获取所述变焦参数;其中,所述当前指示的数值为通过所述第一输入获得的数值。The zoom parameter is acquired according to the numerical value currently indicated by the zoom control; wherein, the numerical value currently indicated is the numerical value obtained through the first input.
- 根据权利要求36所述的装置,其特征在于,所述变焦控件包括虚拟控件或者实体控件。The apparatus according to claim 36, wherein the zoom control comprises a virtual control or a physical control.
- 根据权利要求36所述的装置,其特征在于,在所述接收对变焦控件的第一输入的步骤之前,所述处理器还用于执行以下操作:The apparatus of claim 36, wherein before the step of receiving the first input to the zoom control, the processor is further configured to perform the following operations:接收对第一目标控件的第二输入;receiving a second input to the first target control;根据所述第二输入,将所述电子设备的变焦模式由第一变焦模式切换为第二变焦模式;switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode according to the second input;其中,在所述第一变焦模式下,所述变焦控件能够调节所述至少两个成像设备其中之一的焦距,在所述第二变焦模式下,所述变焦控件能够调节所述至少两个成像设备的焦距。Wherein, in the first zoom mode, the zoom control can adjust the focal length of one of the at least two imaging devices, and in the second zoom mode, the zoom control can adjust the at least two The focal length of the imaging device.
- 根据权利要求40所述的装置,其特征在于,所述第一目标控件包括虚拟控件或者实体控件。The apparatus according to claim 40, wherein the first target control comprises a virtual control or an entity control.
- 根据权利要求40所述的装置,其特征在于,在所述根据所述变焦指令中的所述变焦参数,调节所述多个成像设备的焦距的步骤之后,所述处理器还用于执行以下操作:The apparatus according to claim 40, wherein after the step of adjusting the focal lengths of the plurality of imaging devices according to the zoom parameters in the zoom instruction, the processor is further configured to execute the following: operate:接收对所述第一目标控件的第三输入;receiving a third input to the first target control;根据所述第三输入,将所述电子设备的变焦模式由所述第二变焦模式切换为所述第一变焦模式。According to the third input, the zoom mode of the electronic device is switched from the second zoom mode to the first zoom mode.
- 根据权利要求42所述的装置,其特征在于,在所述根据所述第三输入,将所述电子设备的变焦模式由所述第二变焦模式切换为所述第一变焦模式的步骤之后,所述处理器还用于执行以下操作:The apparatus according to claim 42, wherein after the step of switching the zoom mode of the electronic device from the second zoom mode to the first zoom mode according to the third input, The processor is also configured to perform the following operations:接收对第二目标控件的第四输入;receiving a fourth input to the second target control;根据所述第四输入,将所述变焦控件的焦距调节对象在所述至少两个成像设备之间切换。According to the fourth input, the focus adjustment object of the zoom control is switched between the at least two imaging devices.
- 根据权利要求43所述的装置,其特征在于,所述第二目标控件包括虚拟控件或者实体控件。The apparatus according to claim 43, wherein the second target control comprises a virtual control or an entity control.
- 根据权利要求40所述的装置,其特征在于,在将所述电子设备的变焦模式由第一变焦模式切换为第二变焦模式的过程中,所述处理器还用于执行以下操作:The apparatus according to claim 40, wherein in the process of switching the zoom mode of the electronic device from the first zoom mode to the second zoom mode, the processor is further configured to perform the following operations:将所述至少两个成像设备的焦距调整为同一焦距值。The focal lengths of the at least two imaging devices are adjusted to the same focal length value.
- 根据权利要求36所述的装置,其特征在于,在所述变焦控件包括显示于所述电子设备的显示屏中的虚拟控件的情况下,所述处理器还用于执行以下操作:The apparatus according to claim 36, wherein when the zoom control includes a virtual control displayed on a display screen of the electronic device, the processor is further configured to perform the following operations:在检测到显示于所述显示屏中的变焦控件在预设时长内未被触发的情况下,将所述变焦控件的透明度调整为第一目标数值;adjusting the transparency of the zoom control to a first target value when it is detected that the zoom control displayed on the display screen has not been triggered within a preset time period;在所述变焦控件的透明度为所述第一目标数值的情况下被触发时,将所述变焦控件的透明度调整 为第二目标数值,其中,所述第一目标数值小于所述第二目标数值。When triggered when the transparency of the zoom control is the first target value, adjust the transparency of the zoom control to a second target value, wherein the first target value is smaller than the second target value .
- 根据权利要求33所述的装置,其特征在于,在所述获取变焦指令的步骤之前,所述处理器还用于执行以下操作:The device according to claim 33, wherein before the step of acquiring the zoom instruction, the processor is further configured to perform the following operations:获取跟踪指令,所述跟踪指令用于使所述多个成像设备中至少两个成像设备跟踪对焦相同目标物体。Acquiring a tracking instruction, where the tracking instruction is used to make at least two imaging devices in the plurality of imaging devices track and focus on the same target object.
- 根据权利要求47所述的装置,其特征在于,在所述获取跟踪指令的步骤之后,所述处理器还用于执行以下操作:The apparatus according to claim 47, wherein after the step of acquiring the tracking instruction, the processor is further configured to perform the following operations:在所述至少两个成像设备跟踪对焦相同目标物体的情况下,获取所述目标物体在所述至少两个成像设备的成像画面中的成像比例;In the case that the at least two imaging devices track and focus the same target object, acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices;根据所述成像比例,生成所述变焦指令。The zoom instruction is generated according to the imaging scale.
- 根据权利要求48所述的装置,其特征在于,所述获取所述目标物体在所述至少两个成像设备的成像画面中的成像比例,包括:The apparatus according to claim 48, wherein the acquiring the imaging ratio of the target object in the imaging pictures of the at least two imaging devices comprises:分别获取所述目标物体的影像在第一画面中的比例值和所述目标物体的影像在第二画面中的比例值;其中,所述至少两个成像设备包括第一成像设备和第二成像设备,所述第一画面为所述第一成像设备获取的画面,所述第二画面为所述第二成像设备获取的画面。respectively acquiring the ratio value of the image of the target object in the first frame and the ratio value of the image of the target object in the second frame; wherein, the at least two imaging devices include a first imaging device and a second imaging device device, the first picture is a picture acquired by the first imaging device, and the second picture is a picture acquired by the second imaging device.
- 根据权利要求49所述的装置,其特征在于,所述根据所述成像比例,生成所述变焦指令,包括:The apparatus according to claim 49, wherein the generating the zoom instruction according to the imaging scale comprises:在第一目标画面中所述目标物体的影像的比例值未处于预设数值范围的情况下,获取所述变焦参数;其中,所述变焦参数中的焦距值用于将所述目标物体的影像在所述第一目标画面中的比例值调整至所述预设数值范围内;其中,所述第一目标画面为所述第一画面和/或所述第二画面;In the case where the scale value of the image of the target object in the first target picture is not within a preset value range, obtain the zoom parameter; wherein, the focal length value in the zoom parameter is used to convert the image of the target object The scale value in the first target picture is adjusted to be within the preset value range; wherein, the first target picture is the first picture and/or the second picture;根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
- 根据权利要求47所述的装置,其特征在于,在所述获取跟踪指令的步骤之后,所述处理器还用于执行以下操作:The apparatus according to claim 47, wherein after the step of acquiring the tracking instruction, the processor is further configured to perform the following operations:在所述多个成像设备跟踪对焦相同目标物体的情况下,获取述视场角参数,所述视场角参数用于使所述多个成像设备的视场角呈预设比例;In the case where the multiple imaging devices track and focus on the same target object, obtain the field of view parameter, where the field of view parameter is used to make the field of view of the multiple imaging devices in a preset ratio;根据所述多个成像设备中焦距与视场角的关联关系,计算得到所述视场角参数对应的变焦参数;According to the correlation relationship between the focal length and the field of view in the plurality of imaging devices, the zoom parameter corresponding to the field of view parameter is obtained by calculating;根据所述变焦参数,生成所述变焦指令。The zoom instruction is generated according to the zoom parameter.
- 根据权利要求51所述的装置,其特征在于,所述多个成像设备的视场角呈预设比例包括:所述多个成像设备中至少两个成像设备的视场角相同。The apparatus according to claim 51, wherein the angle of view of the plurality of imaging devices being in a preset ratio comprises: the angle of view of at least two imaging devices of the plurality of imaging devices is the same.
- 根据权利要求52所述的装置,其特征在于,所述目标物体在所述至少两个成像设备的成像画面中的成像位置相同。The apparatus according to claim 52, wherein the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same.
- 根据权利要求53所述的装置,其特征在于,所述目标物体在所述至少两个成像设备的成像画面中的成像位置相同,包括:The apparatus according to claim 53, wherein the imaging positions of the target object in the imaging pictures of the at least two imaging devices are the same, comprising:所述目标物体在所述至少两个成像设备的成像画面的成像位置为成像画面的正中心。The imaging position of the target object on the imaging pictures of the at least two imaging devices is the exact center of the imaging pictures.
- 根据权利要求47所述的装置,其特征在于,在所述获取跟踪指令的步骤之前,所述处理器还用于执行以下操作:The apparatus according to claim 47, wherein before the step of acquiring the tracking instruction, the processor is further configured to perform the following operations:获取目标物体的影像在第二目标画面中的区域,其中,所述第二目标画面为所述至少两个成像设备中的第一成像设备的成像画面;acquiring an area of the image of the target object in a second target picture, wherein the second target picture is an imaging picture of a first imaging device among the at least two imaging devices;根据所述至少两个成像设备的成像画面之间的关联关系以及所述目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,其中,剩余目标画面为所述至少两个成像设备中除第一成像设备之外的成像设备的成像画面;According to the relationship between the imaging pictures of the at least two imaging devices and the region of the image of the target object in the second target picture, determine the region of the image of the target object in each of the remaining target pictures, wherein the remaining The target picture is an imaging picture of an imaging device other than the first imaging device among the at least two imaging devices;生成对所述第二目标画面和每一所述剩余目标画面中的目标物体进行跟踪对焦的跟踪指令。A tracking instruction for tracking and focusing the target objects in the second target picture and each of the remaining target pictures is generated.
- 根据权利要求55所述的装置,其特征在于,所述获取目标物体的影像在第二目标画面中的区域,包括:The device according to claim 55, wherein the acquiring the area of the image of the target object in the second target picture comprises:接收对所述第二目标画面中的第一区域的选择操作;其中,所述第一区域为包括所述目标物体的影像的区域。A selection operation on a first area in the second target picture is received; wherein, the first area is an area including an image of the target object.
- 根据权利要求56所述的装置,其特征在于,所述根据所述至少两个成像设备的成像画面之间的关联关系以及所述目标物体的影像在第二目标画面中的区域,确定目标物体的影像在每一剩余目标画面中的区域,包括:The apparatus according to claim 56, wherein the target object is determined according to the relationship between the imaging pictures of the at least two imaging devices and the area of the image of the target object in the second target picture The area of the image in each remaining target frame, including:根据所述第二目标画面中的第一区域的坐标信息,以及所述第二目标画面与每一所述剩余目标画面之间的预设坐标映射关系,在每一所述剩余目标画面中确定包括所述目标物体的第二区域。According to the coordinate information of the first area in the second target picture and the preset coordinate mapping relationship between the second target picture and each of the remaining target pictures, determine in each of the remaining target pictures A second area that includes the target object.
- 根据权利要求55所述的装置,其特征在于,在所述第一成像设备为红外相机的情况下,所述获取目标物体的影像在第二目标画面中的区域,包括:The apparatus according to claim 55, wherein, in the case where the first imaging device is an infrared camera, the acquiring the area of the image of the target object in the second target picture comprises:根据第二目标画面中不同物体的影像指示的温度,确定符合预设条件的目标物体;According to the temperature indicated by the images of different objects in the second target screen, determine the target objects that meet the preset conditions;获取所述符合预设条件的目标物体的影像在第二目标画面中的区域。Acquire an area of the image of the target object that meets the preset condition in the second target image.
- 根据权利要求58所述的装置,其特征在于,符合预设条件为温度最高和/或温度最低。The device according to claim 58, characterized in that the pre-set conditions are met: the temperature is the highest and/or the temperature is the lowest.
- 根据权利要求58所述的装置,其特征在于,符合预设条件为温度大于第一温度阈值和/或温度小于第二温度阈值;其中,所述第一温度阈值大于所述第二温度阈值。The device according to claim 58, wherein the preset condition is satisfied that the temperature is greater than a first temperature threshold and/or the temperature is less than a second temperature threshold; wherein the first temperature threshold is greater than the second temperature threshold.
- 根据权利要求33所述的装置,其特征在于,所述根据所述变焦指令中的变焦参数,调节所述多个成像设备的焦距,包括:The apparatus according to claim 33, wherein the adjusting the focal lengths of the plurality of imaging devices according to the zoom parameters in the zoom instruction comprises:根据所述变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化。According to the zoom parameters in the zoom instruction, the focal lengths of the plurality of imaging devices are changed according to a preset ratio.
- 根据权利要求61所述的装置,其特征在于,根据所述变焦指令中的变焦参数,使多个成像设备的焦距按预设比例变化,包括:The apparatus according to claim 61, wherein, according to the zoom parameters in the zoom instruction, changing the focal lengths of multiple imaging devices according to a preset ratio, comprising:根据所述变焦参数指示的变焦数值以及所述多个成像设备中每一成像设备对应的预设比例,确定每一成像设备对应的目标数值,针对于每一成像设备,所述变焦参数指示的变焦数值与所述成像设备对应的目标数值之间的比例等于所述成像设备对应的预设比例;The target value corresponding to each imaging device is determined according to the zoom value indicated by the zoom parameter and the preset ratio corresponding to each imaging device in the plurality of imaging devices. For each imaging device, the zoom parameter indicates the target value. The ratio between the zoom value and the target value corresponding to the imaging device is equal to the preset ratio corresponding to the imaging device;将所述多个成像设备的焦距调节为各自对应的目标数值。The focal lengths of the plurality of imaging devices are adjusted to respective corresponding target values.
- 根据权利要求33所述的装置,其特征在于,所述调节所述多个成像设备的焦距,包括:The apparatus of claim 33, wherein the adjusting the focal lengths of the plurality of imaging devices comprises:使多个成像设备的焦距联动变化。The focal lengths of a plurality of imaging devices are changed in tandem.
- 根据权利要求63所述的装置,其特征在于,所述使多个成像设备的焦距联动变化,包括:The apparatus according to claim 63, wherein the step of causing the focal lengths of the plurality of imaging devices to change in a coordinated manner comprises:使多个成像设备的焦距按预设比例同时变化;或cause the focal lengths of multiple imaging devices to vary simultaneously by a preset ratio; or使多个成像设备的焦距按预设比例依次变化。The focal lengths of the plurality of imaging devices are sequentially changed in a preset ratio.
- 一种云台,其特征在于,包括轴向运动装置,以及通过轴向运动装置控制朝向的如权利要求33至64中任一所述的成像装置。A pan/tilt head, characterized by comprising an axial movement device, and the imaging device according to any one of claims 33 to 64, the direction of which is controlled by the axial movement device.
- 一种可移动平台,其特征在于,包括机体,以及安装在所述机体上的如权利要求33至64中任一所述的成像装置。A movable platform is characterized by comprising a body, and the imaging device according to any one of claims 33 to 64 mounted on the body.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现以下操作:A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the following operations are implemented:获取变焦指令,其中,所述变焦指令中包括用于调节电子设备中多个成像设备焦距的变焦参数;Acquiring a zoom instruction, wherein the zoom instruction includes zoom parameters for adjusting the focal lengths of multiple imaging devices in the electronic device;根据所述变焦指令中的所述变焦参数,调节所述多个成像设备的焦距。The focal lengths of the plurality of imaging devices are adjusted according to the zoom parameters in the zoom instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/136515 WO2022126375A1 (en) | 2020-12-15 | 2020-12-15 | Zooming method, imaging device, gimbal and movable platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/136515 WO2022126375A1 (en) | 2020-12-15 | 2020-12-15 | Zooming method, imaging device, gimbal and movable platform |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022126375A1 true WO2022126375A1 (en) | 2022-06-23 |
Family
ID=82059832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/136515 WO2022126375A1 (en) | 2020-12-15 | 2020-12-15 | Zooming method, imaging device, gimbal and movable platform |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2022126375A1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003069865A (en) * | 2001-08-29 | 2003-03-07 | Miyota Kk | Imaging device |
CN1573505A (en) * | 2003-05-21 | 2005-02-02 | 富士写真光机株式会社 | Visible and infrared light photographing lens system |
CN104535997A (en) * | 2015-01-08 | 2015-04-22 | 西安费斯达自动化工程有限公司 | Image/laser ranging/ low-altitude pulse radar integrated system |
CN106385614A (en) * | 2016-09-22 | 2017-02-08 | 北京小米移动软件有限公司 | Picture synthesis method and apparatus |
CN108803668A (en) * | 2018-06-22 | 2018-11-13 | 航天图景(北京)科技有限公司 | A kind of intelligent patrol detection unmanned plane Towed bird system of static object monitoring |
CN111063148A (en) * | 2019-12-30 | 2020-04-24 | 神思电子技术股份有限公司 | Remote night vision target video detection method |
-
2020
- 2020-12-15 WO PCT/CN2020/136515 patent/WO2022126375A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003069865A (en) * | 2001-08-29 | 2003-03-07 | Miyota Kk | Imaging device |
CN1573505A (en) * | 2003-05-21 | 2005-02-02 | 富士写真光机株式会社 | Visible and infrared light photographing lens system |
CN104535997A (en) * | 2015-01-08 | 2015-04-22 | 西安费斯达自动化工程有限公司 | Image/laser ranging/ low-altitude pulse radar integrated system |
CN106385614A (en) * | 2016-09-22 | 2017-02-08 | 北京小米移动软件有限公司 | Picture synthesis method and apparatus |
CN108803668A (en) * | 2018-06-22 | 2018-11-13 | 航天图景(北京)科技有限公司 | A kind of intelligent patrol detection unmanned plane Towed bird system of static object monitoring |
CN111063148A (en) * | 2019-12-30 | 2020-04-24 | 神思电子技术股份有限公司 | Remote night vision target video detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111541845B (en) | Image processing method and device and electronic equipment | |
CN108513070B (en) | Image processing method, mobile terminal and computer readable storage medium | |
CN109639970B (en) | Shooting method and terminal equipment | |
CN111010510B (en) | Shooting control method and device and electronic equipment | |
WO2021104197A1 (en) | Object tracking method and electronic device | |
CN108495029B (en) | Photographing method and mobile terminal | |
CN108989672B (en) | Shooting method and mobile terminal | |
CN111031398A (en) | Video control method and electronic equipment | |
WO2021104227A1 (en) | Photographing method and electronic device | |
CN111010512A (en) | Display control method and electronic equipment | |
JP7394879B2 (en) | Imaging method and terminal | |
WO2019184947A1 (en) | Image viewing method and mobile terminal | |
CN110198413B (en) | Video shooting method, video shooting device and electronic equipment | |
CN111031253B (en) | Shooting method and electronic equipment | |
US12022190B2 (en) | Photographing method and electronic device | |
CN109922294B (en) | Video processing method and mobile terminal | |
CN108924422B (en) | Panoramic photographing method and mobile terminal | |
CN111464746B (en) | Photographing method and electronic equipment | |
CN111083374B (en) | Filter adding method and electronic equipment | |
CN112749590B (en) | Object detection method, device, computer equipment and computer readable storage medium | |
CN111385525B (en) | Video monitoring method, device, terminal and system | |
JP7413546B2 (en) | Photography method and electronic equipment | |
CN109104564B (en) | Shooting prompting method and terminal equipment | |
CN110913133B (en) | Shooting method and electronic equipment | |
CN110958387B (en) | Content updating method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20965393 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20965393 Country of ref document: EP Kind code of ref document: A1 |