CN111770275A - Shooting method and device, electronic equipment and readable storage medium - Google Patents

Shooting method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111770275A
CN111770275A CN202010634303.4A CN202010634303A CN111770275A CN 111770275 A CN111770275 A CN 111770275A CN 202010634303 A CN202010634303 A CN 202010634303A CN 111770275 A CN111770275 A CN 111770275A
Authority
CN
China
Prior art keywords
image
target
input
target image
user
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
CN202010634303.4A
Other languages
Chinese (zh)
Other versions
CN111770275B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010634303.4A priority Critical patent/CN111770275B/en
Publication of CN111770275A publication Critical patent/CN111770275A/en
Application granted granted Critical
Publication of CN111770275B publication Critical patent/CN111770275B/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/62Control of parameters via user interfaces
    • 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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters

Landscapes

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

Abstract

The embodiment of the invention discloses a shooting method, a shooting device, electronic equipment and a readable storage medium, relates to the technical field of communication, and can solve the problem of poor shooting efficiency of the electronic equipment. The method comprises the following steps: receiving a first input of a user under the condition that a shooting preview interface is displayed; in response to a first input, photographing a target object and saving a first target image about the target object; the first target image is a full-pixel image with a first image scale, and the first image scale is a size scale of a photosensitive area of an image sensor of the electronic device. The embodiment of the invention is applied to the process of shooting the image by the electronic equipment.

Description

Shooting method and device, electronic equipment and readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a shooting method, a shooting device, electronic equipment and a readable storage medium.
Background
Generally, before taking a picture through the electronic device, a user may set an image scale (e.g., an image scale of 1:1 or an image scale of 4:3, etc.) in a shooting interface; the user may then make a capture input so that the electronic device may capture a subject to capture and save an image at the image scale so that the image at the image scale may be viewed in the album application.
However, after an image with a certain image scale is captured by the method, since the image scale preset by the user is smaller than the size scale of the photosensitive area of the image sensor of the electronic device, when the user edits the captured image in the album application, the image lacks part of the picture content, and the capturing efficiency of the electronic device is poor.
Disclosure of Invention
The embodiment of the invention provides a shooting method, a shooting device, electronic equipment and a readable storage medium, which can solve the problem of poor shooting efficiency of the electronic equipment.
In order to solve the technical problem, the embodiment of the invention adopts the following technical scheme:
in a first aspect of the embodiments of the present invention, a shooting method is provided, which is applied to an electronic device, and includes: receiving a first input of a user under the condition that a shooting preview interface is displayed; in response to a first input, photographing a target object and saving a first target image about the target object; the first target image is a full-pixel image with a first image scale, and the first image scale is a size scale of a photosensitive area of an image sensor of the electronic device.
In a second aspect of the embodiments of the present invention, there is provided a photographing apparatus including: the device comprises a receiving module, a shooting module and a storage module. The receiving module is used for receiving a first input of a user under the condition that a shooting preview interface is displayed. And the shooting module is used for responding to the first input received by the receiving module and shooting the target object. A saving module to save a first target image about a target object. The first target image is a full-pixel image with a first image scale, and the first image scale is a size scale of a photosensitive area of an image sensor of the electronic device.
In a third aspect of the embodiments of the present invention, an electronic device is provided, where the electronic device includes a processor, a memory, and a program stored in the memory and being executable on the processor, and the program implements the steps of the shooting method according to the first aspect when executed by the processor.
A fourth aspect of the embodiments of the present invention provides a readable storage medium, on which a program is stored, which when executed by a processor, implements the steps of the photographing method according to the first aspect.
In an embodiment of the present invention, when displaying a shooting preview interface, a user may make a first input so that an electronic device may shoot a target object and save a first target image about the target object, the first target image being a full-pixel image of a size scale of a photosensitive area of an image sensor of the electronic device. Since the full-pixel image of the size ratio of the photosensitive area of the image sensor of one piece of electronic equipment related to the target object can be saved after the electronic equipment shoots the target object, and the full-pixel image can show the most picture content related to the target object, when a user edits the image of the target object, the editing effect of the electronic equipment on the image can be improved, and the shooting efficiency of the electronic equipment can be improved.
Drawings
Fig. 1 is a schematic structural diagram of an android operating system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a shooting method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of a photographing method according to an embodiment of the invention;
fig. 5 is a third schematic diagram of a photographing method according to an embodiment of the present invention;
fig. 6 is a second schematic diagram of an example of an interface of a mobile phone according to the embodiment of the present invention;
fig. 7 is a fourth schematic diagram of a photographing method according to an embodiment of the invention;
fig. 8 is a fifth schematic view illustrating a photographing method according to an embodiment of the invention;
fig. 9 is a schematic structural diagram of a photographing device according to an embodiment of the present invention;
fig. 10 is a second schematic structural diagram of a photographing device according to an embodiment of the invention;
fig. 11 is a third schematic structural diagram of a photographing apparatus according to an embodiment of the invention;
fig. 12 is a hardware schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like, in the description and in the claims of embodiments of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
In the description of the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified. For example, a plurality of elements refers to two elements or more.
The term "and/or" herein is an association relationship describing an associated object, and means that there may be three relationships, for example, a display panel and/or a backlight, which may mean: there are three cases of a display panel alone, a display panel and a backlight at the same time, and a backlight alone. The symbol "/" herein denotes a relationship in which the associated object is or, for example, input/output denotes input or output.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Embodiments of the present invention provide a shooting method, an apparatus, an electronic device, and a readable storage medium, where after a target object is shot by an electronic device, a full-pixel image of a size ratio of a photosensitive area of an image sensor of one piece of electronic device with respect to the target object may be stored, and the full-pixel image may show the most picture content with respect to the target object, so that when a user edits an image of the target object, an editing effect of the electronic device on the image may be improved, and thus, shooting efficiency of the electronic device may be improved.
The shooting method, the shooting device, the electronic equipment and the readable storage medium provided by the embodiment of the invention can be applied to the shooting process of the electronic equipment. In particular, the method can be applied to the process of shooting the image by the electronic equipment.
The electronic device in the embodiment of the present invention may be an electronic device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present invention are not limited in particular.
The following describes a software environment applied to the shooting method provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the shooting method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the shooting method may run based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the shooting method provided by the embodiment of the present invention by running the software program in the android operating system.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiment of the present invention is not particularly limited.
A shooting method, an apparatus, an electronic device, and a readable storage medium according to embodiments of the present invention are described in detail below with reference to the accompanying drawings.
In an embodiment of the present invention, after a user opens a camera of an electronic device, the electronic device may display a shooting preview interface at a default ratio (e.g., 4:3, where a ratio of a length to a width is 4:3), and display a plurality of marks (e.g., rectangular frames) in the shooting preview interface to form a plurality of mark areas, where one mark area corresponds to one image ratio (i.e., a ratio of a length to a width of one mark area is one image ratio); then, the user aligns the camera with the photographic subject and makes a first input so that the electronic device can photograph the photographic subject and saves a full-pixel image of a size ratio of a photosensitive area of an image sensor of the electronic device with respect to the target subject (e.g., an image of an image ratio of 4: 3). Therefore, when the user edits the image of the target object, the image editing effect of the electronic equipment can be improved.
An embodiment of the present invention provides a shooting method, and fig. 2 shows a flowchart of the shooting method provided in the embodiment of the present invention, where the method can be applied to an electronic device having an android operating system as shown in fig. 1. As shown in fig. 2, the photographing method provided by the embodiment of the present invention may include steps 201 and 202 described below.
In step 201, the electronic device receives a first input of a user when a shooting preview interface is displayed.
In the embodiment of the present invention, a user may input an application program (e.g., a camera application program) having a shooting function, so that the electronic device may display a shooting preview interface, and then the user may perform a first input, so that the electronic device may shoot a target object and save a full-pixel image of a size ratio of a photosensitive area of an image sensor of the electronic device with respect to the target object.
Optionally, in the embodiment of the present invention, the shooting preview interface includes M marked areas, each marked area corresponds to an image scale, and each of the M marked areas is not identical; wherein one image scale is a ratio of a size of a first edge line of the image to a size of a second edge line of the image, the size of the first edge line is greater than or equal to the size of the second edge line, and M is an integer less than or equal to N.
Optionally, in this embodiment of the present invention, the M image scales corresponding to the M mark areas are at least part of the image scales in the N first image scales; wherein the N first image scales comprise at least one of: the user presets an image scale and a history image scale.
In the embodiment of the present invention, in a case that a shooting preview interface is displayed, an electronic device may acquire M image proportions (for example, a system default image proportion and a user preset image proportion) from the electronic device, and display a plurality of marks on the shooting preview interface based on the M image proportions to obtain M mark areas (one mark area corresponds to one image proportion).
It should be noted that the M marking areas are used for marking a plurality of display areas in the shooting preview interface, and each display area corresponds to an image scale; before the user performs the first input, the user can check the display effect of the preview image corresponding to the target object in each mark area based on the M mark areas, that is, the user can know the display effects of the images with different image proportions corresponding to the preview image in advance, so that the user can select some images with better display effects from the multiple images after the subsequent shooting of the electronic equipment is completed according to the display effects, or set the image proportions before the first input is performed, so that the electronic equipment can obtain the images with the image proportions required by the user subsequently.
Optionally, in this embodiment of the present invention, the M mark regions may be rectangular mark regions, square mark regions, or mark regions with other shapes, such as circles, pentagons, hexagons, and the like. In the case where the mark region is a rectangular mark region, the electronic device may display at least one mark by displaying a rectangular frame (i.e., an edge line of the rectangular mark region), a four-corner positioning method, a color filling method, or the like, to form M mark regions.
It should be noted that, the image scale in the embodiment of the present invention may be understood as: the ratio of the size of the long side of the image to the size of the short side of the image. It is understood that the dimension of the long side is larger than the dimension of the short side, i.e. the first edge line may be understood as the long side of the image and the second edge line may be understood as the short side of the image. Specifically, in the case where the image is a square image, the first edge line and the second edge line have the same size, that is, the size of the long side is equal to the size of the short side. The four-corner positioning mode can be understood as follows: four vertices of the rectangular frame are displayed in a preset manner to mark one rectangular area to obtain one marked area.
Optionally, in an embodiment of the present invention, the image scale may include at least one of the following: an image scale of 1:1, an image scale of 3:2, an image scale of 4:3, an image scale of 16:9, and so forth.
The electronic device is taken as a mobile phone for illustration. As shown in fig. 3 a, the mobile phone displays a shooting preview interface including a preview image 10 therein, and the mobile phone can display M marks (i.e., M rectangular frames) in a manner of displaying rectangular frames to obtain M mark areas (e.g., an area 11 (i.e., an area indicated by a dotted frame in the figure) and an area 12 (i.e., an area indicated by a solid frame in the figure)). Wherein, the image proportion corresponding to the area 11 is 1:1, namely the proportion between the length a and the width b; the image scale corresponding to the region 12 is 3; 2, i.e. the ratio between the length c and the width d. Alternatively, as shown in fig. 3 (B), the mobile phone may display a plurality of marks (for example, marks 13 to 16, and marks 17 to 20) in a four-corner positioning manner, where one rectangular region marked by the marks 13 to 16 is one mark region (for example, the region 11), and one rectangular region marked by the marks 17 to 20 is another mark region (for example, the region 12).
Optionally, in an embodiment of the present invention, the M image proportions include at least one of the following: the system defaults the image proportion, the user preset image proportion and the historical image proportion. Wherein, the M image proportions are the image proportions corresponding to the M marking areas; the historical image scale is the scale of images used historically by the electronic device.
It should be noted that, the above-mentioned user preset image proportion may be understood as: before the first input, the user may set one of the M image scales as an image scale that can be used for subsequent shooting by the electronic device according to the display effect of the preview image corresponding to the M mark areas. The above-mentioned historical image scale can be understood as: the image proportion that the electronic equipment has used in the preset time length or the image proportion that the using times of the electronic equipment is larger than or equal to the preset times.
Step 202, the electronic device responds to the first input, shoots the target object, and stores a first target image of the target object.
In an embodiment of the invention, the first target image is a full-pixel image with a first image scale, and the first image scale is a size scale of a photosensitive area of an image sensor of the electronic device.
It should be noted that after the electronic device captures the target object, images of the target object with a plurality of different image scales can be obtained, and the electronic device can save at least a first target image of the target object and can determine images of other image scales to be saved according to the input of the user.
In the embodiment of the invention, the size ratio of the photosensitive area of the image sensor of the electronic device can be understood as the default image ratio of the system.
Optionally, in an implementation manner of the embodiment of the present invention, with reference to fig. 2, as shown in fig. 4, the step 202 may be specifically implemented by a step 301 described below.
Step 301, in response to the first input, the electronic device photographs the target object and saves a first target image and target image information of the target object in the electronic device.
In an embodiment of the present invention, the target image information includes at least one of a second target image and target scale information, the second target image is at least one image determined according to a second input, the second input is input by a user for N second images of the target object, each second image corresponds to a respective first image scale, the target scale information is used to instruct the electronic device to display the first target image in the at least one first image scale, and N is a positive integer.
Optionally, in an embodiment of the present invention, the image proportions of each target image in the second target image are all different.
In this embodiment of the present invention, the electronic device may obtain a plurality of image scales (for example, N image scales) in advance, so as to obtain a plurality of second target images of the plurality of image scales after receiving the first input of the user, so as to store a part of the second target images or all of the second target images in the plurality of second target images in the electronic device.
It should be noted that the N second images may be understood as: after a target image (for example, a first target image with a system default image proportion) obtained by shooting a target object is shot by the electronic equipment, the target image is processed based on the N image proportions to obtain N target images, so that the first target image with the system default image proportion and the N target images are obtained. Alternatively, the N target images may be understood as: after the electronic device obtains a plurality of images (e.g., a first target image with a system default image ratio) after shooting a target object for a plurality of times (i.e., continuously shooting), the electronic device may process N images of the plurality of images based on the N image ratios to obtain N target images, so as to obtain a first target image with a system default image ratio and the N target images.
Optionally, in this embodiment of the present invention, after the electronic device photographs the target object, a first target image with a system default image ratio may be obtained, and then the electronic device may process the first target image with the system default image ratio based on a partial image ratio (for example, an image ratio set by a user) or an entire image ratio in at least one image ratio corresponding to the M mark areas to obtain a plurality of second images, so as to save partial images (or all images) in the N second images in the electronic device.
Optionally, in the embodiment of the present invention, the M image scales are image scales of the N image scales.
The embodiment of the invention provides a shooting method, wherein when a shooting preview interface is displayed, a user can perform first input so that an electronic device can shoot a target object and store a first target image related to the target object, wherein the first target image is a full-pixel image of a photosensitive area of an image sensor of the electronic device in a size ratio. Since the full-pixel image of the size ratio of the photosensitive area of the image sensor of one piece of electronic equipment related to the target object can be saved after the electronic equipment shoots the target object, and the full-pixel image can show the most picture content related to the target object, when a user edits the image of the target object, the editing effect of the electronic equipment on the image can be improved, and the shooting efficiency of the electronic equipment can be improved.
Optionally, in an implementation manner of the embodiment of the present invention, with reference to fig. 4, as shown in fig. 5, before the step 301, the shooting method provided in the embodiment of the present invention further includes the following step 401.
Step 401, the electronic device simultaneously displays N second images related to the target object in a first display mode according to the N first image proportions in a first display area of the electronic device.
Optionally, in this embodiment of the present invention, the electronic device may shoot the target object to obtain a first target image with a system default image ratio, and process the first target image with the system default image ratio to obtain N second images related to the target object.
Optionally, in the embodiment of the present invention, the electronic device may perform image acquisition on the target object to obtain an image corresponding to the target object, and then generate a first target image based on the obtained system default image proportion (that is, the proportion between the long side and the short side of the target image is the same as the system default image proportion).
It should be noted that the default image scale of the system is an image scale determined by the electronic device through the hardware parameters of the camera itself.
Optionally, in this embodiment of the present invention, the electronic device may process the first target image with the default image scale of the system based on N image scales in the electronic device, so as to obtain N second images.
In the embodiment of the present invention, each target image in the N target images corresponds to one image scale of the N image scales.
Optionally, in this embodiment of the present invention, for each of the N second images, the electronic device may perform a cropping process on the first target image at the default image scale of the system according to one image scale of the N image scales, so as to obtain the second image at the one image scale. It is understood that the electronic device may perform the cropping process on the first target image at the system default image scale N times based on the N image scales to obtain N second images.
Optionally, in the embodiment of the present invention, when the electronic device performs the cropping processing on the first target image with the system default image scale, the electronic device may crop fewer image portions to obtain images with other image scales, and at the same time, retain the image corresponding to the target object to the maximum extent.
Optionally, in this embodiment of the present invention, after the target object is photographed, the electronic device may simultaneously display N second images related to the target object in the first display area of the electronic device, so that the user may perform a selection input on the N second images, so that the electronic device stores a part of the second images or all of the second images that are selected and input by the user.
Optionally, in this embodiment of the present invention, the electronic device may store the first target image in the system default image ratio and the plurality of second images selected by the user.
In the embodiment of the invention, after the electronic equipment obtains the first target image with the system default image proportion, the electronic equipment can rapidly process and obtain at least one second image directly based on at least one image proportion in the electronic equipment, thereby obtaining a plurality of images with different image proportions.
Optionally, in an embodiment of the present invention, the first display mode may be any one of the following: the N second images are displayed in a thumbnail form in a preset display area (i.e., a first display area), arranged in a screen, and the like.
Optionally, in the embodiment of the present invention, the step of simultaneously displaying the N second images related to the target object according to the first display mode may be that the display area of the screen is divided into N sub-areas, and each sub-area correspondingly displays one second image.
Optionally, in the embodiment of the present invention, the electronic device may display thumbnails corresponding to N second images in N sub-areas in a preset display area of the shooting preview interface, respectively.
Optionally, in the embodiment of the present invention, the electronic device may display N preview windows in a preset display area of the shooting preview interface, so as to correspondingly display thumbnails of N second images in the N preview windows.
Optionally, in an embodiment of the present invention, each of the N preview windows includes a thumbnail of a second image with an image ratio of one of N image ratios, where the N image ratios are image ratios other than a system default image ratio in the electronic device.
Optionally, in the embodiment of the present invention, after obtaining the first target image with the system default image ratio, the electronic device may perform a cropping process on the first target image with the system default image ratio according to N image ratios to obtain N second images with the N image ratios, and display the N second images in a preview window in N sub-areas in a preset display area of a shooting preview interface.
Optionally, in the embodiment of the present invention, one preview window may be used to display a thumbnail of a target image with one image ratio, and the display ratio of the one preview window is the same as the image ratio corresponding to the one preview window.
Illustratively, in conjunction with (a) in fig. 3, as shown in fig. 6, after the user makes a first input, the mobile phone displays a plurality of preview windows (e.g., a preview window 21 and a preview window 22) in a floating manner in the shooting preview interface, where the preview window 21 includes a second image with an image ratio of 3:2, and the preview window two 22 is a second image with an image ratio of 1:1 in M-1 image ratios.
Optionally, in this embodiment of the present invention, the electronic device may receive a selection input of a user to multiple preview windows of the N preview windows.
In the embodiment of the present invention, the N preview windows correspond to N image proportions, that is, each of the N preview windows includes a second image with an image proportion of the N image proportions. The user can select and input a plurality of preview windows in the N preview windows to trigger the electronic device to determine a plurality of second images corresponding to the plurality of preview windows selected by the user as second target images to be stored.
Optionally, in the embodiment of the present invention, if it is not detected that the user inputs any of the preview windows in the multiple preview windows within a certain time period of the electronic device displaying the multiple preview windows, the electronic device may cancel displaying the multiple preview windows in the shooting preview interface when the display time period of the multiple preview windows reaches the certain time period, and store the first target image of the default image ratio of the system in the electronic device.
Optionally, in this embodiment of the present invention, in response to a selection input by a user to a plurality of preview windows in the N preview windows, the electronic device may determine, from the N second images, a plurality of second images corresponding to the plurality of preview windows.
Optionally, in an embodiment of the present invention, the plurality of second images are partial images or all images of N second images.
It can be understood that, in this embodiment, after triggering the electronic device to run the camera application program to enable the electronic device to turn on the camera, the electronic device may display the preview image in the shooting preview interface at a system default image scale (for example, an image scale of 4:3), and display the display effect of the preview image corresponding to a plurality of image scales (for example, an image scale of 1:1, an image scale of 16:9, and the like) by displaying a plurality of marked areas (for example, an area marked by displaying a rectangular frame or an area marked by a four-corner positioning manner). The user may then make a first input to trigger the electronic device to capture the target object and to hover and display images of a plurality of image scales other than the system default image scale (e.g., an image of image scale 1:1 and an image of image scale 16: 9) in the capture preview interface, and the user may select certain ones of the images of the plurality of image scales to hover and cause the electronic device to save the images of the user-selected and system default image scales. Or within a certain time, the user does not select some images in the images with the image scales displayed in a floating mode, and the electronic equipment saves the images with the default image scales of the system. When a user views an image saved by the electronic device in the album application, the electronic device displays the image at the image scale selected by the user. When a user needs to edit a viewed image (for example, adjust the scale of the image, adjust the brightness of the image, adjust the content of a screen, and the like), the electronic device displays the image at a system default image scale. In order to reduce the occupation of the storage space of the electronic device by the image with the system default image scale, the electronic device may delete the image with the system default image scale after a certain period of time.
In the embodiment of the invention, after the electronic equipment obtains a plurality of images with different image proportions, the plurality of preview windows can be displayed in the first display area of the electronic equipment to prompt the user of the images with the plurality of image proportions, so that the user can directly input some preview windows in the plurality of preview windows to select the images required by the user from the images with the plurality of image proportions to store the images in the electronic equipment, and therefore, the operation of the user is simplified, the shooting efficiency of the electronic equipment is improved, and meanwhile, the flexibility of the electronic equipment for storing the images is improved.
Optionally, in another implementation manner of the embodiment of the present invention, the target image information includes target ratio information, as shown in fig. 7 in combination with fig. 4, before the "electronic device receives the first input of the user" in the step 201, the shooting method provided in the embodiment of the present invention further includes the following step 501 and step 502, and the step 301 may be specifically implemented by the following step 503.
And step 501, in the case that the shooting preview interface is displayed, the electronic equipment receives a third input of the user.
In an embodiment of the present invention, the third input is input of target ratio information by a user.
It should be noted that the target scale information may be understood as at least one image scale.
In the embodiment of the invention, a user can trigger the electronic equipment to display at least one image proportion identifier, each image proportion identifier corresponds to one image proportion, and the image proportion corresponding to each image proportion identifier is the image proportion in M image proportions corresponding to M mark areas displayed in a shooting preview interface.
Optionally, in the embodiment of the present invention, the user may perform a third input on one image scale identifier of the at least one image scale identifier, so that the electronic device determines an image scale corresponding to the one image scale identifier as the target scale information.
Optionally, in the embodiment of the present invention, when the user inputs the target proportion information, the user may further select to set a target image to be saved. It will be appreciated that the electronic device may be responsive to a user setting (e.g., setting the target image to be saved as the first target image at the system default image scale) such that, upon the next first input by the user, the electronic device may save the first target image at the system default image scale and record the target scale information.
And step 502, the electronic equipment responds to the third input and stores the target proportion information.
Optionally, in the embodiment of the present invention, the electronic device may determine an image scale selected and input by the user as target scale information corresponding to the target object, and store the target scale information.
Optionally, in the embodiment of the present invention, the electronic device may store the target proportion information, so that when the electronic device captures the target object and stores the first target image at the system default image proportion, the electronic device may record the target proportion information as target proportion information corresponding to the target object (that is, the first target image at the system default image proportion corresponds to one piece of target proportion information).
Optionally, in the embodiment of the present invention, the electronic device may record a corresponding relationship between the first target image of the system default image ratio and the target ratio information (that is, the first target image of the system default image ratio corresponds to one piece of target ratio information), so that when the user views the first target image of the system default image ratio, the target ratio information corresponding to the first target image of the system default image ratio may be acquired, and the first target image is displayed according to the image ratio corresponding to the target ratio information.
Step 503, the electronic device responds to the first input, shoots the target object, and saves the first target image and the target proportion information in the electronic device.
In the embodiment of the invention, the electronic equipment can acquire the image of the target object to obtain the first target image of the system default image proportion of the target object, store the first target image and record the target proportion information set by the user when the first target image of the system default image proportion is obtained by shooting.
It can be understood that, in this embodiment, after triggering the electronic device to run the camera application program to enable the electronic device to turn on the camera, the electronic device may display a preview image (i.e., an image with a system default image ratio) in the shooting preview interface, and the user may perform a third input in the setting interface to enable the electronic device to determine the image ratio input by the user as the target ratio information, so that when the display ratio of the image to be shot set in the current electronic device is not the system default image ratio (i.e., the target ratio information set by the user), the electronic device may mark the preview image corresponding to the display target ratio information in the shooting preview interface, and then the user may perform a first input to trigger the electronic device to shoot the target object to obtain an image with the system default image ratio and an image ratio corresponding to the target ratio information, and saved to the electronic device. And when the user views the image stored in the electronic equipment in the album application program, the electronic equipment displays the image according to the image proportion corresponding to the target proportion information. When a user needs to edit a viewed image (for example, adjust the scale of the image, adjust the brightness of the image, adjust the content of a screen, and the like), the electronic device displays the image at a system default image scale.
In the embodiment of the present invention, before the user performs the first input, the electronic device may set the image ratio to be captured (i.e., the target ratio information), so that the electronic device may directly obtain and store the target image of the image ratio corresponding to the target ratio information and the first target image of the system default image ratio after the user performs the first input. Therefore, the electronic equipment can store a plurality of target images with different image proportions after the user inputs the target images once, so that the flexibility of storing the images by the electronic equipment can be improved while the user operation is simplified and the shooting efficiency of the electronic equipment is improved.
Optionally, in the embodiment of the present invention, after the step 503, the shooting method provided in the embodiment of the present invention further includes the following step 601 and step 602.
Step 601, the electronic device receives a fourth input of the first target image from the user.
In the embodiment of the invention, when the user triggers the electronic equipment to display the album application program interface, a plurality of target images can be displayed in the album application program interface, the plurality of target images comprise the first target image, and the user can input the first target image to trigger the electronic equipment to display the image.
Optionally, in an embodiment of the present invention, the fourth input may be a selection input of a user for multiple thumbnails corresponding to multiple target images, where one target image corresponds to one thumbnail.
Optionally, in the embodiment of the present invention, after the electronic device obtains a plurality of target images through shooting, the user may perform a fourth input on one of a plurality of thumbnails corresponding to the plurality of target images in the album application program, so as to trigger the electronic device to display one target image corresponding to the one thumbnail.
Step 602, the electronic device responds to a fourth input, and displays an image of the target object according to the target proportion information and the first target image.
Optionally, in the embodiment of the present invention, the electronic device may obtain the target ratio information recorded correspondingly when multiple target images are obtained through shooting, and then process the first target image with the default image ratio of the system according to the image ratio corresponding to the target ratio information, so as to obtain the image of the target object corresponding to the target ratio information, and display the image of the target object.
In the embodiment of the invention, after the electronic device shoots the target object and stores the first target image and the target proportion information, if the user needs to view the image of the target object, the user can input the first target image, so that the electronic device displays the image of the target object according to the target proportion information stored correspondingly when the first target image is stored. Therefore, the storage space of the electronic equipment can be saved while the user operation is simplified and the shooting efficiency of the electronic equipment is improved.
Optionally, in the embodiment of the present invention, after the step 503, the shooting method provided in the embodiment of the present invention further includes the following steps 701 and 702.
And 701, under the condition that the time length for storing the first target image is greater than or equal to the preset time length, the electronic equipment generates a third target image according to the first target image and the target proportion information.
In the embodiment of the present invention, when the duration of saving the first target image with the system default image proportion reaches the preset duration, the electronic device may obtain target proportion information that is saved correspondingly when the first target image with the system default image proportion is saved, and process the first target image with the system default image proportion according to the target proportion information to obtain a third target image with an image proportion corresponding to the target proportion information.
Step 702, the electronic device saves the third target image and deletes the first target image.
In an embodiment of the present invention, the pixels of the third target image are smaller than the pixels of the first target image.
Optionally, in the embodiment of the present invention, the electronic device may first save the third target image and then delete the first target image, or the electronic device may first delete the first target image and then save the third target image, specifically, an operation sequence of saving the third target image and deleting the first target image, which is not limited in the present invention.
It can be understood that, in this embodiment, when the display scale of the image to be captured set in the current electronic device is not the system default image scale (i.e., the target scale information set by the user), the user may perform a first input to trigger the electronic device to capture the target object, so as to obtain an image with the system default image scale, store the image into the electronic device, and correspondingly record the target scale information set by the current user. When a user views an image with a system default image proportion stored in the electronic device in an album application program, the electronic device can acquire target proportion information recorded corresponding to the image with the system default image proportion, and then process the image with the system default image proportion according to the target proportion information to obtain an image with an image proportion corresponding to the target proportion information and display the image. After a certain period of time, the electronic device may process the image with the system default image scale according to the image scale corresponding to the target scale information to obtain an image corresponding to the target scale information and store the image in the electronic device, and delete the image with the system default image scale.
In the embodiment of the invention, after the first target image with the system default image proportion is stored for the preset time, the electronic device can process the target image with the system default image proportion according to the target proportion information to obtain the target image corresponding to the target proportion information, and then the electronic device can store the target image corresponding to the target proportion information and delete the first target image with the system default image proportion, so that the storage space of the electronic device can be saved.
Optionally, in the embodiment of the present invention, as shown in fig. 8 in combination with fig. 2, the shooting method provided in the embodiment of the present invention further includes the following steps 901 to 904.
Step 901, the electronic device receives a fifth input of the fifth target image from the user.
In an embodiment of the present invention, the fifth target image is one of the second target images.
In the embodiment of the invention, when the user triggers the electronic equipment to display the album application program interface, a plurality of target images can be displayed in the album application program interface.
Optionally, in an embodiment of the present invention, the fifth input is a viewing input of a user to one of the plurality of target images in the album application interface.
And step 902, the electronic device responds to a fifth input and displays a fifth target image.
Optionally, in the embodiment of the present invention, the electronic device may display a fifth target image, where a display scale of the fifth target image is an image scale corresponding to target scale information recorded correspondingly when the fifth target image is saved.
Step 903, the electronic device receives a sixth input from the user.
In an embodiment of the present invention, the sixth input is an editing input of the fifth target image by the user.
Optionally, in the embodiment of the present invention, the user may input the edit control corresponding to the fifth target image.
Optionally, in the embodiment of the present invention, when the electronic device displays one target image, the display interface includes an image editing control corresponding to the one target image.
Step 904, the electronic device responds to the sixth input, switches the fifth target image into the first target image, and performs editing processing on the first target image.
Optionally, in the embodiment of the present invention, the electronic device may obtain the first target image that is correspondingly stored when the fifth target image is stored, and switch the displayed fifth target image into the first target image, so that the user may perform editing input on the first target image.
In the embodiment of the invention, a user can edit a target image with a system default image scale (for example, adjusting the scale of the image, adjusting the content of the image, adjusting the brightness of the image, and the like).
In the embodiment of the invention, a user can select to view one of a plurality of target images in an album application program and input the editing control corresponding to the viewed one target image, so that the electronic equipment displays the editing interface of the target image in the system default image proportion (namely, displays the first target image corresponding to the target image), and then the user can edit the target image in the system default image proportion, thereby improving the editing effect of the electronic equipment on the target image.
Fig. 9 shows a schematic diagram of a possible configuration of the photographing apparatus according to the embodiment of the present invention. As shown in fig. 9, the photographing device 70 may include: a receiving module 71, a photographing module 72 and a saving module 73.
The receiving module 71 is configured to receive a first input of a user when the shooting preview interface is displayed. A photographing module 72 for photographing the target object in response to the first input received by the receiving module 71. A saving module 73 for saving a first target image about the target object. The first target image is a full-pixel image with a first image scale, and the first image scale is a size scale of a photosensitive area of an image sensor of the electronic device.
In one possible implementation, the saving module 73 is specifically configured to save a first target image and target image information of a target object in an electronic device. The target image information comprises at least one of a second target image and target proportion information, the second target image is at least one image determined according to a second input, the second input is input of a user to N second images of a target object, each second image corresponds to a first image proportion, the target proportion information is used for instructing the electronic equipment to display the first target image in the at least one first image proportion, and N is a positive integer.
In a possible implementation manner, the shooting preview interface includes M marked areas, each marked area corresponds to an image scale, and the M marked areas are not completely the same. Wherein one image proportion is the proportion of the size of a first edge line and the size of a second edge line of the image, the size of the first edge line is larger than or equal to the size of the second edge line, and M is an integer smaller than or equal to N.
In one possible implementation, the M image scales corresponding to the M mark regions are at least part of the image scales in the N first image scales. Wherein the N first image scales comprise at least one of: the user presets an image scale and a history image scale.
In a possible implementation manner, with reference to fig. 9 and as shown in fig. 10, the photographing apparatus 70 provided in the embodiment of the present invention further includes: a display module 74. The display module 74 is configured to, before the step of photographing the target object in response to the first input and storing the first target image and the target image information of the target object in the electronic device, simultaneously display N second images related to the target object in a first display manner according to the N first image scales in a first display area of the electronic device.
In one possible implementation, the target image information includes target scale information. The receiving module 71 is further configured to receive a third input from the user before receiving the first input from the user, where the third input is input from the user to the target ratio information. The saving module 73 is further configured to save the target proportion information in response to the third input received by the receiving module 71. The saving module 73 is specifically configured to save the first target image and the target ratio information.
In a possible implementation manner, the receiving module 71 is further configured to receive a fourth input of the first target image from the user after saving the first target image and the target proportion information. The photographing device 70 provided by the embodiment of the present invention further includes: a display module 74. Wherein, the display module 74 is configured to display an image of the target object according to the target scale information and the first target image in response to the fourth input received by the receiving module 71.
In a possible implementation manner, with reference to fig. 9 and as shown in fig. 11, the photographing apparatus 70 provided in the embodiment of the present invention further includes: a generating module 75. The generating module 75 is configured to generate a third target image according to the first target image and the target proportion information after the first target image and the target proportion information are saved and under the condition that a time length for saving the first target image is greater than or equal to a preset time length. The saving module 73 is further configured to save the third target image and delete the first target image. Wherein the pixels of the third target image are smaller than the pixels of the first target image.
In a possible implementation manner, the receiving module 71 is further configured to receive a fifth input from the user to a fifth target image after the first target image of the target object and the target image information are saved, where the fifth target image is one of the second target images. The photographing device 70 provided by the embodiment of the present invention further includes: a display module 74 and a switching module. Wherein, the display module 74 is configured to display the fifth target image in response to the fifth input received by the receiving module 71. The receiving module 71 is further configured to receive a sixth input of the user, where the sixth input is an editing input of the fifth target image by the user. And a switching module, configured to switch the fifth target image to the first target image in response to the sixth input received by the receiving module 71, and perform editing processing on the first target image.
The shooting device provided by the embodiment of the invention can realize each process realized by the shooting device in the method embodiment, and detailed description is omitted here for avoiding repetition.
Embodiments of the present invention provide a camera, which can save a full-pixel image of a size ratio of a photosensitive area of an image sensor of an electronic device related to a target object after the electronic device takes a picture of the target object, and the full-pixel image can display the most picture content related to the target object, so that when a user edits an image of the target object, an editing effect of the electronic device on the image can be improved, and thus, a shooting efficiency of the camera can be improved.
Fig. 12 is a hardware schematic diagram of an electronic device implementing various embodiments of the invention. As shown in fig. 12, electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, power supply 111, and photographing unit 112.
It should be noted that the electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in fig. 12, or combine some components, or arrange different components, as will be understood by those skilled in the art. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the user input unit 107 is configured to receive a first input of a user in a case where the shooting preview interface is displayed.
A photographing unit 112 for photographing the target object in response to the first input.
A memory 109 for holding a first target image on a target object; the first target image is a full-pixel image with a first image scale, and the first image scale is a size scale of a photosensitive area of an image sensor of the electronic device.
Embodiments of the present invention provide an electronic device, wherein after the electronic device photographs a target object, a full-pixel image of a size ratio of a photosensitive area of an image sensor of the electronic device with respect to the target object may be saved, and the full-pixel image may show the most picture content with respect to the target object, so that when a user edits an image of the target object, an editing effect of the electronic device on the image may be improved, and thus, a photographing efficiency of the electronic device may be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The electronic device 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the electronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 12, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the electronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 100 or may be used to transmit data between the electronic apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the electronic device. Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to each component, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes the processor 110 shown in fig. 12, the memory 109, and a program stored in the memory 109 and capable of being executed on the processor 110, where the program, when executed by the processor 110, implements the processes of the foregoing method embodiment, and can achieve the same technical effects, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a readable storage medium, where a program is stored on the readable storage medium, and when the program is executed by a processor, the program implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, the detailed description is omitted here. The readable storage medium may be, for example, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (20)

1. A shooting method is applied to electronic equipment, and is characterized by comprising the following steps:
receiving a first input of a user under the condition that a shooting preview interface is displayed;
in response to the first input, photographing a target object and saving a first target image about the target object;
the first target image is a full-pixel image with a first image scale, and the first image scale is a size scale of a photosensitive area of an image sensor of the electronic device.
2. The method of claim 1, wherein capturing a target object and saving a first target image about the target object in response to the first input comprises:
shooting a target object in response to the first input, and saving a first target image and target image information of the target object in the electronic equipment;
the target image information comprises at least one of a second target image and target proportion information, the second target image is at least one image determined according to a second input, the second input is input of N second images of the target object by a user, each second image corresponds to a first image proportion, the target proportion information is used for instructing the electronic equipment to display the first target image in the at least one first image proportion, and N is a positive integer.
3. The method according to claim 2, wherein the shooting preview interface comprises M marked areas, each marked area corresponds to an image scale, and the M marked areas are not identical;
wherein one image scale is a ratio of a size of a first edge line to a size of a second edge line of the image, the size of the first edge line is greater than or equal to the size of the second edge line, and M is an integer less than or equal to N.
4. The method according to claim 3, wherein the M marking regions correspond to M image scales which are at least partial image scales of the N first image scales;
wherein the N first image scales comprise at least one of: the user presets an image scale and a history image scale.
5. The method of claim 2, wherein the step of capturing a target object in response to the first input and saving a first target image and target image information of the target object in the electronic device is preceded by the method comprising:
and simultaneously displaying N second images related to the target object in a first display mode according to N first image proportions in a first display area of the electronic equipment.
6. The method of claim 2, wherein the target image information includes the target scale information;
before the receiving the first input of the user, the method further comprises:
receiving a third input of the user, wherein the third input is the input of the target proportion information by the user;
in response to the third input, saving the target proportion information;
the saving the first target image and the target image information of the target object includes:
and saving the first target image and the target proportion information.
7. The method of claim 6, wherein after saving the first target image and the target scale information, the method further comprises:
receiving a fourth input of the first target image by the user;
in response to the fourth input, displaying an image about the target object according to the target scale information and the first target image.
8. The method of claim 6, wherein after saving the first target image and the target scale information, the method further comprises:
under the condition that the time length for storing the first target image is greater than or equal to the preset time length, generating a third target image according to the first target image and the target proportion information;
saving the third target image and deleting the first target image;
wherein the pixels of the third target image are smaller than the pixels of the first target image.
9. The method of claim 2, wherein after saving the first target image and target image information of the target object, the method further comprises:
receiving a fifth input of a user to a fifth target image, wherein the fifth target image is one of the second target images;
displaying the fifth target image in response to the fifth input;
receiving a sixth input of the user, wherein the sixth input is an editing input of the fifth target image by the user;
and responding to the sixth input, switching the fifth target image into the first target image, and performing editing processing on the first target image.
10. A photographing apparatus, characterized by comprising: the device comprises a receiving module, a shooting module and a storage module;
the receiving module is used for receiving a first input of a user under the condition of displaying a shooting preview interface;
the shooting module is used for responding to the first input received by the receiving module and shooting a target object;
the saving module is used for saving a first target image related to the target object;
the first target image is a full-pixel image with a first image scale, and the first image scale is a size scale of a photosensitive area of an image sensor of the electronic device.
11. The camera according to claim 10, wherein the saving module is specifically configured to save a first target image and target image information of the target object in the electronic device;
the target image information comprises at least one of a second target image and target proportion information, the second target image is at least one image determined according to a second input, the second input is input of N second images of the target object by a user, each second image corresponds to a first image proportion, the target proportion information is used for instructing the electronic equipment to display the first target image in the at least one first image proportion, and N is a positive integer.
12. The shooting device of claim 11, wherein the shooting preview interface includes M marked areas, each marked area corresponds to an image scale, and the M marked areas are not identical;
wherein one image scale is a ratio of a size of a first edge line to a size of a second edge line of the image, the size of the first edge line is greater than or equal to the size of the second edge line, and M is an integer less than or equal to N.
13. The image capturing apparatus according to claim 12, wherein M image scales corresponding to the M marker regions are at least part of the image scales of the N first image scales;
wherein the N first image scales comprise at least one of: the user presets an image scale and a history image scale.
14. The camera of claim 11, further comprising: a display module;
and the display module is used for simultaneously displaying N second images related to the target object in a first display mode according to N first image proportions in a first display area of the electronic equipment before the steps of shooting the target object in response to the first input and storing a first target image and target image information of the target object in the electronic equipment.
15. The photographing apparatus according to claim 11, wherein the target image information includes the target scale information;
the receiving module is further configured to receive a third input of the user before receiving the first input of the user, where the third input is input of the target proportion information by the user;
the saving module is further configured to save the target proportion information in response to the third input received by the receiving module;
the storage module is specifically configured to store the first target image and the target proportion information.
16. The camera of claim 15, wherein the receiving module is further configured to receive a fourth input from the user to the first target image after saving the first target image and the target proportion information;
the photographing apparatus further includes: a display module;
the display module is used for responding to the fourth input received by the receiving module, and displaying an image related to the target object according to the target proportion information and the first target image.
17. The camera of claim 15, further comprising: a generation module;
the generating module is configured to generate a third target image according to the first target image and the target proportion information after the first target image and the target proportion information are saved and under the condition that a time length for saving the first target image is greater than or equal to a preset time length;
the storage module is further configured to store the third target image and delete the first target image;
wherein the pixels of the third target image are smaller than the pixels of the first target image.
18. The camera according to claim 11, wherein the receiving module is further configured to receive a fifth input from a user to a fifth target image after the saving of the first target image and the target image information of the target object, where the fifth target image is one of the second target images;
the photographing apparatus further includes: the device comprises a display module and a switching module;
the display module is configured to display the fifth target image in response to the fifth input received by the receiving module;
the receiving module is further configured to receive a sixth input of the user, where the sixth input is an editing input of the fifth target image by the user;
the switching module is configured to switch the fifth target image to the first target image in response to the sixth input received by the receiving module, and perform editing processing on the first target image.
19. An electronic device, comprising a processor, a memory, and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the photographing method according to any one of claims 1 to 9.
20. A readable storage medium, characterized in that the readable storage medium stores thereon a program that, when executed by a processor, realizes the steps of the photographing method according to any one of claims 1 to 9.
CN202010634303.4A 2020-07-02 2020-07-02 Shooting method and device, electronic equipment and readable storage medium Active CN111770275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010634303.4A CN111770275B (en) 2020-07-02 2020-07-02 Shooting method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010634303.4A CN111770275B (en) 2020-07-02 2020-07-02 Shooting method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111770275A true CN111770275A (en) 2020-10-13
CN111770275B CN111770275B (en) 2022-05-03

Family

ID=72723668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010634303.4A Active CN111770275B (en) 2020-07-02 2020-07-02 Shooting method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111770275B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339050A (en) * 2021-12-31 2022-04-12 西安维沃软件技术有限公司 Display method and device and electronic equipment
CN115002347A (en) * 2022-05-26 2022-09-02 深圳传音控股股份有限公司 Image processing method, intelligent terminal and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685894A (en) * 2013-12-29 2014-03-26 广州视声电子科技有限公司 Proportion-adjustable camera
CN104270579A (en) * 2014-09-24 2015-01-07 青岛海信移动通信技术股份有限公司 Terminal application interface pixel adjusting method and terminal
CN104469119A (en) * 2013-09-12 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
WO2015135395A1 (en) * 2014-03-13 2015-09-17 Beijing Zhigu Rui Tuo Tech Co., Ltd Image acquisition method and image acquisition apparatus
CN105635570A (en) * 2015-12-24 2016-06-01 广东欧珀移动通信有限公司 Shooting preview method and system
CN106657761A (en) * 2016-09-29 2017-05-10 乐视控股(北京)有限公司 Picture shooting method and device for intelligent terminal
CN110072063A (en) * 2019-06-03 2019-07-30 联想(北京)有限公司 Photographic method, camera arrangement and electronic equipment
CN110099213A (en) * 2019-04-26 2019-08-06 维沃移动通信(杭州)有限公司 A kind of image display control method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469119A (en) * 2013-09-12 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN103685894A (en) * 2013-12-29 2014-03-26 广州视声电子科技有限公司 Proportion-adjustable camera
WO2015135395A1 (en) * 2014-03-13 2015-09-17 Beijing Zhigu Rui Tuo Tech Co., Ltd Image acquisition method and image acquisition apparatus
CN104270579A (en) * 2014-09-24 2015-01-07 青岛海信移动通信技术股份有限公司 Terminal application interface pixel adjusting method and terminal
CN105635570A (en) * 2015-12-24 2016-06-01 广东欧珀移动通信有限公司 Shooting preview method and system
CN106657761A (en) * 2016-09-29 2017-05-10 乐视控股(北京)有限公司 Picture shooting method and device for intelligent terminal
CN110099213A (en) * 2019-04-26 2019-08-06 维沃移动通信(杭州)有限公司 A kind of image display control method and terminal
CN110072063A (en) * 2019-06-03 2019-07-30 联想(北京)有限公司 Photographic method, camera arrangement and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114339050A (en) * 2021-12-31 2022-04-12 西安维沃软件技术有限公司 Display method and device and electronic equipment
CN114339050B (en) * 2021-12-31 2023-10-31 西安维沃软件技术有限公司 Display method and device and electronic equipment
CN115002347A (en) * 2022-05-26 2022-09-02 深圳传音控股股份有限公司 Image processing method, intelligent terminal and storage medium
CN115002347B (en) * 2022-05-26 2023-10-27 深圳传音控股股份有限公司 Image processing method, intelligent terminal and storage medium

Also Published As

Publication number Publication date
CN111770275B (en) 2022-05-03

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN108668083B (en) Photographing method and terminal
CN110913132B (en) Object tracking method and electronic equipment
CN110891144B (en) Image display method and electronic equipment
CN108495029B (en) Photographing method and mobile terminal
CN109743498B (en) Shooting parameter adjusting method and terminal equipment
CN109688322B (en) Method and device for generating high dynamic range image and mobile terminal
CN110913139B (en) Photographing method and electronic equipment
CN110062171B (en) Shooting method and terminal
CN111010511B (en) Panoramic body-separating image shooting method and electronic equipment
CN108924422B (en) Panoramic photographing method and mobile terminal
CN111597370A (en) Shooting method and electronic equipment
CN111770275B (en) Shooting method and device, electronic equipment and readable storage medium
CN110944114B (en) Photographing method and electronic equipment
CN111083374B (en) Filter adding method and electronic equipment
CN111124231B (en) Picture generation method and electronic equipment
CN110209324B (en) Display method and terminal equipment
CN110955793A (en) Display control method and electronic equipment
CN110865752A (en) Photo viewing method and electronic equipment
CN108345657B (en) Picture screening method and mobile terminal
WO2021136181A1 (en) Image processing method and electronic device
CN111432122B (en) Image processing method and electronic equipment
CN110913133B (en) Shooting method and electronic equipment
CN108683849B (en) Image acquisition method and terminal
CN108391050B (en) Image processing method and mobile terminal

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