Image processing method and device

By automatically finding and outputting openable images with the same target characteristics in social applications when the image cannot be opened, the problem of expired and unopenable images is solved, and the reliability and efficiency of image output is improved.

CN119396321AActive Publication Date: 2025-02-07LENOVO (BEIJING) LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411194590.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2025-02-07
Estimated Expiration
2044-08-28

AI Technical Summary

Technical Problem

In social applications, if the received image is not loaded into memory in time or cached for a certain period of time, it cannot be opened, resulting in the inability to meet the user's display needs.

Method used

By obtaining a first operation to open the first image, if the first image cannot be opened, a second image with the same target characteristics as the first image is obtained, and a second image is output to meet the user's display needs. The method includes using the display image to fill content, selecting an image associated with the display image, or generating a second image through an image generation model.

Benefits of technology

It realizes that when the image cannot be opened, openable images with the same target characteristics are automatically found and output, thereby improving the reliability and efficiency of image output and meeting user display needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396321A_ABST
    Figure CN119396321A_ABST
Patent Text Reader

Abstract

The invention discloses an image processing method and device. The method comprises the following steps: obtaining a first operation; the first operation is used for opening a first image; in response to the first operation, if the first image meets a first condition, obtaining a second image; the first condition represents that the switch cannot be opened; outputting the second image; the second image meets a second condition, the second condition represents that the second image can be opened, the second image and the first image have the same target feature, and the target feature meets the display requirement of a user for triggering the first operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to an image processing method and device. Background Art

[0002] In a social application, after receiving an image sent by a social friend, if the original image is not loaded into the memory in time or the original image is cached in the memory for more than a certain period of time, the image in the social application will expire and cannot be opened. Summary of the invention

[0003] In view of this, the present application provides an image processing method and device as follows:

[0004] An image processing method, comprising:

[0005] Obtaining a first operation; the first operation is used to open a first image;

[0006] In response to the first operation, if the first image satisfies a first condition, obtaining a second image; the first condition indicates that the first image cannot be opened;

[0007] Output the second image; the second image satisfies a second condition, the second condition indicates that it can be opened, and the second image has the same target feature as the first image, and the target feature meets the display requirement of the user triggering the first operation.

[0008] The above method, preferably, obtaining the second image includes:

[0009] Obtaining a display image corresponding to the first image; the display image is an image of the first image compressed according to a target compression rate, the display image is displayed on an operation interface before the first image is opened, and the first image is opened by triggering the display image;

[0010] A second image is obtained according to the displayed image.

[0011] Preferably, the method above, obtaining the second image according to the displayed image, comprises:

[0012] The displayed image is filled with content using an image generation model to generate a second image.

[0013] Preferably, the method above, obtaining the second image according to the displayed image, comprises:

[0014] Obtaining at least one associated image having an associated relationship with the display image; the associated relationship is related to the target feature;

[0015] Among the associated images, a second image is selected.

[0016] In the above method, preferably, the step of obtaining at least one associated image associated with the displayed image comprises:

[0017] Determine an image having the same or similar target feature as the displayed image as the associated image;

[0018] Among them, the target feature includes a first feature, a second feature and / or a third feature; the first feature reflects the text content contained in the image, the second feature reflects the color distribution in the image, and the third feature reflects the target category contained in the image.

[0019] In the above method, preferably, selecting the second image from the associated images comprises:

[0020] Obtaining at least one image parameter of the associated image;

[0021] Among the associated images, selecting an associated image whose image parameters meet a preferred condition as the second image;

[0022] The preferred condition is related to image quality.

[0023] In the above method, preferably, the images having the association relationship are provided with the same image identifier, and the image identifier is used to determine whether the images have the association relationship;

[0024] The method further comprises:

[0025] When an image is received, screening whether there is a candidate image in the target atlas that satisfies the association relationship with the received image;

[0026] If there is a candidate image in the target atlas that satisfies the association relationship with the received image, setting an image identifier that is the same as the image identifier of the candidate image for the received image;

[0027] If the target atlas does not contain a candidate image that satisfies the association relationship with the received image, setting a new image identifier for the received image;

[0028] The received image and the set image identifier are added to the target atlas.

[0029] In the above method, preferably, the first image satisfies a first condition, including:

[0030] The first image is not found in the current cache area.

[0031] The above method, preferably, further comprises:

[0032] If the second image is not obtained, a prompt message is output, wherein the prompt message indicates that the first image cannot be opened.

[0033] An image processing device, comprising:

[0034] An operation obtaining unit, used for obtaining a first operation; the first operation is used for opening a first image;

[0035] An image acquisition unit, configured to acquire a second image in response to the first operation if the first image satisfies a first condition; the first condition indicates that the first image cannot be opened;

[0036] An image output unit is used to output the second image; the second image satisfies a second condition, the second condition indicates that it can be opened, and the second image has the same target feature as the first image, and the target feature meets the display requirements of the user to trigger the first operation.

[0037] It can be seen from the above technical solution that in an image processing method and device disclosed in the present application, after obtaining a first operation for opening a first image, if the first image cannot be opened, then a second image that has the same target image as the first image and can be opened is obtained, so that after the second image is output, the display requirements of the user for triggering the first operation are met through the target features of the second image. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 A flowchart of an image processing method provided in an embodiment of the present application;

[0040] Figure 2 This is an example diagram of opening an image in a social application in an embodiment of the present application;

[0041] Figure 3 A partial flow chart of an image processing method provided in an embodiment of the present application;

[0042] Figure 4 A schematic diagram of the structure of an image processing device provided in an embodiment of the present application;

[0043] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0044] Figure 6This application is applicable to the processing flow chart when receiving pictures in social applications;

[0045] Figure 7 This application is applicable to the processing flow chart when a picture needs to be opened in a social application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0047] refer to Figure 1 As shown, it is a flowchart of an implementation of an image processing method provided in an embodiment of the present application, and the method can be applied to electronic devices capable of image processing, such as mobile phones, tablet computers, computers or servers, etc. The technical solution in this embodiment is mainly used to improve the reliability of image output.

[0048] Specifically, the method in this embodiment may include the following steps:

[0049] Step 101: Obtain a first operation.

[0050] The first operation is used to open the first image.

[0051] For example, taking a mobile phone as an example, Figure 2 As shown in , in a social application on a mobile phone, a social friend sent a screenshot of an account detail to the user three months ago. A thumbnail of the screenshot is displayed on the interactive interface of the social application. The user clicks on the thumbnail to obtain a first operation. The first operation is to open the original image corresponding to the thumbnail to be opened, that is, the first image (the original image here includes a low-resolution large image or a high-resolution large image that has been further loaded or super-resolved). However, due to the long time, the original image that was loaded into the cache three months ago may be cleared.

[0052] Step 102: In response to the first operation, determine whether the first image satisfies a first condition. If the first image satisfies the first condition, execute step 103 ; if the first image does not satisfy the first condition, execute step 104 .

[0053] The first condition indicates that the image cannot be opened. That is, the first image cannot be opened. For example, Figure 2 As shown in the figure, the original image loaded by the thumbnail in the interactive interface has been cleared because of a long time, resulting in the original image cannot be opened.

[0054] Specifically, the first image satisfies the first condition, which may be: the first image is not found in the current cache area, that is, the first image is cleared in the current cache area because it is too old.

[0055] Step 103: Obtain a second image and output the second image.

[0056] Step 104: Output the first image.

[0057] The second image satisfies the second condition. The second condition indicates that it can be opened. Moreover, the second image has the same target feature as the first image, and the target feature satisfies the display requirement of the user triggering the first operation.

[0058] For example, Figure 2 As shown in , when the original image corresponding to the screenshot thumbnail of the account details cannot be opened, through this embodiment, other images that have the target features of the original image and can be opened, namely, the second image, are found, that is, whether there is an original image containing the account details. If the mobile phone has recently loaded the original image corresponding to the screenshot with the same account details sent by social friends or other friends, then the found original image is output as the second image, so that the user can also obtain the target features, namely, the account details.

[0059] Further, if the second image is not obtained in step 103, a prompt message may be output, indicating that the first image cannot be opened. Figure 2 As shown in , if the second image is obtained, the second image is output; if the second image is not obtained, a prompt message of "cannot be opened" is output.

[0060] It can be seen from the above technical solution that in an image processing method provided by an embodiment of the present application, after obtaining a first operation for opening a first image, if the first image cannot be opened, then a second image having the same target image as the first image and capable of being opened is obtained, so that after the second image is output, the display requirement of the user triggering the first operation is satisfied through the target feature of the second image. It can be seen that in the present application, when an image is desired to be opened but the image cannot be opened, other images having the same target feature as the image to be opened can be searched, so that an image that meets the display requirement can be output to the user, thereby improving the reliability of image output.

[0061] Moreover, in the present application, there is no need for the user to manually search for images that can be opened, and images with the same target features can be searched and output for the user, thereby improving the efficiency of image output.

[0062] In one implementation, when obtaining the second image in step 103, it can be implemented in the following manner: Figure 3 As shown in:

[0063] Step 301: Obtain a display image corresponding to a first image.

[0064] The display image is an image obtained by compressing the first image according to the target compression rate. The display image is displayed on the operation interface before the first image is opened, and the first image is opened by triggering the display image.

[0065] For example, Figure 2 As shown in , the displayed image is a thumbnail of the account details. The thumbnail is displayed on the interactive interface (ie, the operation interface), and the user can click on the thumbnail to trigger the opening of the original image of the account details.

[0066] Step 302: Obtain a second image according to the displayed image.

[0067] For example, Figure 2 As shown in , the second image is obtained according to the image content, image features or pixel value at each pixel point in the thumbnail.

[0068] In one implementation, in step 302, the image generation model may be used to fill the displayed image with content to generate the second image.

[0069] The image generation model may be a machine learning model. For example, in this embodiment, the image generation model may be used to perform pixel interpolation on the displayed image to generate the second image. For another example, in this embodiment, the image generation model may be used to perform image construction according to the target features represented by the displayed image to obtain the second image.

[0070] In another implementation, in step 302, at least one associated image having an association relationship with the displayed image may be first obtained, where the association relationship is related to the target feature, that is, associated images having an association condition related to the displayed image and the target feature are obtained, and then the second image is selected from these associated images.

[0071] Specifically, when obtaining the associated images in step 302, images having the same or similar target features as the displayed image may be determined as associated images.

[0072] Among them, the target feature includes any one or any combination of the first feature, the second feature and the third feature. The first feature reflects the text content contained in the image, the second feature reflects the color distribution in the image, and the third feature reflects the target category contained in the image. For example, in this embodiment, the pixel values ​​on each pixel point in the displayed image can be parsed, and then the image features corresponding to the displayed image, such as the first feature, the second feature, the third feature, etc., can be identified according to the pixel values ​​on each pixel point, and then, images having the same or similar features, i.e., associated images, are searched.

[0073] For example, in this embodiment, by analyzing the pixel value of each pixel in the displayed image, the text content in the displayed image, such as account details, color distribution, and the target type contained therein, such as cats, dogs, and people, is identified. In this way, according to these features, images with the same or similar features are searched, and the found associated images meet at least one of the following association conditions with the displayed image:

[0074] The associated image and the displayed image have the same or similar text content;

[0075] The associated image and the displayed image have the same or similar color distribution;

[0076] The associated image and the displayed image have the same or similar object types, such as people or cats.

[0077] In another specific implementation, when selecting the second image from the associated images in step 302, at least one image parameter of the associated images may be obtained first, and then, from the associated images, an associated image whose image parameter meets the preferred condition is selected as the second image.

[0078] The preferred condition is related to the image quality, for example, the preferred condition is: the image clarity is the highest, or the image resolution is the highest.

[0079] That is, in this embodiment, the clarity or resolution of each associated image is first analyzed, and then the associated image with the highest clarity or resolution is selected as the second image. For example, the second image is the original image of the cached thumbnail, or the second image is an image with the same account details as the thumbnail and the highest clarity.

[0080] In another implementation, the images with an association relationship are provided with the same image identifier, and the image identifier is used to determine whether the images have an association relationship. For example, if the image identifiers of two images are the same, then the two images have an association relationship.

[0081] Based on this, when obtaining the associated image associated with the displayed image in step 302, it can be implemented according to the image identifier of the displayed image. For example, according to the image identifier of the displayed image, images with the same image identifier are screened in the stored target atlas, so that the image with the same image identifier as the displayed image is determined as the associated image.

[0082] The target atlas stores multiple images, each of which has its own image identifier, such as an image sequence number, etc. The target atlas is a collection of images cached by the electronic device.

[0083] Based on this, in this embodiment, when an image is received, it is possible to screen whether the received image satisfies the candidate image of the associated image in the target atlas; if there is a candidate image in the target atlas that satisfies the association condition of the received image, such as having the same image identifier, then an image identifier identical to the image identifier of the candidate image (i.e., the image that satisfies the association condition with the received image) is set for the received image; if there is no candidate image in the target atlas that satisfies the association relationship with the received image, then a new image identifier is set for the received image; then, the received image and the set image identifier are added to the target atlas.

[0084] In this way, if the received image needs to be opened later but cannot be opened, images with the same image identifier can be screened in the target atlas according to the image identifier, and these images are used as associated images, and then the second image is obtained from the associated images.

[0085] For example, when a thumbnail is received on a social application, the thumbnail is first compared with an image in a target collection. If there is an image in the target collection that has the same or similar target features as the thumbnail, it is determined that the image and the thumbnail meet the association condition. At this time, the image ID of the image can be set to the thumbnail. If there is no image in the target collection that has the same or similar target features as the thumbnail, a new image ID is generated for the thumbnail.

[0086] refer to Figure 4 , is a schematic diagram of the structure of an image processing device provided in an embodiment of the present application, which can be configured in an electronic device capable of image processing, such as a mobile phone, a tablet computer, a computer or a server, etc. The technical solution in this embodiment is mainly used to improve the reliability of image output.

[0087] Specifically, the device in this embodiment may include the following units:

[0088] The operation obtaining unit 401 is used to obtain a first operation; the first operation is used to open a first image;

[0089] An image obtaining unit 402 is configured to obtain a second image in response to the first operation if the first image satisfies a first condition; the first condition indicates that the image cannot be opened;

[0090] The image output unit 403 is used to output the second image; the second image satisfies a second condition, the second condition indicates that it can be opened, and the second image has the same target feature as the first image, and the target feature meets the display requirements of the user to trigger the first operation.

[0091] It can be seen from the above technical solution that in an image processing device provided by an embodiment of the present application, after obtaining a first operation for opening a first image, if the first image cannot be opened, then a second image having the same target image as the first image and capable of being opened is obtained, so that after the second image is output, the display requirement of the user triggering the first operation is satisfied through the target feature of the second image. It can be seen that in the present application, when an image is desired to be opened but the image cannot be opened, other images having the same target feature as the image to be opened can be searched, so that an image that meets the display requirement can be output to the user, thereby improving the reliability of image output.

[0092] Moreover, in the present application, there is no need for the user to manually search for images that can be opened, and images with the same target features can be searched and output for the user, thereby improving the efficiency of image output.

[0093] In one implementation, the image acquisition unit 402 is specifically used to: obtain a display image corresponding to the first image; the display image is an image of the first image compressed according to a target compression rate, the display image is displayed on an operation interface before opening the first image, and the first image is opened by triggering the display image; and the second image is obtained based on the display image.

[0094] In one implementation, when the image obtaining unit 402 obtains the second image according to the display image, it is specifically configured to: fill the display image with content using an image generation model to generate the second image.

[0095] In one implementation, when the image acquisition unit 402 acquires the second image based on the displayed image, it is specifically used to: acquire at least one associated image that has an associated relationship with the displayed image; the associated relationship is related to the target feature; and select the second image from the associated images.

[0096] In one implementation, when the image acquisition unit 402 obtains at least one associated image that has an associated relationship with the displayed image, it is specifically used to: determine an image that has the same or similar target features as the displayed image as the associated image; wherein the target features include a first feature, a second feature and / or a third feature; the first feature reflects the text content contained in the image, the second feature reflects the color distribution in the image, and the third feature reflects the target category contained in the image.

[0097] In one implementation, when the image acquisition unit 402 selects the second image from the associated images, it is specifically used to: obtain at least one image parameter of the associated image; and select, from the associated images, an associated image whose image parameters meet a preferred condition as the second image; wherein the preferred condition is related to image quality.

[0098] In one implementation, images having the association relationship are set with the same image identifier, and the image identifier is used to determine whether the images have the association relationship; the image acquisition unit 402 is also used to: when an image is received, screen whether there is a candidate image that satisfies the association relationship with the received image in the target atlas; if there is a candidate image that satisfies the association relationship with the received image in the target atlas, set an image identifier for the received image that is the same as the image identifier of the candidate image; if there is no candidate image that satisfies the association relationship with the received image in the target atlas, set a new image identifier for the received image; and add the received image and the set image identifier to the target atlas.

[0099] In one implementation, the first image satisfies a first condition, including: the first image is not found in a current cache area.

[0100] In an implementation manner, the image output unit 403 is further configured to: if the image obtaining unit 402 fails to obtain the second image, output a prompt message, wherein the prompt message indicates that the first image cannot be opened.

[0101] It should be noted that the specific implementation method of each unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.

[0102] refer to Figure 5 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and the electronic device may include the following structure:

[0103] Memory 501, used to store computer programs and data generated by the execution of computer programs;

[0104] The processor 502 is configured to execute a computer program to implement:

[0105] Obtaining a first operation; the first operation is used to open a first image;

[0106] In response to the first operation, if the first image satisfies a first condition, obtaining a second image; the first condition indicates that the first image cannot be opened;

[0107] Output the second image; the second image satisfies a second condition, the second condition indicates that it can be opened, and the second image has the same target feature as the first image, and the target feature meets the display requirement of the user triggering the first operation.

[0108] It can be seen from the above technical solution that in an electronic device provided by an embodiment of the present application, after obtaining a first operation for opening a first image, if the first image cannot be opened, then a second image having the same target image as the first image and capable of being opened is obtained, so that after the second image is output, the display requirement of the user triggering the first operation is satisfied through the target feature of the second image. It can be seen that in the present application, when an image is desired to be opened but the image cannot be opened, other images having the same target feature as the image to be opened can be searched, so that an image that meets the display requirement can be output to the user, thereby improving the reliability of image output.

[0109] Moreover, in the present application, there is no need for the user to manually search for images that can be opened, and images with the same target features can be searched and output for the user, thereby improving the efficiency of image output.

[0110] Taking the social software in the mobile phone as an example, the technical solution of this application is illustrated as follows:

[0111] In social software, if you do not open and load the original image after receiving the image, the image will expire after a certain period of time and cannot be opened again. However, the same image may be received many times by social software, and one of them may have been loaded. In this case, this application can find the one that was actually loaded in the chat history.

[0112] In view of the above problems, this application proposes the following solutions:

[0113] First, after receiving the picture, the user compares the thumbnail of the picture with the thumbnails of other pictures received before; the RGB values ​​of each pixel unit of the two thumbnails are compared on a pixel basis; if the comparison results are consistent, the two pictures are assigned the same serial number and associated as one atlas.

[0114] When the user finds one of the pictures and cannot open it, the user is provided with the picture in the associated collection where the original picture is saved, and the user can directly switch to the original picture.

[0115] For example, Figure 6As shown, when a user receives a picture, he can first compare the newly received picture with the thumbnail of the old picture cached in the history, for example, compare the RGB value between the thumbnail unit of the old picture and the new picture. If the comparison results of the two are inconsistent, then a new serial number (i.e., the image identifier in the previous text) is generated for the new picture and stored in the picture. The serial code is different from the serial codes of other pictures; if the comparison results of the two are consistent, then the serial code of the old picture is assigned to the new picture for storage, so that pictures with the same serial code are associated as a set of pictures.

[0116] Based on this, Figure 7 As shown in , when a user needs to view a picture and the picture cannot be opened, it is first detected whether there is an associated image for the picture, that is, whether there is a picture with the same serial code. If there is no associated atlas, it is prompted that the picture is expired and cannot be viewed; if there is an associated image, that is, the associated image in the previous text, then the associated atlas is searched to see whether there is an original picture corresponding to the thumbnail. If the original picture does not exist, the image with the highest clarity and the text content containing the thumbnail is filtered out in the associated atlas for output, or when the original picture does not exist, it is prompted that the picture is expired and cannot be viewed; if the original picture exists, the original picture is directly loaded and provided to the user for viewing.

[0117] It can be seen that the technical solution of this application has the following advantages:

[0118] First, this application automatically processes and stores images in the background after receiving them, reducing the user's comparison waiting time to improve reliability and efficiency;

[0119] Moreover, in this application, users do not need to search for photos by themselves, and it is faster and more convenient to obtain pictures, thereby providing reliability and efficiency.

[0120] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0121] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0122] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0123] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An image processing method, comprising: Get the first operation; The first operation is used to open a first image; In response to the first operation, if the first image satisfies a first condition, obtaining a second image; The first condition indicates that it cannot be opened; Output the second image; the second image satisfies a second condition, the second condition indicates that it can be opened, and the second image has the same target feature as the first image, and the target feature meets the display requirement of the user triggering the first operation.

2. The method according to claim 1, obtaining the second image, comprising: Obtaining a display image corresponding to the first image; The display image is an image obtained by compressing the first image according to a target compression rate. The display image is displayed on the operation interface before the first image is opened, and the first image is opened by triggering the display image. A second image is obtained according to the displayed image.

3. The method according to claim 2, obtaining a second image according to the displayed image, comprising: The displayed image is filled with content using an image generation model to generate a second image.

4. The method according to claim 2, obtaining a second image according to the displayed image, comprising: Obtaining at least one associated image associated with the display image; The association relationship is related to the target feature; Among the associated images, a second image is selected.

5. The method according to claim 4, wherein obtaining at least one associated image associated with the displayed image comprises: Determine an image having the same or similar target feature as the displayed image as the associated image; Among them, the target feature includes a first feature, a second feature and / or a third feature; the first feature reflects the text content contained in the image, the second feature reflects the color distribution in the image, and the third feature reflects the target category contained in the image.

6. The method according to claim 4, wherein selecting a second image from the associated images comprises: Obtaining at least one image parameter of the associated image; Among the associated images, selecting an associated image whose image parameters meet a preferred condition as the second image; The preferred condition is related to image quality.

7. The method according to claim 4, wherein the images having the association relationship are provided with the same image identifier, and the image identifier is used to determine whether the images have the association relationship; The method further comprises: When an image is received, screening whether there is a candidate image in the target atlas that satisfies the association relationship with the received image; If there is a candidate image in the target atlas that satisfies the association relationship with the received image, setting an image identifier that is the same as the image identifier of the candidate image for the received image; If the target atlas does not contain a candidate image that satisfies the association relationship with the received image, setting a new image identifier for the received image; The received image and the set image identifier are added to the target atlas.

8. The method according to claim 1, wherein the first image satisfies a first condition, comprising: The first image is not found in the current cache area.

9. The method according to claim 1, further comprising: If the second image is not obtained, a prompt message is output, wherein the prompt message indicates that the first image cannot be opened.

10. An image processing device, comprising: An operation obtaining unit, used for obtaining a first operation; The first operation is used to open a first image; an image obtaining unit, configured to obtain a second image in response to the first operation if the first image satisfies a first condition; The first condition indicates that it cannot be opened; An image output unit is used to output the second image; the second image satisfies a second condition, the second condition indicates that it can be opened, and the second image has the same target feature as the first image, and the target feature meets the display requirements of the user to trigger the first operation.

Citation Information

Patent Citations

  • Method and device for locally amplifying image and storage medium

    CN110941375A

  • Network image display method and system, electronic equipment and storage medium

    CN111581553A

  • Terminal equipment, information display method and storage medium

    CN113835582A

  • Image scanning apparatus and method for controlling the same

    US20160147386A1