CN115499565B - Image acquisition method and device based on double lenses, medium and automobile data recorder - Google Patents
Image acquisition method and device based on double lenses, medium and automobile data recorder Download PDFInfo
- Publication number
- CN115499565B CN115499565B CN202211013682.0A CN202211013682A CN115499565B CN 115499565 B CN115499565 B CN 115499565B CN 202211013682 A CN202211013682 A CN 202211013682A CN 115499565 B CN115499565 B CN 115499565B
- Authority
- CN
- China
- Prior art keywords
- image
- short
- lens
- focus
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 230000007246 mechanism Effects 0.000 claims abstract description 60
- 230000015654 memory Effects 0.000 claims description 24
- 230000009977 dual effect Effects 0.000 claims description 11
- 230000004927 fusion Effects 0.000 claims description 4
- 238000003384 imaging method Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 239000004983 Polymer Dispersed Liquid Crystal Substances 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
- G07C5/085—Registering performance data using electronic data carriers
- G07C5/0866—Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses an image acquisition method, device, medium and vehicle recorder based on double lenses, wherein the method is applied to the vehicle recorder provided with a short-focus lens, a long-focus lens and a reflecting mechanism, and comprises the following steps: receiving a short-focus image acquired by the short-focus lens; responding to a region setting instruction, and controlling the reflecting mechanism to reflect light rays of a target region in the short-focus image to the long-focus lens in a corresponding working state; receiving a tele image of the target area acquired by the tele lens; and fusing the short-focus image and the long-focus image, and displaying a corresponding fused image on a screen of the automobile data recorder. Corresponding images are collected through the short-focus lens and the long-focus lens simultaneously, and the working state of the reflecting mechanism is adjusted to adjust the shooting area range of the long-focus lens, so that the driving image collection with wide shooting range and high definition is realized.
Description
Technical Field
The invention relates to the technical field of automobile data recorders, in particular to an image acquisition method, device, medium and automobile data recorder based on double lenses.
Background
The automobile data recorder is a device for recording related information such as images and sounds during the running of the automobile. Usually, the automobile data recorder adopts a short-focus lens with a large field angle to shoot so as to ensure that lanes on two sides of a vehicle are shot in.
However, when the image sensor with the same specification is adopted to collect the image, the vehicle with a slightly far distance is difficult to obtain clear license plate information because of low image definition of the short-focus lens, and if the long-focus lens with higher definition is adopted, although the license plate information can be effectively shot, the vehicle on two sides near is difficult to shoot because of the smaller field angle. Therefore, the current automobile data recorder is difficult to realize image acquisition with large shooting range and high definition.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention aims to provide a dual-lens-based image acquisition method, device, medium and vehicle event data recorder, which aim to realize vehicle image acquisition with wide shooting range and high definition.
The technical scheme of the invention is as follows:
an image acquisition method based on double lenses, which is applied to a vehicle recorder provided with a short-focus lens, a long-focus lens and a reflecting mechanism, comprises the following steps:
receiving a short-focus image acquired by the short-focus lens;
responding to a region setting instruction, and controlling the reflecting mechanism to reflect light rays of a target region in the short-focus image to the long-focus lens in a corresponding working state;
receiving a tele image of the target area acquired by the tele lens;
and fusing the short-focus image and the long-focus image, and displaying a corresponding fused image on a screen of the automobile data recorder.
In one embodiment, the responding to the region setting instruction controls the reflecting mechanism to reflect the light of the target region to the tele lens in a corresponding working state, and includes:
responding to a region setting instruction, and analyzing to obtain a target region in the region setting instruction, wherein the target region is at least a partial region of the short-focus image;
controlling the reflection angle of the reflection mechanism according to the position of the target area in the short-focus image;
and reflecting the light rays of the target area by the reflecting mechanism at the reflecting angle, so that the reflected light rays enter the tele lens to image.
In one embodiment, the controlling the reflection angle of the reflection mechanism according to the position of the target area in the short-focus image includes:
calculating a target field angle according to the position of the target area in the short-focus image;
and outputting a corresponding driving instruction to the motor according to the target field angle, so that the motor drives the reflecting mirror to continuously rotate within the target reflecting angle range.
In one embodiment, the reflecting mechanism reflects the light of the target area at the working angle, so that the reflected light enters the tele lens to image, and the method specifically includes:
and when the reflector rotates once within the target reflecting angle range, reflecting the light rays of one sub-area in the target area by the current reflecting angle until the reflection of the light rays of all the sub-areas is completed.
In one embodiment, the controlling the reflection angle of the reflection mechanism according to the position of the target area in the short-focus image includes:
calculating a target reflection angle according to the position of the target area in the short-focus image;
and adjusting a reflecting mirror in the reflecting mechanism to the target reflecting angle.
In one embodiment, the adjusting the reflecting mirror in the reflecting mechanism to the target reflecting angle specifically includes:
and outputting a corresponding driving instruction to the motor according to the target reflecting angle, so that the motor drives the reflecting mirror to rotate to the target reflecting angle.
In one embodiment, the adjusting the reflecting mirror in the reflecting mechanism to the target reflecting angle specifically includes:
and outputting a corresponding voltage signal to the reflector combination according to the target reflection angle, and controlling a reflector with the target reflection angle in the reflector combination to be electrified to form specular reflection.
An image capturing device based on dual lenses, comprising:
the first receiving module is used for receiving the short-focus image acquired by the short-focus lens;
the reflection control module is used for responding to the region setting instruction and controlling the reflection mechanism to reflect the light of the target region in the short-focus image to the long-focus lens in a corresponding working state;
the second receiving module is used for receiving the long-focus image of the target area acquired by the long-focus lens;
and the fusion module is used for fusing the short-focus image and the long-focus image and displaying the corresponding fused image on a screen of the automobile data recorder.
The utility model provides a vehicle event data recorder, includes short burnt camera lens, long burnt camera lens and reflection mechanism, short burnt camera lens and long burnt camera lens's position relatively fixed, short burnt camera lens is used for gathering short burnt image, long burnt camera lens is used for gathering long burnt image, reflection mechanism is used for adjusting the shooting scope of long burnt camera lens, vehicle event data recorder still includes at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the dual-lens based image acquisition method described above.
A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform the dual-lens based image acquisition method described above.
The beneficial effects are that: compared with the prior art, the embodiment of the invention collects corresponding images through the short-focus lens and the long-focus lens simultaneously, and adjusts the shooting area range of the long-focus lens by adjusting the working state of the reflecting mechanism, thereby realizing the driving image collection with wide shooting range and high definition. .
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of a dual-lens structure of a vehicle event data recorder supporting an image acquisition method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a dual-lens-based image acquisition method according to an embodiment of the present invention;
fig. 3 is a schematic view of a short-focus image and a target area in the dual-lens-based image acquisition method according to the embodiment of the present invention;
fig. 4 is a schematic diagram of a short-focus image and a target area in the dual-lens-based image acquisition method according to the embodiment of the present invention;
fig. 5 is a schematic view of a live view of another short-focus image and a target area in the dual-lens-based image acquisition method according to the embodiment of the present invention;
fig. 6 is a schematic diagram of another short-focus image and a target area in the dual-lens-based image acquisition method according to the embodiment of the present invention;
fig. 7 is a schematic diagram of another dual-lens structure of a vehicle event data recorder supporting an image acquisition method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a functional module of a dual-lens-based image capturing device according to an embodiment of the present invention;
fig. 9 is a schematic hardware structure diagram of a control system of a vehicle recorder according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail below in order to make the objects, technical solutions and effects of the present invention more clear and distinct. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. Embodiments of the present invention are described below with reference to the accompanying drawings.
The image acquisition method based on the dual lenses provided in this embodiment is suitable for capturing images with wide range and high definition for driving images, as shown in fig. 1, the image acquisition method based on the dual lenses provided in this embodiment is specifically applied to a driving recorder provided with a short-focus lens 10, a long-focus lens 20 and a reflection mechanism 30, wherein the positions of the short-focus lens 10 and the long-focus lens 20 are relatively fixed, for example, the positions of the two lenses shown in fig. 1 are fixed in a manner that optical axes of the two lenses are perpendicular to each other, the short-focus lens 10 is used for directly capturing the short-focus images, the long-focus lens 20 is used for capturing the long-focus images in cooperation with the reflection mechanism 30, the reflection mechanism 30 is used for adjusting the capturing range of the long-focus lens 20, that is, light rays with different angles in the front of the vehicle are reflected by the reflection mechanism 30, and the light rays are guided to the long-focus lens 20 for capturing, so as to realize the image capturing of the dual lenses. In order to realize the acquisition of a driving image with wide shooting range and high definition, the invention provides an image acquisition method based on double lenses, as shown in fig. 2, which specifically comprises the following steps:
s100, receiving a short-focus image acquired by the short-focus lens;
s200, responding to an area setting instruction, and controlling the reflecting mechanism to reflect light rays of a target area in the short-focus image to the long-focus lens in a corresponding working state;
s300, receiving a tele image of the target area acquired by the tele lens;
s400, fusing the short-focus image and the long-focus image, and displaying the corresponding fused image on a screen of the automobile data recorder.
In this embodiment, image acquisition is performed at the same time through the short-focus lens and the long-focus lens, where the short-focus lens directly performs image acquisition on an area in a horizontal view angle in front of the vehicle to obtain a short-focus image, and when the positions of the long-focus lens and the short-focus lens are relatively fixed, the long-focus lens can always only capture a small part of the short-focus image at the same time, so in this embodiment, the capturing range of the long-focus lens is adjusted through the reflection mechanism.
Specifically, the user may manually input an area setting instruction to adjust the shooting range of the telephoto lens, or default trigger the preset area setting instruction when the driving recorder is started, the user may flexibly change the area setting instruction later according to the requirement, after receiving the area setting instruction, the control system of the driving recorder responds to the instruction, controls the reflection mechanism to reflect the light of the target area in a corresponding working state, that is, different working states of the reflection mechanism, such as a reflection angle, a movement parameter, and the like, correspond to different target areas, and guides the light of the target area into the telephoto lens through the reflection mechanism to collect the light, so as to effectively expand the shooting range of the telephoto lens, so that the telephoto lens can collect the telephoto image of the target area larger than the self field of view, and further fuse the target area image with higher definition, that is, the telephoto image and the short-focus image, and display the fused image with wide shooting range and high definition on the driving recorder.
According to the embodiment, corresponding images are collected through the short-focus lens and the long-focus lens at the same time, and the working state of the reflecting mechanism is adjusted to adjust the shooting area range of the long-focus lens.
In one embodiment, step S200 includes:
responding to a region setting instruction, and analyzing to obtain a target region in the region setting instruction, wherein the target region is at least a partial region of the short-focus image;
controlling the reflection angle of the reflection mechanism according to the position of the target area in the short-focus image;
and reflecting the light rays of the target area by the reflecting mechanism at the reflecting angle, so that the reflected light rays enter the tele lens to image.
In this embodiment, when the region setting instruction is received, a target region in the instruction is obtained by parsing, where the target region is at least a part of a short-focus image, for example, the short-focus image is divided into a plurality of regions in advance, and the target region may be one or more of the regions, which may be continuous or discontinuous, and according to the position of the target region in the short-focus image and parameters such as focal lengths of the short-focus lens and the long-focus lens, a reflection angle of the reflection mechanism is controlled so as to adjust a relative angle acquired between the long-focus lens and the short-focus lens, so that light in the target region is reflected at a corresponding reflection angle, and reflected light enters the long-focus lens to perform imaging, thereby implementing long-focus lens imaging with a wide shooting range.
In one embodiment, the controlling the reflection angle of the reflection mechanism according to the position of the target area in the short-focus image includes:
calculating a target field angle according to the position of the target area in the short-focus image;
and outputting a corresponding driving instruction to the motor according to the target field angle, so that the motor drives the reflecting mirror to continuously rotate within the target reflecting angle range.
In this embodiment, when the field of view of the target area is greater than the field of view of the tele lens itself, continuous image acquisition of different angles is required by the tele lens, and at this time, a target field angle is calculated according to the position of the target area in the short-focus image, that is, the field angle of the tele lens required for implementing image acquisition of the target area, and the target reflection angle range of the reflection structure is controlled according to the target field angle, so as to implement flexible control of the field angle of the tele lens, and the specific reflection mechanism adopts the structure of the motor and the reflection mirror as shown in fig. 1, and the reflection angle is adjusted by driving the reflection mirror by the motor, so that the motor drives the reflection mirror to continuously rotate within the target reflection angle range, thereby implementing continuous acquisition of images within the target area, and the specific rotation speed can be flexibly set according to actual requirements.
In one embodiment, the reflecting mechanism reflects the light of the target area at the working angle, so that the reflected light enters the tele lens to image, and the method specifically includes:
and when the reflector rotates once within the target reflecting angle range, reflecting the light rays of one sub-area in the target area by the current reflecting angle until the reflection of the light rays of all the sub-areas is completed.
In this embodiment, when the reflecting mirror continuously rotates within the target reflection angle range, each time the reflecting mirror rotates, the light of one sub-area is reflected at the rotated angle, so that the tele lens collects the tele images of the sub-area until the reflection of the light of all the sub-areas is completed, the tele images of all the sub-areas can be obtained to form a continuously photographed tele image set, wherein the tele images of adjacent sub-areas are partially overlapped, and after the continuously collected tele image sets are spliced and the overlapped areas are cut, the collected image of the target area with wide photographing range and high definition can be obtained.
As shown in fig. 3 and fig. 4, in an application embodiment, a peripheral large rectangular area in the captured live-action image is a field of view of the short-focus lens, that is, a range of the short-focus image, and at this time, the target area is set to be a maximum acquisition area, that is, a dark-color block area in fig. 3, a horizontal field angle of view is the same as that of the short-focus lens, a vertical field angle of view is the same as that of the long-focus lens, and at this time, a lateral dimension of the target area is the same as that of the short-focus image, and by controlling the mirror to continuously rotate within a target reflection angle range, the long-focus lens also continuously performs image acquisition of a sub-area along with rotation of the mirror until image shooting of the whole area is completed, so that panoramic acquisition of the largest possible range can be realized.
In one embodiment, the controlling the reflection angle of the reflection mechanism according to the position of the target area in the short-focus image includes:
calculating a target reflection angle according to the position of the target area in the short-focus image;
and adjusting a reflecting mirror in the reflecting mechanism to the target reflecting angle.
In this embodiment, when the field of view of the target area is equal to the field of view of the tele lens, the relative angle between the tele lens and the tele lens is adjusted, that is, the corresponding target reflection angle is calculated according to the position of the target area in the tele image, the focal length of the tele lens and the angle of the tele lens, and the mirror is driven to adjust the target reflection angle, so that accurate image acquisition of the designated target area is realized.
As shown in fig. 5 and fig. 6, in an application embodiment, a peripheral large rectangular area in a captured live-action image is a field of view of a short-focus lens, that is, a range of the short-focus image, and at this time, a target area may be set to be any area in the short-focus lens under a condition that a vertical field angle of a long-focus lens is satisfied, that is, three dark-color block areas in fig. 5 correspond to three target areas in different positions respectively, so that a user may implement flexible and convenient target area setting in a manner of, for example, clicking or touch, etc., to implement discontinuous wide-range image acquisition, thereby being convenient for performing targeted shooting on a certain region of interest, and saving system power consumption as much as possible.
In one embodiment, the adjusting the reflecting mirror in the reflecting mechanism to the target reflecting angle specifically includes:
and outputting a corresponding driving instruction to the motor according to the target reflecting angle, so that the motor drives the reflecting mirror to rotate to the target reflecting angle.
In this embodiment, the reflecting mechanism adopts the structure of the motor and the reflecting mirror as shown in fig. 1, and the reflecting angle is adjusted by driving the reflecting mirror to rotate by the motor, so that when discontinuous long-focus image acquisition is performed, a corresponding driving instruction is output to the motor according to the target reflecting angle, so that the motor drives the reflecting mirror to rotate to the target reflecting angle and keep the target reflecting angle until the target area is updated and then rotates to a new target reflecting angle, the reflection adjustment is flexible and convenient, and the adjustable angle range is large.
In one embodiment, the adjusting the reflecting mirror in the reflecting mechanism to the target reflecting angle specifically includes:
and outputting a corresponding voltage signal to the reflector combination according to the target reflection angle, and controlling a reflector with the target reflection angle in the reflector combination to be electrified to form specular reflection.
In this embodiment, the reflecting mechanism 30 adopts a structure of reflecting mirror combination as shown in fig. 7, that is, multiple layers of reflecting mirrors with different angles are fixedly arranged, all the reflecting fine products adopt materials (such as PDLC dimming materials) which are transparent when being electrified and not electrified, when discontinuous long-focus image acquisition is performed, the target reflecting mirror to be electrified is confirmed through the angle of the target reflecting mirror, that is, the reflecting angle is equal to the target reflecting angle, or the reflecting mirror closest to the target reflecting angle, and the corresponding voltage signal value reflecting mirror combination is output, so that only the target reflecting mirror is electrified to form specular reflection, and the reflecting mirrors with other angles keep a transparent state, thereby realizing the angle switching without mechanical rotation structure, improving the product stability and quickly realizing the visual angle switching of the long-focus lens.
Further, the self-adaptive adjustment of the reflection angle can be performed on the appointed shooting target, so that the shooting target is always positioned in the center of a picture, accurate target shooting is realized, the shooting area of the vehicle speed and the long focus lens is firstly obtained, then the distance of the next image, which is the next frame of image, is predicted according to the vehicle speed, the compensation angle is obtained according to the distance of the next image, which is the distance of the next image, and the angle change between the shooting targets, is calculated, the rotation of the reflecting mirror is controlled to compensate the shooting angle, then whether the shooting target is positioned in the center of the picture is judged, the compensation amount is corrected by means of a Kaler Ma Lvbo and the like to adjust the position of the reflecting mirror, the continuous judgment and the angle compensation are continuously performed, and the self-adaptive rotation adjustment of the shooting area is realized until the compensation angle exceeds the maximum rotation angle.
Another embodiment of the present invention provides a dual-lens-based image capturing device, including:
a first receiving module 11, configured to receive a short-focus image acquired by the short-focus lens;
the reflection control module 12 is used for responding to the region setting instruction and controlling the reflection mechanism to reflect the light of the target region in the short-focus image to the long-focus lens in a corresponding working state;
a second receiving module 13, configured to receive a tele image of the target area acquired by the tele lens;
and the fusion module 14 is used for fusing the short-focus image and the long-focus image and displaying the corresponding fused image on a screen of the automobile data recorder.
The first receiving module 11, the reflection control module 12, the second receiving module 13 and the fusion module 14 are sequentially connected, and the modules referred to in the present invention refer to a series of computer program instruction segments capable of completing specific functions, and are more suitable for describing the execution process of the image acquisition based on dual lenses than programs, and the specific implementation of each module is referred to the above corresponding method embodiments and is not repeated herein.
Another embodiment of the present invention provides a vehicle recorder, which includes a short-focus lens, a long-focus lens, and a reflection mechanism, where the positions of the short-focus lens and the long-focus lens are relatively fixed, the short-focus lens is used to collect short-focus images, the long-focus lens is used to collect long-focus images, and the reflection mechanism is used to adjust a shooting range of the long-focus lens, and since related embodiments have been described in detail in the corresponding method embodiments, a detailed description is omitted here, and as shown in fig. 9, the vehicle recorder further includes a control system 10, where the control system 10 includes:
one or more processors 110 and a memory 120, one processor 110 being illustrated in fig. 9, the processors 110 and the memory 120 being connected by a bus or other means, the connection being illustrated in fig. 9 by way of example.
Processor 110 is used to implement various control logic for control system 10, which may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a single-chip microcomputer, ARM (Acorn RISC Machine) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. Also, the processor 110 may be any conventional processor, microprocessor, or state machine. The processor 110 may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The memory 120 is used as a non-volatile computer readable storage medium for storing non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions corresponding to the dual-lens-based image capturing method according to the embodiment of the present invention. The processor 110 executes various functional applications and data processing of the control system 10 by running non-volatile software programs, instructions and units stored in the memory 120, i.e. implements the dual lens based image acquisition method in the above-described method embodiments.
Memory 120 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created from the use of the control system 10, etc. In addition, memory 120 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 non-volatile solid-state storage device. In some embodiments, memory 120 may optionally include memory located remotely from processor 110, which may be connected to control system 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more units are stored in the memory 120 that, when executed by the one or more processors 110, perform the dual lens based image acquisition method in any of the method embodiments described above, e.g., perform method steps S100 through S400 in fig. 1 described above.
Embodiments of the present invention provide a non-transitory computer-readable storage medium storing computer-executable instructions for execution by one or more processors, e.g., to perform the method steps S100-S400 of fig. 1 described above.
By way of example, nonvolatile storage media can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM may be available in many forms such as Synchronous RAM (SRAM), dynamic RAM, (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The disclosed memory components or memories of the operating environments described herein are intended to comprise one or more of these and/or any other suitable types of memory.
In summary, in the image acquisition method, the device, the medium and the automobile data recorder based on the double lenses, the method is applied to the automobile data recorder provided with the short-focus lens, the long-focus lens and the reflecting mechanism, and the method is used for receiving the short-focus image acquired by the short-focus lens; responding to a region setting instruction, and controlling the reflecting mechanism to reflect light rays of a target region in the short-focus image to the long-focus lens in a corresponding working state; receiving a tele image of the target area acquired by the tele lens; and fusing the short-focus image and the long-focus image, and displaying a corresponding fused image on a screen of the automobile data recorder. Corresponding images are collected through the short-focus lens and the long-focus lens simultaneously, and the working state of the reflecting mechanism is adjusted to adjust the shooting area range of the long-focus lens, so that the driving image collection with wide shooting range and high definition is realized.
Of course, those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-volatile computer readable storage medium, which when executed may comprise the steps of the above described method embodiments, to instruct related hardware (e.g., processors, controllers, etc.). The storage medium may be a memory, a magnetic disk, a floppy disk, a flash memory, an optical memory, etc.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.
Claims (10)
1. The image acquisition method based on the double lenses is characterized by being applied to a vehicle recorder provided with a short-focus lens, a long-focus lens and a reflecting mechanism, and comprises the following steps:
receiving a short-focus image acquired by the short-focus lens;
responding to a region setting instruction, and controlling the reflecting mechanism to reflect light rays of a target region in the short-focus image to the long-focus lens in a corresponding working state;
receiving a tele image of the target area acquired by the tele lens;
fusing the short-focus image and the long-focus image, and displaying a corresponding fused image on a screen of the automobile data recorder;
when the field of view of the target area is larger than that of the tele lens, continuous image acquisition at different angles is carried out through the tele lens;
and when the field of view range of the target area is equal to that of the tele lens, carrying out discontinuous image acquisition through the tele lens.
2. The dual-lens-based image capturing method according to claim 1, wherein the controlling the reflection mechanism to reflect the light of the target area to the tele lens in the corresponding operation state in response to the area setting instruction includes:
responding to a region setting instruction, and analyzing to obtain a target region in the region setting instruction, wherein the target region is at least a partial region of the short-focus image;
controlling the reflection angle of the reflection mechanism according to the position of the target area in the short-focus image;
and reflecting the light rays of the target area by the reflecting mechanism at the reflecting angle, so that the reflected light rays enter the tele lens to image.
3. The dual-lens-based image capturing method according to claim 2, wherein the controlling the reflection angle of the reflection mechanism according to the position of the target area in the short-focal image includes:
calculating a target field angle according to the position of the target area in the short-focus image;
and outputting a corresponding driving instruction to the motor according to the target field angle, so that the motor drives the reflecting mirror to continuously rotate within the target reflecting angle range.
4. The dual-lens-based image capturing method according to claim 3, wherein the reflecting the light of the target area by the reflecting mechanism at the reflecting angle to make the reflected light enter the tele lens for imaging, specifically comprising:
and when the reflector rotates once within the target reflecting angle range, reflecting the light rays of one sub-area in the target area by the current reflecting angle until the reflection of the light rays of all the sub-areas is completed.
5. The dual-lens-based image capturing method according to claim 2, wherein the controlling the reflection angle of the reflection mechanism according to the position of the target area in the short-focal image includes:
calculating a target reflection angle according to the position of the target area in the short-focus image;
and adjusting a reflecting mirror in the reflecting mechanism to the target reflecting angle.
6. The method for capturing images based on dual lenses according to claim 5, wherein said adjusting a mirror in said reflecting mechanism to said target reflecting angle comprises:
and outputting a corresponding driving instruction to the motor according to the target reflecting angle, so that the motor drives the reflecting mirror to rotate to the target reflecting angle.
7. The method for capturing images based on dual lenses according to claim 5, wherein said adjusting a mirror in said reflecting mechanism to said target reflecting angle comprises:
and outputting a corresponding voltage signal to the reflector combination according to the target reflection angle, and controlling a reflector with the target reflection angle in the reflector combination to be electrified to form specular reflection.
8. An image capturing device based on dual lenses, comprising:
the first receiving module is used for receiving the short-focus image acquired by the short-focus lens;
the reflection control module is used for responding to the region setting instruction and controlling the reflection mechanism to reflect the light of the target region in the short-focus image to the long-focus lens in a corresponding working state;
the second receiving module is used for receiving the long-focus image of the target area acquired by the long-focus lens;
the fusion module is used for fusing the short-focus image and the long-focus image and displaying corresponding fused images on a screen of the driving recorder;
when the field of view of the target area is larger than that of the tele lens, continuous image acquisition at different angles is carried out through the tele lens;
and when the field of view range of the target area is equal to that of the tele lens, carrying out discontinuous image acquisition through the tele lens.
9. The automobile data recorder is characterized by comprising a short-focus lens, a long-focus lens and a reflecting mechanism, wherein the positions of the short-focus lens and the long-focus lens are relatively fixed, the short-focus lens is used for collecting short-focus images, the long-focus lens is used for collecting long-focus images, the reflecting mechanism is used for adjusting the shooting range of the long-focus lens, and the automobile data recorder further comprises at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the dual lens based image acquisition method of any one of claims 1-7.
10. A non-transitory computer-readable storage medium storing computer-executable instructions which, when executed by one or more processors, cause the one or more processors to perform the dual-lens based image acquisition method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211013682.0A CN115499565B (en) | 2022-08-23 | 2022-08-23 | Image acquisition method and device based on double lenses, medium and automobile data recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211013682.0A CN115499565B (en) | 2022-08-23 | 2022-08-23 | Image acquisition method and device based on double lenses, medium and automobile data recorder |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115499565A CN115499565A (en) | 2022-12-20 |
CN115499565B true CN115499565B (en) | 2024-02-20 |
Family
ID=84467347
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211013682.0A Active CN115499565B (en) | 2022-08-23 | 2022-08-23 | Image acquisition method and device based on double lenses, medium and automobile data recorder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115499565B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872325A (en) * | 2016-03-31 | 2016-08-17 | 北京格灵深瞳信息技术有限公司 | Image obtaining system |
JP6543880B1 (en) * | 2018-04-26 | 2019-07-17 | エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd | CONTROL DEVICE, IMAGING DEVICE, CONTROL METHOD, AND PROGRAM |
CN110855883A (en) * | 2019-11-05 | 2020-02-28 | 浙江大华技术股份有限公司 | Image processing system, method, device equipment and storage medium |
CN111479065A (en) * | 2020-04-16 | 2020-07-31 | 北京迈格威科技有限公司 | Camera field angle synchronization method and device and image shooting method and device |
CN112087571A (en) * | 2019-06-14 | 2020-12-15 | Oppo广东移动通信有限公司 | Image acquisition method and device, electronic equipment and computer readable storage medium |
WO2021168804A1 (en) * | 2020-02-28 | 2021-09-02 | 深圳市大疆创新科技有限公司 | Image processing method, image processing apparatus and image processing system |
CN113518168A (en) * | 2021-07-07 | 2021-10-19 | 成都睿沿芯创科技有限公司 | Continuous zooming method and device, electronic equipment and storage medium |
CN113709410A (en) * | 2020-05-21 | 2021-11-26 | 幻蝎科技(武汉)有限公司 | Method, system and equipment for enhancing human eye visual ability based on MR glasses |
WO2022007840A1 (en) * | 2020-07-08 | 2022-01-13 | 杭州萤石软件有限公司 | Image fusion method and device |
CN114511595A (en) * | 2022-04-19 | 2022-05-17 | 浙江宇视科技有限公司 | Multi-mode cooperation and fusion target tracking method, device, system and medium |
-
2022
- 2022-08-23 CN CN202211013682.0A patent/CN115499565B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872325A (en) * | 2016-03-31 | 2016-08-17 | 北京格灵深瞳信息技术有限公司 | Image obtaining system |
JP6543880B1 (en) * | 2018-04-26 | 2019-07-17 | エスゼット ディージェイアイ テクノロジー カンパニー リミテッドSz Dji Technology Co.,Ltd | CONTROL DEVICE, IMAGING DEVICE, CONTROL METHOD, AND PROGRAM |
CN112087571A (en) * | 2019-06-14 | 2020-12-15 | Oppo广东移动通信有限公司 | Image acquisition method and device, electronic equipment and computer readable storage medium |
CN110855883A (en) * | 2019-11-05 | 2020-02-28 | 浙江大华技术股份有限公司 | Image processing system, method, device equipment and storage medium |
WO2021168804A1 (en) * | 2020-02-28 | 2021-09-02 | 深圳市大疆创新科技有限公司 | Image processing method, image processing apparatus and image processing system |
CN111479065A (en) * | 2020-04-16 | 2020-07-31 | 北京迈格威科技有限公司 | Camera field angle synchronization method and device and image shooting method and device |
CN113709410A (en) * | 2020-05-21 | 2021-11-26 | 幻蝎科技(武汉)有限公司 | Method, system and equipment for enhancing human eye visual ability based on MR glasses |
WO2022007840A1 (en) * | 2020-07-08 | 2022-01-13 | 杭州萤石软件有限公司 | Image fusion method and device |
CN113518168A (en) * | 2021-07-07 | 2021-10-19 | 成都睿沿芯创科技有限公司 | Continuous zooming method and device, electronic equipment and storage medium |
CN114511595A (en) * | 2022-04-19 | 2022-05-17 | 浙江宇视科技有限公司 | Multi-mode cooperation and fusion target tracking method, device, system and medium |
Also Published As
Publication number | Publication date |
---|---|
CN115499565A (en) | 2022-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210105403A1 (en) | Method for processing image, image processing apparatus, multi-camera photographing apparatus, and aerial vehicle | |
CN103676405A (en) | Optical imaging device, optical system and mobile terminal | |
CN100437336C (en) | Visible and infrared light photographing lens system | |
US5822625A (en) | Hybrid electronic-film camera | |
US11184539B2 (en) | Intelligent dual-lens photographing device and photographing method therefor | |
CN100514172C (en) | Camera capable of displaying live view | |
CN104980541A (en) | Camera module and mobile terminal | |
CN105594190A (en) | Blurless image capturing system | |
CN112911109B (en) | Electronic device and shooting method | |
CN109089019A (en) | Details camera and panorama details video camera | |
CN106341598A (en) | Optical-lens automatic focusing system and method thereof | |
CN115002342A (en) | Target object tracking method and device, camera and storage medium | |
CN115499565B (en) | Image acquisition method and device based on double lenses, medium and automobile data recorder | |
CN111182225A (en) | Photographing control method, electronic device and non-volatile computer-readable storage medium | |
CN102377940B (en) | Image pickup apparatus and drive control method of lens | |
CN220085063U (en) | Binocular thunder all-in-one device | |
CN205901896U (en) | But automatic focusing's internet protocol camera after control becomes doubly | |
US20220138965A1 (en) | Focus tracking system | |
WO2019183808A1 (en) | Control method, control device, imaging system, aircraft and storage medium | |
US11425307B2 (en) | Image capture device in which the focal length of the image capture device can be expanded without increasing the size of lenses | |
JP5574729B2 (en) | LENS CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
KR20150074488A (en) | Black Box Synchronized to Driver's view and Control Method thereof | |
JP2017216599A (en) | Imaging apparatus and control method therefor | |
JPH0758386B2 (en) | Left-right interlocking zoom device | |
CN106303191B (en) | Lens focus method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |