Image processing method and device

By displaying and processing similar pictures in multiple display areas in foldable screen electronic devices, the problems of cumbersome and low efficiency are solved, and users can quickly view and process multiple similar pictures in the same interface, improving processing efficiency .

CN114764364BActive Publication Date: 2024-12-24VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210474589.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2024-12-24
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

The existing similar image sorting tools are cumbersome and inefficient. Users need to frequently switch and compare pictures to determine deletion or retention, resulting in poor user experience and low processing efficiency.

Method used

Provides a picture processing method, using a foldable screen to display and process similar pictures in multiple display areas. Users can view multiple picture details in the same interface and automatically apply them to other groups through the operation of any picture. Pictures, reduce user operations and switching times.

Benefits of technology

It improves the convenience and efficiency of user operations, reduces the time-consuming process of users on similar pictures, and improves the efficiency of electronic devices in processing similar pictures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114764364B_ABST
    Figure CN114764364B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for image processing, which is applied to an electronic device with a foldable screen and belongs to the field of communications. The method includes: receiving a first input from a user to the electronic device; in response to the first input, displaying N images in at least two screen display areas, at least two screen display areas are screen display areas obtained after folding the foldable screen, the N images are similar images to be cleaned up, and N is an integer greater than 1; receiving a second input from the user to a target image among the N images; in response to the second input, processing the N images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communications, and specifically relates to a method and device for image processing. Background Art

[0002] As users spend more time using electronic devices, multiple pictures may be stored in the electronic devices, including many similar pictures. When the storage space of the electronic device is insufficient, the user can use the similar picture sorting tool provided in the electronic device to sort similar pictures (for example, delete similar pictures) to free up storage space of the electronic device.

[0003] However, in existing similar picture organization tools, all similar photos are generally displayed in a tiled form in smaller thumbnails. If the user needs to view more picture details, multiple operations need to be performed on the pictures, that is, the user needs to switch back and forth, zoom in, zoom out, etc., to determine the pictures that need to be deleted or retained. Therefore, the user's processing operations on similar pictures are cumbersome, and the efficiency of electronic devices in processing similar pictures is low. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an image processing method that can solve the technical problem of cumbersome operations and low efficiency in processing similar images.

[0005] In a first aspect, an embodiment of the present application provides an image processing method, which is applied to an electronic device with a foldable screen, the method comprising: receiving a first input from a user to the electronic device; in response to the first input, displaying N pictures in at least two screen display areas, the at least two screen display areas being screen display areas obtained after folding the foldable screen, the N pictures being similar pictures to be cleaned up, and N being an integer greater than 1; receiving a second input from the user to a target picture among the N pictures; and in response to the second input, processing the N pictures.

[0006] In a second aspect, an embodiment of the present application provides an image processing device, which includes: a receiving module, a display module, and a processing module. The receiving module is used to receive a first input from a user to an electronic device. The display module is used to display N pictures in at least two screen display areas in response to the first input received by the receiving module, at least two screen display areas are screen display areas obtained after folding the foldable screen, the N pictures are similar pictures to be cleaned up, and N is an integer greater than 1. The receiving module is also used to receive a second input from the user to a target picture among the N pictures. The processing module is used to process the N pictures in response to the second input received by the receiving module.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0011] In an embodiment of the present application, the electronic device can display N pictures in at least two screen display areas according to the first input of the user to the electronic device, the at least two screen display areas are screen display areas obtained after folding the foldable screen, the N pictures are similar pictures to be cleaned, and N is an integer greater than 1; receive the second input of the user to the target picture in the N pictures; and process the N pictures in response to the second input. Since the electronic device can display multiple similar pictures in the same group in multiple display areas obtained after folding the screen after the user performs the first input to the electronic device, the user can view the details of multiple similar pictures in the same interface, thereby reducing the process and number of user switching; and the user can process (for example, enlarge) any similar picture among the multiple similar pictures to trigger the electronic device to perform the same processing on other similar pictures in the same group based on the user's processing of the any similar picture, thereby reducing the user's operation, thus saving the time spent by the user in operating similar pictures and improving the efficiency of the electronic device in processing similar pictures. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a schematic diagram of an image processing method provided in an embodiment of the present application;

[0013] Figure 2 This is one of the example schematic diagrams of a mobile phone interface provided in an embodiment of the present application;

[0014] Figure 3 This is a second example schematic diagram of an interface of a mobile phone provided in an embodiment of the present application;

[0015] Figure 4 This is a third example schematic diagram of an interface of a mobile phone provided in an embodiment of the present application;

[0016] Figure 5 This is a fourth example schematic diagram of an interface of a mobile phone provided in an embodiment of the present application;

[0017] Figure 6 This is a fifth example schematic diagram of an interface of a mobile phone provided in an embodiment of the present application;

[0018] Figure 7 is a structural schematic diagram of an image processing device provided in an embodiment of the present application;

[0019] Figure 8 This is one of the hardware structure diagrams of an electronic device provided in an embodiment of the present application;

[0020] Fig. 9 This is the second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0023] The image processing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0024] Currently, when users process similar pictures through similar picture sorting tools, if the picture similarity is low and only one picture can be displayed at a time, the user needs to repeatedly switch interfaces and repeatedly compare similar parts of the pictures to determine pictures that do not need to be processed or retained. However, since the differences in pictures may be subtle, the user experience is poor.

[0025] Exemplarily, when a user triggers the electronic device to display a similar picture sorting interface through input, and multiple groups of similar pictures are displayed in the interface at the same time, the user can input one of the similar pictures to trigger the electronic device to delete the similar picture (for example, the first similar picture). After the user zooms in on the first similar picture, the user can view the details of the first similar picture. If the user needs to view other similar pictures in the same group, the electronic device can be triggered to exit the interface for zooming in on the current similar picture and display multiple groups of similar pictures, so that the user can input any other similar picture (for example, the second similar picture) to view the picture details of the second similar picture. If the user forgets the picture details of the first similar picture, the user can follow the previous operation, that is, exit the interface for zooming in on similar pictures, return to the interface for displaying multiple groups of similar pictures, and trigger the electronic device to zoom in on the first similar picture again. In this way, the user's operation is cumbersome and time-consuming, and the electronic device is less efficient in processing similar pictures.

[0026] An embodiment of the present application provides a method for processing an image. The method is based on an electronic device with a foldable screen. A user can fold the electronic device to trigger multiple display areas of the electronic device to display different similar images in the same group of similar images, so that the user can view the details of multiple similar images in the same interface to reduce the process and number of user switching. At the same time, the electronic device can subdivide similar images (for example: divide them into multiple grids of similar images) to display the specific content of any grid of similar images, showing the user more detailed image features, helping the user to better select images that need to be retained or deleted, and when the user operates any similar image, the electronic device can execute the same operation instructions on other similar images in the same group based on the user's operation on one similar image to reduce the user's operation. Therefore, the technical problem of cumbersome and low efficiency operation on similar images is solved.

[0027] The present application provides an image processing method, which is applied to an electronic device with a foldable screen. Figure 1 FIG. 1 shows a flowchart of a picture processing provided by an embodiment of the present application. Figure 1 As shown, the image processing method provided in the embodiment of the present application may include the following steps 201 to 204.

[0028] Step 201: The electronic device receives a first input from a user.

[0029] In an embodiment of the present application, a user can make a first input to an electronic device with a foldable screen, thereby triggering the electronic device to enter an image processing mode, display an interface in the image processing mode, and display multiple display areas in the interface, so that the electronic device can display multiple similar images of the same group in the multiple display areas.

[0030] Optionally, in an embodiment of the present application, the first input is used to fold a foldable screen of the electronic device.

[0031] Optionally, in an embodiment of the present application, the above-mentioned first input can be the user's left-right folding input of the foldable screen (i.e., folding the foldable screen with the vertical center axis of the screen of the electronic device as the dividing line), so as to trigger the electronic device to enter the image processing mode; or, the above-mentioned first input can be the user's up-and-down folding input of the foldable screen (i.e., folding the foldable screen with the horizontal center axis of the screen of the electronic device as the dividing line), so as to trigger the electronic device to enter the image processing mode; or, the above-mentioned first input can be the user's voice input to the electronic device, so as to trigger the electronic device to fold the foldable screen; the specific input can be determined according to actual usage requirements, and the embodiment of the present application is not limited.

[0032] For example, Figure 2 As shown, taking the electronic device as a mobile phone as an example, the user can make a first input on the screen of the mobile phone, such as folding it left and right or up and down, to trigger the electronic device to enter the image processing mode.

[0033] Optionally, in an embodiment of the present application, the user can add a similar image processing function in a setting application or a cleaning application before making a first input to the electronic device, so that the user can set options corresponding to the similar image processing function in the image processing function setting interface, such as: the triggering conditions for triggering the electronic device to enter the image processing mode (such as the first input, etc.), the maximum number of images displayed in each display area after the electronic device enters the image processing mode, etc. If the user does not set the maximum number of images displayed in each display area, the electronic device can display the images in each display area with the default value.

[0034] For example, Figure 3 As shown, the mobile phone displays a picture processing mode interface, and displays multiple control icons in the interface (for example: a picture processing mode start control and a picture number control in the display area). The user can input any of the controls to trigger the mobile phone to perform a corresponding operation.

[0035] Step 202: The electronic device displays N pictures in at least two screen display areas in response to a first input.

[0036] In the embodiment of the present application, at least two screen display areas are screen display areas obtained after folding the foldable screen, and N pictures are similar pictures to be cleaned up, where N is an integer greater than 1;

[0037] In an embodiment of the present application, after receiving the first input from the user, the electronic device displays multiple screen display areas on the screen, and displays N pictures to be cleaned up in the multiple display areas.

[0038] Optionally, in the embodiment of the present application, the electronic device can display at least two screen display areas on the screen based on the folding line according to the user's first input, and display N pictures in the at least two display areas; or the user can display N pictures according to the preset screen display areas.

[0039] It should be noted that similar pictures refer to: if the feature information or attribute information between at least two pictures is greater than a preset value, then the at least two pictures are similar pictures.

[0040] Optionally, in an embodiment of the present application, the electronic device may display N pictures in multiple screen display areas of the screen in the order of shooting time of similar pictures that need to be cleaned up; or, the electronic device may display N pictures in multiple screen display areas of the screen in the reverse order of shooting time of similar pictures that need to be cleaned up; or, the electronic device may display N pictures in multiple screen display areas of the screen in the order of pre-set picture attribute information.

[0041] Exemplarily, the order of the preset picture attribute information may be: person—landscape—building—food—animal, etc.

[0042] For example, in combination Figure 2 ,like Figure 4 As shown in (a) of FIG. 1 , when the user sets the number of pictures displayed in each display area to 2, the mobile phone divides the screen into two left and right screen display areas after receiving the user's first left and right inputs, and displays two pictures (i.e., the first picture, the second picture, the third picture, and the fourth picture) in each of the left and right screen display areas; combined with Figure 2 ,like Figure 4 As shown in (b), when the user sets the number of pictures displayed in each display area to 2, the mobile phone divides the screen into two upper and lower screen display areas after receiving the user's first upper and lower inputs, and displays two pictures (i.e., the first picture, the second picture, the third picture, and the fourth picture) in each of the upper and lower screen display areas.

[0043] Optionally, in the embodiment of the present application, “displaying N pictures in at least two screen display areas” in the above step 202 can be specifically implemented by the following step 202a.

[0044] Step 202a: The electronic device displays N pictures in at least two screen display areas according to the number of the N pictures and the maximum number of pictures allowed to be displayed in each screen display area.

[0045] In an embodiment of the present application, the electronic device can display N pictures in at least two screen display areas according to the number of similar pictures to be cleaned up and the maximum number of pictures allowed to be displayed in each of the at least two screen display areas.

[0046] Optionally, in the embodiment of the present application, the “displaying N pictures in at least two screen display areas” in the above step 202 can be specifically implemented by the following step 202a1 or step 202a2.

[0047] Step 202a1. When the number of N pictures is equal to the maximum total number of pictures allowed to be displayed in all screen display areas, the electronic device displays at least one picture in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area to display N pictures.

[0048] Optionally, in an embodiment of the present application, if the number of similar pictures in the same group of similar pictures currently displayed by the electronic device is equal to the maximum total number of pictures allowed to be displayed in all display areas, the electronic device can display pictures in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area to display N pictures.

[0049] Step 202a2: When the number of N pictures is greater than the maximum total number of pictures allowed to be displayed in all screen display areas, the electronic device displays at least one picture in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area, so as to display M pictures and hide the remaining pictures.

[0050] In the embodiment of the present application, the remaining pictures are pictures other than M pictures among the N pictures, where M is a positive integer less than N.

[0051] Optionally, in an embodiment of the present application, if the number of similar pictures in the same group of similar pictures currently displayed by the electronic device is greater than the maximum total number of pictures allowed to be displayed in all display areas, the electronic device may display pictures in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area, so as to display M pictures out of N pictures, and hide pictures other than M out of the N pictures, and when the user needs to display the remaining pictures, switch to display the remaining pictures; or, after the user deletes at least one picture out of the M pictures currently displayed, switch to display the remaining pictures.

[0052] In an embodiment of the present application, the electronic device can display pictures in each display area according to certain rules based on the number of pictures displayed in the display area set by the user and the number of pictures that currently need to be cleaned up. Therefore, the user can view these pictures more conveniently, and it is also convenient for the user to perform subsequent operations on these pictures. In this way, the efficiency of the electronic device in processing pictures is improved.

[0053] Optionally, in the embodiment of the present application, after the above step 202a2, the image processing method provided in the embodiment of the present application further includes the following steps 202a3 and 202a4.

[0054] Step 202a3: The electronic device receives a third input from the user.

[0055] In the embodiment of the present application, the third input is the user's input to the target screen display area among the at least two screen display areas.

[0056] Optionally, in an embodiment of the present application, the third input may be a click input (single-click input, double-click input, or a preset number of click inputs) of the target screen display area by the user, a long press input, or a drag input to trigger the electronic device to obtain the target screen display area for user demand processing.

[0057] Step 202a4: In response to the third input, the electronic device updates the picture displayed in the target screen display area to the remaining picture.

[0058] In the embodiment of the present application, after receiving the third input from the user to the target screen display area, the electronic device can update the picture displayed in the target screen display area.

[0059] Optionally, in an embodiment of the present application, the electronic device may update the pictures displayed in part of the target screen display area; or, the electronic device may update the pictures displayed in the entire screen display area; or, the electronic device may update any one picture in the target screen display area.

[0060] Optionally, in an embodiment of the present application, when the number of remaining pictures is less than the maximum total number of pictures allowed to be displayed in all screen display areas, the electronic device may update part of the pictures displayed in the target screen display area to the remaining pictures in response to a third input; when the number of remaining pictures is greater than or equal to the maximum total number of pictures allowed to be displayed in all screen display areas, the electronic device may update all the pictures displayed in the target screen display area to the remaining pictures in response to the third input; when the electronic device receives a third input from the user for a designated picture, the electronic device may update the designated picture of the target screen display area in response to the third input.

[0061] In an embodiment of the present application, when there is no picture required by the user among the pictures displayed in the screen display area, the user can input into any one of the multiple screen display areas to trigger the electronic device to update the picture in the target display area. In this way, the user does not need to repeatedly switch interfaces to view all similar pictures.

[0062] Optionally, in the embodiment of the present application, the “displaying N pictures in at least two screen display areas” in the above step 202 can be specifically implemented through the following step 202a5.

[0063] Step 202a5: When the number of N pictures is less than the maximum total number of pictures allowed to be displayed in all screen display areas and is greater than the maximum number of pictures allowed to be displayed in each screen display area, the electronic device displays K pictures of a first number in the first K screen display areas of at least two screen display areas, and displays the remaining pictures in the remaining screen display areas to display N pictures.

[0064] Among them, each first number is the maximum number of pictures allowed to be displayed in one of the first K screen display areas; the remaining screen display areas are screen display areas of at least two screen display areas except the first K screen display areas; the remaining pictures are pictures except the K first number of pictures among the N pictures, and K is an integer greater than 1.

[0065] In the embodiment of the present application, the first K screen display areas correspond one-to-one to the K first quantities.

[0066] Optionally, in an embodiment of the present application, if the number of similar pictures in the same group of similar pictures currently displayed by the electronic device is less than the maximum total number of pictures allowed to be displayed in all display areas, but greater than the maximum number of pictures allowed to be displayed in each display area, the electronic device can display N pictures by displaying a first number of K pictures in the first K screen display areas and displaying the remaining pictures in the remaining display areas.

[0067] Exemplarily, if the electronic device has two display areas, the maximum number of pictures allowed to be displayed in each display area is 4, and the total number of similar pictures in the same group currently displayed by the electronic device is 6, then the electronic device displays 4 pictures in the first screen display area and 2 pictures in the second display area; if the electronic device has four display areas, the maximum number of pictures allowed to be displayed in each display area is 4, and the total number of similar pictures in the same group currently displayed by the electronic device is 13, then the electronic device displays 4 pictures in each of the first three screen display areas and displays one picture in the remaining display area.

[0068] Optionally, in the embodiment of the present application, the above step 202a can be specifically implemented through the following step 202a6.

[0069] Step 202a6: When the number of N pictures is equal to the number of at least two screen display areas, the electronic device displays one picture in each screen display area to display N pictures.

[0070] Optionally, in an embodiment of the present application, if the number of similar pictures in the same group of similar pictures currently displayed by the electronic device is equal to the total number of all display areas, the electronic device can display one picture in each screen display area to display N pictures.

[0071] Step 203: The electronic device receives a second input from the user regarding a target picture among the N pictures.

[0072] In an embodiment of the present application, a user may input any one of N pictures (eg, a target picture) to trigger the electronic device to process the N pictures.

[0073] Optionally, in an embodiment of the present application, the second input includes two sub-inputs, namely a first sub-input and a second sub-input, the first sub-input is the user's selection input for a target image, and the second sub-input is the user's first input to the screen, and after receiving the user's selection input for the target image and the first input to the screen, the electronic device splits each of the N images into L grid images.

[0074] Optionally, in an embodiment of the present application, the first sub-input is a click input (such as a single-click input, a double-click input, or any number of click inputs) of the target image by the user, a long press input, or a sliding input, etc., to trigger the electronic device to obtain the image selected by the user; the second sub-input is a first left-right input or a first up-down input of the user to the screen, to trigger the electronic device to process N images.

[0075] Step 204: The electronic device processes N pictures in response to the second input.

[0076] In the embodiment of the present application, after receiving the second input from the user, the electronic device can perform the same operation on N pictures according to the user's operation on the target picture.

[0077] Optionally, in the embodiment of the present application, the above-mentioned processing of N pictures can be understood as performing processing such as enlarging, reducing, rotating, flipping, deleting, retaining, etc. on the N pictures.

[0078] The embodiment of the present application provides a method for processing an image. The electronic device can display N images in at least two screen display areas according to a first input from a user, wherein the at least two screen display areas are screen display areas obtained after folding a foldable screen, and the N images are similar images to be cleaned up, where N is an integer greater than 1; receive a second input from a user for a target image among the N images; and process the N images in response to the second input. Since the electronic device can display multiple similar images in the same group in multiple display areas obtained after folding the screen after the user performs a first input on the foldable screen, the user can view the details of multiple similar images in the same interface, thereby reducing the process and number of user switching; and the user can process (for example, zoom in) any one of the multiple similar images to trigger the electronic device to perform the same processing on other similar images in the same group based on the user's processing of the any one similar image, thereby reducing the user's operations, thus saving the time spent on user operations and improving the efficiency of the electronic device in processing similar images.

[0079] Optionally, in the embodiment of the present application, the “processing N pictures” in the above step 204 can be specifically implemented through the following steps 204a to 204c.

[0080] Step 204a: The electronic device divides each of the N pictures into L grid images.

[0081] In the embodiment of the present application, L is an integer greater than 1.

[0082] In an embodiment of the present application, after receiving the user's second input for the target image, the electronic device can split each of the N images into L grid images, so that the user can input any one of the L grid images of the target image to trigger the electronic device to perform the same operation on the image in the grid corresponding to the N images.

[0083] Optionally, in an embodiment of the present application, after the electronic device splits each of N pictures into L grids, it can set numbers for each grid of the L grids in a preset order. For example: after splitting each picture into 4 grids, it can set numbers for each grid in the order of upper left, upper right, lower left, and lower right, namely the first grid, the second grid, the third grid, and the fourth grid.

[0084] For example, in combination Figure 4 (a) in Figure 5 As shown in (a) in the figure, the mobile phone can split each of the N pictures into 4 grid images, and divide the first picture, the second picture, the third picture, and the fourth picture in the left and right screen display areas into 4 grids; combined with Figure 4 (b) in Figure 5As shown in (b), the mobile phone can split each of the N pictures into 4 grid images, and divide the first picture, the second picture, the third picture, and the fourth picture in the upper and lower screen display areas into 4 grids.

[0085] Step 204b: The electronic device receives a fourth input from the user regarding a first grid image of a first picture among the N pictures.

[0086] In an embodiment of the present application, after the electronic device splits each of N pictures into L grids, it can input the first grid image of the first picture to trigger the electronic device to process the first grid image and the grid images corresponding to the first grid image in the N pictures other than the first picture.

[0087] Optionally, in an embodiment of the present application, the fourth input can be a user's click input (such as single-click input, double-click input, or any number of click inputs), long press input, or sliding input, etc., on the first grid image, to trigger the electronic device to input the first grid image of the first picture, and at the same time process the grid images in other pictures corresponding to the first grid image.

[0088] Step 204c: the electronic device processes the first grid image and N-1 second grid images in response to the fourth input.

[0089] In the embodiment of the present application, each second grid image is a grid image corresponding to the first grid image in one of the N-1 pictures.

[0090] It should be noted that the N-1 pictures are the pictures in the N pictures except the first picture, and each second grid image is a grid image in one of the N-1 pictures corresponding to the first grid image, which can be understood as: the grid image of the second grid in the N-1 pictures, or the grid image in the N-1 pictures with the greatest similarity to the first grid image.

[0091] In the embodiment of the present application, after receiving the user's input on the first grid image, the electronic device processes the grid images corresponding to the N pictures.

[0092] Optionally, in an embodiment of the present application, after the electronic device updates the picture displayed in the target screen display area to the remaining picture, the remaining picture is a picture split into L grids.

[0093] Exemplarily, if the user performs a zoom-in input on the first grid image, the electronic device responds to the zoom-in input and simultaneously zooms in N-1 second grid images.

[0094] Optionally, in the embodiment of the present application, the “processing the first grid image and N-1 second grid images” in the above step 204c can be specifically implemented by the following step 204c1.

[0095] Step 204c1: the electronic device switches the first picture to a first grid image for display, and switches N-1 pictures to N-1 second grid images for display.

[0096] In the embodiment of the present application, N-1 pictures are pictures other than the first picture in the N pictures.

[0097] Each second grid image is a grid image in one of the N-1 images corresponding to the position of the first grid image; or each second grid image is a grid image in one of the N-1 images with the greatest similarity to the first grid image.

[0098] In an embodiment of the present application, after receiving the fourth input of the user to the first grid image, the electronic device can switch the first picture to the first grid image for display, and switch all pictures among N pictures except the first picture to the grid image corresponding to each picture for display, that is, the second grid image.

[0099] Optionally, in an embodiment of the present application, after receiving user input on the first grid image, the electronic device switches the first picture to the first grid image for display, and switches N-1 pictures to N-1 second grid images for display.

[0100] For example, in combination Figure 5 (a) in Figure 6 As shown in (a) of FIG. 1 , the user can make a fourth input to the first grid image of the first picture displayed on the left and right screens to trigger the mobile phone to switch the first picture to the first grid image for display, and also switch the second picture, the third picture and the fourth picture to the second grid image corresponding to the first grid image for display. Figure 5 (b) in Figure 6 As shown in (b), the user can make a fourth input on the first grid image of the first picture displayed in the upper and lower screens to trigger the mobile phone to switch the first picture to the first grid image for display, and also switch the second picture, the third picture and the fourth picture to the second grid image corresponding to the first grid image for display.

[0101] In an embodiment of the present application, a user can input any grid image of any picture to trigger the electronic device to switch the picture to the any grid image for display, and also switch the remaining pictures to the grid images corresponding to the any grid image for display. In this way, the user can view the detailed content of all pictures through simple operations without the user repeatedly switching interfaces, and distinguish all images by memorizing the detailed content of the pictures. This improves the user experience and also improves the efficiency of electronic devices in processing pictures.

[0102] The picture processing method provided in the embodiment of the present application can be executed by a picture processing device. In the embodiment of the present application, the picture processing device provided in the embodiment of the present application is described by taking the picture processing device executing the picture processing method as an example.

[0103] Figure 7 FIG. 1 is a schematic diagram showing a possible structure of an image processing device involved in an embodiment of the present application. Figure 7 As shown, the image processing device 70 may include: a receiving module 71 , a display module 72 and a processing module 73 .

[0104] The receiving module 71 is used to receive a first input from a user to the electronic device. The display module 72 is used to display N pictures in at least two screen display areas in response to the first input received by the receiving module 71, wherein the at least two screen display areas are screen display areas obtained after folding the foldable screen, and the N pictures are similar pictures to be cleaned up, and N is an integer greater than 1. The receiving module 71 is also used to receive a second input from a user to a target picture among the N pictures. The processing module 73 is used to process the N pictures in response to the second input received by the receiving module 71.

[0105] An embodiment of the present application provides an image processing device. Since the electronic device can display multiple similar images in the same group in multiple display areas obtained after folding the screen after the user makes a first input to the electronic device, the user can view the details of multiple similar images in the same interface, thereby reducing the process and number of user switching; and the user can process (for example, enlarge) any similar image among the multiple similar images to trigger the electronic device to perform the same processing on other similar images in the same group based on the user's processing of the any similar image, thereby reducing the user's operations, therefore saving the user's time in operating similar images and improving the efficiency of the electronic device in processing similar images.

[0106] In a possible implementation, the display module 72 is specifically configured to display N pictures in at least two screen display areas according to the number of the N pictures and the maximum number of pictures allowed to be displayed in each screen display area.

[0107] In one possible implementation, the display module 72 is specifically used to display at least one picture in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area, so as to display N pictures when the number of N pictures is equal to the maximum total number of pictures allowed to be displayed in all screen display areas; or, to display at least one picture in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area, so as to display M pictures when the number of N pictures is greater than the maximum total number of pictures allowed to be displayed in all screen display areas, and to hide the remaining pictures, where the remaining pictures are pictures other than M pictures among the N pictures, and M is a positive integer less than N.

[0108] In a possible implementation, the image processing device 70 further includes an updating module. The receiving module 71 is further configured to receive a third input from a user after the display module 72 hides the remaining images, the third input being an input from the user to a target screen display area among the at least two screen display areas. The updating module is configured to update the image displayed in the target screen display area to the remaining image in response to the third input received by the receiving module 71.

[0109] In a possible implementation, the display module 72 is specifically configured to display K first-number pictures in the first K screen display areas of at least two screen display areas, and display the remaining pictures in the remaining screen display areas, so as to display N pictures, when the number of N pictures is less than the maximum total number of pictures allowed to be displayed in all screen display areas and greater than the maximum number of pictures allowed to be displayed in each screen display area. Each first number is the maximum number of pictures allowed to be displayed in one screen display area of ​​the first K screen display areas; the remaining screen display areas are screen display areas other than the first K screen display areas of at least two screen display areas; the remaining pictures are pictures other than the first K pictures in the N pictures, and K is an integer greater than 1.

[0110] In a possible implementation, the display module 72 is specifically configured to display one picture in each screen display area when the number of the N pictures is equal to the number of at least two screen display areas, so as to display the N pictures.

[0111] In one possible implementation, the processing module 73 is specifically used to split each of N pictures into L grid images, where L is an integer greater than 1; receive a fourth input from a user for a first grid image of a first picture among the N pictures; and in response to the fourth input, process the first grid image and N-1 second grid images, each second grid image being a grid image corresponding to the first grid image in one of the N-1 pictures.

[0112] In one possible implementation, the processing module 73 is specifically used to switch the first picture to a first grid image for display, and switch N-1 pictures to N-1 second grid images for display, where the N-1 pictures are pictures other than the first picture in the N pictures; wherein each second grid image is a grid image in one of the N-1 pictures corresponding to the position of the first grid image; or, each second grid image is a grid image in one of the N-1 pictures that has the greatest similarity with the first grid image.

[0113] The image processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0114] The image processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0115] The image processing device provided in the embodiment of the present application can achieve Figures 1 to 6 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0116] Alternatively, if Figure 8As shown, an embodiment of the present application further provides an electronic device 800, including a processor 801 and a memory 802, wherein the memory 802 stores programs or instructions that can be executed on the processor 801, and when the program or instructions are executed by the processor 801, the various steps of the above-mentioned image processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0117] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0118] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0119] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0120] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0121] The user input unit 107 is used to receive a first input from a user to the electronic device. The display unit 106 is used to display N pictures in at least two screen display areas in response to the first input, wherein the at least two screen display areas are screen display areas obtained after folding the foldable screen, and the N pictures are similar pictures to be cleaned up, where N is an integer greater than 1. The user input unit 107 is also used to receive a second input from a user to a target picture among the N pictures. The processing module 73 is used to process the N pictures in response to the second input.

[0122] An embodiment of the present application provides an electronic device. After the user makes a first input to the electronic device, the electronic device can display multiple similar pictures in the same group in multiple display areas obtained after folding the screen, so that the user can view the details of the multiple similar pictures in the same interface, thereby reducing the process and number of user switching; and the user can process (for example, enlarge) any similar picture among the multiple similar pictures to trigger the electronic device to perform the same processing on other similar pictures in the same group based on the user's processing of the any similar picture, thereby reducing the user's operations, therefore saving the user's time in operating similar pictures and improving the efficiency of the electronic device in processing similar pictures.

[0123] Optionally, in the embodiment of the present application, the display unit 106 is specifically configured to display N pictures in at least two screen display areas according to the number of the N pictures and the maximum number of pictures allowed to be displayed in each screen display area.

[0124] Optionally, in an embodiment of the present application, the display unit 106 is specifically used to display at least one picture in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area, so as to display N pictures when the number of N pictures is equal to the maximum total number of pictures allowed to be displayed in all screen display areas; or, when the number of N pictures is greater than the maximum total number of pictures allowed to be displayed in all screen display areas, at least one picture is displayed in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area, so as to display M pictures, and hide the remaining pictures, where the remaining pictures are pictures other than M pictures among the N pictures, and M is a positive integer less than N.

[0125] Optionally, in the embodiment of the present application, the above-mentioned image processing device 70 further includes: a processor 110. The user input unit 107 is further configured to receive a third input from a user after the display unit 106 hides the remaining images, where the third input is an input from the user to a target screen display area among the at least two screen display areas. The processor 110 is configured to update the image displayed in the target screen display area to the remaining image in response to the third input received by the user input unit 107.

[0126] Optionally, in the embodiment of the present application, the display unit 106 is specifically used to display K first-number pictures in the first K screen display areas of at least two screen display areas, and display the remaining pictures in the remaining screen display areas, so as to display N pictures, when the number of N pictures is less than the maximum total number of pictures allowed to be displayed in all screen display areas, and greater than the maximum number of pictures allowed to be displayed in each screen display area. Each first number is the maximum number of pictures allowed to be displayed in one screen display area of ​​the first K screen display areas; the remaining screen display areas are screen display areas other than the first K screen display areas of at least two screen display areas; the remaining pictures are pictures other than the first K pictures in the N pictures, and K is an integer greater than 1.

[0127] Optionally, in the embodiment of the present application, the display unit 106 is specifically configured to display one picture in each screen display area when the number of N pictures is equal to the number of at least two screen display areas, so as to display N pictures.

[0128] Optionally, in an embodiment of the present application, the processor 110 is specifically used to split each of the N pictures into L grid images, where L is an integer greater than 1; receive a fourth input from a user for a first grid image of a first picture among the N pictures; and in response to the fourth input, process the first grid image and N-1 second grid images, each second grid image being a grid image corresponding to the first grid image in one of the N-1 pictures.

[0129] Optionally, in an embodiment of the present application, the processor 110 is specifically used to switch the first picture to a first grid image for display, and switch N-1 pictures to N-1 second grid images for display, where the N-1 pictures are pictures other than the first picture in the N pictures; wherein each second grid image is a grid image in one of the N-1 pictures corresponding to the position of the first grid image; or, each second grid image is a grid image in one of the N-1 pictures that has the greatest similarity with the first grid image.

[0130] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0131] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0132] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0133] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned image processing device method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0134] 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 computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0135] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned image processing device method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0136] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0137] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned image processing device method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0138] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0139] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0140] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for image processing, applied to an electronic device with a foldable screen, characterized in that: The method comprises: Receiving a first input from a user to the electronic device; In response to the first input, N pictures are displayed in at least two screen display areas, where the at least two screen display areas are screen display areas obtained after the foldable screen is folded, the N pictures are similar pictures to be cleaned up, and N is an integer greater than 1; Receiving a second input from a user regarding a target picture among the N pictures; In response to the second input, processing the N pictures; The processing of the N pictures includes: Splitting each of the N pictures into L grid images, where L is an integer greater than 1; receiving a fourth input from a user regarding a first grid image of a first picture among the N pictures; In response to the fourth input, processing the first grid image and N-1 second grid images; Among them, each second grid image is a grid image in one of the N-1 pictures corresponding to the position of the first grid image; or, each second grid image is a grid image in one of the N-1 pictures with the greatest similarity to the first grid image.

2. The method according to claim 1, characterized in that The displaying of N pictures in at least two screen display areas includes: When the number of the N pictures is equal to the maximum total number of pictures allowed to be displayed in all screen display areas, display at least one picture in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area; When the number of the N pictures is greater than the maximum total number of pictures allowed to be displayed in all screen display areas, at least one picture is displayed in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area, so as to display M pictures, and hide the remaining pictures, wherein the remaining pictures are pictures among the N pictures except the M pictures, and M is a positive integer less than N.

3. The method according to claim 1, characterized in that The displaying of N pictures in at least two screen display areas includes: When the number of the N pictures is less than the maximum total number of pictures allowed to be displayed in all screen display areas and greater than the maximum number of pictures allowed to be displayed in each screen display area, display K pictures of the first number in the first K screen display areas of the at least two screen display areas, and display the remaining pictures in the remaining screen display areas; Among them, each first number is the maximum number of pictures allowed to be displayed in one of the first K screen display areas; the remaining screen display areas are the screen display areas of the at least two screen display areas except the first K screen display areas; the remaining pictures are the pictures of the N pictures except the K first numbers of pictures, and K is an integer greater than 1.

4. The method according to claim 1, characterized in that: The displaying of N pictures in at least two screen display areas includes: When the number of the N pictures is equal to the number of the at least two screen display areas, one picture is displayed in each screen display area.

5. The method according to claim 1, characterized in that The processing of the first grid image and N-1 second grid images includes: The first picture is switched to the first grid image for display, and the N-1 pictures are switched to the N-1 second grid images for display, where the N-1 pictures are pictures other than the first picture in the N pictures.

6. A picture processing device, characterized in that: The device comprises: a receiving module, a display module and a processing module; The receiving module is used to receive a first input from a user to the electronic device; The display module is configured to display N pictures in at least two screen display areas in response to the first input received by the receiving module, wherein the at least two screen display areas are screen display areas obtained after the foldable screen is folded, and the N pictures are similar pictures to be cleaned up, where N is an integer greater than 1; The receiving module is further used to receive a second input from a user regarding a target picture among the N pictures; The processing module is configured to process the N pictures in response to the second input received by the receiving module; The processing module is specifically configured to split each of the N pictures into L grid images, where L is an integer greater than 1; receive a fourth input from a user regarding a first grid image of a first picture of the N pictures; and in response to the fourth input, process the first grid image and N-1 second grid images; Among them, each second grid image is a grid image in one of the N-1 pictures corresponding to the position of the first grid image; or, each second grid image is a grid image in one of the N-1 pictures with the greatest similarity to the first grid image.

7. The device according to claim 6, characterized in that The display module is specifically configured to display at least one picture in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area, so as to display the N pictures when the number of the N pictures is equal to the maximum total number of pictures allowed to be displayed in all screen display areas; Alternatively, when the number of the N pictures is greater than the maximum total number of pictures allowed to be displayed in all screen display areas, at least one picture is displayed in each screen display area according to the maximum number of pictures allowed to be displayed in each screen display area, so as to display M pictures, and hide the remaining pictures, wherein the remaining pictures are pictures among the N pictures except the M pictures, and M is a positive integer less than N.

8. The device according to claim 6, characterized in that The display module is specifically configured to display K first number of pictures in the first K screen display areas of the at least two screen display areas, and display the remaining pictures in the remaining screen display areas, so as to display the N pictures, when the number of the N pictures is less than the maximum total number of pictures allowed to be displayed in all screen display areas and is greater than the maximum number of pictures allowed to be displayed in each screen display area; Among them, each first number is the maximum number of pictures allowed to be displayed in one of the first K screen display areas; the remaining screen display areas are the screen display areas of the at least two screen display areas except the first K screen display areas; the remaining pictures are the pictures of the N pictures except the K first numbers of pictures, and K is an integer greater than 1.

9. The device according to claim 6, characterized in that The display module is specifically used to display one picture in each screen display area respectively, so as to display the N pictures when the number of the N pictures is equal to the number of the at least two screen display areas.

10. The device according to claim 6, characterized in that The processing module is specifically used to switch the first picture to the first grid image for display, and switch the N-1 pictures to the N-1 second grid images for display, where the N-1 pictures are pictures among the N pictures except the first picture.

Citation Information

Patent Citations

  • Processing method for split screen display and mobile terminal

    CN106293772A

  • Photograph deletion method, mobile terminal and computer-readable storage medium

    CN108319412A

  • Multi-image display method and device, equipment and storage medium

    CN114168052A