CN113766115A - 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
CN113766115A
CN113766115A CN202010489356.1A CN202010489356A CN113766115A CN 113766115 A CN113766115 A CN 113766115A CN 202010489356 A CN202010489356 A CN 202010489356A CN 113766115 A CN113766115 A CN 113766115A
Authority
CN
China
Prior art keywords
image
mode
mobile terminal
resolution
zooming
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.)
Granted
Application number
CN202010489356.1A
Other languages
Chinese (zh)
Other versions
CN113766115B (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

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/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 present disclosure relates to an image acquisition method, a mobile terminal, an image acquisition apparatus, and a storage medium, the method is applied to the mobile terminal, and the method includes: displaying a first image acquired in a first mode; obtaining and displaying the first image after zooming processing according to a zooming instruction; switching from the first mode to a second mode according to a photographing instruction; acquiring and obtaining a second image in the second mode; and cutting the second image according to the first image after the zooming processing to obtain a third image.

Description

Image acquisition method, mobile terminal, device and storage medium
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to an image capturing method, a mobile terminal, an apparatus, and a storage medium.
Background
With the rapid development of electronic technology and the wide application of image acquisition functions, the quality requirements of users for image acquisition are higher and higher. In general, during image acquisition, people need to zoom in or zoom out a captured image, that is, zoom the acquired image.
However, when the live zoom framing is required, the user needs to manually select a photographing mode in which the live zoom framing can be performed. Or, the user may directly take a picture in a mode that does not support zoom framing, and then the user actively cuts the taken image to realize the zoom processing of the image. The process is relatively tedious, and user experience is reduced.
Disclosure of Invention
In view of the above, the present disclosure provides an image capturing method, a mobile terminal, an apparatus 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:
displaying a first image acquired in a first mode;
obtaining and displaying the first image after zooming processing according to a zooming instruction;
switching from the first mode to a second mode according to a photographing instruction;
acquiring and obtaining a second image in the second mode;
and cutting the second image according to the first image after the zooming processing 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 presence of a gas in the gas,
the resolution of the first image is less than the resolution of the third image.
In some embodiments, the method further comprises:
after obtaining the third image, exiting the second mode and entering the first mode.
In some embodiments, the method further comprises:
displaying multimedia information while switching between the first mode and the second mode.
In some embodiments, the cropping the second image according to the zoom-processed first image to obtain a third image includes:
and cutting out 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 the resolution of an image acquired by the second image acquisition component;
wherein, in the first mode, the first image is acquired and obtained through the first image acquisition assembly; in the second mode, the second image is acquired and obtained through the second image acquisition assembly.
According to a second aspect of the embodiments of the present disclosure, there is provided a mobile terminal including:
the acquisition module is used for acquiring and obtaining a first image in a first mode;
a display module for displaying the first image;
the zooming module is used for obtaining the first image after zooming processing according to a zooming instruction;
the display module is further configured to display the first image after the zooming processing;
the control module is used for controlling the acquisition module to be switched from the first mode to the second mode according to a photographing instruction;
the acquisition module is further used for acquiring and obtaining a second image in the second mode;
and the cutting module is used for cutting the second image to obtain a third image according to the first image after the zooming processing.
In some embodiments, the resolution of the first image is less than the resolution of the second image;
and/or the presence of a gas in the gas,
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 out, from the second image, image content included in the first image after the zoom processing, so as to obtain the third image.
In some embodiments, the acquisition module comprises: the system comprises a first image acquisition assembly and a second image acquisition assembly; the resolution of the image acquired by the first image acquisition assembly is smaller than that of the image acquired by the second image acquisition assembly;
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 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: when the executable instructions are executed, the steps in the method according to the first aspect of the embodiments of the present disclosure are implemented.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the steps of the method according to the first aspect of the embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have 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 zoom in real time to perform zooming and framing during image acquisition, manual selection of a user is not needed, and user experience is improved.
Moreover, the first mode is automatically switched to the second mode according to the photographing instruction, the second image is collected in the second mode, the second image is cut to obtain the third image according to the first image after zooming, the mobile terminal can automatically cut the second image according to the first image after zooming under the condition that a user does not perceive the third image, the third image is obtained, the mode supporting zooming can be automatically selected to carry out zooming and framing without the user selecting. Compared with the mode that the image acquisition is finished in a mode that the zooming processing is not supported, the image acquisition method and the image acquisition system have the advantages that the user needs to actively cut the image and the like, and the image acquisition method and the image acquisition system are favorable for improving the intelligence of the image acquisition and the user experience.
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 flow chart illustrating an image acquisition method according to an exemplary embodiment.
Fig. 2 is a block diagram illustrating a mobile terminal according to an example embodiment.
FIG. 3 is a block diagram illustrating an image capture device according to an exemplary embodiment.
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 illustrating an image capturing method applied to a mobile terminal according to an exemplary embodiment. Referring to fig. 1, the method includes the steps of:
s11: displaying a first image acquired in a first mode;
s12: obtaining and displaying a first image after zooming processing according to the zooming instruction;
s13: switching from the first mode to the second mode according to the photographing instruction;
s14: acquiring and obtaining a second image in a second mode;
s15: and cutting the second image according to the first image after the zooming processing to obtain a third image.
The zoom instructions may include: a zoom-in instruction and/or a zoom-out instruction.
When the mobile terminal collects images in the first mode, zooming processing can be carried out on the collected and displayed first images according to the zooming instruction. Namely, the mobile terminal supports zooming and framing when the mobile terminal acquires images in the first mode.
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 zoom processing cannot be obtained and displayed according to the zoom instruction. Namely, when the mobile terminal performs image acquisition in the second mode, zooming and framing are not supported.
Taking zoom processing as an example of magnification processing, in the related art, when the mobile terminal acquires an image in a mode that does not support zoom framing, if a user needs to magnify the acquired image, the user can only manually magnify the photographed image after photographing is completed, but cannot magnify the displayed image in the framing process, which is not favorable for the convenience of image acquisition of the user.
It is noted that when the user selects the image acquisition in the second mode, a second image acquired by the second mode acquisition may be displayed. And when the user selects to collect the image in the second mode, the second mode can be switched to the first mode according to the zoom instruction, the first image is collected and obtained, and the first image after the zoom processing is obtained and displayed.
In the image acquisition process of switching from the first mode to the second mode, the display screen of the mobile terminal may maintain to display the first image after the zoom processing until the third image is acquired, and switch to display the third image, or maintain to obtain the third image. It is noted that the third image may not be displayed during the image acquisition. In S15, the content of the zoomed first image display included in the second image may be recognized by comparing the content of the zoomed first image display with the content of the second image display, and the region including the content of the zoomed first image display may be 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 zoom-processed second image and the content displayed by the zoom-processed first image may be compared, and a region in the zoom-processed second image where the content displayed by the zoom-processed first image is the same may be identified as the third image.
In some embodiments, S15 includes: and cutting out the image content contained in the first image after the zooming processing 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 which the user wants to shoot 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 process 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, after the mobile terminal performs photographing according to the photographing instruction, the image stored in the mobile terminal is the third image. When the user views the image obtained by the photographing, the mobile terminal displays a third image.
Taking the mobile terminal as a mobile phone as an example, after the mobile phone collects images by applying the method provided by the embodiment of the disclosure, the image stored in the mobile phone album is a third image.
Because the second mode can not carry out the real-time zooming view finding, the user requirement is difficult to meet, and the first mode supports the zooming view finding, the first image after the zooming processing can be obtained and displayed according to the zooming instruction, so that the requirement of the user on the real-time zooming view finding function in the image acquisition process can be 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 processing is acquired and displayed according to the zooming instruction, so that the mobile terminal can automatically select the mode supporting zooming to zoom and view in real time when image acquisition is carried out, manual selection of a user is not needed, and the improvement of user experience is facilitated.
Moreover, the first mode is automatically switched to the second mode according to the photographing instruction, the second image is collected in the second mode, the second image is cut to obtain the third image according to the first image after zooming, and the mobile terminal can automatically cut the second image according to the first image after zooming under the condition that a user does not sense the third image.
In some embodiments, the resolution of the first image is less than the resolution of the second image;
and/or the presence of a gas in the gas,
the resolution of the first image is less 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 million pixels, 6400 million 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 displayed after the image has been enlarged.
The second mode may include a high-definition photographing mode. The resolution of the image collected in the high-definition photographing mode is larger than or equal to 4800 ten thousand pixels. However, when the mobile terminal performs shooting in the high-definition shooting mode, zoom framing is not supported.
When the mobile terminal is used for shooting a building far away from the mobile terminal in a high-definition shooting mode, characters or structures with small sizes on the building cannot be seen clearly during framing, and a user needs to perform zooming and framing. However, since the high-definition photographing mode does not support zoom framing, in the related art, a user can only photograph the building in the high-definition photographing mode to obtain a photo, and then enlarge and crop the obtained photo, so that a word or a structure with a smaller size on the building can be seen clearly from the cropped photo, and the displayed picture cannot be subjected to zoom processing 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 the resolution higher than that of the first image is acquired in the second mode, the second image is cut to obtain the third image, and the improvement of the resolution of the third image is facilitated, so that a user can zoom and view in the first mode when acquiring the images, and can acquire the images with better definition according to the photographing instruction, thereby solving the problem that the high-definition photographing mode in the prior art cannot zoom and view, and improving the user experience.
In addition, when the resolution of the third image is greater than that of the first image, the resolution of the third image is also greater 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 the zooming processing 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 that the display area of the mobile terminal is not changed, the definition of the first image before the zoom process displayed by the mobile terminal is higher than that of the first image after the zoom process.
When the resolution of the first image after the zoom processing is smaller than the preset resolution, the image quality of the first image after the zoom processing may be considered to be poor. If the first image after the zooming processing is taken as the photo generated by shooting according to the shooting instruction, the photo is difficult to meet the user requirement. 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 the zooming processing is smaller than the preset resolution, the first mode is switched to the second mode according to the photographing instruction, so that it can be ensured that the image obtained by photographing by the mobile terminal according to the photographing instruction is 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. And after the mobile terminal enters the first mode, the mobile terminal displays the image acquired in the first mode again.
When the mobile terminal displays the image acquired in the first mode, it may be considered that the mobile terminal has successfully completed 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 from the second mode and enter the first mode, so that the mobile terminal can enter the next photographing operation, and the user can be allowed to continue zooming and framing in the next photographing operation by entering the first mode, so that the mobile terminal can zoom and frame every time when continuously photographing for multiple times, and the user experience is improved.
In some embodiments, the method further comprises: when switching between the first mode and the second mode, the multimedia information is displayed.
The multimedia information may include: presetting a static picture or presetting animation and the like. The presetting of the still picture may include: landscape pictures or animal pictures, etc. The preset animation may include: a rotating circle or flashing text (e.g., "please wait a little more").
Illustratively, the mobile terminal may comprise an image capturing component having the first mode and the second mode. The image acquisition assembly may be switched between the first mode and the second mode by moving an included lens or the like.
It will be appreciated that when the mobile terminal includes an image capture assembly and the image capture assembly is switched between the first mode and the second mode, a certain amount of time may be required within the image capture assembly to complete the switch. The user needs to wait for the switching to be completed before continuing to acquire the image. Thus, the time for completing the handover may degrade the user experience.
In the embodiment of the disclosure, when the first mode and the second mode are switched, the multimedia information is displayed, so that the reduction of user experience caused by the switching delay between the first mode and the second mode can be reduced, and the user experience is ensured to be better.
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 be used for taking pictures in the high-definition mode, and the picture quality of pictures taken by the lens in the high-definition mode is higher and higher, and can reach 6400 ten thousand pixels or even 1 hundred million pixels. The photographs taken in high definition mode, even magnified many times, are still very clear.
However, when taking a picture in the high-definition mode, the lens cannot be zoomed, and only a picture can be taken in the fixed-focus mode. If the lens shot in the high-definition mode needs to be zoomed, the picture shot in the high-definition mode can be enlarged and cut only after the lens shot in the high-definition mode is shot. When the camera lens of shooing with high definition mode was shot promptly, can only cut out the photo that obtains after accomplishing to the shooting in order to realize the enlarged effect, and can not zoom when the user finds a view and find a view, be unfavorable for improving user experience.
In some embodiments, the mobile terminal may include a first image acquisition component and a second image acquisition component, and in the first mode, a first image is acquired through the first image acquisition component; in the second mode, a second image is acquired by the second image acquisition assembly. The resolution of the image collected by the first image collection assembly is smaller than the resolution of the image collected by the second image collection assembly.
The first image capturing assembly supports zoom framing. Namely, the first image acquisition assembly can obtain a first image after zooming processing according to the zooming instruction. The first image acquisition assembly may include: a telephoto lens. The focal length of the telephoto lens may be greater than 50 mm.
The analytic force of the second image acquisition assembly is higher than that of the first image acquisition assembly. The second image acquisition assembly may include: fixed focus lens. It is understood that a fixed focus lens is a lens with a fixed focal length.
The mobile terminal can be switched between the first mode and the second mode by adopting different image acquisition assemblies, so that the real-time zooming and framing can be performed in the image acquisition process, the image acquired after the image acquisition is finished can be ensured to have higher image quality, and the requirement of a user on the higher image quality is met. Moreover, 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, the compatibility with the related technology is strong, and the hardware cost of the mobile terminal is low.
Fig. 2 is a block diagram illustrating a mobile terminal 100 according to an example embodiment. Referring to fig. 2, the mobile terminal 100 includes: an acquisition module 110, a display module 120, a zoom module 130, a control module 140, and a cropping 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 zoom module 130 is configured to obtain a first zoom-processed image according to a zoom 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 into a third image according to the first image after the zoom processing.
In the embodiment of the present disclosure, the display module 120 may display the first image acquired in the first mode, and display the first image after the zoom processing, so that the mobile terminal can perform zoom framing when acquiring the image.
Moreover, the disclosure control module 140 may automatically control the acquisition module 110 to switch from the first mode to the second mode according to the photographing instruction, acquire the second image in the second mode, and trim the second image to obtain a third image according to the zoom-processed first image through the trimming module 150, so that the mobile terminal 100 can automatically trim the second image according to the zoom-processed first image to obtain the third image corresponding to the display content of the zoom-processed first image, thereby implementing automatic switching between the first mode and the second mode, so as to ensure that when a user performs zoom framing in the first mode, the user can obtain the third image corresponding to the display content of the zoom-processed first image in the second mode that does not support zoom framing, and ensure that the image obtained by the user is the zoom-processed first image.
Compared with the mode that the zooming processing is not supported, the image is required to be manually cut by the user after the image is acquired, the method and the device can meet the requirement of the user on zooming and framing, the user is not required to cut the image after the image is acquired by the mode that the zooming processing is not supported, 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 presence of a gas in the gas,
the resolution of the first image is less than the resolution of the third image.
In the embodiment of the disclosure, according to a photographing instruction, the first mode is switched to the second mode, a second image with a resolution higher than that of the first image is acquired in the second mode, and the second image is cut to obtain a third image, which is beneficial to improving the resolution of the third image, 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 acquiring the image, thereby solving the problem that the high-definition photographing mode in the prior art cannot zoom and view, and improving user experience.
In addition, when the resolution of the third image is greater than that of the first image, the resolution of the third image is also greater 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 obtaining the third image, the mobile terminal 100 may automatically exit from 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, thereby ensuring that zooming and framing can be performed every time when the mobile terminal continuously photographs for multiple times, and improving user experience.
In some embodiments, the control module 140 is configured to obtain a resolution of the zoom-processed first image;
the control module 140 is further specifically 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 zoom-processed first image is smaller than the preset resolution.
In the embodiment of the present disclosure, when the resolution of the first image after the zoom processing 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 as to ensure that the image obtained by photographing the mobile terminal 100 according to the photographing instruction is a third image with higher resolution, thereby ensuring that the user experience is better.
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, the display module 120 may display the multimedia information when switching between the first mode and the second mode, so as to reduce the reduction of the user experience caused by the time delay of switching between the first mode and the second mode, and ensure better user experience.
In some embodiments, the cropping module 150 is configured to crop out image content included in the zoom-processed first image from the second image to obtain a third image.
In the embodiment of the present disclosure, the cropping module 150 is configured to crop the image content included in the first image after the zoom 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 capture is obtained, achieve "what you see is what you get", and meet the image acquisition requirement of the user.
In some embodiments, the acquisition module 110 includes: the system comprises a first image acquisition assembly and a second image acquisition assembly; the resolution of the image acquired by the first image acquisition assembly is smaller than that of the image acquired by the second image acquisition assembly;
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 regard to the mobile terminal 100 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. 3 is a block diagram illustrating an apparatus 800 for image acquisition according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 3, the 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 communications 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 also 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 operations at the apparatus 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 storage 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 component 806 provides power to the various components of device 800. The power assembly 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 camera and/or the rear 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/or 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 mode evaluation for the apparatus 800. For example, the sensor assembly 814 may detect an on/off mode of the device 800, the 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, 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 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 apparatus 800 may access a wireless network based on a communication standard, such as WiFi, 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, 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, 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, wherein instructions, when executed by a processor of a mobile terminal, enable 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 embodiments 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 comprises the following steps:
displaying a first image acquired in a first mode;
obtaining and displaying the first image after zooming processing according to a zooming instruction;
switching from the first mode to a second mode according to a photographing instruction;
acquiring and obtaining a second image in the second mode;
and cutting the second image according to the first image after the zooming processing to obtain a third image.
2. The method of claim 1,
the resolution of the first image is less than the resolution of the second image;
and/or the presence of a gas in the gas,
the resolution of the first image is less than the resolution of the third image.
3. The method of claim 1, further comprising:
after obtaining the third image, exiting the second mode and entering the first mode.
4. The method according to claim 1 or 3, characterized in that the method further comprises:
displaying multimedia information while switching between the first mode and the second mode.
5. The method of claim 1, wherein the cropping the second image from the first image after the zoom processing to obtain a third image comprises:
and cutting out image content contained in the first image after the zooming processing from the second image to obtain the third image.
6. The method according to claim 1 or 2, wherein the mobile terminal comprises a first image acquisition component and a second image acquisition component, and the resolution of the image acquired by the first image acquisition component is smaller than the resolution of the image acquired by the second image acquisition component;
wherein, in the first mode, the first image is acquired and obtained through the first image acquisition assembly; in the second mode, the second image is acquired and obtained through the second image acquisition assembly.
7. A mobile terminal, comprising:
the acquisition module is used for acquiring and obtaining a first image in a first mode;
a display module for displaying the first image;
the zooming module is used for obtaining the first image after zooming processing according to a zooming instruction;
the display module is further configured to display the first image after the zooming processing;
the control module is used for controlling the acquisition module to be switched from the first mode to the second mode according to a photographing instruction;
the acquisition module is further used for acquiring and obtaining a second image in the second mode;
and the cutting module is used for cutting the second image to obtain a third image according to the first image after the zooming processing.
8. The mobile terminal of claim 7,
the resolution of the first image is less than the resolution of the second image;
and/or the presence of a gas in the gas,
the resolution of the first image is less than the resolution of the third image.
9. The mobile terminal of claim 7,
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.
10. The mobile terminal according to claim 7 or 9,
the display module is used for displaying multimedia information when the acquisition module is switched between the first mode and the second mode.
11. The mobile terminal of claim 7,
the cutting module is configured to cut out, from the second image, image content included in the first image after the zoom processing, so as to obtain the third image.
12. The mobile terminal of claim 7, wherein the acquisition module comprises: the system comprises a first image acquisition assembly and a second image acquisition assembly; the resolution of the image acquired by the first image acquisition assembly is smaller than that of the image acquired by the second image acquisition assembly;
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.
13. An image acquisition apparatus, 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 6.
14. A non-transitory computer readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the steps of the method of any of claims 1 to 6.
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 true CN113766115A (en) 2021-12-07
CN113766115B 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
CN113766115B (en) 2023-08-04

Similar Documents

Publication Publication Date Title
CN108419016B (en) Shooting method and device and terminal
US11368632B2 (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
CN105282441B (en) Photographing method and device
EP3945494A1 (en) Video processing method, apparatus and storage medium
CN111614910B (en) File generation method and device, electronic equipment and storage medium
CN111461950B (en) Image processing method and device
CN114666490B (en) Focusing method, focusing device, electronic equipment and storage medium
CN114422687B (en) Preview image switching method and device, electronic equipment and storage medium
CN111586296B (en) Image capturing method, image capturing apparatus, and storage medium
CN113766115B (en) Image acquisition method, mobile terminal, device and storage medium
CN112087570B (en) Image shooting method and device, electronic equipment and readable storage medium
CN114071004A (en) Moon image acquisition method and device, electronic equipment and storage medium
CN114339357A (en) Image acquisition method, image acquisition device and storage medium
CN115134505A (en) Preview picture generation method and device, electronic equipment and storage medium
CN112346606A (en) Picture processing method and device and storage medium
CN113315903A (en) Image acquisition method and device, electronic equipment and storage medium
US11838655B2 (en) Image acquiring method and apparatus, electronic device, and storage medium
CN114339018B (en) Method and device for switching lenses and storage medium
CN117499776A (en) Shooting method, shooting device, electronic equipment and storage medium
CN116419069A (en) Image preview method, device, terminal equipment and readable storage medium
CN117412181A (en) Camera system and terminal device
CN112346795A (en) Picture processing method and device and storage medium
CN117546479A (en) Image processing method, device 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
GR01 Patent grant
GR01 Patent grant