CN109977247B - Image processing method and image processing apparatus - Google Patents
Image processing method and image processing apparatus Download PDFInfo
- Publication number
- CN109977247B CN109977247B CN201910241580.6A CN201910241580A CN109977247B CN 109977247 B CN109977247 B CN 109977247B CN 201910241580 A CN201910241580 A CN 201910241580A CN 109977247 B CN109977247 B CN 109977247B
- Authority
- CN
- China
- Prior art keywords
- image
- images
- display
- group
- similar
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30168—Image quality inspection
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present disclosure provides an image processing method and apparatus, the image processing method including: obtaining an image set; obtaining at least one image group based on the image set, wherein each image group comprises a plurality of similar images meeting the similarity condition; in response to a display request about the image set, displaying thumbnails of at least some images in the image set in an image display area on a display interface according to a preset display strategy, wherein the preset display strategy comprises: the display size of the thumbnail of the similar image contained in the image group is larger than the display size of the thumbnail of the other images except the at least one image group in the image set.
Description
Technical Field
The present disclosure relates to an image processing method and an image processing apparatus.
Background
With the development of image technology, a large number of images need to be acquired in the work and life of people. Sometimes, to ensure quality, people acquire many images with similar contents so as to select one or more satisfactory images from the images. In the prior art, a user can manually delete and select the images, but the selection process is complicated because the display interfaces of many electronic devices are small and the images cannot be well judged under the condition of thumbnails.
Disclosure of Invention
In view of the above, the present disclosure provides a processing method, including: obtaining an image set; obtaining at least one image group based on the image set, wherein each image group comprises a plurality of similar images meeting the similarity condition; in response to a display request about the image set, displaying thumbnails of at least some images in the image set in an image display area on a display interface according to a preset display strategy, wherein the preset display strategy comprises: the display size of the thumbnail of the similar image contained in the image group is larger than the display size of the thumbnail of the other images except the at least one image group in the image set.
According to an embodiment of the present disclosure, the preset display policy further includes at least one of: thumbnails of a plurality of similar images belonging to the same image group are adjacently arranged; the display sizes of the thumbnails of a plurality of similar images belonging to the same image group are the same; the display size of the thumbnails of the similar images is smaller than or equal to half of the size of the image display area, so that the image display area can simultaneously display the thumbnails of at least two similar images.
According to an embodiment of the present disclosure, the at least one group of images comprises a first group of images; the preset display strategy further comprises: determining the display size of the thumbnails of the similar images according to the number of the similar images under the condition that the number of the similar images contained in the first image group is less than or equal to a preset threshold value, so that the image display area can simultaneously display the thumbnails of all the similar images contained in the first image group; and when the number of the similar images in the first image group is larger than the number threshold, setting the display size of the thumbnail images of the images to be a preset size so that the image display area can simultaneously display the thumbnail images of the preset number of the similar images in the first image group.
According to an embodiment of the present disclosure, the at least one group of images comprises a first group of images; the processing method further comprises the following steps: determining the image quality of a plurality of similar images contained in the first image group according to a preset image quality reference condition; selecting at least one preferred image from the first image group, wherein the image quality of the at least one preferred image is better than that of the other images except the at least one preferred image in the first image group; the preset display strategy further comprises: for the first image group, the display order of the thumbnails of the at least one preferred image is before the thumbnails of the other images except the at least one preferred image in the first image group; and displaying first prompt information in a display area of the thumbnail of the at least one preferred image to prompt a user that the image is the preferred image.
According to an embodiment of the present disclosure, the at least one group of images comprises a first group of images; the processing method further comprises the following steps: determining the definition of a plurality of similar images contained in the first image group; if the definition of the image is smaller than a preset definition threshold value, taking the image as a blurred image; the preset display strategy further comprises: and under the condition that the first image group contains the blurred image, displaying second prompt information in a display area of a thumbnail of the blurred image, wherein the second prompt information is used for prompting a user that the image is the blurred image.
According to an embodiment of the present disclosure, the at least one group of images comprises a first group of images; the preset display strategy further comprises: displaying a deleting key in a display area of thumbnails of a plurality of similar images contained in the first image group; the processing method further comprises the following steps: acquiring a first operation executed by a user on the deleting key; and deleting the image corresponding to the first operation based on the first operation.
According to an embodiment of the present disclosure, the obtaining at least one image group based on the image set includes: traversing all the images in the image set, and forming an image group by a plurality of similar images meeting the similarity condition; or traversing the images in the image set, wherein the acquisition time is within a preset time period, and forming a plurality of similar images meeting the similarity condition within the preset time period into an image group.
According to an embodiment of the present disclosure, the preset display policy further includes: the thumbnail of the similar image contained in the at least one image group and the thumbnails of the other images except the at least one image group are arranged and displayed according to a certain sequence; the processing method further comprises the following steps: acquiring a second operation executed by a user on the image display area; changing the display position of the thumbnail of the currently displayed image on the image display area based on the second operation, and sequentially displaying the thumbnails of the images before or after the currently displayed image; acquiring a third operation executed by a user on the image; and based on the third operation, amplifying and displaying the image corresponding to the third operation.
The present disclosure also provides an image processing apparatus including: an image aggregation module for obtaining an image aggregate; the image group module is used for obtaining at least one image group based on the image set, and each image group comprises a plurality of similar images meeting the similarity condition; the display module responds to a display request about the image set, and displays thumbnails of at least partial images in the image set in an image display area on a display interface according to a preset display strategy, wherein the preset display strategy comprises: the display size of the thumbnail of the similar image contained in the image group is larger than the display size of the thumbnail of the other images except the at least one image group in the image set.
The present disclosure also provides another image processing apparatus including: one or more processors; memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform any of the methods described above.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
fig. 1 schematically shows an application scenario of an image processing method according to an embodiment of the present disclosure;
FIG. 2 schematically shows a flow chart of an image processing method according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a schematic view of an image thumbnail display manner according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a diagram of an image thumbnail display manner according to yet another embodiment of the present disclosure;
FIG. 5 schematically illustrates a schematic view of an image thumbnail display manner according to yet another embodiment of the present disclosure;
FIG. 6 schematically illustrates a schematic view of an image thumbnail display manner according to yet another embodiment of the present disclosure;
FIG. 7 schematically shows a flow chart of an image processing method according to another embodiment of the present disclosure;
FIG. 8 schematically shows a flow chart of an image processing method according to a further embodiment of the present disclosure;
FIG. 9 schematically shows a flow chart of an image processing method according to yet another embodiment of the present disclosure;
fig. 10 schematically shows a block diagram of an image processing apparatus according to an embodiment of the present disclosure; and
fig. 11 schematically shows a block diagram of an image processing apparatus according to another embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, operations, and/or components, but do not preclude the presence or addition of one or more other features, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a device having at least one of A, B and C" would include but not be limited to devices having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a device having at least one of A, B or C" would include but not be limited to devices having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
An embodiment of the present disclosure provides an image processing method, including: obtaining an image set; obtaining at least one image group based on the image set, wherein each image group comprises a plurality of similar images meeting the similarity condition; in response to a display request about the image set, displaying thumbnails of at least some images in the image set in an image display area on a display interface according to a preset display strategy, wherein the preset display strategy comprises: the display size of the thumbnail of the similar image contained in the image group is larger than the display size of the thumbnail of the other images except the at least one image group in the image set.
The image processing method provided by the embodiment of the disclosure can select the similar photos in the image set, and amplify and display the similar photos relative to other photos, so that the content in the image can be clearly seen by a user under the condition of the thumbnail, and the user can delete and select the similar photos on the display interface of the thumbnail without clicking and amplifying the photos one by one.
Fig. 1 schematically shows an application scenario of an image processing method according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of an image processing method to which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, and does not mean that the embodiments of the present disclosure may not be applied to other devices, environments or scenes.
As shown in fig. 1, the image processing method of the embodiment of the present disclosure may be applied to a mobile phone 100 for processing photos in an album of the mobile phone 100.
When taking a picture, in order to ensure the quality of the picture, a user is used to take a plurality of similar pictures and then delete and select the pictures, but because the display interfaces of a plurality of electronic devices are small, the pictures cannot be judged well under the condition of thumbnails, so that the user needs to manually click each picture to view the pictures and delete the unsatisfactory pictures, and the deleting and selecting process is complicated.
The image processing method of the embodiment of the disclosure can enlarge and display the similar photos in the photo album relative to other photos, so that the user can identify and delete the similar photos on the interface of the photo album thumbnail.
It is understood that the application scenario in fig. 1 is only an example, and the image processing method may be applied to any electronic device with an image display function, such as a tablet computer, a camera, a desktop computer, and the like.
Fig. 2 schematically shows a flow chart of an image processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the image processing method of the embodiment of the present disclosure includes operations S210 to S230:
in operation S210, an image set is obtained.
The image collection may be, for example, a photo collection in an album, where the photo collection includes a plurality of photos.
In operation S220, at least one image group is obtained based on the image set, where each image group includes a plurality of similar images satisfying a similarity condition.
The similarity condition may refer to that the similarity between the images is greater than a preset similarity threshold. For example, the color features of the images may be compared, the images may be converted into color distribution histograms, and if the similarity of the color distribution histograms of the two images is greater than a preset similarity threshold, the two images are considered to satisfy the similarity condition; or the content features of the images can be compared, the contours of the images are extracted, a feature matrix is obtained according to the contour features, and if the similarity of the feature matrices of the two images is greater than a preset similarity threshold value, the two images are considered to meet the similarity condition. In addition, the similarity of the images can be judged based on other characteristics, such as hash values and the like.
According to an embodiment of the present disclosure, operation S220 includes operation S221 or operation S222:
in operation S221, all images in the image set are traversed, and a plurality of similar images satisfying the similarity condition are combined into an image group.
Grouping similar photos is carried out by taking all images in the set as a screening range of similar images, namely, all similar images in the set are gathered into one image group. In this case, there is no need to consider the order of image acquisition.
For example, all images are chronologically ordered as: image A1, image A2, image B, image C, image D1, image D2, image D3, image E, image F, image G, image H, image A3, image A4. Wherein, the image A1, the image A2, the image A3 and the image A4 satisfy the similarity condition, and if the images are judged to be similar, the image A1, the image A2, the image A3 and the image A4 are combined into an image group; when the image D1, the image D2, and the image D3 satisfy the similarity condition and are determined to be similar images, the image D1, the image D2, and the image D3 are combined into one image group.
In operation S222, images within a predetermined time period are acquired from the image set, and a plurality of similar images satisfying the similarity condition within the predetermined time period are combined into an image group.
The images in the preset time range in the set are used as the screening range of the similar images to group the similar photos, and the similar images in the preset time period are gathered into one image group, wherein the preset time period can be one day or one month.
For example, the image a1, the image a2, the image B, the image C, the image D1, the image D2 and the image D3 described above are images acquired in a first period of time, which may be, for example, 8, 24 days in 2018; image E, image F, image G, image H, image A3, and image a4 are images acquired over a second period of time, which may be, for example, 8 months and 25 days 2018. In the case where the preset period is one day, the image a1 and the image a2 in the first period are made up into one image group, the image D1 and the image D2 are made up into one image group, and the image A3 and the image a4 in the second period are made up into one image group.
In operation S230, in response to a display request for an image set, displaying thumbnails of at least some images in the image set in an image display area on a display interface according to a preset display policy, where the preset display policy includes: the display size of the thumbnail of the similar image contained in the image group is larger than the display size of the thumbnail of the other image except for at least one image group in the image set.
The display request about the image collection may refer to receiving an opening request about the album by the user. In response to a request to open an album, thumbnails of images in the album are displayed on a display interface. In the case of few images in the album, thumbnails of all the images in the album can be displayed on an initial interface; in the case of a large number of images, thumbnails of only a part of the images in the album may be displayed on an initial interface, where the initial interface is an interface displayed when the album is opened.
The display size of the thumbnail of the similar image contained in the image group being larger than the display size of the thumbnail of the other image except for the at least one image group in the image set may be: the thumbnail images belonging to the similar images in the respective image groups are larger than the thumbnail images of the other non-similar images.
Fig. 3 schematically shows a schematic diagram of an image thumbnail display manner according to an embodiment of the present disclosure.
As shown in fig. 3, the image a1, the image a2, the image A3, and the image a4 belong to one image group, the image D1, the image D2, and the image D3 belong to one image group, and the remaining images (the image B, the image C, the image E, and the image F, the image G, and the image H) in the image set other than the two image groups belong to non-similar images. Thus, the display sizes of the thumbnails of the image a1, the image a2, the image A3, and the image a4 are larger than those of the thumbnails of the non-similar images such as the image B, the image C, and the image E. Likewise, the display sizes of the thumbnails of the image D1, the image D2, and the image D3 are also larger than those of the thumbnails of the non-similar images such as the image B, the image C, the image E, and the like.
The display strategy in the embodiment of the disclosure can be applied to the display process of all images in the album, and is not only applied to the initial interface. For example, with the sliding operation of the user on the display device, different images are displayed on the interface to continuously update the interface, and the display policy is applicable to the initial interface and any subsequent interface.
The display size of the thumbnails of the other images may be a display size of a default photo thumbnail of the electronic device, particularly with respect to the size of the display interface of the electronic device, and in particular, the display size of the thumbnails of the other images may be zero.
The display size of the thumbnails of the similar images may be determined according to the number of similar images and the size of the display interface of the electronic device, for example, the display size of the thumbnails of the similar images may be twice the display size of the default thumbnails of the electronic device, or the display size of the thumbnails of the similar images may be one-fourth of the display interface of the electronic device, and so on.
According to the embodiment of the disclosure, the image processing method can select the similar photos in the image set, and enlarge and display the similar photos relative to other photos, so that the content in the images can be clearly seen by a user under the condition of the thumbnails of a plurality of similar photos, and the user can delete and select the similar photos on the display interface of the thumbnails without clicking and enlarging the photos one by one.
According to an embodiment of the present disclosure, the preset display policy further comprises at least one of:
(1) thumbnails of a plurality of similar images belonging to the same image group are adjacently arranged;
(2) the display sizes of the thumbnails of a plurality of similar images belonging to the same image group are the same;
(3) the display size of the thumbnails of the similar images is less than or equal to half the size of the image display area so that the image display area can simultaneously display thumbnails of at least two similar images.
In which thumbnails of a plurality of similar images belonging to the same image group are arranged adjacently, for example, image a1, image a2, image A3, and image a4 belong to one image group, and image a1, image a2, image A3, and image a4 are arranged adjacently. Even though the acquisition times of the image a1, the image a2, the image A3, and the image a4 may not be adjacent, a plurality of similar images belonging to one image group may be arranged adjacent to one another.
The display order of the remaining non-similar images may be chronological.
The display order of the image group and the remaining images can also be arranged chronologically. For example, if the images D1, D2, and D3 were acquired sequentially in time, and image C and image E were acquired before image D1 and after image D3, respectively, then the display order of the image group and the nearby images may be: image C, image D1, image D2, image D3, and image E. For another example, if the acquisition time of the image a1, the image a2, the image A3, and the image a4 is not continuous, the images may be sorted from the rest of the images based on the acquisition time of one of the images, for example, based on the time of the last acquired image, and the display order of the image group and the nearby images may be: image F, image G, image H, image a1, image a2, image A3, image a 4. In the display process, if the display sequence is displayed according to the sequence from the back to the front of the acquisition time, the display sequence is the reverse of the sequence, namely the display sequence is as follows: image a4, image A3, image a2, image a1, image H, image G, image F.
The thumbnail images of a plurality of similar images belonging to the same image group are displayed in the same size. For example, the thumbnail images of the image D1, the image D2, and the image D3 belonging to the same image group are displayed in the same size.
The display size of the thumbnail of the similar image is less than or equal to half the size of the image display area. For example, if the size of the image display area on the display screen is m × n, the display size of the thumbnails of similar images may be 1/2m × 1/2n at maximum, so that the image display area can simultaneously display thumbnails of at least two similar images.
According to an embodiment of the present disclosure, the at least one group of images comprises a first group of images.
The preset display strategy further comprises:
determining the display size of the thumbnails of the similar images according to the number of the similar images under the condition that the number of the similar images contained in the first image group is less than or equal to a preset threshold value, so that the image display area can simultaneously display the thumbnails of all the similar images contained in the first image group;
in the case where the number of similar images included in the first image group is larger than the number threshold, the display size of the thumbnails of the images is set to a preset size so that the image display area can simultaneously display thumbnails of a preset number of similar images in the first image group.
Specifically, the preset threshold is the maximum number of similar images that can be displayed in the display area, and may be 4, for example, in order to desirably enable a plurality of images belonging to the same image group to be displayed on one interface as commonly as possible, but at the same time, to ensure the clarity of the thumbnail images of the similar images.
As shown in fig. 3, if the first image group includes the image a1, the image a2, the image A3, and the image a4, and the number of similar images included is equal to the preset threshold 4, 4 images are displayed in the maximum size that can be displayed in the image display area, two images may be arranged in the width direction of the image display area, and two images may be arranged in the length direction of the image display area. The rest of the adjacent non-similar images can be displayed in the rest space of the image display area, and if 4 similar images just occupy the whole image display area, the rest of the images are not displayed.
Fig. 4 schematically shows a schematic view of an image thumbnail display manner according to still another embodiment of the present disclosure.
As shown in fig. 4, if the first image group includes the image D1, the image D2, and the image D3, and the number of similar images included is less than the preset threshold, 3 images are displayed in the maximum size that can be displayed in the image display area, three images may be arranged in the longitudinal direction of the image display area, and one image may be arranged in the width direction of the image display area. The rest of adjacent non-similar images can be displayed in the rest space of the image display area.
Fig. 5 schematically shows a schematic diagram of an image thumbnail display manner according to still another embodiment of the present disclosure.
As shown in fig. 5, if the first image group includes two similar images, the two similar images are smaller than the preset threshold. Two images may be arranged in the length direction of the image display area and one image may be arranged in the width direction of the image display area so that the display size of the similar image reaches the maximum value. The rest of adjacent non-similar images can be displayed in the rest of the space of the image display area.
Fig. 6 schematically shows a schematic diagram of an image thumbnail display manner according to still another embodiment of the present disclosure.
As shown in fig. 6, in the case where the number of similar images included in the first image group is larger than the number threshold, the display size of the thumbnail images of the images is set to a preset size so that the image display area can simultaneously display the thumbnail images of the preset number of similar images in the first image group. For example, if the number threshold is 4 and the number of the similar images included in the first image group is 6, at most 4 similar images can be completely displayed on one interface, and the preset size is the size of the image display area displaying 4 similar images at the same time, that is, the size of the similar images in fig. 3. A partial area of the remaining similar images may be displayed in the remaining space of the image display area.
Fig. 7 schematically shows a flow chart of an image processing method according to another embodiment of the present disclosure.
As shown in fig. 7, according to an embodiment of the present disclosure, the at least one group of images comprises a first group of images. The image processing method further includes operations S240 to S250:
in operation S240, determining image qualities of a plurality of similar images included in the first image group according to a preset image quality reference condition;
selecting at least one preferred image from the first image group in operation S250, wherein the at least one preferred image has an image quality better than that of the other images except the at least one preferred image in the first image group;
the preset display strategy further comprises: for the first image group, the display order of the thumbnails of the at least one preferred image precedes the thumbnails of the other images in the first image group except for the at least one preferred image; and displaying first prompt information in a display area of the thumbnail of at least one preferred image to prompt a user that the image is the preferred image.
Specifically, the image quality may refer to, for example, the sharpness, the darkness, the portrait integrity, and the like of an image that can be used as reference conditions for evaluating the image quality.
For example, the first image group includes image a1, image a2, image A3, and image a4, where image a2 is the preferred image, i.e., image a2 has better image quality than image a1, image A3, and image a4, then the display order of image a2 is advanced during display, i.e., displayed in front of image a1, image A3, and image a 4. Also, a preference mark may be displayed on the thumbnail of image a2 to prompt the user that image a2 is a preferred image, where the preferred mark may be, for example, an asterisk mark, a number-matching mark, a circle mark, or the like.
According to the embodiment of the disclosure, all similar images in the first image group can be sorted according to image quality and displayed in the order of the quality from high to low.
Fig. 8 schematically shows a flow chart of an image processing method according to a further embodiment of the present disclosure.
As shown in fig. 8, according to an embodiment of the present disclosure, the at least one image group includes a first image group. The image processing method further includes operations S260 to S270:
determining the sharpness of a plurality of similar images included in the first image group in operation S260;
in operation S270, if the sharpness of the image is less than the preset sharpness threshold, the image is taken as a blurred image;
the preset display strategy further comprises: and when the first image group contains the blurred image, displaying second prompting information in a display area of the thumbnail of the blurred image, wherein the second prompting information is used for prompting the user that the image is the blurred image.
Specifically, the image definition refers to the definition of each detail shadow and its boundary on the image, and it can be considered that the higher the image definition is, the better the image quality is, and the worse the image definition is, the more blurred the image is.
For example, the first image group includes image a1, image a2, image A3, and image a4, where the sharpness of image A3 is lower, less than a preset sharpness threshold, and image A3 is considered to be a blurred image. When image A3 is displayed, a cue marker, which may be, for example, a cross mark, an exclamation mark, or the like, or graying out the blurred image as a whole, may be displayed on the thumbnail of image A3 to cue the user that image A3 is a blurred image.
According to an embodiment of the present disclosure, the at least one group of images comprises a first group of images;
the preset display strategy further comprises: and displaying a deleting key in a display area of thumbnails of a plurality of similar images contained in the first image group.
The processing method further comprises the following steps: acquiring a first operation executed by a user on a delete key; and deleting the image corresponding to the first operation based on the first operation.
Specifically, a virtual key for deleting the corresponding image may be displayed on the thumbnail of each similar image, and the user may click the delete key, that is, the corresponding similar image may be deleted, which is further convenient for the user to delete the similar image.
In other embodiments of the present disclosure, multiple images may be selected at the same time for deletion, or images may be clicked and deleted.
Fig. 9 schematically shows a flowchart of an image processing method according to still another embodiment of the present disclosure.
As shown in fig. 9, according to an embodiment of the present disclosure, the presetting of the display policy further includes: the thumbnail of the similar image contained in at least one image group and the thumbnail of the other images except for at least one image group are arranged and displayed in a certain order.
The image processing method further includes operations S280 to S290:
in operation S280, a second operation performed by the user on the image display area is acquired; changing the display position of the thumbnail of the currently displayed image on the image display area based on the second operation, and sequentially displaying the thumbnails of the images located before or after the currently displayed image;
in operation S290, a third operation performed by the user on the image is acquired; and based on the third operation, amplifying and displaying the image corresponding to the third operation.
The second operation may be, for example, a slide operation, and when the user slides up, an image located behind the currently displayed image may be displayed, and when the user slides down, an image located in front of the currently displayed image may be displayed.
The embodiment of the disclosure also provides an image processing device 300.
Fig. 10 schematically shows a block diagram of an image processing apparatus according to an embodiment of the present disclosure.
As shown in fig. 10, the image processing apparatus 300 of the embodiment of the present disclosure includes:
an obtaining module 310, configured to obtain an image set;
an image group module 320, configured to obtain at least one image group based on the image set, where each image group includes a plurality of similar images that satisfy a similarity condition;
a display module 330, configured to, in response to a display request for the image set, display thumbnails of at least some images in the image set in an image display area on a display interface according to a preset display policy, where the preset display policy includes: the display size of the thumbnail of the similar image contained in the image group is larger than the display size of the thumbnail of the other images except the at least one image group in the image set.
Specifically, the obtaining module 310 may perform the operation S210 described above, the image group module 320 may perform the operation S220 described above, and the display module 330 may perform the operation S230 described above, for example, which is not described herein again.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any number of the above modules and sub-modules may be combined and implemented in one module, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the above modules and sub-modules may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware by any other reasonable manner of integrating or packaging a circuit, or in any one of three implementations of software, hardware, and firmware, or in a suitable combination of any of them. Alternatively, at least one of the various modules and sub-modules described above may be implemented at least in part as a computer program module that, when executed, performs a corresponding function.
The embodiment of the disclosure also provides another image processing device.
Fig. 11 schematically shows a block diagram of an image processing apparatus according to another embodiment of the present disclosure.
As shown in fig. 11, the image processing apparatus 400 includes a processor 410, a computer-readable storage medium 420. The image processing apparatus 400 may perform a method according to an embodiment of the present disclosure.
In particular, processor 410 may include, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 410 may also include onboard memory for caching purposes. Processor 410 may be a single processing unit or a plurality of processing units for performing different actions of a method flow according to embodiments of the disclosure.
Computer-readable storage medium 420, for example, may be a non-volatile computer-readable storage medium, specific examples including, but not limited to: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and so on.
The computer-readable storage medium 420 may comprise a computer program 421, which computer program 421 may comprise code/computer-executable instructions that, when executed by the processor 410, cause the processor 410 to perform a method according to an embodiment of the disclosure, or any variant thereof.
The computer program 421 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 421 may include one or more program modules, including for example 421A, modules 421B, … …. It should be noted that the division and number of the modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, so that the processor 410 may execute the method according to the embodiment of the present disclosure or any variation thereof when the program modules are executed by the processor 410.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
Claims (10)
1. An image processing method comprising:
obtaining an image set;
obtaining at least one image group based on the image set, wherein each image group comprises a plurality of similar images meeting the similarity condition;
in response to a display request about the image set, displaying thumbnails of at least some images in the image set in an image display area on a display interface according to a preset display strategy,
wherein the preset display strategy comprises: the display size of the thumbnail of the similar image contained in the image group is larger than the display size of the thumbnail of the other images except the at least one image group in the image set.
2. The processing method of claim 1, wherein the preset display policy further comprises at least one of:
thumbnails of a plurality of similar images belonging to the same image group are adjacently arranged;
the display sizes of the thumbnails of a plurality of similar images belonging to the same image group are the same;
the display size of the thumbnails of the similar images is smaller than or equal to half of the size of the image display area, so that the image display area can simultaneously display the thumbnails of at least two similar images.
3. The processing method according to claim 1,
the at least one group of images comprises a first group of images;
the preset display strategy further comprises:
determining the display size of the thumbnails of the similar images according to the number of the similar images under the condition that the number of the similar images contained in the first image group is less than or equal to a preset threshold value, so that the image display area can simultaneously display the thumbnails of all the similar images contained in the first image group;
and when the number of the similar images in the first image group is larger than the number threshold, setting the display size of the thumbnail images of the images to be a preset size so that the image display area can simultaneously display the thumbnail images of the preset number of the similar images in the first image group.
4. The processing method according to claim 1,
the at least one group of images comprises a first group of images;
the processing method further comprises the following steps:
determining the image quality of a plurality of similar images contained in the first image group according to a preset image quality reference condition;
selecting at least one preferred image from the first image group, wherein the image quality of the at least one preferred image is better than that of the other images except the at least one preferred image in the first image group;
the preset display strategy further comprises:
for the first image group, the display order of the thumbnails of the at least one preferred image is before the thumbnails of the other images except the at least one preferred image in the first image group;
and displaying first prompt information in a display area of the thumbnail of the at least one preferred image to prompt a user that the image is the preferred image.
5. The processing method according to claim 1,
the at least one group of images comprises a first group of images;
the processing method further comprises the following steps:
determining the definition of a plurality of similar images contained in the first image group;
if the definition of the image is smaller than a preset definition threshold value, taking the image as a blurred image;
the preset display strategy further comprises:
and under the condition that the first image group contains the blurred image, displaying second prompt information in a display area of a thumbnail of the blurred image, wherein the second prompt information is used for prompting a user that the image is the blurred image.
6. The processing method according to claim 1,
the at least one group of images comprises a first group of images;
the preset display strategy further comprises:
displaying a deleting key in a display area of thumbnails of a plurality of similar images contained in the first image group;
the processing method further comprises the following steps:
acquiring a first operation executed by a user on the deleting key;
and deleting the image corresponding to the first operation based on the first operation.
7. The processing method of claim 1, wherein said deriving at least one group of images based on said set of images comprises:
traversing all the images in the image set, and forming an image group by a plurality of similar images meeting the similarity condition; or
And traversing the images of which the acquisition time is within a preset time period in the image set, and forming a plurality of similar images meeting the similarity condition within the preset time period into an image group.
8. The processing method according to claim 1,
the preset display strategy further comprises:
the thumbnail of the similar image contained in the at least one image group and the thumbnails of the other images except the at least one image group are arranged and displayed according to a certain sequence;
the processing method further comprises the following steps:
acquiring a second operation executed by a user on the image display area; changing the display position of the thumbnail of the currently displayed image on the image display area based on the second operation, and sequentially displaying the thumbnails of the images before or after the currently displayed image;
acquiring a third operation executed by a user on the image; and based on the third operation, amplifying and displaying the image corresponding to the third operation.
9. An image processing apparatus comprising:
an image aggregation module for obtaining an image aggregate;
the image group module is used for obtaining at least one image group based on the image set, and each image group comprises a plurality of similar images meeting the similarity condition;
the display module responds to a display request about the image set, and displays thumbnails of at least partial images in the image set in an image display area on a display interface according to a preset display strategy, wherein the preset display strategy comprises: the display size of the thumbnail of the similar image contained in the image group is larger than the display size of the thumbnail of the other images except the at least one image group in the image set.
10. An image processing apparatus comprising:
one or more processors;
a memory for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910241580.6A CN109977247B (en) | 2019-03-27 | 2019-03-27 | Image processing method and image processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910241580.6A CN109977247B (en) | 2019-03-27 | 2019-03-27 | Image processing method and image processing apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109977247A CN109977247A (en) | 2019-07-05 |
CN109977247B true CN109977247B (en) | 2022-03-25 |
Family
ID=67081071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910241580.6A Active CN109977247B (en) | 2019-03-27 | 2019-03-27 | Image processing method and image processing apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109977247B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114915730B (en) * | 2022-06-17 | 2023-10-27 | 维沃移动通信(深圳)有限公司 | Shooting methods and shooting equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101464882A (en) * | 2007-12-21 | 2009-06-24 | 株式会社理光 | Information display system, information display method, and computer program product |
CN107168614A (en) * | 2012-03-06 | 2017-09-15 | 苹果公司 | Application for checking image |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008301274A (en) * | 2007-05-31 | 2008-12-11 | Canon Inc | Information processing apparatus and method, and program |
JP2009038680A (en) * | 2007-08-02 | 2009-02-19 | Toshiba Corp | Electronic device and face image display method |
JP5015094B2 (en) * | 2008-08-26 | 2012-08-29 | 京セラドキュメントソリューションズ株式会社 | Image display apparatus, image forming apparatus, and image display method |
CN103197882A (en) * | 2013-02-22 | 2013-07-10 | 北京小米科技有限责任公司 | Image display method and mobile terminal |
CN103310005A (en) * | 2013-06-28 | 2013-09-18 | 北京小米科技有限责任公司 | Thumbnail display method and device |
KR20150047032A (en) * | 2013-10-23 | 2015-05-04 | 엘지전자 주식회사 | Mobile terminal and method for controlling the same |
US10031928B2 (en) * | 2014-07-02 | 2018-07-24 | BicDroid Inc. | Display, visualization, and management of images based on content analytics |
CN106909354A (en) * | 2015-12-22 | 2017-06-30 | 北京奇虎科技有限公司 | image display method and device |
CN105677731B (en) * | 2015-12-29 | 2019-05-21 | 小米科技有限责任公司 | Show method, apparatus, terminal and the server of preview picture figure |
KR101751039B1 (en) * | 2016-02-17 | 2017-06-26 | 네이버 주식회사 | Device and method for displaying image, and computer program for executing the method |
JP7259743B2 (en) * | 2017-06-19 | 2023-04-18 | ソニーグループ株式会社 | Display control device, display control method and display control program |
CN108009273B (en) * | 2017-12-19 | 2021-12-14 | 北京小米移动软件有限公司 | Image display method, image display device and computer-readable storage medium |
CN109325134A (en) * | 2018-09-21 | 2019-02-12 | Oppo广东移动通信有限公司 | Thumbnail management method, thumbnail management device and mobile terminal |
CN109040474B (en) * | 2018-10-26 | 2021-01-12 | Oppo广东移动通信有限公司 | Photo display method, device, terminal and storage medium |
-
2019
- 2019-03-27 CN CN201910241580.6A patent/CN109977247B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101464882A (en) * | 2007-12-21 | 2009-06-24 | 株式会社理光 | Information display system, information display method, and computer program product |
CN107168614A (en) * | 2012-03-06 | 2017-09-15 | 苹果公司 | Application for checking image |
Also Published As
Publication number | Publication date |
---|---|
CN109977247A (en) | 2019-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11921694B2 (en) | Techniques for collapsing views of content items in a graphical user interface | |
WO2016101757A1 (en) | Image processing method and device based on mobile device | |
US11593948B2 (en) | Generating refined alpha mattes utilizing guidance masks and a progressive refinement network | |
WO2017129018A1 (en) | Picture processing method and apparatus, and smart terminal | |
RU2459279C1 (en) | Device to control content and method to control content | |
US9972113B2 (en) | Computer-readable recording medium having stored therein album producing program, album producing method, and album producing device for generating an album using captured images | |
US8683339B2 (en) | Intelligent content organization based on time gap analysis | |
WO2015144043A1 (en) | Photo collection display method and apparatus | |
CN106687902B (en) | Image display, visualization and management based on content analysis | |
US10430456B2 (en) | Automatic grouping based handling of similar photos | |
US20220417417A1 (en) | Content Operation Method and Device, Terminal, and Storage Medium | |
US20150169944A1 (en) | Image evaluation apparatus, image evaluation method, and non-transitory computer readable medium | |
CN103477317B (en) | Content display processing device, content display processing method and integrated circuit | |
CN107038695A (en) | A kind of image interfusion method and mobile device | |
CN109977247B (en) | Image processing method and image processing apparatus | |
US20170046350A1 (en) | Media organization | |
US11089071B2 (en) | Symmetric and continuous media stream from multiple sources | |
CN110211022A (en) | A kind of image processing method, device and electronic equipment | |
EP2811732B1 (en) | Image processing apparatus, image processing method, computer-readable storage medium and program | |
JP2008197932A (en) | Image file management device | |
US20080181525A1 (en) | Image evaluation method, apparatus, and program | |
JP2007133838A (en) | Image display method and image display program | |
Evening | Adobe Photoshop Lightroom CC/Lightroom 6 Book: The Complete Guide for Photographers, The | |
US11086923B2 (en) | Communication apparatus, control method, and storage medium | |
CN110222207B (en) | Picture sorting method and device and intelligent terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |