CN113141458A - Image acquisition method and device and storage medium - Google Patents

Image acquisition method and device and storage medium Download PDF

Info

Publication number
CN113141458A
CN113141458A CN202010055399.9A CN202010055399A CN113141458A CN 113141458 A CN113141458 A CN 113141458A CN 202010055399 A CN202010055399 A CN 202010055399A CN 113141458 A CN113141458 A CN 113141458A
Authority
CN
China
Prior art keywords
acquisition
mobile terminal
current
sampling rate
preset
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.)
Pending
Application number
CN202010055399.9A
Other languages
Chinese (zh)
Inventor
高文俊
彭聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010055399.9A priority Critical patent/CN113141458A/en
Publication of CN113141458A publication Critical patent/CN113141458A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The disclosure relates to an image acquisition method and device and a storage medium. The method comprises the following steps: when image acquisition is carried out, transmitting radar waves and detecting echoes of the radar waves; determining motion information of the collected target relative to the motion of the mobile terminal according to the transmitting parameters of the radar waves and the echo parameters of the echo; determining whether the current acquisition parameters of the mobile terminal meet preset acquisition conditions or not according to the motion information; when the current acquisition parameter does not meet the preset acquisition condition, adjusting the current acquisition parameter; and acquiring the image by using the adjusted acquisition parameters to obtain the image meeting the preset image quality condition. By the method, the imaging effect of the mobile terminal for image acquisition can be improved, and the user experience is improved.

Description

Image acquisition method and device and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to an image capturing method and apparatus, and a storage medium.
Background
With the improvement of living standard of people, mobile terminals have been widely used. The conventional mobile terminal usually has an image acquisition function, so that a user can record the daily life of the user by using the image acquisition function, and great convenience is brought to the life of people.
However, when a mobile terminal is used to capture an image, attention has been paid to how to improve the quality of the captured image.
Disclosure of Invention
The disclosure provides an image acquisition method and device and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided an image capturing method applied in a mobile terminal, including:
when image acquisition is carried out, transmitting radar waves and detecting echoes of the radar waves;
determining motion information of the collected target relative to the motion of the mobile terminal according to the transmitting parameters of the radar waves and the echo parameters of the echo;
determining whether the current acquisition parameters of the mobile terminal meet preset acquisition conditions or not according to the motion information;
when the current acquisition parameter does not meet the preset acquisition condition, adjusting the current acquisition parameter;
and acquiring the image by using the adjusted acquisition parameters to obtain the image meeting the preset image quality condition.
Optionally, the determining, according to the motion information, whether the current acquisition parameter of the mobile terminal meets a preset acquisition condition includes:
determining the position of the acquisition target according to the motion information;
and when the current focusing range of the mobile terminal contains the position of the acquisition target, determining that the current focusing range meets the preset acquisition condition.
Optionally, when the current acquisition parameter does not satisfy the preset acquisition condition, adjusting the current acquisition parameter includes:
and when the current focusing range does not contain the position of the acquisition target, adjusting the current focusing range of the mobile terminal to the position of the acquisition target.
Optionally, the determining, according to the motion information, whether the current acquisition parameter of the mobile terminal meets a preset acquisition condition includes:
if the movement speed is greater than a first threshold value, when the current sampling rate of the mobile terminal is a first rate, determining that the current sampling rate meets the preset acquisition condition;
if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is a second rate, determining that the current sampling rate meets the preset acquisition condition;
if the movement speed is greater than the first threshold, when the current sampling rate of the mobile terminal is not the first rate, determining that the current sampling rate does not meet the preset acquisition condition;
if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is not the second rate, determining that the current sampling rate does not meet the preset acquisition condition; wherein the second rate is less than the first rate.
Optionally, when the current acquisition parameter does not satisfy the preset acquisition condition, adjusting the current acquisition parameter includes:
and when the current sampling rate does not meet the preset acquisition condition, adjusting the current sampling rate of the mobile terminal, wherein the adjusted sampling rate meets the preset acquisition condition.
Optionally, the method further includes:
receiving a setting instruction for determining the acquisition target during image acquisition;
when image acquisition is carried out, radar waves are transmitted, and the method comprises the following steps:
and when image acquisition is carried out, transmitting the radar waves to the direction of the acquisition target according to the setting instruction.
According to a second aspect of the embodiments of the present disclosure, there is provided an image capturing apparatus applied in a mobile terminal, including:
the transmitting module is configured to transmit radar waves and detect echoes of the radar waves when image acquisition is carried out;
the first determining module is configured to determine motion information of the motion of the acquisition target relative to the mobile terminal according to the emission parameters of the radar waves and the echo parameters of the echoes;
the second determining module is configured to determine whether the current acquisition parameters of the mobile terminal meet preset acquisition conditions according to the motion information;
the adjusting module is configured to adjust the current acquisition parameter when the current acquisition parameter does not meet the preset acquisition condition;
and the acquisition module is configured to acquire images by using the adjusted acquisition parameters to obtain images meeting the preset image quality condition.
Optionally, the second determining module is specifically configured to determine the position of the acquisition target according to the motion information; and when the current focusing range of the mobile terminal contains the position of the acquisition target, determining that the current focusing range meets the preset acquisition condition.
Optionally, the adjusting module is specifically configured to adjust the current focusing range of the mobile terminal to the location of the acquisition target when the current focusing range does not include the location of the acquisition target and meets the preset acquisition condition.
Optionally, the second determining module is specifically configured to determine that the current sampling rate of the mobile terminal meets the preset acquisition condition when the current sampling rate is a first rate if the motion speed is greater than a first threshold; if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is a second rate, determining that the current sampling rate meets the preset acquisition condition; if the movement speed is greater than the first threshold, when the current sampling rate of the mobile terminal is not the first rate, determining that the current sampling rate does not meet the preset acquisition condition; if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is not the second rate, determining that the current sampling rate does not meet the preset acquisition condition; wherein the second rate is less than the first rate.
Optionally, the adjusting module is specifically configured to adjust the current sampling rate of the mobile terminal when the current sampling rate does not satisfy the preset acquisition condition, and the adjusted sampling rate satisfies the preset acquisition condition.
Optionally, the apparatus further comprises:
the receiving module is configured to receive a setting instruction for determining the acquisition target when image acquisition is carried out;
the transmitting module is specifically configured to transmit the radar wave to the direction of the acquisition target according to the setting instruction when image acquisition is performed.
According to a third aspect of the embodiments of the present disclosure, there is provided an image capturing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the image acquisition method as described in the first aspect above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium including:
the instructions in said storage medium, when executed by a processor of a computer, enable the computer to perform the image acquisition method as described in the first aspect above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, when image acquisition is performed, motion information of an acquisition target (a shooting subject) moving relative to a mobile terminal is determined by emitting radar waves and detecting echoes of the radar waves, and when it is determined that current acquisition parameters of the mobile terminal do not meet preset acquisition conditions according to the motion information, the current acquisition parameters are adjusted for acquisition, so that an image meeting image quality conditions is obtained. Therefore, the image acquisition parameters suitable for acquiring the current motion state of the target can be adjusted and obtained in real time according to the motion information of the acquired target, so that the quality of the acquired image belonging to the acquired target is improved, and the use experience of a user is improved. In addition, because the radar wave can radiate farther distance, and the interference killing feature is strong (like the blocking of fog, rain and objects), consequently can obtain the motion information that gathers the target more accurately to promote the precision to image acquisition parameter adjustment.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating an image capturing method according to an embodiment of the disclosure.
FIG. 2 is a schematic diagram illustrating a handset with a radar component in accordance with an exemplary embodiment.
Fig. 3 is a flowchart illustrating an image capturing method according to an embodiment of the disclosure.
Fig. 4 is a diagram of an example of the emission of a radar wave in the embodiment of the present disclosure.
FIG. 5 is a diagram illustrating an image capture device according to an exemplary embodiment.
Fig. 6 is a block diagram of a mobile terminal shown in an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart of an image capturing method according to an embodiment of the present disclosure, and as shown in fig. 1, the image capturing method applied in a mobile terminal includes the following steps:
s11, transmitting radar waves and detecting echoes of the radar waves when image acquisition is carried out;
s12, determining motion information of the collected target relative to the motion of the mobile terminal according to the emission parameters of the radar waves and the echo parameters of the echo;
s13, determining whether the current acquisition parameters of the mobile terminal meet preset acquisition conditions or not according to the motion information;
s14, when the current acquisition parameter does not meet the preset acquisition condition, adjusting the current acquisition parameter;
and S15, acquiring the image by using the adjusted acquisition parameters to obtain the image meeting the preset image quality condition.
In an embodiment of the present disclosure, a mobile terminal includes: a smartphone, camera, tablet, or wearable electronic device, etc.
The mobile terminal is provided with an image acquisition assembly, and the mobile terminal realizes image acquisition through the image acquisition assembly. Taking the mobile terminal as a mobile phone as an example, the image acquisition assembly comprises a front camera and a rear camera in the mobile phone.
In addition, a radar component is also arranged in the mobile terminal. Fig. 2 is a schematic diagram of a mobile phone having a radar component according to an exemplary embodiment, and as shown in fig. 2, 2 radar components may be disposed in the mobile phone, such as a front radar component disposed in the same plane as a front camera of the mobile phone and/or a rear radar component disposed in the same plane as a rear camera of the mobile phone.
A transmitter for transmitting radar waves and a receiver for receiving echoes may be included in the radar assembly. The radar wave is an electromagnetic wave, and the speed of propagation in a vacuum is the speed of light.
In one embodiment, the radar component disposed in the mobile terminal may also change direction based on the driving of the rotating component in the mobile terminal. For example, the front radar component faces to one side of the rear camera based on the driving of the rotating component; or, based on the driving of the rotating assembly, the radar assembly is enabled to emit radar waves towards the direction of the acquisition target.
It should be noted that the acquisition target in the embodiment of the present disclosure may be a target acquisition object within a view range of the image acquisition assembly when the mobile terminal acquires an image by using the image acquisition assembly. The target acquisition object can be a moving subject in a view range, and can also occupy the most space subject in the view range. For example, the target acquisition object includes: human, animal, car or building, etc.
The collection targets are as follows: an object within a focus range of the image acquisition assembly. The specific determination may be based on the focusing instruction.
In step S11 of the embodiment of the present disclosure, when the mobile terminal performs image acquisition by using the image acquisition component, the radar component transmits radar waves and detects echoes of the radar waves.
In step S12 of the embodiment of the present disclosure, the mobile terminal determines motion information of the motion of the acquisition target relative to the mobile terminal according to the transmission parameters of the radar waves and the echo parameters of the echoes. Wherein, the emission parameter of radar wave includes emission frequency and/or emission time, and correspondingly, the echo parameter of echo includes: echo frequency and/or echo time.
The mobile terminal determines the motion information of the acquisition target relative to the mobile terminal according to the transmitting parameter and the echo parameter, and the motion information comprises at least one of the following:
acquiring the movement distance of a target relative to a mobile terminal;
collecting the motion direction of a target relative to a mobile terminal;
and acquiring the movement speed of the target relative to the mobile terminal.
It should be noted that, when the mobile terminal determines the movement distance of the acquisition target relative to the mobile terminal according to the transmission parameter and the echo parameter, the movement distance may be determined by the following formula (1):
L=(T1-T0)*C (1)
wherein, T1Is the echo time, T, of the radar wave0The emission time of radar waves and the speed of light C.
It should be noted that, in the embodiments of the present disclosure, when the radar component transmits a radar wave through the transmitter, the radar component may transmit at a fixed angle, or may transmit in a multi-angle radiation manner. When the receiver of the radar component is receiving radar waves, echoes may be received at the same reception angle as the transmission angle. Therefore, when the mobile terminal transmits the radar wave by using the transmitter of the radar component, the mobile terminal knows the receiving direction of the echo when receiving the echo by using the receiver of the radar component, that is, the mobile terminal determines the movement direction of the acquisition target relative to the mobile terminal.
In the embodiment of the present disclosure, when the mobile terminal determines the movement speed of the acquisition target relative to the mobile terminal according to the transmission parameter and the echo parameter, the movement speed may be determined according to a frequency doppler effect generated between the mobile terminal and the acquisition target during relative movement. Specifically, when the transmitter of the radar component transmits a radar wave at a first frequency and the collection target advances in the transmission direction of the radar wave, the echo received by the receiver of the radar component is a compressed echo (the wavelength is shortened, the frequency is increased), the reception frequency of the echo may be a second frequency greater than the first frequency, and the movement speed of the collection target relative to the movement of the mobile terminal can be calculated by using the difference between the first frequency and the second frequency. On the contrary, when the collection target travels in the direction far away from the transmitting direction of the radar wave (the wavelength is longer, the frequency is lower), the echo received by the receiver of the radar component is the third frequency with the frequency smaller than the first frequency, and the movement speed of the collection target relative to the movement of the mobile terminal can be calculated by using the difference value of the first frequency and the third frequency.
It should be noted that, in the embodiment of the present disclosure, acquiring the motion of the target relative to the mobile terminal includes the following several ways: 1. collecting the motion of a target, and keeping the mobile terminal static; 2. collecting the static state of a target and the motion of a mobile terminal; 3. the acquisition target and the mobile terminal move at different speeds.
In an embodiment of the present disclosure, the capture target may be an object that is movable within a viewing range of an image capture component of the mobile terminal, and the capture target may also be specified by a user.
In one embodiment, the image capturing method applied to the mobile terminal further includes:
receiving a setting instruction for determining the acquisition target during image acquisition;
when image acquisition is carried out, radar waves are transmitted, and the method comprises the following steps:
and when image acquisition is carried out, transmitting the radar waves to the direction of the acquisition target according to the setting instruction.
In this embodiment, when the mobile terminal performs image acquisition, the mobile terminal may further receive a setting instruction for setting an acquisition target by a user, and transmit a radar wave to a direction of the acquisition target to which the setting instruction is directed.
The setting instruction received by the mobile terminal may be a voice instruction sent by the user to specify a collection target, or may be a click instruction selected by the user based on a preview screen displayed on a display screen of the mobile terminal. In the embodiment of the present disclosure, a manner in which the mobile terminal receives the setting instruction is not limited.
It can be understood that, in the embodiment of the present disclosure, the mobile terminal reduces the invalid transmission of radar waves and saves the power consumption of the mobile terminal by determining the acquisition target in advance and transmitting the radar waves to the direction of the acquisition target. And the acquisition target is determined based on the participation of the user, so that the subsequent adjustment of the acquisition parameter is more targeted, the quality of the acquired image can be improved, and the user experience is improved.
In the embodiment of the present disclosure, the mobile terminal may determine whether the current acquisition parameter of the mobile terminal satisfies the preset acquisition condition based on the determined motion information, i.e., based on step S13. Wherein the current acquisition parameters include at least one of:
a focus range;
the sampling rate.
In addition, the preset acquisition condition means whether the acquisition parameters satisfy the preset acquisition condition. For example, the preset acquisition conditions include at least one of:
the focusing range comprises the position of the acquisition target;
the sampling rate can be matched to the speed of movement.
It should be noted that, in the embodiment of the present disclosure, the focusing range includes the position where the acquisition target is located, so that the captured image including the acquisition target can be clearer. The sampling rate refers to the time required to acquire an image that generates a frame. The sampling rate is high, namely the time required for generating one frame of image is short, so that the image of the acquisition target moving relative to the mobile terminal can be quickly captured, and the occurrence of the fuzzy phenomenon is reduced. And the sampling rate is high, and the acquisition of the next frame of image can be quickly switched. However, if the sampling rate is too fast, the content of the acquired picture may not be complete. For example, the acquisition target is a person, the sampling rate is too fast, and it is possible that only part of the imaging is possible when the acquisition generates an image including a person.
In the embodiment of the disclosure, the current acquisition parameters of the mobile terminal further include a shutter speed and an exposure time, and the faster the shutter speed is, the clearer the acquired image may be; the shorter the exposure time, the sharper the acquired image may be. In addition, it should be noted that the shutter speed and the exposure time may also affect the sampling rate to some extent.
In one embodiment, the determining whether the current acquisition parameter of the mobile terminal meets a preset acquisition condition according to the motion information includes:
determining the position of the acquisition target according to the motion information;
and when the current focusing range of the mobile terminal contains the position of the acquisition target, determining that the current focusing range meets the preset acquisition condition.
In this embodiment, the motion information includes a motion direction and a motion distance of the acquisition target with respect to the mobile terminal. And the mobile terminal can determine the position of the acquisition target based on the determined movement direction and movement distance.
In this embodiment, when the current focusing range of the mobile terminal includes the position of the acquisition target, it is determined that the current focusing range meets the preset acquisition condition.
Correspondingly, when the current focusing range of the mobile terminal does not contain the position of the acquisition target, the current focusing range is determined not to meet the preset acquisition condition.
In step S14 of the present disclosure, when the current acquisition parameter does not satisfy the preset acquisition condition, the current acquisition parameter is adjusted to satisfy the preset acquisition condition, thereby enabling an image satisfying the preset image quality condition to be obtained.
In one embodiment, when the preset capturing condition is that the current focusing range of the mobile terminal includes the location of the capturing target, step S14 includes:
and when the current focusing range does not contain the position of the acquisition target, adjusting the current focusing range of the mobile terminal to the position of the acquisition target.
In this embodiment, when the current focusing range of the mobile terminal does not include the location of the acquisition target, the current focusing range of the mobile terminal is adjusted to the location of the acquisition target. For example, when a single frame image of a capture target is taken, a clear moving image of the capture target can be captured by adjusting the focus range to include the capture target on the fly.
For another example, when a video image of a captured target is shot, dynamic tracking of the captured target can be realized by adjusting the focusing range including the position of the captured target in real time, so that a clear video image including the captured target can be captured.
It can be understood that by adjusting the current focusing range including the position of the acquisition target, the definition of the acquisition target in image acquisition can be improved.
In one embodiment, when the motion information includes a motion speed, step S13 includes:
if the movement speed is greater than a first threshold value, when the current sampling rate of the mobile terminal is a first rate, determining that the current sampling rate meets the preset acquisition condition;
if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is a second rate, determining that the current sampling rate meets the preset acquisition condition;
if the movement speed is greater than the first threshold, when the current sampling rate of the mobile terminal is not the first rate, determining that the current sampling rate does not meet the preset acquisition condition;
if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is not the second rate, determining that the current sampling rate does not meet the preset acquisition condition;
wherein the second rate is less than the first rate.
In this embodiment, the preset acquisition condition is whether sampling rates at different movement speeds are matched when the acquisition target moves relative to the mobile terminal. For example, when the movement speed is greater than a first threshold value, and the current sampling rate of the mobile terminal is a first rate, determining that the current sampling rate meets a preset acquisition condition; for another example, when the moving speed is less than or equal to the first threshold, and the current sampling rate of the mobile terminal is a second rate less than the first rate, it is determined that the current sampling rate satisfies the preset acquisition condition. In this embodiment, for example, when the moving speed is greater than the first threshold and the current sampling rate of the mobile terminal is not the first rate, it is determined that the current sampling rate does not satisfy the preset acquisition condition; for another example, when the moving speed is less than or equal to the first threshold, and the current sampling rate of the mobile terminal is not the second rate, it is determined that the current sampling rate does not satisfy the preset acquisition condition.
It can be understood that, in this embodiment, the image sampling rates of the mobile terminal may be different at different motion speeds, and when the motion speed of the acquisition target relative to the mobile terminal is fast, there is a relatively large sampling rate, and the definition of the acquired image including the acquisition target can be improved by matching the corresponding sampling rates with the different motion speeds.
In one embodiment, when the preset acquisition condition is that the sampling rate of the mobile terminal matches the movement speed, step S14 includes:
and when the current sampling rate does not meet the preset acquisition condition, adjusting the current sampling rate of the mobile terminal, wherein the adjusted sampling rate meets the preset acquisition condition.
It can be understood that, in this embodiment, when the current sampling rate does not satisfy the preset acquisition condition, that is, the current sampling rate does not match the motion speed, the definition of the acquired image including the acquisition target can be improved by adjusting the current sampling rate of the mobile terminal to the sampling rate matching the motion speed.
In the embodiment of the disclosure, when image acquisition is performed, motion information of an acquisition target (a shooting subject) moving relative to a mobile terminal is determined by emitting radar waves and detecting echoes of the radar waves, and when it is determined that current acquisition parameters of the mobile terminal do not meet preset acquisition conditions according to the motion information, the current acquisition parameters are adjusted for acquisition, so that an image meeting image quality conditions is obtained. Therefore, the image acquisition parameters suitable for acquiring the current motion state of the target can be adjusted and obtained in real time according to the motion information of the acquired target, so that the quality of the acquired image belonging to the acquired target is improved, and the use experience of a user is improved.
Fig. 3 is a flowchart illustrating an image capturing method according to an embodiment of the present disclosure, and as shown in fig. 3, the image capturing method applied in a mobile phone includes the following steps:
and S21, the mobile phone is in a photographing state.
In this embodiment, the mobile phone is in a photographing state, that is, the mobile terminal performs image acquisition.
And S22, the mobile phone sends radar waves to monitor and acquire targets.
In this embodiment, the mobile phone monitors the acquisition target, which may be a photographic subject specified by the user, and the mobile phone transmits a radar wave to the photographic subject specified by the user to implement the monitoring.
Fig. 4 is a diagram of an example of the emission of a radar wave in the embodiment of the present disclosure. As shown in fig. 4, the mobile phone transmits radar waves to the direction of the collection target (person), wherein the collection target is in a moving state and has a certain displacement. The mobile phone can obtain the speed and the position of the acquisition target based on the transmitted radar wave.
And S23A, monitoring the speed of the acquisition target.
And S23B, monitoring the position of the acquisition target.
And S24A, when the movement of the acquisition target at a certain speed is monitored, the imaging speed of the camera is increased.
In this embodiment, increasing the camera imaging speed may be increasing the current sampling rate of the camera in the cell phone.
It should be noted that, after the acquisition target moves at a certain speed, the mobile phone may determine whether the movement speed of the acquisition target matches the current sampling rate, and increase the sampling rate if the movement speed of the acquisition target does not match the current sampling rate.
S24B, when the original acquisition target leaves the current focus, changing the focus according to the monitored position information.
In this embodiment, the focus is changed according to the monitored position information, that is, the current focusing range of the camera in the mobile phone is moved to the position of the acquisition target.
It can be understood that, in this embodiment, when the mobile phone performs image acquisition, the mobile phone determines the movement speed and position of the acquisition target (human) relative to the mobile phone by emitting radar waves, determines whether the movement speed and the current sampling rate are matched, and raises the sampling rate if the movement speed and the current sampling rate are not matched; and when the current focusing range of the mobile phone is not at the position of the acquisition target, adjusting the focusing range to the position of the acquisition target. Therefore, the image acquisition parameters suitable for acquiring the current motion state of the target can be adjusted and obtained in real time according to the motion speed and the position of the acquisition target, so that the quality of the acquired image belonging to the acquisition target is improved, and the use experience of a user is improved. In addition, radar waves can radiate farther distance, and the anti-interference capability is strong (such as blocking of fog, rain and objects), so that the more accurate movement speed and position of the acquisition target can be obtained, and the accuracy of adjusting the imaging speed and the focusing range of the image is improved.
FIG. 5 is a diagram illustrating an image capture device according to an exemplary embodiment. Referring to fig. 5, the image pickup apparatus includes:
the transmitting module 101 is configured to transmit radar waves and detect echoes of the radar waves when image acquisition is performed;
a first determining module 102, configured to determine motion information of a collection target moving relative to the mobile terminal according to the emission parameters of the radar waves and the echo parameters of the echoes;
a second determining module 103, configured to determine whether a current acquisition parameter of the mobile terminal meets a preset acquisition condition according to the motion information;
an adjusting module 104 configured to adjust the current acquisition parameter when the current acquisition parameter does not satisfy the preset acquisition condition;
and the acquisition module 105 is configured to acquire an image by using the adjusted acquisition parameters to obtain an image meeting a preset image quality condition.
Optionally, the second determining module 103 is specifically configured to determine the position of the acquisition target according to the motion information; and when the current focusing range of the mobile terminal contains the position of the acquisition target, determining that the current focusing range meets the preset acquisition condition.
Optionally, the adjusting module 104 is specifically configured to adjust the current focusing range of the mobile terminal to the location of the acquisition target when the current focusing range does not include the location of the acquisition target and meets the preset acquisition condition.
Optionally, the second determining module 103 is specifically configured to determine that the current sampling rate of the mobile terminal meets the preset acquisition condition when the current sampling rate is a first rate if the motion speed is greater than a first threshold; if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is a second rate, determining that the current sampling rate meets the preset acquisition condition; wherein the second rate is less than the first rate.
Optionally, the second determining module 103 is further specifically configured to determine, if the moving speed is greater than the first threshold, that the current sampling rate of the mobile terminal does not satisfy the preset acquisition condition when the current sampling rate of the mobile terminal is not the first rate; if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is not the second rate, determining that the current sampling rate does not meet the preset acquisition condition.
Optionally, the adjusting module 104 is specifically configured to adjust the current sampling rate of the mobile terminal when the current sampling rate does not satisfy the preset acquisition condition, where the adjusted sampling rate satisfies the preset acquisition condition.
Optionally, the apparatus further comprises:
a receiving module 106 configured to receive a setting instruction for determining the acquisition target when image acquisition is performed;
the transmitting module 101 is specifically configured to transmit the radar wave to the direction of the acquisition target according to the setting instruction when image acquisition is performed.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a mobile terminal apparatus 800 according to an example embodiment. For example, the device 800 may be a mobile phone, a mobile computer, etc.
Referring to fig. 6, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform an image acquisition method, the method comprising:
when image acquisition is carried out, transmitting radar waves and detecting echoes of the radar waves;
determining motion information of the collected target relative to the motion of the mobile terminal according to the transmitting parameters of the radar waves and the echo parameters of the echo;
determining whether the current acquisition parameters of the mobile terminal meet preset acquisition conditions or not according to the motion information;
when the current acquisition parameter does not meet the preset acquisition condition, adjusting the current acquisition parameter;
and acquiring the image by using the adjusted acquisition parameters to obtain the image meeting the preset image quality condition.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. An image acquisition method is applied to a mobile terminal, and the method comprises the following steps:
when image acquisition is carried out, transmitting radar waves and detecting echoes of the radar waves;
determining motion information of the collected target relative to the motion of the mobile terminal according to the transmitting parameters of the radar waves and the echo parameters of the echo;
determining whether the current acquisition parameters of the mobile terminal meet preset acquisition conditions or not according to the motion information;
when the current acquisition parameter does not meet the preset acquisition condition, adjusting the current acquisition parameter;
and acquiring the image by using the adjusted acquisition parameters to obtain the image meeting the preset image quality condition.
2. The method according to claim 1, wherein the determining whether the current acquisition parameters of the mobile terminal satisfy preset acquisition conditions according to the motion information comprises:
determining the position of the acquisition target according to the motion information;
and when the current focusing range of the mobile terminal contains the position of the acquisition target, determining that the current focusing range meets the preset acquisition condition.
3. The method of claim 2, wherein said adjusting the current acquisition parameter when the current acquisition parameter does not satisfy the preset acquisition condition comprises:
and when the current focusing range does not contain the position of the acquisition target, adjusting the current focusing range of the mobile terminal to the position of the acquisition target.
4. The method according to claim 1, wherein the determining whether the current acquisition parameters of the mobile terminal satisfy preset acquisition conditions according to the motion information comprises:
if the movement speed is greater than a first threshold value, when the current sampling rate of the mobile terminal is a first rate, determining that the current sampling rate meets the preset acquisition condition;
if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is a second rate, determining that the current sampling rate meets the preset acquisition condition;
if the movement speed is greater than the first threshold, when the current sampling rate of the mobile terminal is not the first rate, determining that the current sampling rate does not meet the preset acquisition condition;
if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is not the second rate, determining that the current sampling rate does not meet the preset acquisition condition;
wherein the second rate is less than the first rate.
5. The method of claim 4, wherein said adjusting the current acquisition parameter when the current acquisition parameter does not satisfy the preset acquisition condition comprises:
and when the current sampling rate does not meet the preset acquisition condition, adjusting the current sampling rate of the mobile terminal, wherein the adjusted sampling rate meets the preset acquisition condition.
6. The method of claim 1, further comprising:
receiving a setting instruction for determining the acquisition target during image acquisition;
when image acquisition is carried out, radar waves are transmitted, and the method comprises the following steps:
and when image acquisition is carried out, transmitting the radar waves to the direction of the acquisition target according to the setting instruction.
7. An image acquisition device, applied to a mobile terminal, the device comprising:
the transmitting module is configured to transmit radar waves and detect echoes of the radar waves when image acquisition is carried out;
the first determining module is configured to determine motion information of the motion of the acquisition target relative to the mobile terminal according to the emission parameters of the radar waves and the echo parameters of the echoes;
the second determining module is configured to determine whether the current acquisition parameters of the mobile terminal meet preset acquisition conditions according to the motion information;
the adjusting module is configured to adjust the current acquisition parameter when the current acquisition parameter does not meet the preset acquisition condition;
and the acquisition module is configured to acquire images by using the adjusted acquisition parameters to obtain images meeting the preset image quality condition.
8. The apparatus of claim 7,
the second determining module is specifically configured to determine the position of the acquisition target according to the motion information; and when the current focusing range of the mobile terminal contains the position of the acquisition target, determining that the current focusing range meets the preset acquisition condition.
9. The apparatus of claim 8,
the adjusting module is specifically configured to adjust the current focusing range of the mobile terminal to the position of the acquisition target when the current focusing range does not include the position of the acquisition target and meets the preset acquisition condition.
10. The apparatus of claim 7,
the second determining module is specifically configured to determine that the current sampling rate of the mobile terminal meets the preset acquisition condition when the current sampling rate is a first rate if the motion speed is greater than a first threshold; if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is a second rate, determining that the current sampling rate meets the preset acquisition condition; if the movement speed is greater than the first threshold, when the current sampling rate of the mobile terminal is not the first rate, determining that the current sampling rate does not meet the preset acquisition condition; if the movement speed is less than or equal to the first threshold, when the current sampling rate of the mobile terminal is not the second rate, determining that the current sampling rate does not meet the preset acquisition condition; wherein the second rate is less than the first rate.
11. The apparatus of claim 9 or 10,
the adjusting module is specifically configured to adjust the current sampling rate of the mobile terminal when the current sampling rate does not meet the preset acquisition condition, and the adjusted sampling rate meets the preset acquisition condition.
12. The apparatus of claim 7, further comprising:
the receiving module is configured to receive a setting instruction for determining the acquisition target when image acquisition is carried out;
the transmitting module is specifically configured to transmit the radar wave to the direction of the acquisition target according to the setting instruction when image acquisition is performed.
13. An image acquisition apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the image acquisition method of any one of claims 1 to 6.
14. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a computer, enable the computer to perform the image acquisition method of any one of claims 1 to 6.
CN202010055399.9A 2020-01-17 2020-01-17 Image acquisition method and device and storage medium Pending CN113141458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010055399.9A CN113141458A (en) 2020-01-17 2020-01-17 Image acquisition method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010055399.9A CN113141458A (en) 2020-01-17 2020-01-17 Image acquisition method and device and storage medium

Publications (1)

Publication Number Publication Date
CN113141458A true CN113141458A (en) 2021-07-20

Family

ID=76808431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010055399.9A Pending CN113141458A (en) 2020-01-17 2020-01-17 Image acquisition method and device and storage medium

Country Status (1)

Country Link
CN (1) CN113141458A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023240542A1 (en) * 2022-06-16 2023-12-21 北京小米移动软件有限公司 Information acquisition method and apparatus, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160182887A1 (en) * 2014-12-23 2016-06-23 Mems Drive, Inc. Three dimensional imaging with a single camera
CN106657805A (en) * 2017-01-13 2017-05-10 广东欧珀移动通信有限公司 Shooting method in movement and mobile terminal
CN107948510A (en) * 2017-11-27 2018-04-20 北京小米移动软件有限公司 The method, apparatus and storage medium of Focussing
CN108366207A (en) * 2018-03-20 2018-08-03 广东欧珀移动通信有限公司 Control method, apparatus, electronic equipment and the computer readable storage medium of shooting
CN109856617A (en) * 2019-01-24 2019-06-07 珠海格力电器股份有限公司 Shooting method and device based on microwave radar, processor and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160182887A1 (en) * 2014-12-23 2016-06-23 Mems Drive, Inc. Three dimensional imaging with a single camera
CN106657805A (en) * 2017-01-13 2017-05-10 广东欧珀移动通信有限公司 Shooting method in movement and mobile terminal
CN107948510A (en) * 2017-11-27 2018-04-20 北京小米移动软件有限公司 The method, apparatus and storage medium of Focussing
CN108366207A (en) * 2018-03-20 2018-08-03 广东欧珀移动通信有限公司 Control method, apparatus, electronic equipment and the computer readable storage medium of shooting
CN109856617A (en) * 2019-01-24 2019-06-07 珠海格力电器股份有限公司 Shooting method and device based on microwave radar, processor and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023240542A1 (en) * 2022-06-16 2023-12-21 北京小米移动软件有限公司 Information acquisition method and apparatus, and storage medium

Similar Documents

Publication Publication Date Title
US10375296B2 (en) Methods apparatuses, and storage mediums for adjusting camera shooting angle
CN111314597B (en) Terminal, focusing method and device
CN110557547B (en) Lens position adjusting method and device
KR101712301B1 (en) Method and device for shooting a picture
CN108040204B (en) Image shooting method and device based on multiple cameras and storage medium
CN111314617A (en) Video data processing method and device, electronic equipment and storage medium
CN112188089A (en) Distance acquisition method and device, focal length adjustment method and device, and distance measurement assembly
CN105959563B (en) Image storage method and image storage device
CN110620871B (en) Video shooting method and electronic equipment
CN107809588B (en) Monitoring method and device
CN113141458A (en) Image acquisition method and device and storage medium
CN112188096A (en) Photographing method and device, terminal and storage medium
CN106303211B (en) Method, device and system for controlling shooting
CN111435967B (en) Photographing method and device
CN107241535B (en) Flash lamp adjusting device and terminal equipment
CN109194808B (en) Volume adjusting method and device
CN112702514B (en) Image acquisition method, device, equipment and storage medium
KR102512787B1 (en) Method and apparatus for displaying captured preview image, and medium
CN113141482B (en) Video generation method, device and storage medium
CN114979455A (en) Photographing method, photographing device and storage medium
CN115134517A (en) Shooting control method and device and storage medium
CN108769513B (en) Camera photographing method and device
CN114189622A (en) Image shooting method and device, electronic equipment and storage medium
CN111385400A (en) Backlight brightness adjusting method and device
CN112804462B (en) Multi-point focusing imaging method and device, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination