CN112822394A - Display control method and device, electronic equipment and readable storage medium - Google Patents

Display control method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112822394A
CN112822394A CN202011608766.XA CN202011608766A CN112822394A CN 112822394 A CN112822394 A CN 112822394A CN 202011608766 A CN202011608766 A CN 202011608766A CN 112822394 A CN112822394 A CN 112822394A
Authority
CN
China
Prior art keywords
image
input
thumbnail
video
interface
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
CN202011608766.XA
Other languages
Chinese (zh)
Other versions
CN112822394B (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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202011608766.XA priority Critical patent/CN112822394B/en
Publication of CN112822394A publication Critical patent/CN112822394A/en
Application granted granted Critical
Publication of CN112822394B publication Critical patent/CN112822394B/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/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
    • 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)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a display control method and device, electronic equipment and a readable storage medium, and belongs to the technical field of image processing. Wherein the method comprises the following steps: the electronic device may generate, in response to the first input, a thumbnail based on the first region of the target image and display on a viewing interface of an image or video, or a photographic preview interface. The user can select the concerned or interested key area in the first image by executing the first input, and the electronic equipment can reduce the image content of the concerned or interested local key area of the user by a preset proportion to generate the thumbnail, so that the thumbnail can meet the personalized requirements of the user, can more clearly and effectively display the image information, and is convenient for the user to search and check.

Description

Display control method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of image processing, and particularly relates to a display control method and device, an electronic device and a readable storage medium.
Background
In order to enable a user to know the rough content of a shot photo or video, a thumbnail of the last shot content is generally displayed on a shooting interface of the electronic device, or in an album of the electronic device.
In the prior art, taking a photo as an example, a thumbnail is generally generated by directly reducing the size of an original photo. Due to the size limitation of the thumbnail, the original photo is directly reduced to generate the thumbnail, the displayed image content is not clear, and a user cannot effectively know the content of the original photo through the thumbnail and needs to reopen the original photo for viewing.
Disclosure of Invention
An object of the embodiments of the present application is to provide a display control method, an apparatus, an electronic device, and a readable storage medium, which can solve the problem in the prior art that the content of a thumbnail display image generated is unclear.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a display control method, including:
receiving a first input of a user to a first area of a first image;
responding to the first input, displaying a first thumbnail in a first interface, wherein the first interface comprises a shooting preview interface or an album display interface, and the first thumbnail is an image of a first area of the first image reduced according to a preset proportion;
wherein the first image comprises: any one frame of video image in the preview image, the shot first image or the recorded first video collected by the camera.
In a second aspect, an embodiment of the present application provides a display control apparatus, including:
the first receiving module is used for receiving first input of a user to a first area of a first image;
the first display module is used for responding to the first input and displaying a first thumbnail in a first interface, wherein the first interface comprises a shooting preview interface or an album display interface, and the first thumbnail is an image of a first area of the first image reduced according to a preset proportion;
wherein the first image comprises: any one frame of video image in the preview image, the shot first image or the recorded first video collected by the camera.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
The embodiment of the application provides a display control method and device, electronic equipment and a readable storage medium. Wherein the method comprises the following steps: the electronic device may generate, in response to the first input, a thumbnail based on a first region of the first image and display on a viewing interface of an image or video, or a photographic preview interface. The user can select the key area of the concerned or interested part in the first image by executing the first input, and the electronic equipment can reduce the image content of the key area of the concerned or interested part of the user by a preset proportion to generate the thumbnail, so that the thumbnail can meet the personalized requirement of the user, can more clearly and effectively display the image information, and is convenient for the user to search and check.
Drawings
Fig. 1 is a flowchart of a display control method according to an embodiment of the present disclosure;
fig. 2a is one of schematic diagrams of a display interface of an electronic device according to an embodiment of the present application;
fig. 2b is a second schematic diagram of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 2c is a third schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 2d is a fourth schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 3a is a fifth schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 3b is a sixth schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 3c is a seventh schematic diagram of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 3d is an eighth schematic diagram of a display interface of an electronic device according to an embodiment of the present disclosure;
FIG. 4 is a second flowchart of a display control method according to an embodiment of the present application;
fig. 5a is a ninth schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 5b is a tenth schematic diagram of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 5c is an eleventh schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 5d is a twelfth schematic view of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 5e is a thirteen schematic diagram of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 6 is a fourteenth schematic diagram of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 7 is one of structural diagrams of a display control apparatus according to an embodiment of the present application;
fig. 8 is a second structural diagram of a display control apparatus according to an embodiment of the present application;
fig. 9 is one of structural diagrams of an electronic device according to an embodiment of the present application;
fig. 10 is a second structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The display control method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart of a display control method according to an embodiment of the present disclosure.
As shown in fig. 1, the method comprises the steps of:
step 101, receiving a first input of a user to a first area of a first image.
In an embodiment of the present application, the first image includes: the preview image collected by the camera, the shot first image or the recorded video image in the first video.
In a specific implementation manner, the first image includes a preview image captured by a camera.
In this implementation manner, the preview image acquired by the camera may be a preview image acquired by the camera and displayed in a shooting preview interface after the electronic device starts a shooting program and before shooting or recording a video; the preview image collected by the camera can also be a preview image collected by the camera displayed in a shooting preview interface in the process of recording a video by the electronic equipment.
In this implementation, the receiving a first input of a user to a first region of a first image includes: before shooting a first image or recording a first video, receiving a first input of a user to a first area of a preview image displayed in a shooting preview interface; or receiving a first input of a user to a first area of a video preview image displayed in the shooting preview interface in the process of recording the first video.
In one implementation, the first image includes a captured first image.
In this implementation manner, the shot first image may be any one of pictures generated after the electronic device takes a picture of the shooting preview interface. The first image can be directly displayed after the photographing is finished; the thumbnail can also be displayed in a thumbnail window, wherein the thumbnail window is used for displaying the thumbnail of the image or video shot at the last time, and the user can jump to a program interface of an album program to display the original image or original video shot at the last time by touching the thumbnail displayed in the thumbnail window.
In this implementation, the receiving a first input of a user to a first region of a first image includes: after a first image is captured, a first input of a user to a first region of the first image is received.
In one implementation, the first image includes any one of the video images in the recorded first video.
In this implementation manner, the recorded first video may be any video segment generated after the electronic device records the shooting preview interface. The first video can be directly played after the recording is finished; and can also be played in a video viewing interface.
In this implementation, the receiving a first input of a user to a first region of a first image includes: after recording a first video, receiving a first input of a user to a first area of any one frame of video image of the first video.
The implementation form of the first image is not limited to this, and may be determined according to actual situations, and the present application is not limited thereto.
In this embodiment of the application, the first input may be a click input, a double-click input, a long-press input, a sliding input, or the like of a user in the first area of the first image through a touch device such as a finger or a stylus, which may be determined according to actual situations, and the application is not limited herein.
In an embodiment of the present application, the first region is a local region of the first image that includes an input position of the first input. In a specific implementation, in a case that the first image is a preview image acquired by a camera, the first Region may be represented as a Region of Interest (RIO) or a focusing Region. The electronic device may also enable focusing of an image of a first region of the first image in response to the first input. In this case, the first region may be determined by referring to an algorithm for determining the ROI in the related art, which is not described herein. The shape of the first region may be a rectangle, a circle or other regular shapes, which may be determined according to practical situations, and the embodiment of the present application is not limited specifically herein.
Step 102, responding to the first input, displaying a first thumbnail in a first interface, wherein the first interface comprises a shooting preview interface or an album display interface, and the first thumbnail is an image of a first area of the first image reduced according to a preset proportion.
In the embodiment of the application, in response to the first input, the electronic device may generate the first thumbnail according to the first area of the first image acted by the first input, and display the first thumbnail on the first interface.
In a specific implementation, the first interface may be the shooting preview interface. The first thumbnail can be displayed in a preset area of the shooting preview interface, and the preset area can be an area of a thumbnail window displaying an image or a video shot at the last time in the shooting preview interface, for example, a local area at a lower left corner in the shooting preview interface, or a local area at a lower right corner in the shooting preview interface, which can be specifically determined according to an actual situation, and the embodiment of the present application is not specifically limited.
The first interface may also be the album display interface, and thumbnails of multiple photos or videos may be displayed in the album display interface. Specifically, the album display interface may be a display interface of an album program, or may be a display interface in a scene where an album needs to be displayed in other programs. The first thumbnail may be displayed in the album display interface as a thumbnail of the first image or the first video, and may be determined according to actual situations, and the embodiment of the present application is not limited specifically.
In a specific implementation, the first thumbnail may be obtained by reducing the image of the first area of the first image according to a preset scale. For example, taking the first interface as a shooting preview interface as an example, as shown in fig. 2a and 2b, the shooting preview interface a includes a preview area 11 for displaying a shooting preview image and a preset area 20 for displaying a first thumbnail, and the preset ratio can be obtained according to a ratio of a display area of the first area 10 to a display area of the preset area 20.
It should be noted that, in the existing implementation, it is assumed that the shooting pixel of the camera of the electronic device is 1200 ten thousand pixels, for the preview area 11 with a 4:3 ratio, the pixel of the shooting preview image is typically 4000 × 3000, and the pixel of the thumbnail displayed in the preset area 20 is typically 500 × 375. In view of this, in the conventional implementation, the electronic device usually displays the shooting preview image displayed in the preview area 11 in the preset area 20 after reducing the shooting preview image according to the above-mentioned zoom ratio of 8: 1.
In the embodiment of the present application, as shown in fig. 2b, the electronic device generates the first thumbnail by reducing the image of the first area 10 of the captured preview image displayed in the preview area 11. Assuming that the pixels of the first area 10 are 800 × 600 and the pixels of the first thumbnail displayed in the preset area 20 are 500 × 375, the preset ratio in the embodiment of the present application is 1.6: 1. Compared with the existing implementation mode, the reduction proportion is obviously reduced. Therefore, in the embodiment of the present application, the first thumbnail displayed in the preset area 20 can have a clearer display effect, and is more convenient for the user to view.
In an optional implementation manner, after receiving a first input of a user to a first region of the first image, if an input to at least one other region of the first image is received, the electronic device may generate a plurality of thumbnails corresponding to the number of inputs of the user and the input position of each input, so as to display the plurality of thumbnails in the shooting preview interface.
In an optional embodiment, the displaying the plurality of thumbnails in the shooting preview interface may include the following implementation forms:
in a first implementation form, when receiving a first input to a first area of the first image, the electronic device may display the first thumbnail in a preset area of the shooting preview interface in response to the first input; when an input to the other area of the first image is received later, a thumbnail may be displayed in the photographing preview interface in response to each input.
Illustratively, the electronic device receives 3 inputs of the preview image collected by the camera, and the effect of the 3 inputs is equal to the first input. When the electronic equipment receives the first input, a first thumbnail can be displayed on the shooting preview interface; when the electronic device receives the second input, a second thumbnail can be displayed on the shooting preview interface; when the electronic device receives a third input, a third thumbnail may be displayed on the capture preview interface. Therefore, after the photo is shot or the video is recorded, three thumbnail images can be displayed on the shooting preview interface, and the three thumbnail images can be displayed side by side or in a superimposed manner. The electronic device may determine a final thumbnail by receiving a user selection input for the three thumbnail.
In a second implementation form, when the first image is a preview image acquired by a camera, an electronic device, upon receiving a first input to a first area of the first image, may generate the first thumbnail in response to the first input, but not display the first thumbnail in the shooting preview interface; when input to other areas of the first image is received later, a thumbnail may be generated in response to each input and also not displayed in the capture preview interface first; after the photo shooting is finished or the video recording is finished, the electronic equipment displays a plurality of thumbnails in the shooting preview interface, and the thumbnails can be displayed side by side or in a superposition manner.
Illustratively, the electronic device receives 3 inputs of the preview image collected by the camera, and the effect of the 3 inputs is equal to the first input. When the electronic equipment receives the first input, generating a first thumbnail; when the electronic equipment receives the second input, generating a second thumbnail; when the electronic equipment receives the third input, generating a third thumbnail; and after the photo shooting is finished or the video recording is finished, the electronic equipment simultaneously displays the three thumbnail pictures in the shooting preview interface. The electronic device may determine a final thumbnail by receiving a user selection input for the three thumbnail.
For convenience of understanding, a specific implementation of the embodiment of the present application is described herein with reference to the first image as a preview image displayed in a shooting preview interface before a photo is taken, and the first interface as the shooting preview interface as an example:
as shown in fig. 2a, the electronic device receives a first input of a user to capture a preview image displayed in a preview interface a, and detects that an input position of the first input is a first area 10 in the preview image, as shown in fig. 2 b. In response to the first input, the electronic device may generate a first thumbnail by zooming out according to the image corresponding to the first area 10 according to a preset scale, and display the first thumbnail in a preset area 20 of the shooting preview interface, as shown in fig. 2 c.
In an embodiment of the application, the electronic device may generate, in response to the first input, a thumbnail based on the first area of the first image, and display the thumbnail on a viewing interface of an image or a video, or a shooting preview interface. The electronic equipment can respond to the first input, reduce the image content of the key area concerned or interested by the user by a preset proportion to generate a thumbnail, and compared with the thumbnail generated by directly reducing the original photo in the prior art, the thumbnail generated by reducing the key area concerned or interested by the user can display the image information concerned or interested by the user in a larger size, so that the thumbnail can meet the personalized requirements of the user, can more clearly and effectively display the image information, and is convenient for the user to search and view.
In this embodiment of the application, optionally, after receiving a first input of a user to a first region of a first image, the method further includes:
receiving a second input of the user;
in response to the second input, displaying a second interface, the second interface including the first image, the first image including a first identifier, the first identifier for marking an image of the first area.
In this optional embodiment, the electronic device may display the second interface in response to the second input by the user, where the second interface includes the first image, and a first area on the first image is marked by the first identifier. The first identifier may prompt a user for an area where the first input was previously performed, and may assist the user in processing the first image, such as replacing a thumbnail, editing the first image, and so forth.
In a specific implementation, the second input may be click input, double-click input, long-press input, sliding input, or the like of a specific control or a specific application icon by a user through a touch device such as a finger or a stylus pen, and an application corresponding to the specific control or the specific application icon is used for displaying the second interface.
The second interface can be an image viewing interface of the first image and can also be an editing interface of the first image. The first mark may be a solid-line frame enclosing the first area, or may be a mark point located at any position in the first area. It is to be understood that the first identifier may be a text, a symbol, an image, etc. for indicating information, and may also be a control or other container as a carrier for displaying information, including but not limited to a text identifier, a symbol identifier, an image identifier, etc., which may be determined according to practical situations, and the embodiment of the present application is not limited herein.
For ease of understanding, the following are exemplified herein:
after displaying the first thumbnail in the photographing preview interface based on the example of fig. 2a to 2c, as shown in fig. 2d, the electronic device receives a second input from the user, and may display a second interface B. In the second interface B, the first image is included, and a first mark 30 is displayed in a first area of the first image.
Further, optionally, before the receiving the second input of the user, the method further includes:
identifying a target object of a second region of the first image;
displaying a second thumbnail in the first interface, wherein the second thumbnail is an image of a second area of the first image reduced according to a preset proportion;
said displaying, in response to the second input, a second interface, comprising:
in response to the second input, displaying the second interface, the second interface including the first image, the first image further including a second identifier, the second identifier being used to mark an image of the second area.
In this optional implementation, the electronic device may automatically recognize a target object in the first image, generate a second thumbnail based on the target object in the second area, and mark the first image with the second identifier on the second interface. The second identification may prompt the user for a target object that is automatically recognized by the electronic device. In this way, the electronic device can display the second thumbnail through the automatically identified target object and automatically prompt through the second identifier, so that a user can determine whether to replace or adjust the thumbnail according to the second thumbnail. In addition, the second thumbnail and the second identifier may also assist the user in editing the first image.
In a specific implementation, the target object may be understood as a main object in the first image. The primary object may be an object displayed clearly in the first image; the main object may also be an object whose area ratio in the first image exceeds a preset threshold, where the area ratio is understood to be the ratio of the area of the region surrounded by the outlines of the object to the area of the first image; the primary object may also be the most anterior object in the first image. It is to be understood that the determination of the target object may be determined according to actual situations, and the embodiments of the present application are not limited herein.
The second identifier may be a text, a symbol, an image, and the like for indicating information, or may be a control or other container as a carrier for displaying information, including but not limited to a text identifier, a symbol identifier, an image identifier, and the like, which may be determined according to practical situations, and the embodiment of the present application is not limited herein.
In this optional embodiment, in the first interface, the first thumbnail and the second thumbnail may be displayed side by side or may be displayed in an overlapping manner. When the electronic device recognizes that the number of the target objects in the first image is at least two, a plurality of second thumbnails may be displayed in the first interface. The electronic device may determine a final second thumbnail by receiving a selection input of a user for a plurality of second thumbnails, and may display the final second thumbnail side by side or in a superimposed manner with the first thumbnail, which may be determined according to actual situations, and the embodiment of the present application is not limited herein.
For ease of understanding, the following are exemplified herein:
as shown in fig. 3a, the electronic device receives a first input of a user to capture a preview image on the preview interface a, and detects that an input position of the first input is a first area 10 in the preview image, as shown in fig. 3 b. When the electronic device detects that the input position of the first input is the face image on the left side, it may also detect that the face image on the right side still exists in the preview image, and the electronic device may automatically recognize the face image on the right side and determine the second area 40 including the face image on the right side, as shown in fig. 3 b.
In response to the first input, the electronic device may generate a first thumbnail according to the image corresponding to the first area 10 and a second thumbnail according to the image corresponding to the second area 40, and display the first thumbnail 21 and the second thumbnail 22 side by side in the preset area 20 of the shooting preview interface a, as shown in fig. 3 c. The first thumbnail 21 is displayed on the left side of the preset area 20, and the second thumbnail 22 is displayed on the right side of the preset area 20.
As shown in fig. 3d, when the electronic device receives a second input from the user, a second interface B may be displayed. The first image is included in the second interface B and a first marker 30 is included in the first image for marking a first area and a second marker 50 is included in the second area for marking a second area.
The role of the first thumbnail, the second thumbnail, the first identifier and the second identifier in processing the first image is described below.
In an alternative embodiment, the first thumbnail, the second thumbnail, the first identifier, and the second identifier may be used to determine the thumbnail with which the first image is associated.
In this optional embodiment, the following may be implemented:
the first implementation form, optionally, said displaying, in response to the first input, a first thumbnail in a first interface, includes:
in response to the first input, displaying the first thumbnail and treating the first thumbnail as a thumbnail associated with the first image in the first interface;
after displaying the second thumbnail in the first interface, the method further comprises:
and under the condition that third input of the user to the first thumbnail and the second thumbnail is received, responding to the third input, and displaying a third thumbnail on the first interface, wherein the third thumbnail is obtained by splicing the first thumbnail and the second thumbnail.
In this implementation form, when receiving a third input from the user, the electronic device may splice the first thumbnail and the second thumbnail to form a third thumbnail in response to the third input. The electronic device may display the third thumbnail on the first interface and determine the third thumbnail as the thumbnail associated with the first image. In this way, the third thumbnail can display not only the image information of the key area concerned or interested by the user, but also the image information of the target object automatically identified by the electronic equipment, so that the image information which can be displayed by the thumbnail is richer.
In a specific implementation, the third input may be a click input, a double click input, a long press input, a sliding input, or the like of the first thumbnail and the second thumbnail by a user through a touch device such as a finger or a stylus pen, which may be determined according to actual situations, and the application is not limited herein.
Illustratively, assuming that the third input is that the user presses the first thumbnail and the second thumbnail simultaneously with two fingers, the electronic device may, in response to the third input, stitch a lower border of the first thumbnail with an upper border of the second thumbnail to form the third thumbnail, and display the third thumbnail on the first interface. Or, in response to the third input, the electronic device may splice the right frame of the first thumbnail and the left frame of the second thumbnail to form the third thumbnail, and display the third thumbnail on the first interface. It should be understood that a specific implementation form of the splicing of the first thumbnail and the second thumbnail is not limited thereto, and may be determined according to practical situations, and the embodiment of the present application is not limited thereto.
In a second implementation form, optionally, after the displaying the second thumbnail in the first interface, the method further includes:
receiving a user selection input of the first thumbnail or the second thumbnail;
in response to the selection input, displaying a thumbnail corresponding to an input position of the selection input in the first interface.
In this implementation form, the electronic device may receive a selection of the first thumbnail or the second thumbnail from a user, determine the thumbnail selected by the user as the thumbnail associated with the first image, and display the thumbnail in the first interface. In this way, the electronic device may provide the user with a plurality of candidate thumbnails and finalize the thumbnail associated with the first image by the user's selection. The thumbnail determined in this way not only can clearly display image information, but also can meet personalized requirements of users.
In a specific implementation, the selection input may be a click input, a double click input, a long press input, a sliding input, or the like of the first thumbnail or the second thumbnail by a user through a touch device such as a finger or a stylus pen, which may be determined according to actual situations, and the application is not limited herein.
In a third implementation form, optionally, the displaying, in response to the first input, a first thumbnail in a first interface includes:
in response to the first input, displaying the first thumbnail and treating the first thumbnail as a thumbnail associated with the first image in the first interface;
after displaying the second thumbnail in the first interface, the method further comprises:
in an instance in which a fourth input to the second thumbnail or the second identification by the user is received, updating the thumbnail associated with the first image to the second thumbnail in response to the fourth input.
In this implementation form, the electronic device may determine the first thumbnail as the thumbnail associated with the first image in response to a first input to the first area by a user when the first input is received. At the first interface, the electronic device may receive a fourth input by the user to the second thumbnail or a fourth input by the user to the second identifier at the second interface to replace the thumbnail associated with the first image with the second thumbnail.
In this way, the electronic device, in response to the first input, may determine a first thumbnail generated in a key area that a user pays attention to or is interested in as a thumbnail associated with the first image, and the content displayed by the first thumbnail is clearer compared with a third thumbnail generated by stitching in the first implementation form; compared with the second implementation form that the user needs to select the determined thumbnail, the user operation can be reduced. In addition, when the user needs to change or adjust the first thumbnail, the thumbnail related to the first image can be replaced by executing a fourth input on the second thumbnail or the second identifier, and the operation is simple and convenient.
In a specific implementation, the fourth input may be a click input, a double click input, a long press input, a sliding input, or the like of the second thumbnail or the second identifier by a user through a touch device such as a finger or a stylus, which may be determined according to an actual situation, and the application is not limited herein.
In an alternative embodiment, the first thumbnail, the second thumbnail, the first identifier and the second identifier may be used to quickly edit the first image.
In this optional embodiment, the following may be implemented:
in a first implementation form, optionally, after displaying the second thumbnail in the first interface, the method further includes:
in the case that a fifth input of the first thumbnail or the first identifier by a user is received, in response to the fifth input, intercepting an image of the first area of the first image, and generating a second image;
and in the case of receiving sixth input of the second thumbnail or the second identifier by a user, intercepting an image of the second area of the first image in response to the sixth input, and generating a third image.
In this implementation form, the electronic device may directly intercept the image of the first area to generate the first image based on a fifth input of the first thumbnail or the first identifier by the user. It can be understood that, in this implementation form, the first input performed by the user may be used to add a cropping mark, and the user may selectively determine, based on the requirements of subsequent cropping, a first region in the first image in which to perform the first input. Based on this, when the first image is cropped, the fifth input may be directly performed on the first thumbnail or the first identifier, so as to implement quick cropping.
In addition, the electronic device can also automatically recognize the target object in the first image and provide more candidate cutting marks for subsequent cutting, so that the subsequent cutting of the first image by a user is more convenient and flexible.
In a specific implementation, the fifth input may be a click input, a double-click input, a long-press input, a sliding input, or the like of the first thumbnail or the first identifier by a user through a touch device such as a finger or a stylus, which may be determined according to actual situations, and the application is not limited herein.
The sixth input may be a click input, a double click input, a long press input, a sliding input, or the like of the second thumbnail or the second identifier by a user through a touch device such as a finger or a stylus pen, which may be determined according to actual situations, and the application is not limited herein.
In a second implementation form, optionally, after the displaying the second thumbnail in the first interface, the method further includes:
in the event that a tenth input by the user to the first thumbnail or the first identification is received, adding target content in the first area of the first image in response to the tenth input;
in a case where an eleventh input to the second thumbnail or the second identification by a user is received, adding target content in the second area of the first image in response to the eleventh input.
In this implementation form, the target content may be a content that can be used for image editing, such as a text, a picture, an expression, a sticker, and the like, and may be specifically determined according to an actual situation, and the present application is not limited herein.
In a specific implementation, a first input performed by a user can be used for adding an editing mark, and the user can selectively determine a first area for performing the first input in the first image based on the requirement of subsequent editing so as to add the editing mark. Illustratively, the user can anticipate the position of a sticker to be added subsequently in the preview image before photographing, and perform the first input adding editing mark; and then, when the image viewing interface of the first image is displayed, the position of the sticker needing to be added can be determined through the first identifier, and the user is helped to edit quickly.
In addition, the electronic device can also automatically identify the target object in the first image and provide more candidate editing marks for subsequent editing, so that the user can edit the first image more conveniently and more flexibly.
In a specific implementation, the tenth input or the eleventh input may be a click input, a double click input, a long press input, a slide input, or the like of the target content by a user through a touch device such as a finger or a stylus pen, and may be determined according to actual situations, and the application is not limited herein.
In this embodiment of the application, optionally, the displaying, in response to the first input, a first thumbnail in a first interface includes:
in response to the first input, displaying a first thumbnail in a first interface and displaying a third identifier on the first image, the third identifier indicating that the image of the first area has generated the first thumbnail.
In this optional embodiment, in response to the first input, the electronic device may prompt the user for the determined first area through the third identifier on the first image while displaying the first thumbnail in the first interface. The third mark may be a dashed line frame enclosing the first region, as shown in fig. 2b and 3b, or may be a blinking dot located at any position in the first region. It is to be understood that the third identifier may be a text, a symbol, an image, etc. for indicating information, and may also be a control or other container as a carrier for displaying information, including but not limited to a text identifier, a symbol identifier, an image identifier, etc., which may be determined according to practical situations, and the embodiment of the present application is not limited herein.
It should be noted that, in the above embodiment that the electronic device identifies the target object in the second area in the first image, the electronic device may also prompt the user to identify the second area through the third identifier, as shown in fig. 3 b.
In summary, according to the display control method provided by the embodiment of the present application, in response to the first input, the electronic device may generate a thumbnail based on the first area of the first image, and display the thumbnail on a viewing interface of an image or a video, or a shooting preview interface. The electronic equipment can respond to the first input, reduce the image content of the key area concerned or interested by the user by a preset proportion to generate a thumbnail, and compared with the thumbnail generated by directly reducing the original photo in the prior art, the thumbnail generated by reducing the key area concerned or interested by the user can display the image information of the local concerned or interested by the user in a larger size, so that the thumbnail can meet the personalized requirements of the user, can more clearly and effectively display the image information, and is convenient for the user to search and view.
Referring to fig. 4, fig. 4 is a flowchart of another display control method according to an embodiment of the present disclosure.
As shown in fig. 4, the method comprises the steps of:
step 401, in the process of recording the first video, receiving a first input of a user to a first area of a first video preview image displayed in a shooting preview interface.
Step 402, in the process of recording the first video, receiving the seventh input of the user to the third area of the second video preview image displayed in the shooting preview interface.
Step 403, responding to the first input, displaying a first thumbnail in a first interface, where the first interface includes a shooting preview interface or an album display interface, and the first thumbnail is an image obtained by reducing an image in a first area of the first video preview image according to a preset scale.
Step 404, responding to the seventh input, and displaying a third thumbnail in the first interface, where the third thumbnail is an image obtained by reducing the image of the third area of the second video preview image according to a preset scale.
In the embodiment of the application, the first image is any one frame of video preview image in the first video recording process, the video preview image is a video preview image acquired by a camera in the first video recording process, and the first video preview image and the second video preview image are any one frame of video preview image displayed in the first video recording process.
In the specific implementation, the following can be specifically implemented:
in a first implementation form, when receiving a first input to a first area of the first video preview image, the electronic device may display the first thumbnail in a preset area of the shooting preview interface in response to the first input; upon subsequently receiving a seventh input to a third region of the second video preview image, the third thumbnail may be in the capture preview interface in response to the seventh input. That is, during the recording of the first video, the electronic device may display a thumbnail image on the capture preview interface in response to each input.
In a second implementation form, when receiving a first input to a first area of the first video preview image, the electronic device may generate the first thumbnail in response to the first input, but not display the first thumbnail in the shooting preview interface; upon receiving a seventh input to a third region of the second video preview image at a later time, the third thumbnail may be generated in response to the seventh input and also not displayed in the capture preview interface first; after the video recording is finished, the electronic equipment displays the first thumbnail and the third thumbnail in the shooting preview interface.
In a specific implementation, the seventh input may be a click input, a double click input, a long press input, or the like of the user in the first area of the first image through a touch device such as a finger or a stylus, which may be determined according to actual situations, and the present application is not limited herein.
In this embodiment of the application, optionally, after the first input, there are N times of inputs to the N regions, where N is an integer greater than 1, and step 401 or step 402 includes:
in response to the N times of input, displaying N thumbnails in a first interface, and displaying N identifiers in the first video, wherein the N identifiers are used for indicating that the thumbnail is generated in the image of the first area.
In this optional embodiment, in the recording process of the first video, an input of an electronic device to a multi-frame video preview image may be received, a plurality of thumbnails are correspondingly generated, and a plurality of identifiers are displayed in the first video, where each identifier may be used to mark that an image in an area acted by a single input has already generated a thumbnail.
In the specific implementation, the following can be specifically implemented:
in a first implementation, the electronic device receives 3 inputs of three video preview images, illustratively, during a first video recording. When the electronic device receives an input of a first frame of video preview image, a first thumbnail can be displayed on the shooting preview interface; when the electronic device receives an input of a second frame of video preview image, a second thumbnail can be displayed on the capture preview interface; when the electronic device receives an input for a third frame of the video preview image, a third thumbnail can be displayed on the capture preview interface. In this way, after the first video is recorded, three thumbnail images generated in corresponding areas of three frames of video preview images are displayed on the shooting preview interface, and the three thumbnail images can be displayed side by side or in a superimposed manner. Meanwhile, the electronic device may correspondingly add an identifier to a video image corresponding to the three frames of video preview images in the first video.
In a second implementation form, the electronic device receives 3 inputs of three video preview images, illustratively, during a first video recording process. When the electronic equipment receives input of a first frame of video preview image, generating a first thumbnail, but not displaying the first thumbnail in the shooting preview interface; generating a second thumbnail when the electronic device receives an input for the second frame of video preview image, and generating a second thumbnail when the electronic device receives an input for the first frame of video preview image; when the electronic equipment receives input of a third frame of video preview image, generating a third thumbnail, but not displaying the third thumbnail in the shooting preview interface; and after the video recording is finished, the electronic equipment simultaneously displays the three thumbnail pictures in the shooting preview interface. Meanwhile, the electronic device may correspondingly add an identifier to a video image corresponding to the three frames of video preview images in the first video.
In the first interface, the N thumbnails may be displayed side by side or in a superimposed manner, which may be determined according to actual situations, and the embodiment of the present application is not limited herein.
For ease of understanding, the following are exemplified herein:
as shown in fig. 5a and 5b, the electronic device receives a first input of the first video preview image C during the video recording process from the user, and detects that the input position of the first input is a first area 60 in the first video preview image C, and the first area 60 in the first video preview image C may be marked with a dashed box. Then, as shown in fig. 5c and 5D, the electronic device receives a seventh input of the user to the second video preview image D during the video recording process, and detects that the position acted by the first input is the third area 70 in the second video preview image D, and the third area 70 in the second video preview image D may be marked with a dashed box.
In response to the two times of the first input, the electronic device may generate a first thumbnail according to the image corresponding to the first area 60 shown in fig. 5b and a third thumbnail according to the image corresponding to the third area 70 shown in fig. 5c, and display the first thumbnail and the second thumbnail side by side in the preset area 20 of the shooting preview interface a, as shown in fig. 5 e. The first thumbnail 21 is displayed on the left side of the preset area 20, and the third thumbnail 23 is displayed on the right side of the preset area 20.
In this embodiment of the application, optionally, the first video includes M frames of key video images, where the key video images are video images corresponding to the video preview images that receive the input of the user or the seventh input;
after receiving the first input of the user to a third area of a second video preview image displayed in a shooting preview interface in the process of recording the first video, the method further comprises the following steps:
receiving an eighth input of the user;
in response to the eighth input, displaying a third interface, the third interface comprising a first window and a second window, the first window comprising the first video, the second window comprising thumbnails of the N frames of video images of the first video;
in the second window, thumbnails of the M frames of key video images are displayed in a first display mode, thumbnails of N-M frames of video images except the M frames of key video images in the N frames of video images are displayed in a second display mode, the first display mode is different from the second display mode, N, M is a positive integer, and M is less than N.
In this optional embodiment, according to the fact that a user performs input on at least two video preview images in the recording process of the first video, the video images corresponding to the at least two video preview images for the input function may be determined as the key video images of the first video. In the third interface, when all the video images of the first video are displayed, the key video image is displayed in a display mode different from that of other video images.
In a specific implementation, the first display mode and the second display mode may be different in that the display height of the second window is different, the thumbnails of the M-frame key video images are displayed in the first display mode, and the display height of the first display mode is higher than that of the second display mode, as shown in fig. 6.
The first display mode and the second display mode may be different in display size in the second window, and the thumbnail of the M-frame key video image may be displayed in the first display mode, where the display size of the first display mode is larger than that of the second display mode, that is, the M-frame key video image is larger than other video images.
It is to be understood that the expressions of the first display mode and the second display mode are not limited thereto, and may be determined according to actual situations, and the embodiments of the present application are not specifically limited thereto.
In this optional implementation, the third interface may be a playing interface of the first video.
In the case that the third interface is the playing interface of the first video, for example, as shown in fig. 6, the first window 80 may be a playing window of the first video, and the second window 90 may be a timeline window of the first video, where thumbnails of N frames of video images of the first video are displayed in the timeline window in a time sequence, where two frames of key video images 91 are displayed in the first display mode. When the first video is played in the first window 80, the thumbnails of the N frames of video images in the second window 90 will scroll horizontally following the progress of the first video.
In this optional embodiment, the third interface may be an editing interface of the first video.
In the case where the third interface is the editing interface of the first video, for example, as shown in fig. 6, the first window 80 may be an editing window of the first video, and the second window 90 may be a video image display window of the first video, where thumbnails of N frames of video images of the first video are displayed in time sequence, and two frames of key video images 91 are displayed in the first display mode. When the user slides the thumbnails of the N-frame video images in the second window 90, the video images displayed in the first window 80 may change following the sliding of the user.
Further, optionally, after the displaying the third interface in response to the eighth input, the method further includes:
receiving a ninth input of a user to a target thumbnail in the thumbnails of the M frames of key video images;
in response to the ninth input, displaying a video image corresponding to the target thumbnail in the first video in the first window.
In this optional embodiment, in a case that the third interface is a playing interface of the first video, the M frames of key video images in the second window may be used to quickly locate the playing position of the first video. As shown in fig. 6, when the electronic device receives an eighth input of a thumbnail of a certain frame of video image, the video image corresponding to the thumbnail of the frame of video image can be quickly located. The electronic device may continuously display the frame of video image, or the electronic device may continue to play the first video from the frame of video image, which may be determined according to actual situations, and the embodiment of the present application is not limited herein.
In a case that the third interface is an editing interface of the first video, the M key video images in the second window may be used to quickly locate an editing position of the first video. As shown in fig. 6, when the electronic device receives an eighth input of a thumbnail of a certain frame of video image, the video image corresponding to the thumbnail of the frame of video image can be quickly located. The electronic device can continuously display the frame of video image and accept the editing operation of the frame of video image by the user.
In a specific implementation, during the process of recording the first video, a user may selectively perform a first input on a video preview image during the recording process based on a subsequent editing requirement on the first video, which is equivalent to adding an editing mark to the first video. Based on this, when the first video is edited, the second window of the editing interface can display thumbnails of M frames of key video images marked by the user in the first display mode, and further can be quickly positioned to a certain key video image for editing.
For example, when recording a video, a user usually records a plurality of pieces of content before the beginning of the formal content and after the end of the formal content, so as to ensure the integrity of the recorded content. Thus, the user can perform a first input on the video preview image where the formal content starts to add an edit mark during recording of the video, and perform a first input on the video preview image where the formal content ends, and also add an edit mark. In addition, in the video recording process, if a user desires to subsequently add an edited content of a sticker or a text on a certain video preview image, or a certain piece of content needs to be cut, the first input may be performed on the video preview image to add an editing mark.
According to the display control method provided by the embodiment of the application, the electronic equipment can receive the input of one or more video preview images of a shooting preview interface in the first video recording process by a user so as to generate key video images, and when the viewing interface and the editing interface of the first video are displayed subsequently, a certain video image in the first video can be quickly positioned according to the key video image with a display mode different from that of other video images, so that the certain video image can be viewed or edited, and the efficiency of acquiring video information or editing the video by the user is improved.
It should be understood that although the various steps in the flowcharts of fig. 1 and 4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1 and 4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
It should be noted that, in the display control method provided in the embodiment of the present application, the execution main body may be a display control device, or a control module for executing the display control method in the display control method. In the embodiment of the present application, a display control method executed by a display control apparatus is taken as an example, and the display control apparatus provided in the embodiment of the present application is described.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a display control device according to an embodiment of the present disclosure.
As shown in fig. 7, the display control apparatus 700 includes:
a first receiving module 701, configured to receive a first input of a first region of a first image by a user;
a first display module 702, configured to, in response to the first input, display a first thumbnail in a first interface, where the first interface includes a shooting preview interface or an album display interface, and the first thumbnail is an image in which an image in a first area of the first image is reduced according to a preset scale;
wherein the first image comprises: any one frame of video image in the preview image, the shot first image or the recorded first video collected by the camera.
Optionally, the first receiving module 702 is specifically configured to:
before shooting a first image or recording a first video, receiving a first input of a user to a first area of a preview image displayed in a shooting preview interface;
or, after the first image is shot, receiving a first input of a user to a first area of the first image;
or receiving a first input of a user to a first area of a video preview image displayed in a shooting preview interface in the process of recording the first video;
or after the first video is recorded, receiving a first input of a user to a first area of any frame of video image of the first video.
Optionally, the display control apparatus 700 further includes:
the second receiving module is used for receiving a second input of the user;
a second display module, configured to display a second interface in response to the second input, where the second interface includes the first image, and the first image includes a first identifier, and the first identifier is used to mark an image of the first area.
Optionally, the display control apparatus 700 further includes:
an identification module for identifying a target object of a second region of the first image;
a third display module, configured to display a second thumbnail in the first interface, where the second thumbnail is an image obtained by reducing an image in a second area of the first image according to a preset scale;
the second display module is specifically configured to:
in response to the second input, displaying the second interface, the second interface including the first image, the first image further including a second identifier, the second identifier being used to mark an image of the second area.
Optionally, the first display module 702 is specifically configured to:
in response to the first input, displaying the first thumbnail and treating the first thumbnail as a thumbnail associated with the first image in the first interface;
the display control apparatus 700 further includes:
the splicing module is used for responding to a third input when the third input of the user to the first thumbnail and the second thumbnail is received, and displaying a third thumbnail on the first interface, wherein the third thumbnail is obtained by splicing the first thumbnail and the second thumbnail;
an update module to update the thumbnail associated with the first image to the second thumbnail in response to a fourth input by a user in the event the fourth input is received for the second thumbnail or the second identifier.
Optionally, the display control apparatus 700 further includes:
the first intercepting module is used for intercepting an image of the first area of the first image and generating a second image in response to a fifth input of a user to the first thumbnail or the first identifier under the condition of receiving the fifth input;
and the second intercepting module is used for intercepting the image of the second area of the first image and generating a third image in response to a sixth input of the user to the second thumbnail or the second identifier under the condition of receiving the sixth input.
Optionally, the first display module 702 is specifically configured to:
in response to the first input, displaying a first thumbnail in a first interface, and displaying a third identifier on the first image, the third identifier indicating that the first thumbnail has been generated by the image of the first area.
Optionally, as shown in fig. 8, the first receiving module 701 is specifically configured to:
receiving a first input of a user to a first area of a first video preview image displayed in a shooting preview interface in the process of recording a first video;
the display control apparatus 700 further includes:
a third receiving module 703, configured to receive, during the process of recording the first video, a seventh input of the user to a third area of a second video preview image displayed in the shooting preview interface;
a fourth display module 704, configured to display, in response to the seventh input, a third thumbnail in the first interface, where the third thumbnail is an image of a third area of the second video preview image reduced according to a preset scale;
the first video preview image and the second video preview image are any frame of video preview image displayed in the process of recording the first video.
Optionally, the first video includes M frames of key video images, where the key video images are video images corresponding to video preview images of the first input or the seventh input received from the user;
the display control apparatus 700 further includes:
the fourth receiving module is used for receiving an eighth input of the user;
a fifth display module to display a third interface in response to the eighth input, the third interface including a first window and a second window, the first window including the first video, the second window including thumbnails of the N frames of video images of the first video;
in the second window, thumbnails of the M frames of key video images are displayed in a first display mode, thumbnails of N-M frames of video images except the M frames of key video images in the N frames of video images are displayed in a second display mode, the first display mode is different from the second display mode, N, M is a positive integer, and M is less than N.
Optionally, the display control apparatus 700 further includes:
a fifth receiving module, configured to receive a ninth input of a user to a target thumbnail in the thumbnails of the M frames of key video images;
and a sixth display module, configured to display, in response to the ninth input, a video image corresponding to the target thumbnail in the first video in the first window.
The display control device provided by the embodiment of the application can respond to the first input, generate the thumbnail based on the first area of the first image, and display the thumbnail on a viewing interface of an image or a video or a shooting preview interface. The electronic equipment can respond to the first input, reduce the image content of the key area concerned or interested by the user by a preset proportion to generate a thumbnail, and compared with the thumbnail generated by directly reducing the original photo in the prior art, the thumbnail generated by reducing the key area concerned or interested by the user can display the image information of the local concerned or interested by the user in a larger size, so that the thumbnail can meet the personalized requirements of the user, can more clearly and effectively display the image information, and is convenient for the user to search and view.
The display control device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. Illustratively, 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 server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display control device in the embodiment of the present application may be a 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 application are not limited specifically.
The display control device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 and fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device is further provided in this embodiment of the present application, and includes a processor 1010, a memory 1009, and a program or an instruction stored in the memory 1009 and capable of running on the processor 1010, where the program or the instruction is executed by the processor 1010 to implement each process of the foregoing display control method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1007 is used for receiving a first input of a user to a first area of a first image;
a display unit 1006, configured to display, in response to the first input, a first thumbnail in a first interface, where the first interface includes a shooting preview interface or an album display interface, and the first thumbnail is an image in which an image of a first area of the first image is reduced according to a preset scale;
wherein the first image comprises: any one frame of video image in the preview image, the shot first image or the recorded first video collected by the camera.
Optionally, the user input unit 1007 is specifically configured to:
before shooting a first image or recording a first video, receiving a first input of a user to a first area of a preview image displayed in a shooting preview interface;
or, after the first image is shot, receiving a first input of a user to a first area of the first image;
or receiving a first input of a user to a first area of a video preview image displayed in a shooting preview interface in the process of recording the first video;
or after the first video is recorded, receiving a first input of a user to a first area of any frame of video image of the first video.
Optionally, the user input unit 1007 is further configured to receive a second input from the user;
the display unit 1006 is further configured to display a second interface in response to the second input, where the second interface includes the first image, and the first image includes a first identifier, and the first identifier is used to mark an image of the first area.
Optionally, a processor 1010 for identifying a target object of a second region of the first image;
the display unit 1006 is further configured to display a second thumbnail in the first interface, where the second thumbnail is an image obtained by reducing an image of a second region of the first image according to a preset scale;
a display unit 1006, configured to display the second interface in response to the second input, where the second interface includes the first image, and the first image further includes a second identifier, and the second identifier is used to mark an image of the second area.
Optionally, the display unit 1006 is further configured to display the first thumbnail in the first interface in response to the first input, and take the first thumbnail as a thumbnail associated with the first image;
the processor 1010 is further configured to, when the user input unit 1007 receives a third input to the first thumbnail and the second thumbnail from the user, respond to the third input, and display a third thumbnail on the first interface, where the third thumbnail is obtained by splicing the first thumbnail and the second thumbnail;
the processor 1010 is further configured to update the thumbnail associated with the first image to the second thumbnail in response to a fourth input by the user input unit 1007 when the fourth input by the user is received for the second thumbnail or the second identifier.
Optionally, the processor 1010 is further configured to, in a case that the user input unit 1007 receives a fifth input of the first thumbnail or the first identifier from the user, intercept an image of the first area of the first image in response to the fifth input, and generate a second image;
the processor 1010 is further configured to, in a case where the user input unit 1007 receives a sixth input to the second thumbnail or the second identifier from the user, intercept an image of the second area of the first image in response to the sixth input, and generate a third image.
Optionally, the display unit 1006 is further configured to display a first thumbnail in the first interface in response to the first input, and display a third identifier on the first image, where the third identifier is used to indicate that the first thumbnail has been generated by the image of the first area.
Optionally, the user input unit 1007 is specifically configured to receive a first input of a user to a first area of a first video preview image displayed in the shooting preview interface in the process of recording the first video;
receiving a seventh input of a user to a third area of a second video preview image displayed in the shooting preview interface in the process of recording the first video;
a display unit 1006, further configured to display, in response to the seventh input, a third thumbnail in the first interface, where the third thumbnail is an image of a third area of the second video preview image reduced by a preset scale;
the first video preview image and the second video preview image are any frame of video preview image displayed in the process of recording the first video.
Optionally, the user input unit 1007 is further configured to receive an eighth input from the user;
a display unit 1006, further configured to display, in response to the eighth input, a third interface, where the third interface includes a first window and a second window, the first window includes the first video, and the second window includes thumbnails of N frames of video images of the first video;
in the second window, thumbnails of the M frames of key video images are displayed in a first display mode, thumbnails of N-M frames of video images except the M frames of key video images in the N frames of video images are displayed in a second display mode, the first display mode is different from the second display mode, N, M is a positive integer, and M is less than N.
Optionally, the user input unit 1007 is further configured to receive a ninth input by the user on a target thumbnail in the thumbnails of the M frames of key video images;
a display unit 1006, configured to display, in response to the ninth input, a video image corresponding to the target thumbnail in the first video in the first window.
The electronic device provided by the embodiment of the application can respond to the first input, generate the thumbnail based on the first area of the first image, and display the thumbnail on a viewing interface of an image or a video or a shooting preview interface. The electronic equipment can respond to the first input, reduce the image content of the key area concerned or interested by the user by a preset proportion to generate a thumbnail, and compared with the thumbnail generated by directly reducing the original photo in the prior art, the thumbnail generated by reducing the key area concerned or interested by the user can display the image information of the local concerned or interested by the user in a larger size, so that the thumbnail can meet the personalized requirements of the user, can more clearly and effectively display the image information, and is convenient for the user to search and view.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 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. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above display control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above display control method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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 a terminal (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 application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (22)

1. A display control method, comprising:
receiving a first input of a user to a first area of a first image;
responding to the first input, displaying a first thumbnail in a first interface, wherein the first interface comprises a shooting preview interface or an album display interface, and the first thumbnail is an image of a first area of the first image reduced according to a preset proportion;
wherein the first image comprises: any one frame of video image in the preview image, the shot first image or the recorded first video collected by the camera.
2. The method of claim 1, wherein receiving a user input of a first region of a first image comprises:
before shooting a first image or recording a first video, receiving a first input of a user to a first area of a preview image displayed in a shooting preview interface;
or, after the first image is shot, receiving a first input of a user to a first area of the first image;
or receiving a first input of a user to a first area of a video preview image displayed in a shooting preview interface in the process of recording the first video;
or after the first video is recorded, receiving a first input of a user to a first area of any frame of video image of the first video.
3. The method of claim 1, wherein after receiving a first input by a user into the first region of the first image, the method further comprises:
receiving a second input of the user;
in response to the second input, displaying a second interface, the second interface including the first image, the first image including a first identifier, the first identifier for marking an image of the first area.
4. The method of claim 3, wherein prior to receiving the second input from the user, the method further comprises:
identifying a target object of a second region of the first image;
displaying a second thumbnail in the first interface, wherein the second thumbnail is an image of a second area of the first image reduced according to a preset proportion;
said displaying, in response to the second input, a second interface, comprising:
in response to the second input, displaying the second interface, the second interface including the first image, the first image further including a second identifier, the second identifier being used to mark an image of the second area.
5. The method of claim 4, wherein displaying, in the first interface, a first thumbnail in response to the first input comprises:
in response to the first input, displaying the first thumbnail and treating the first thumbnail as a thumbnail associated with the first image in the first interface;
after displaying the second thumbnail in the first interface, the method further comprises:
under the condition that third input of a user to the first thumbnail and the second thumbnail is received, responding to the third input, and displaying a third thumbnail on the first interface, wherein the third thumbnail is obtained by splicing the first thumbnail and the second thumbnail;
in an instance in which a fourth input to the second thumbnail or the second identification by the user is received, updating the thumbnail associated with the first image to the second thumbnail in response to the fourth input.
6. The method of claim 4, wherein after displaying the second thumbnail in the first interface, the method further comprises:
in the case that a fifth input of the first thumbnail or the first identifier by a user is received, in response to the fifth input, intercepting an image of the first area of the first image, and generating a second image;
and in the case of receiving sixth input of the second thumbnail or the second identifier by a user, intercepting an image of the second area of the first image in response to the sixth input, and generating a third image.
7. The method of claim 1, wherein displaying, in a first interface, a first thumbnail in response to the first input comprises:
in response to the first input, displaying a first thumbnail in a first interface, and displaying a third identifier on the first image, the third identifier indicating that the first thumbnail has been generated by the image of the first area.
8. The method of claim 1, wherein receiving a user input of a first region of a first image comprises:
receiving a first input of a user to a first area of a first video preview image displayed in a shooting preview interface in the process of recording a first video;
after receiving a first input by a user to a first region of a first image, the method further comprises:
receiving a seventh input of a user to a third area of a second video preview image displayed in a shooting preview interface in the process of recording the first video;
in response to the seventh input, displaying a third thumbnail in the first interface, wherein the third thumbnail is an image of a third area of the second video preview image reduced by a preset scale;
the first video preview image and the second video preview image are any frame of video preview image displayed in the process of recording the first video.
9. The method according to claim 8, wherein the first video comprises M frames of key video images, and the key video images are video images corresponding to video preview images of the first input or the seventh input received from the user;
after receiving a seventh input of the user to a third area of a second video preview image displayed in the shooting preview interface in the process of recording the first video, the method further includes:
receiving an eighth input of the user;
in response to the eighth input, displaying a third interface, the third interface comprising a first window and a second window, the first window comprising the first video, the second window comprising thumbnails of the N frames of video images of the first video;
in the second window, thumbnails of the M frames of key video images are displayed in a first display mode, thumbnails of N-M frames of video images except the M frames of key video images in the N frames of video images are displayed in a second display mode, the first display mode is different from the second display mode, N, M is a positive integer, and M is less than N.
10. The method of claim 9, wherein after displaying a third interface in response to the eighth input, the method further comprises:
receiving a ninth input of a user to a target thumbnail in the thumbnails of the M frames of key video images;
in response to the ninth input, displaying a video image corresponding to the target thumbnail in the first video in the first window.
11. A display control apparatus, characterized in that the apparatus comprises:
the first receiving module is used for receiving first input of a user to a first area of a first image;
the first display module is used for responding to the first input and displaying a first thumbnail in a first interface, wherein the first interface comprises a shooting preview interface or an album display interface, and the first thumbnail is an image of a first area of the first image reduced according to a preset proportion;
wherein the first image comprises: any one frame of video image in the preview image, the shot first image or the recorded first video collected by the camera.
12. The apparatus of claim 11, wherein the first receiving module is specifically configured to:
before shooting a first image or recording a first video, receiving a first input of a user to a first area of a preview image displayed in a shooting preview interface;
or, after the first image is shot, receiving a first input of a user to a first area of the first image;
or receiving a first input of a user to a first area of a video preview image displayed in a shooting preview interface in the process of recording the first video;
or after the first video is recorded, receiving a first input of a user to a first area of any frame of video image of the first video.
13. The apparatus of claim 11, further comprising:
the second receiving module is used for receiving a second input of the user;
a second display module, configured to display a second interface in response to the second input, where the second interface includes the first image, and the first image includes a first identifier, and the first identifier is used to mark an image of the first area.
14. The apparatus of claim 13, further comprising:
an identification module for identifying a target object of a second region of the first image;
a third display module, configured to display a second thumbnail in the first interface, where the second thumbnail is an image obtained by reducing an image in a second area of the first image according to a preset scale;
the second display module is specifically configured to:
in response to the second input, displaying the second interface, the second interface including the first image, the first image further including a second identifier, the second identifier being used to mark an image of the second area.
15. The apparatus of claim 14, wherein the first display module is specifically configured to:
in response to the first input, displaying the first thumbnail and treating the first thumbnail as a thumbnail associated with the first image in the first interface;
the device further comprises:
the splicing module is used for responding to a third input when the third input of the user to the first thumbnail and the second thumbnail is received, and displaying a third thumbnail on the first interface, wherein the third thumbnail is obtained by splicing the first thumbnail and the second thumbnail;
an update module to update the thumbnail associated with the first image to the second thumbnail in response to a fourth input by a user in the event the fourth input is received for the second thumbnail or the second identifier.
16. The apparatus of claim 14, further comprising:
the first intercepting module is used for intercepting an image of the first area of the first image and generating a second image in response to a fifth input of a user to the first thumbnail or the first identifier under the condition of receiving the fifth input;
and the second intercepting module is used for intercepting the image of the second area of the first image and generating a third image in response to a sixth input of the user to the second thumbnail or the second identifier under the condition of receiving the sixth input.
17. The apparatus of claim 11, wherein the first display module is specifically configured to:
in response to the first input, displaying a first thumbnail in a first interface, and displaying a third identifier on the first image, the third identifier indicating that the first thumbnail has been generated by the image of the first area.
18. The apparatus of claim 11, wherein the first receiving module is specifically configured to:
receiving a first input of a user to a first area of a first video preview image displayed in a shooting preview interface in the process of recording a first video;
the device further comprises:
the third receiving module is used for receiving seventh input of a user to a third area of a second video preview image displayed in the shooting preview interface in the process of recording the first video;
a fourth display module, configured to display, in response to the seventh input, a third thumbnail in the first interface, where the third thumbnail is an image in which an image in a third area of the second video preview image is reduced according to a preset scale;
the first video preview image and the second video preview image are any frame of video preview image displayed in the process of recording the first video.
19. The apparatus according to claim 18, wherein the first video comprises M key video images, and the key video images are video images corresponding to video preview images of the first input or the seventh input received from the user;
the device further comprises:
the fourth receiving module is used for receiving an eighth input of the user;
a fifth display module to display a third interface in response to the eighth input, the third interface including a first window and a second window, the first window including the first video, the second window including thumbnails of the N frames of video images of the first video;
in the second window, thumbnails of the M frames of key video images are displayed in a first display mode, thumbnails of N-M frames of video images except the M frames of key video images in the N frames of video images are displayed in a second display mode, the first display mode is different from the second display mode, N, M is a positive integer, and M is less than N.
20. The apparatus of claim 19, further comprising:
a fifth receiving module, configured to receive a ninth input of a user to a target thumbnail in the thumbnails of the M frames of key video images;
and a sixth display module, configured to display, in response to the ninth input, a video image corresponding to the target thumbnail in the first video in the first window.
21. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the display control method according to any one of claims 1 to 10.
22. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the display control method according to any one of claims 1 to 10.
CN202011608766.XA 2020-12-30 2020-12-30 Display control method, display control device, electronic equipment and readable storage medium Active CN112822394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011608766.XA CN112822394B (en) 2020-12-30 2020-12-30 Display control method, display control device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011608766.XA CN112822394B (en) 2020-12-30 2020-12-30 Display control method, display control device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112822394A true CN112822394A (en) 2021-05-18
CN112822394B CN112822394B (en) 2024-03-26

Family

ID=75855511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011608766.XA Active CN112822394B (en) 2020-12-30 2020-12-30 Display control method, display control device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112822394B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918766A (en) * 2021-08-12 2022-01-11 荣耀终端有限公司 Video thumbnail display method, device and storage medium
CN116055859A (en) * 2022-08-29 2023-05-02 荣耀终端有限公司 Image processing method and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060026524A1 (en) * 2004-08-02 2006-02-02 Microsoft Corporation Systems and methods for smart media content thumbnail extraction
US20150121242A1 (en) * 2013-10-28 2015-04-30 Samsung Electronics Co., Ltd. Electronic device and method for controlling a screen
CN106126108A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 A kind of breviary map generalization method and mobile terminal
US20170134605A1 (en) * 2015-11-10 2017-05-11 Lg Electronics Inc. Mobile terminal and method of controlling the same
US10027727B1 (en) * 2012-11-21 2018-07-17 Ozog Media, LLC Facial recognition device, apparatus, and method
US20190109981A1 (en) * 2017-10-11 2019-04-11 Adobe Systems Incorporated Guided image composition on mobile devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060026524A1 (en) * 2004-08-02 2006-02-02 Microsoft Corporation Systems and methods for smart media content thumbnail extraction
US10027727B1 (en) * 2012-11-21 2018-07-17 Ozog Media, LLC Facial recognition device, apparatus, and method
US20150121242A1 (en) * 2013-10-28 2015-04-30 Samsung Electronics Co., Ltd. Electronic device and method for controlling a screen
US20170134605A1 (en) * 2015-11-10 2017-05-11 Lg Electronics Inc. Mobile terminal and method of controlling the same
CN106126108A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 A kind of breviary map generalization method and mobile terminal
US20190109981A1 (en) * 2017-10-11 2019-04-11 Adobe Systems Incorporated Guided image composition on mobile devices

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918766A (en) * 2021-08-12 2022-01-11 荣耀终端有限公司 Video thumbnail display method, device and storage medium
CN113918766B (en) * 2021-08-12 2023-10-13 荣耀终端有限公司 Video thumbnail display method, apparatus and storage medium
CN116055859A (en) * 2022-08-29 2023-05-02 荣耀终端有限公司 Image processing method and electronic device
CN116055859B (en) * 2022-08-29 2023-10-20 荣耀终端有限公司 Image processing method and electronic device

Also Published As

Publication number Publication date
CN112822394B (en) 2024-03-26

Similar Documents

Publication Publication Date Title
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN112954210B (en) Photographing method and device, electronic equipment and medium
CN112995500B (en) Shooting method, shooting device, electronic equipment and medium
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
CN111612873A (en) GIF picture generation method and device and electronic equipment
CN113093968A (en) Shooting interface display method and device, electronic equipment and medium
CN112492201B (en) Photographing method and device and electronic equipment
CN112822394B (en) Display control method, display control device, electronic equipment and readable storage medium
CN112911147A (en) Display control method, display control device and electronic equipment
CN112698775B (en) Image display method and device and electronic equipment
CN113407144B (en) Display control method and device
CN113225451B (en) Image processing method and device and electronic equipment
CN112887794B (en) Video editing method and device
CN112449110B (en) Image processing method and device and electronic equipment
CN113010738B (en) Video processing method, device, electronic equipment and readable storage medium
CN111625166B (en) Picture display method and device
CN112330728A (en) Image processing method, image processing device, electronic equipment and readable storage medium
CN112383709A (en) Picture display method, device and equipment
CN113271378B (en) Image processing method and device and electronic equipment
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
CN114025100A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114143454B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114363521B (en) Image processing method and device and electronic equipment
CN113873081B (en) Method and device for sending associated image and electronic equipment

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