CN113766115B - Image acquisition method, mobile terminal, device and storage medium - Google Patents

Image acquisition method, mobile terminal, device and storage medium Download PDF

Info

Publication number
CN113766115B
CN113766115B CN202010489356.1A CN202010489356A CN113766115B CN 113766115 B CN113766115 B CN 113766115B CN 202010489356 A CN202010489356 A CN 202010489356A CN 113766115 B CN113766115 B CN 113766115B
Authority
CN
China
Prior art keywords
image
mode
zooming
mobile terminal
resolution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010489356.1A
Other languages
Chinese (zh)
Other versions
CN113766115A (en
Inventor
刘任
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010489356.1A priority Critical patent/CN113766115B/en
Publication of CN113766115A publication Critical patent/CN113766115A/en
Application granted granted Critical
Publication of CN113766115B publication Critical patent/CN113766115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/67Focus control based on electronic image sensor signals
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The disclosure relates to an image acquisition method, a mobile terminal, an image acquisition device and a storage medium, wherein the method is applied to the mobile terminal and comprises the following steps: displaying a first image acquired in a first mode; obtaining and displaying the first image after zooming according to the zooming instruction; switching from the first mode to a second mode according to a photographing instruction; in the second mode, acquiring a second image; and cutting the second image according to the first image after zooming treatment to obtain a third image.

Description

Image acquisition method, mobile terminal, device and storage medium
Technical Field
The disclosure relates to the field of electronic technology, and in particular, to an image acquisition method, a mobile terminal, a device and a storage medium.
Background
With the rapid development of electronic technology and the wide application of image acquisition functions, the requirements of users on the quality of acquired images are higher and higher. In general, people need to zoom in or out a captured picture, i.e., zoom in or zoom out the captured picture, during the image capturing process.
However, when live-zoom framing is required, the user needs to manually select a shooting mode capable of live-zoom framing. Alternatively, the user may directly take a photograph in a mode that does not support zooming framing, and then crop the photographed image again by the user's initiative to achieve zooming processing of the image. The process is more complicated, and the user experience is reduced.
Disclosure of Invention
In view of this, the present disclosure provides an image acquisition method, a mobile terminal, an apparatus, and a storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided an image acquisition method, applied to a mobile terminal, including:
displaying a first image acquired in a first mode;
obtaining and displaying the first image after zooming according to the zooming instruction;
switching from the first mode to a second mode according to a photographing instruction;
in the second mode, acquiring a second image;
and cutting the second image according to the first image after zooming treatment to obtain a third image.
In some embodiments, the resolution of the first image is less than the resolution of the second image;
and/or the number of the groups of groups,
the resolution of the first image is less than the resolution of the third image.
In some embodiments, the method further comprises:
after the third image is obtained, the second mode is exited and the first mode is entered.
In some embodiments, the method further comprises:
and displaying multimedia information when switching between the first mode and the second mode.
In some embodiments, the cropping the second image to obtain a third image according to the first image after zooming includes:
and cutting out the image content contained in the first image after the zooming processing from the second image to obtain the third image.
In some embodiments, the mobile terminal comprises a first image acquisition component and a second image acquisition component, wherein the resolution of an image acquired by the first image acquisition component is smaller than that of an image acquired by the second image acquisition component;
wherein, in the first mode, the first image is acquired through the first image acquisition component; in the second mode, the second image is acquired through the second image acquisition component.
According to a second aspect of embodiments of the present disclosure, there is provided a mobile terminal comprising:
the acquisition module is used for acquiring and obtaining a first image in a first mode;
the display module is used for displaying the first image;
the zooming module is used for obtaining the first image after zooming according to the zooming instruction;
the display module is further used for displaying the first image after zooming;
the control module is used for controlling the acquisition module to switch from the first mode to the second mode according to a photographing instruction;
the acquisition module is further used for acquiring a second image in the second mode;
and the clipping module is used for clipping the second image to obtain a third image according to the first image after zooming.
In some embodiments, the resolution of the first image is less than the resolution of the second image;
and/or the number of the groups of groups,
the resolution of the first image is less than the resolution of the third image.
In some embodiments, the control module is further configured to control the acquisition module to exit the second mode and enter the first mode after the third image is obtained.
In some embodiments, the display module is configured to display multimedia information when the acquisition module switches between the first mode and the second mode.
In some embodiments, the cropping module is configured to crop, from the second image, image content included in the first image after the zooming process, to obtain the third image.
In some embodiments, the acquisition module comprises: a first image acquisition assembly and a second image acquisition assembly; the resolution of the image acquired by the first image acquisition component is smaller than that of the image acquired by the second image acquisition component;
the first image acquisition component is used for acquiring and obtaining the first image in the first mode;
the second image acquisition component is used for acquiring and obtaining the second image in the second mode.
According to a third aspect of 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: the executable instructions, when executed, implement the steps in the method according to the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the steps in the method according to the first aspect of embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
the first image acquired in the first mode is displayed, and the first image after zooming processing is obtained and displayed according to the zooming instruction, so that the mobile terminal can automatically select the mode supporting zooming to perform real-time zooming framing when the image acquisition is performed, manual selection of a user is not needed, and the user experience is improved.
And the method and the device automatically switch from the first mode to the second mode according to the photographing instruction, collect the second image in the second mode, and cut the second image to obtain the third image according to the zoomed first image, so that the mobile terminal can automatically cut the second image according to the zoomed first image to obtain the third image under the condition that the user does not feel the second image, and the zoom-supported mode can be automatically selected for zooming and framing without selection of the user. Compared with the method that after image acquisition is completed by adopting a mode which does not support zooming, the method and the device require users to actively cut images and the like, the method and the device are beneficial to improving the intelligence and the user experience of image acquisition.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating an image acquisition method according to an exemplary embodiment.
Fig. 2 is a block diagram of a mobile terminal according to an exemplary embodiment.
Fig. 3 is a block diagram of an image acquisition apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Fig. 1 is a flowchart illustrating an image acquisition method according to an exemplary embodiment, which is applied to a mobile terminal. Referring to fig. 1, the method comprises the steps of:
s11: displaying a first image acquired in a first mode;
s12: obtaining and displaying a first image after zooming according to the zooming instruction;
s13: switching from a first mode to a second mode according to a photographing instruction;
s14: in a second mode, acquiring a second image;
s15: and cutting the second image according to the first image after zooming treatment to obtain a third image.
The zoom instructions may include: an zoom-in instruction and/or a zoom-out instruction.
When the mobile terminal collects images in the first mode, zooming processing can be conducted on the collected and displayed first images according to zooming instructions. Namely, when the mobile terminal performs image acquisition in the first mode, the mobile terminal supports zooming and framing.
And the mobile terminal performs fixed-focus shooting in the second mode. It should be noted that, when the mobile terminal performs image acquisition in the second mode, the second image after the zooming process cannot be obtained and displayed according to the zooming instruction. I.e. the mobile terminal does not support zoom framing when performing image acquisition in the second mode.
Taking zooming processing as an example, in the related art, when the mobile terminal adopts a mode of not supporting zooming and framing to collect an image, if the user needs to amplify the collected image, the user can only manually amplify the photographed image after photographing is completed, but can not amplify the displayed image in the framing process, which is not beneficial to the convenience of the user in image collection.
It is noted that when the user selects to perform image acquisition in the second mode, a second image acquired by the second mode acquisition may be displayed. When the user selects to collect the image in the second mode, the image collecting device can switch from the second mode to the first mode according to the zooming command, collect and obtain the first image, and obtain and display the first image after zooming.
In the image acquisition process of switching from the first mode to the second mode, the display screen of the mobile terminal can maintain to display the first image after zooming until the third image is acquired, and switch to display the third image, or maintain until the third image is acquired. It should be noted that the third image may not be displayed during the image acquisition. In S15, by comparing the content displayed in the first image after the zooming process with the content displayed in the second image, the content displayed in the first image after the zooming included in the second image is recognized, and the area including the content displayed in the first image after the zooming is cut out in the second image as the third image.
Alternatively, the zoom instruction may include a zoom magnification. In S15, the second image may be zoomed according to the zoom magnification, and then the content displayed by the zoomed second image and the content displayed by the zoomed first image may be compared, and the area having the same content as the first image displayed by the zoomed second image may be identified as the third image.
In some embodiments, S15 comprises: and cutting out the image content contained in the first image after the zooming treatment from the second image to obtain a third image.
The content displayed by the third image can be completely consistent with the content displayed by the first image after zooming, so that the third image obtained by the mobile terminal is the displayed first image after zooming, and the image content consistent with the image content expected to be shot by a user can be obtained by the image acquisition method, so that what you see is what you get is realized.
It is understood that the first image after the zoom processing is the image content that the user wishes to capture. The third image is an image finally obtained by the mobile terminal according to the photographing instruction, that is, the image stored in the mobile terminal after the mobile terminal photographs according to the photographing instruction is the third image. When the user views the image obtained by this photographing, the mobile terminal displays a third image as well.
Taking a mobile terminal as an example of a mobile phone, after the mobile phone collects images by applying the method provided by the embodiment of the disclosure, the images stored in the mobile phone album are third images.
Because the live-zoom framing cannot be performed in the second mode, the user requirement is difficult to meet, and the first mode supports the zoom framing, the first image after the zoom processing can be obtained and displayed according to the zoom instruction, so that the requirement of the user on the live-zoom framing function in the image acquisition process is met.
According to the scheme provided by the embodiment of the disclosure, the first image acquired in the first mode is displayed, and the first image after zooming is acquired and displayed according to the zooming instruction, so that the mobile terminal can automatically select the mode supporting zooming to perform real-time zooming framing when the image acquisition is performed, manual selection of a user is not needed, and the user experience is improved.
And the second image is acquired in the second mode according to the second mode, and the second image is cut according to the first image after zooming processing, so that the mobile terminal can automatically cut the second image according to the first image after zooming processing under the condition that a user does not feel the second image, and the third image is obtained.
In some embodiments, the resolution of the first image is less than the resolution of the second image;
and/or the number of the groups of groups,
the resolution of the first image is smaller than the resolution of the third image.
Illustratively, the resolution of the first image may be less than or equal to 1200 ten thousand pixels.
The resolution of the second image may include: 4800 ten thousand pixels, 6400 ten thousand pixels, or 1 hundred million pixels, etc.
It will be appreciated that the more pixels an image comprises, the higher the sharpness of the image and the higher the sharpness of the image that is displayed after the image has been enlarged.
The second mode may include a high definition photographing mode. The resolution of the image acquired in the high-definition photographing mode is greater than or equal to 4800 ten thousand pixels. However, when the mobile terminal performs photographing in the high-definition photographing mode, zoom framing is not supported.
When a mobile terminal adopts a high-definition photographing mode to photograph a building far away from the mobile terminal, a user needs to zoom and view a view, and usually, a small-size word or structure on the building cannot be clearly seen when the user views the view. However, since the high-definition photographing mode does not support zooming and framing, in the related art, a user can only photograph the building in the high-definition photographing mode to obtain a photograph, and then enlarge and cut the obtained photograph, so that a small-sized word or structure on the building can be clearly seen from the cut photograph, and the displayed picture cannot be zoomed during framing, which is difficult to meet the photographing requirement of the user.
According to the embodiment of the disclosure, the first mode is switched to the second mode according to the photographing instruction, the second image with higher resolution than the first image is acquired and obtained in the second mode, the second image is cut to obtain the third image, and the resolution of the third image is improved, so that a user can zoom and view in the first mode and obtain an image with better definition according to the photographing instruction when the user performs image acquisition, the problem that the high-definition photographing mode cannot perform zoom and view in the prior art is solved, and user experience is improved.
In addition, when the resolution of the third image is larger than that of the first image, the resolution of the third image is also larger than that of the first image after zooming, so that the image obtained according to the photographing instruction can be ensured to have better definition, and the requirement of a user for obtaining a high-definition photo is met.
In some embodiments, the method further comprises: acquiring the resolution of the first image after zooming;
s13 may include: and when the resolution of the first image after zooming is smaller than the preset resolution, switching from the first mode to the second mode according to the photographing instruction.
It can be understood that, in the case where the area of the display area of the mobile terminal is unchanged, the sharpness of the first image before the zoom processing displayed by the mobile terminal is higher than the sharpness of the first image after the zoom processing displayed.
The resolution of the first image after the zoom processing is smaller than the preset resolution, and the image quality of the first image after the zoom processing can be considered to be poor. If the first image after zooming is taken as a photo generated by shooting according to a shooting instruction, the photo is difficult to meet the requirement of a user. The preset resolution may include: 800 ten thousand pixels or 1200 ten thousand pixels, etc.
In the embodiment of the disclosure, when the resolution of the first image after zooming is smaller than the preset resolution, the mobile terminal is switched from the first mode to the second mode according to the photographing instruction, so that the image obtained by photographing according to the photographing instruction is ensured to be a third image with higher resolution, and further better user experience is ensured.
In some embodiments, the method further comprises: after the third image is obtained, the second mode is exited and the first mode is entered.
After the third image is obtained, the current photographing operation can be considered to be completed.
It is noted that the mobile terminal may display multimedia information during the exit from the second mode and entry into the first mode. When the mobile terminal enters the first mode, the mobile terminal displays the acquired image in the first mode again.
When the mobile terminal displays the acquired image in the first mode, the mobile terminal can be considered to successfully complete the switching from the second mode to the first mode. And when the mobile terminal is in the first mode, allowing the mobile terminal to zoom the displayed image according to the zoom instruction.
After the third image is obtained, the mobile terminal can automatically exit the second mode and enter the first mode, so that the mobile terminal can enter the next photographing operation, and under the first mode, the user can be allowed to continue zooming and framing in the next photographing operation, so that the mobile terminal can perform zooming and framing every time when photographing continuously for many times, and the user experience is improved.
In some embodiments, the method further comprises: and displaying the multimedia information when switching between the first mode and the second mode.
The multimedia information may include: preset still pictures or preset animations, etc. The preset still picture may include: scenic pictures or animal pictures, etc. The preset animation may include: a rotating circle or flashing text (e.g., "please wait").
By way of example, the mobile terminal may include an image acquisition component having the first mode and the second mode. The image acquisition assembly is switchable between a first mode and a second mode by moving an included lens or the like.
It will be appreciated that when the mobile terminal includes an image acquisition assembly and the image acquisition assembly is switched between the first mode and the second mode, it may take some time inside the image acquisition assembly to complete the switching. The user needs to wait for the switching to be completed before continuing to acquire the image. Thus, the time for completing the handoff may reduce the user experience.
In the embodiment of the disclosure, by displaying the multimedia information when switching between the first mode and the second mode, the reduction of user experience caused by the delay of switching between the first mode and the second mode can be reduced, and the better user experience is ensured.
In the related art, an electronic device capable of image acquisition may generally include a plurality of image acquisition components. Taking a mobile phone as an example, the mobile phone may include a plurality of lenses. The lens supporting the high-definition mode can adopt the high-definition mode to take pictures, and the picture quality of the pictures taken by the lens in the high-definition mode is higher and higher, and can reach 6400 ten thousand pixels, even 1 hundred million pixels. The photograph taken in the high definition mode is still very clear, even if magnified many times.
However, when taking a picture in the high-definition mode, the lens cannot perform zooming, and only a picture can be taken in the fixed-focus mode. If the lens photographed in the high-definition mode needs to be zoomed, the photograph photographed in the high-definition mode can be enlarged and cut only after the lens is photographed in the high-definition mode. When the camera lens taking the pictures in the high-definition mode takes the pictures, the obtained pictures can be cut only after the shooting is finished so as to achieve the amplifying effect, and zooming and framing can not be carried out when a user views the pictures, so that the user experience is not improved.
In some embodiments, the mobile terminal may include a first image acquisition component and a second image acquisition component, in a first mode, acquiring a first image by the first image acquisition component; in the second mode, a second image is acquired by a second image acquisition assembly. The resolution of the image acquired by the first image acquisition component is smaller than that of the image acquired by the second image acquisition component.
The first image acquisition component supports zoom framing. Namely, the first image acquisition component can obtain a first image after zooming according to the zooming instruction. The first image acquisition assembly may include: a tele lens. The focal length of the tele lens may be greater than 50 millimeters.
The resolving power of the second image acquisition component is higher than that of the first image acquisition component. The second image acquisition assembly may include: and (5) fixing the focus lens. It can be understood that the fixed focus lens is a lens with a fixed focal length.
The mobile terminal can switch between the first mode and the second mode by adopting different image acquisition components, so that the real-time zooming view finding can be carried out in the image acquisition process, the image obtained after the image acquisition is finished can be ensured to have higher image quality, and the requirement of a user on higher image quality is met. And the image acquisition assembly capable of supporting zooming and framing and the image acquisition assembly capable of performing high-definition photographing in the related technology can be continuously used, so that the compatibility with the related technology is strong and the hardware cost of the mobile terminal is low.
Fig. 2 is a block diagram of a mobile terminal 100, according to an example embodiment. Referring to fig. 2, the mobile terminal 100 includes: the device comprises an acquisition module 110, a display module 120, a zooming module 130, a control module 140 and a clipping module 150.
The acquisition module 110 is configured to acquire a first image in a first mode;
the display module 120 is configured to display a first image;
the zooming module 130 is configured to obtain a first image after zooming according to the zooming instruction;
the display module 120 is further configured to display the zoom-processed first image;
the control module 140 is configured to control the acquisition module 110 to switch from the first mode to the second mode according to the photographing instruction;
the acquisition module 110 is further configured to acquire a second image in a second mode;
the cropping module 150 is configured to crop the second image to obtain a third image according to the first image after the zooming process.
In the embodiment of the disclosure, the display module 120 may display the first image acquired in the first mode and display the first image after zooming, so that the mobile terminal can perform zooming and framing when performing image acquisition.
In addition, the control module 140 of the present disclosure may automatically control the acquisition module 110 to switch from the first mode to the second mode according to a photographing instruction, acquire the second image in the second mode, and may cut the second image to obtain the third image according to the first image after the zooming process by the cutting module 150, and further enable the mobile terminal 100 to automatically cut the second image according to the first image after the zooming process to obtain the third image corresponding to the display content of the first image after the zooming process, so as to realize automatic switching between the first mode and the second mode, thereby ensuring that when the user performs the zooming view by using the first mode, the second mode that does not support the zooming view can be used to obtain the third image corresponding to the display content of the first image after the zooming process, and ensuring that the image obtained by the user is the first image after the zooming process.
Compared with the method that the user is required to manually cut the image after the image acquisition is completed by adopting the mode which does not support the zooming process, the method and the device have the advantages that the requirement of the user on zooming view finding can be met, the user is not required to cut the image after the image acquisition is completed by adopting the mode which does not support the zooming process, and the user experience is improved.
In some embodiments, the resolution of the first image is less than the resolution of the second image;
and/or the number of the groups of groups,
the resolution of the first image is smaller than the resolution of the third image.
In the embodiment of the disclosure, according to the photographing instruction, the first mode is switched to the second mode, the second image with higher resolution than the first image is acquired and obtained in the second mode, the second image is cut to obtain the third image, and the resolution of the third image is improved, so that a user can perform zooming and framing in the first mode and obtain an image with better definition according to the photographing instruction when performing image acquisition, the problem that the high-definition photographing mode cannot perform zooming and framing in the prior art is solved, and user experience is improved.
In addition, when the resolution of the third image is larger than that of the first image, the resolution of the third image is also larger than that of the first image after zooming, so that the image obtained according to the photographing instruction can be ensured to have better definition, and the requirement of a user for obtaining a high-definition photo is met.
In some embodiments, the control module 140 is further configured to control the acquisition module 110 to exit the second mode and enter the first mode after the third image is obtained.
In the embodiment of the present disclosure, after the third image is obtained, the mobile terminal 100 may automatically exit the second mode and enter the first mode through the control module 140, so that the mobile terminal 100 may enter the next photographing operation, and by entering the first mode, the user may be allowed to continue zooming and framing in the next photographing operation, so that when the mobile terminal performs continuous photographing for multiple times, each photographing can perform zooming and framing, and user experience is improved.
In some embodiments, the control module 140 is configured to obtain a resolution of the first image after the zooming process;
the control module 140 is specifically further configured to control the acquisition module 110 to switch from the first mode to the second mode according to the photographing instruction when the resolution of the first image after the zooming process is less than the preset resolution.
In the embodiment of the disclosure, when the resolution of the first image after zooming is smaller than the preset resolution, the control module 140 switches from the first mode to the second mode according to the photographing instruction, so that the image obtained by photographing the mobile terminal 100 according to the photographing instruction is ensured to be a third image with higher resolution, and further better user experience is ensured.
In some embodiments, the display module 120 is configured to display the multimedia information when the acquisition module 110 switches between the first mode and the second mode.
In the embodiment of the present disclosure, through the display module 120, multimedia information may be displayed when switching between the first mode and the second mode, which may reduce the reduction of user experience caused by the delay of switching between the first mode and the second mode, and ensure that the user experience is better.
In some embodiments, the cropping module 150 is configured to crop the image content included in the first image after the zooming process from the second image, to obtain a third image.
In the embodiment of the disclosure, the clipping module 150 is configured to clip the image content included in the first image after zooming processing from the second image to obtain the third image, so as to ensure that the image content consistent with the image content that the user wants to shoot is obtained, realize "what you see is what you get", and meet the image acquisition requirement of the user.
In some embodiments, the acquisition module 110 includes: a first image acquisition assembly and a second image acquisition assembly; the resolution of the image acquired by the first image acquisition component is smaller than that of the image acquired by the second image acquisition component;
the first image acquisition component is used for acquiring and obtaining the first image in a first mode;
and the second image acquisition component is used for acquiring and obtaining the second image in a second mode.
With respect to the mobile terminal 100 in the above-described embodiment, a specific manner in which the respective modules perform operations has been described in detail in the embodiment regarding the method, and will not be described in detail herein.
Fig. 3 is a block diagram illustrating an apparatus 800 for image acquisition according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, or the like.
Referring to fig. 3, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. In addition, the processing component 802 can also include one or more modules that facilitate interactions 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 operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, video, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile 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 disk.
The power component 806 provides power to the various components of the device 800. The power component 806 may include: a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and the 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 input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and/or rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
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 device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further 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 a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing a mode assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off mode of the device 800, a relative positioning of components such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects 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 gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one 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, or 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, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform the image acquisition method of any of the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the examples disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. The image acquisition method is characterized by being applied to the mobile terminal and comprising the following steps of:
displaying a first image acquired in a first mode;
obtaining and displaying the first image after zooming according to the zooming instruction;
switching from the first mode to a second mode according to a photographing instruction;
in the second mode, acquiring a second image; the resolution of the first image is less than the resolution of the second image;
cutting the second image according to the first image after zooming treatment to obtain a third image; the resolution of the first image is less than the resolution of the third image.
2. The method according to claim 1, wherein the method further comprises:
after the third image is obtained, the second mode is exited and the first mode is entered.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and displaying multimedia information when switching between the first mode and the second mode.
4. The method of claim 1, wherein cropping the second image to obtain a third image based on the zoomed first image comprises:
and cutting out the image content contained in the first image after the zooming processing from the second image to obtain the third image.
5. The method according to claim 1 or 2, wherein the mobile terminal comprises a first image acquisition component and a second image acquisition component, the first image acquisition component acquiring an image with a resolution smaller than the second image acquisition component;
wherein, in the first mode, the first image is acquired through the first image acquisition component; in the second mode, the second image is acquired through the second image acquisition component.
6. A mobile terminal, comprising:
the acquisition module is used for acquiring and obtaining a first image in a first mode;
the display module is used for displaying the first image;
the zooming module is used for obtaining the first image after zooming according to the zooming instruction;
the display module is further used for displaying the first image after zooming;
the control module is used for controlling the acquisition module to switch from the first mode to the second mode according to a photographing instruction;
the acquisition module is further used for acquiring a second image in the second mode; the resolution of the first image is less than the resolution of the second image;
the clipping module is used for clipping the second image to obtain a third image according to the first image after zooming; the resolution of the first image is less than the resolution of the third image.
7. The mobile terminal of claim 6, wherein the mobile terminal comprises a mobile terminal,
and the control module is also used for controlling the acquisition module to exit the second mode and enter the first mode after the third image is obtained.
8. A mobile terminal according to claim 6 or 7, characterized in that,
the display module is used for displaying the multimedia information when the acquisition module is switched between the first mode and the second mode.
9. The mobile terminal of claim 6, wherein the mobile terminal comprises a mobile terminal,
and the clipping module is used for clipping the image content contained in the first image after the zooming processing from the second image to obtain the third image.
10. The mobile terminal of claim 6, wherein the acquisition module comprises: a first image acquisition assembly and a second image acquisition assembly; the resolution of the image acquired by the first image acquisition component is smaller than that of the image acquired by the second image acquisition component;
the first image acquisition component is used for acquiring and obtaining the first image in the first mode;
the second image acquisition component is used for acquiring and obtaining the second image in the second mode.
11. An image acquisition device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the executable instructions, when executed, implement the steps in the method of any one of claims 1 to 5.
12. A non-transitory computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the steps in the method of any one of claims 1 to 5.
CN202010489356.1A 2020-06-02 2020-06-02 Image acquisition method, mobile terminal, device and storage medium Active CN113766115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010489356.1A CN113766115B (en) 2020-06-02 2020-06-02 Image acquisition method, mobile terminal, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010489356.1A CN113766115B (en) 2020-06-02 2020-06-02 Image acquisition method, mobile terminal, device and storage medium

Publications (2)

Publication Number Publication Date
CN113766115A CN113766115A (en) 2021-12-07
CN113766115B true CN113766115B (en) 2023-08-04

Family

ID=78782732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010489356.1A Active CN113766115B (en) 2020-06-02 2020-06-02 Image acquisition method, mobile terminal, device and storage medium

Country Status (1)

Country Link
CN (1) CN113766115B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980644A (en) * 2014-04-14 2015-10-14 华为技术有限公司 Shooting method and device
CN106131416A (en) * 2016-07-19 2016-11-16 广东欧珀移动通信有限公司 Zoom processing method, device and the mobile terminal of dual camera
CN106454105A (en) * 2016-10-28 2017-02-22 努比亚技术有限公司 Device and method for image processing
CN107592467A (en) * 2017-10-20 2018-01-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN110099213A (en) * 2019-04-26 2019-08-06 维沃移动通信(杭州)有限公司 A kind of image display control method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980644A (en) * 2014-04-14 2015-10-14 华为技术有限公司 Shooting method and device
CN106131416A (en) * 2016-07-19 2016-11-16 广东欧珀移动通信有限公司 Zoom processing method, device and the mobile terminal of dual camera
CN106454105A (en) * 2016-10-28 2017-02-22 努比亚技术有限公司 Device and method for image processing
CN107592467A (en) * 2017-10-20 2018-01-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN110099213A (en) * 2019-04-26 2019-08-06 维沃移动通信(杭州)有限公司 A kind of image display control method and terminal

Also Published As

Publication number Publication date
CN113766115A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN108419016B (en) Shooting method and device and terminal
EP3905203A1 (en) Method and apparatus for processing video, and storage medium
CN108108418B (en) Picture management method, device and storage medium
US11539888B2 (en) Method and apparatus for processing video data
JP2018503269A (en) Preview image display method and apparatus
CN112929561B (en) Multimedia data processing method and device, electronic equipment and storage medium
CN111523346A (en) Image recognition method and device, electronic equipment and storage medium
CN111461950B (en) Image processing method and device
CN111614910A (en) File generation method and device, electronic equipment and storage medium
CN113766115B (en) Image acquisition method, mobile terminal, device and storage medium
CN114666490B (en) Focusing method, focusing device, electronic equipment and storage medium
CN114339019B (en) Focusing method, focusing device and storage medium
EP3905660A1 (en) Method and device for shooting image, and storage medium
CN114339357A (en) Image acquisition method, image acquisition device and storage medium
CN114071004A (en) Moon image acquisition method and device, electronic equipment and storage medium
CN113973172A (en) Shooting method, shooting device, storage medium and electronic equipment
CN113315903A (en) Image acquisition method and device, electronic equipment and storage medium
CN112346606A (en) Picture processing method and device and storage medium
CN114339015B (en) Photographing processing method, photographing processing device and storage medium
CN114339018B (en) Method and device for switching lenses and storage medium
US11838655B2 (en) Image acquiring method and apparatus, electronic device, and storage medium
CN117956268A (en) Preview frame rate control method and device thereof
CN117546071A (en) Zoom method, zoom device, electronic apparatus, and storage medium
CN116419069A (en) Image preview method, device, terminal equipment and readable storage medium
CN112099894A (en) Content determination 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