WO2019096207A1 - Image processing method and computer device, and computer readable storage medium - Google Patents

Image processing method and computer device, and computer readable storage medium Download PDF

Info

Publication number
WO2019096207A1
WO2019096207A1 PCT/CN2018/115653 CN2018115653W WO2019096207A1 WO 2019096207 A1 WO2019096207 A1 WO 2019096207A1 CN 2018115653 W CN2018115653 W CN 2018115653W WO 2019096207 A1 WO2019096207 A1 WO 2019096207A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
images
threshold
image set
processor
Prior art date
Application number
PCT/CN2018/115653
Other languages
French (fr)
Chinese (zh)
Inventor
柯秀华
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019096207A1 publication Critical patent/WO2019096207A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • G06V40/173Classification, e.g. identification face re-identification, e.g. recognising unknown faces across different face tracks

Definitions

  • the present application relates to the field of computer technology, and in particular, to an image processing method and a computer device, and a computer readable storage medium.
  • image classification in smart mobile terminals may include grouping images according to face, location, and time. Grouping the images in the smart mobile terminal enables the user to view the images in the smart mobile terminal, and the manner in which the user views the images in the smart mobile terminal is more convenient and faster.
  • An embodiment of the present application provides an image processing method, a computer device, and a computer readable storage medium.
  • An image processing method comprising:
  • the images in the second set of images are sorted.
  • a computer device comprising a memory and a processor, wherein the memory stores computer readable instructions, and when the instructions are executed by the processor, the processor implements the following operations:
  • the images in the second set of images are sorted.
  • a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to:
  • the images in the second set of images are sorted.
  • FIG. 1 is a schematic diagram of an application environment of an image processing method in an embodiment.
  • FIG. 2 is a flow chart of an image processing method in one embodiment.
  • 3 is a flow chart of an image processing method in another embodiment.
  • FIG. 4 is a diagram showing a result of classification of a mobile terminal album in one embodiment.
  • Figure 5 is a flow chart of an image processing method in still another embodiment.
  • Figure 6 is a system architecture diagram of an image processing system in one embodiment.
  • Fig. 7 is a block diagram showing the structure of an image processing apparatus in an embodiment.
  • Figure 8 is a block diagram showing the structure of an image processing apparatus in another embodiment.
  • FIG. 9 is a schematic diagram showing the internal structure of a server in an embodiment.
  • FIG. 10 is a block diagram showing a part of a structure of a mobile phone related to a computer device according to an embodiment of the present application.
  • first may be referred to as a second client
  • second client may be referred to as a first client, without departing from the scope of the present application.
  • Both the first client and the second client are clients, but they are not the same client.
  • FIG. 1 is a schematic diagram of an application environment of an image processing method in an embodiment.
  • the application environment includes a client 102 and a server 104.
  • the client 102 may be configured to obtain a first image set, and count the historical browsing times of each image in the first image set; obtain an image in the first image set whose historical browsing times are greater than the threshold value, and generate a second image set.
  • the server 104 classifies the images in the second image set and returns the classification result to the client 102.
  • the client 102 can also directly send the first image set and the corresponding historical browsing times to the server 102, and the server 102 generates a second image set according to the first image set and the corresponding historical browsing times, and the second The image collection is classified.
  • the client 102 is an electronic device that is mainly used for inputting user information and outputting processing results at the outermost periphery of the computer network, and may be, for example, a personal computer, a mobile terminal, a personal digital assistant, a wearable electronic device, or the like.
  • the server 104 is a device for providing a computing service in response to a service request, and may be, for example, one or more computers.
  • the application environment of the image processing method may include only the client 102, that is, the client 102 is configured to acquire a statistical first image set, generate a second image set according to the first image set, and set the second image set.
  • the images in the category are classified.
  • the image processing method includes operations 202 through 206. among them:
  • Operation 202 Count the number of historical views of each image in the first image set, wherein the first image set includes one or more images.
  • the image is composed of a plurality of pixels, and the pixels are arranged according to a certain rule to form a two-dimensional matrix.
  • each pixel in the image can be processed to change the pixel value of each pixel, and the arrangement of each pixel in the image can also be changed.
  • the processing of the image may be processing such as improving image brightness, improving saturation, feature recognition, classification, and the like.
  • An image collection refers to a collection of several images, and specifically may include one or more images.
  • the smart terminal stores the picture in the storage space, and the smart terminal can directly obtain the picture from the preset storage address, or traverse all the folders in the smart terminal to obtain the picture.
  • the storage space of the smart terminal is divided into an internal memory and an external memory.
  • the internal memory refers to the memory that comes with the smart terminal itself and is part of the hardware structure of the client.
  • the external storage refers to an external storage device of the intelligent terminal, and the external storage can perform data transmission with the client through a dedicated interface.
  • the external storage may be an SD card, a USB flash drive or the like.
  • the first image set may include a picture stored in the internal memory and the external memory, or may include only the picture stored in the internal memory, or may include only the picture stored in the external memory, which is not limited herein.
  • the images stored in the smart terminal can be displayed on the display screen of the smart terminal, and the user can view through the display screen of the smart terminal.
  • the user can select an image to be viewed and input a viewing instruction, and the smart terminal enlarges and displays the image selected by the user for the user to browse.
  • the number of historical views refers to the number of times the user views the image.
  • the intelligent terminal increments the number of historical browsing times to count the number of historical views corresponding to each image.
  • an image in which the number of historical views in the first image set is greater than the threshold of the number of times is obtained, and a second image set is generated.
  • the image is acquired from the first image set according to the historical browsing number of the image, and a second image set is generated.
  • the traversing each image in the first image set comparing the obtained historical browsing times with the number of times thresholds, and acquiring an image whose historical browsing times are greater than the number of times threshold, and generating a second image set.
  • the second set of images is a subset of the first set of images, and the second set of images includes all or a portion of the images in the first set of images.
  • the first image set includes three images, namely, image 1, image 2, and image 3, and the corresponding historical browsing times are 1, 20, and 15 times, respectively.
  • an image in which the number of historical views in the first image set is greater than the number of times threshold is acquired, that is, image 2 and image 3, and then a second image set is generated according to image 2 and image 3.
  • the user generally views the image that is more concerned, and the historical browsing times of the image can reflect the degree of attention of the user to the image. The more the user pays more attention to the image, the more the history browsing times. Only the images that the user is more concerned with are processed without having to process all the images, which reduces the consumption of resources.
  • the historical browsing times of the images in the first image set in the preset time period may be counted, and then the images in the first image set whose historical browsing times are greater than the number of times threshold are acquired, and the second image set is generated.
  • the number of historical views of an image within one month can be counted, the number of historical views of the image is cleared at the beginning of each month, and the second image set is generated according to the number of historical views counted in the previous month, and then the second image set is The images are sorted. In this way, the generated second image set can be updated in time to update the classification result in time.
  • Operation 206 classifying images in the second set of images.
  • Classification is the process of dividing an object collection into multiple object combinations, each of which consists of one or more similar objects.
  • Classifying the images in the second set of images is the process of dividing the images in the second set of images into one or more different types. After the images are classified, they can be marked by the classification label, and the classification label can know which type the image belongs to. Each image has a corresponding image identifier, and the image identifier is used to distinguish different images, and the image identifier can be used to find a corresponding image. Therefore, after the image is classified, the correspondence between the image identifier and the classification label can be established, and the image classification can be viewed through the classification label.
  • the image identification includes “image 1", “image 2”, and “image 3”
  • the classification label may include “category 1” and “category 2”
  • “category 1” corresponds to "image 1” and “image 2”
  • Classification 2 corresponds to "Image 3”
  • the classification label can be used to view the classification of each image.
  • corresponding image sub-sets may also be generated according to each type of image, and each image sub-set is arranged and displayed, and the user may classify and view the images in the second image set.
  • the second image set is generated according to the historical browsing times of each image in the first image set, and the generated second image set is classified. In this way, it is not necessary to process all the images, and only the images that the user pays attention to are processed, thereby realizing the precise processing of the images and reducing the consumption of resources.
  • FIG. 3 is a flow chart of an image processing method in another embodiment. As shown in FIG. 3, the image processing method includes operations 302 through 314. among them:
  • Operation 302 counting the number of historical views of each image in the first image set, wherein the first image set includes one or more images.
  • the client may synchronize the image in the first image set to the server, after acquiring the second image set, then the server acquires the second image set according to the first image set, and the second image set is The images are sorted.
  • a communication connection can be established between the client and the server. After the communication connection is successful, the server returns a successful connection information to the client, and then the client sends the first image set to the server according to the connection success information.
  • the server acquires the second image set according to the first image set, and classifies the second image set. After the classification is completed, the classification result is returned to the client.
  • the client may acquire a second image set according to the classification result returned by the server, and classify the second image set.
  • a communication connection can be established between a client and a server through a pair of port numbers. After the connection is established, the first image set is sent through the connected port number.
  • the server may store the first image set, so that the client can obtain the image in the first image set, even if the image in the first image set is deleted. It can be understood that after storing the first image collection, the server can generate a webpage link and return the webpage link to the client. By accessing the webpage link, the client can view the images in the stored first image collection and can download the images in the first image collection.
  • the webpage link corresponds to a webpage document, and the client obtains and reads the webpage document when clicking the webpage link, and the webpage document includes the storage address and the image identifier of the webpage.
  • the client parses the webpage document and displays the content in the webpage document, and the user views the image through the displayed content.
  • a condition for triggering the classification process may be set, and if the condition is satisfied, the first image set is acquired and the classification process is performed. Specifically, when the preset trigger condition is met, the first image set is acquired.
  • the preset trigger condition refers to a condition of the trigger classification processing set in advance, and when the preset trigger condition is satisfied, the first image set is classified.
  • the preset triggering condition may be, but is not limited to, the number of newly added pictures on the client is greater than the preset number; the current time is the preset time; the time from the last initiation of the classification request exceeds the preset time period; and the mobile terminal is currently in the charging state. For example, when the mobile terminal adds more than 50 pictures, if the current time is between 2 am and 5 am, and the mobile terminal is in a charging state, the mobile terminal initiates a classification request.
  • the client can send a classification request to the server through the client where the application account is located. That is, when the client initiates a classification request to the server, the requesting device identifier may refer to an application account identifier or a terminal identifier.
  • the application account identifier refers to a unique identifier used to represent the identity of the user, and the terminal identifier refers to a unique identifier that distinguishes different clients.
  • the terminal identifier may be, but not limited to, an IP (Internet Protocol) protocol, a MAC (Media Access Control) address, and the like of the client.
  • the user can log in to the smart terminal through the application account, and send a request for classifying the photo in the album to the server through the smart terminal.
  • the server After receiving the classification request sent by the smart terminal, the server obtains the historical browsing number in the album is greater than the threshold value. The photo is sorted and the result of the sorting process is returned to the smart terminal.
  • the server may record the request status corresponding to the classification request, and is used to indicate the processing procedure of the classification request.
  • the request status may include unprocessed, in-process, re-process, and process completion status, and may be represented by tags such as "R-Result", "De-Handle", "Re-Group", and "End", respectively.
  • the request status tag of the current classification request is read, and the status of the current classification request can be known according to the request status label. If the classification request may be re-processed due to a hardware or software failure, such as a request interruption, the classification request may indicate that the current request status is reprocessed through the "Re-Group" tag.
  • the server may form a request queue, and the classification request in the request queue may be sorted according to the order of the request time, and then the classification request in the request queue is processed in turn.
  • the same classification request of the request originating object in the request queue can be merged. Since the request originating objects of the merged classification request are the same, after the merged classification request is processed, the obtained classification processing result may be directly sent to the corresponding request initiation object.
  • the classification request queue includes three classification requests, which are arranged in chronological order: classification request 1, and application account A sends a classification request at 03:30 on August 20, 2017, including image collection 1; Classification request 2, the classification request sent by application account B on August 21, 2017 at 02:41, including image collection 2; classification request 3, application account A, the classification request sent at 04:02 on August 22, 2017, including Image collection 3. Then, the classification request 1 and the classification request 3 are merged, and the image set acquired after the combination is a union of the image collection 1 and the image collection 3.
  • a threshold number of times corresponding to each image in the first image set is obtained according to an image generation manner.
  • the generation mode refers to the manner in which the image is generated.
  • the number of times the user browses may be different, so different screening criteria may be adopted for images generated by different generation methods.
  • an image may be taken by a camera, or may be acquired by a screen capture, or may be downloaded from a web page or imported from an external device.
  • the corresponding relationship between the image generation mode and the number of times thresholds may be established, and each image of the first image set is traversed, and the corresponding number of times threshold is obtained according to the image generation manner, and the number of times corresponding to the image generated by the different generation modes is different.
  • the threshold value of the number of times corresponding to the captured image is 10 times
  • the threshold value of the number of times corresponding to the screen capture image is 3 times
  • the threshold value of the number of times corresponding to the downloaded image is 5 times.
  • the generation mode and the corresponding number of times thresholds may be arbitrarily set as needed, and the third generation mode, the fourth generation mode, and the like may also be set, and the third time threshold value and the fourth number threshold value are set correspondingly, and Make specific limits.
  • an image in which the number of historical views in the first image set is greater than a corresponding number of times threshold is acquired, and a second image set is generated.
  • each image in the first set of images is traversed, and a corresponding number of thresholds is obtained according to the manner in which the images are generated. That is to say, each image has a corresponding history browsing number and number threshold, and the historical browsing times corresponding to each image are compared with the corresponding number threshold. If the historical browsing times are greater than the corresponding number threshold, then This image serves as an image in the second set of images. All images in the first image set that satisfy the condition are filtered to generate a second image set. If the user deletes the image in the first image set, the corresponding image in the second image set may be deleted at the same time to ensure the consistency of the image in the smart terminal.
  • Operation 308 when the number of images included in the second image set is greater than a quantity threshold, classifying the images in the second image set.
  • determining whether the quantity in the second image set is greater than a quantity threshold determining whether the quantity in the second image set is greater than a quantity threshold, and classifying the image in the second image set when the number of images included in the second image set is greater than a quantity threshold . It may be classified according to the scene of the image, or may be classified according to the face in the image, or may be classified according to the generation time, format, size and the like of the image. In this embodiment, the classification standard of the image is not specified. limited.
  • the process of classifying the image may specifically include: extracting classification features of each image in the second image set, and then classifying the images according to the classification features.
  • the classification feature refers to the feature used for classification, for example, according to the generation time, the extracted classification feature is the image generation time; if the classification is performed according to the scene, the extracted classification feature is the scene feature of the image.
  • the classifying the image according to the classification feature may include: inputting the classification feature of the image into the classification model, and then obtaining the classification result output by the classification model.
  • the classification model refers to an algorithm model for classification processing, and the classification model can classify images.
  • commonly used classification models include k-means classification model, hierarchical classification model, SOM (Self-Organizing Maps) classification model, and FCM (Flow Cytometry) classification model. .
  • the face region in each image in the second image set may be acquired, and the image is classified according to the acquired face region.
  • the face area refers to the area where the face in the image is located, and each face area corresponds to a category. That is to say, if there are multiple face regions in the image, the image can correspond to multiple categories.
  • the user can manually add or delete the image in the second image set, or manually change the second image.
  • the classification of images in the collection For example, when the mobile terminal presents the classification information of the image to be processed, the user can view the information. If the classification information of a certain image to be processed does not meet the personal preference, the classification information of the image to be processed can be manually changed.
  • Operation 310 generating a corresponding image subset according to each type of image.
  • the total number of views corresponding to each image subset is counted, wherein the total number of views refers to the sum of historical browsing times corresponding to all images included in the image subset.
  • a plurality of categories are formed, each of which corresponds to one or more images.
  • Each type of image can be used as a subset of images, and then each image subset is displayed separately.
  • the total number of views corresponding to each image subset is also counted, and then the image subsets are arranged and displayed according to the total number of views.
  • the total number of views refers to the sum of the number of historical views corresponding to all the images included in the image sub-collection.
  • the image sub-collection includes three images, and the historical browsing times corresponding to the three images are 5 times, 3 times, and 8 times, respectively, and the total number of views corresponding to the image sub-collection is 16 times.
  • Operation 3144 displaying each image sub-set according to the total number of views.
  • each subset of images may be displayed in an array on the display interface of the smart terminal.
  • the display may be arranged according to the number of images included in the image subset, which is not limited herein.
  • FIG. 4 is a diagram showing a result of classification of a mobile terminal album in one embodiment.
  • the mobile terminal generates a second image set according to the first image set, and then classifies according to the second image set, and displays the image subset corresponding to each type of image on the interface of the mobile terminal.
  • Six classification results are displayed on the interface in this embodiment, including "Class 1", “Class 2", “Class 3", “Class 4", "Class 5" and “Class 6", respectively. Contains several common images, click on the corresponding category to view the images in the category.
  • the function of manually moving the group by the user may be set in the smart terminal, that is, the user may manually move the grouping of the image based on the existing classification.
  • You can also hide or edit grouping information, such as deleting or hiding a group, or moving an image from one group to another.
  • the packet can also be encrypted, and the user can only view the corresponding packet after being authenticated, for example, by one or more of information such as a password, a fingerprint, or an iris.
  • it is also possible to display different groups by inputting different authentication information, for example, inputting a fingerprint of a thumb, displaying the group 1 in the first place; inputting the fingerprint of the index finger, and displaying the group 2 in the second position.
  • the image processing method provided by the foregoing embodiment generates a second image set according to the historical browsing times of each image in the first image set, and when the number of images in the second image set is greater than the quantity threshold, the generated second image set
  • the classification process is performed, and the image sub-sets are generated according to the classified images to be arranged and displayed. In this way, it is not necessary to process all the images, and only the images that the user pays attention to are processed, thereby realizing the precise processing of the images and reducing the consumption of resources.
  • the user can classify and view the images that are more concerned, adapt to the needs of different users, and improve the user's viscosity.
  • Figure 5 is a flow chart of an image processing method in still another embodiment. As shown in FIG. 5, operations 502 through 508 are image processing methods corresponding to the first classification of the first image set, and operations 512 through 518 are image processing corresponding to the classification of the newly added images in the first image set. method.
  • the process of first classifying the first image set includes:
  • Operation 502 recording the number of historical views of each image in the first image set.
  • Operation 504 Acquire an image whose historical browsing times are greater than a threshold of times, and generate a second image set.
  • Operation 506 when the number of images in the second image set is greater than the number threshold, classify the images in the second image set.
  • Operation 508 results in a classified image.
  • the process of classifying the newly added images in the first image set may specifically include:
  • Operation 512 obtaining a new image.
  • Operation 514 records the number of historical views of the newly added image.
  • Operation 518 results in image classification.
  • the image processing method provided by the foregoing embodiment generates a second image set according to the historical browsing times of each image in the first image set, and when the number of images in the second image set is greater than the quantity threshold, the generated second image set
  • the classification process is performed, and the image sub-sets are generated according to the classified images to be arranged and displayed. In this way, it is not necessary to process all the images, and only the images that the user pays attention to are processed, thereby realizing the precise processing of the images and reducing the consumption of resources.
  • the user can classify and view the images that are more concerned, and adapt to the needs of different users.
  • the newly added image can be classified and processed in time to improve the user's viscosity.
  • FIG. 6 is a system architecture diagram of an image processing system in one embodiment.
  • the image processing system includes a client 62, a local server 64, and a cloud server 66.
  • the client 62 can initiate the classification request by using the trigger 622, and then obtain the first image set and the corresponding historical browsing times from the image database 620 through the data obtaining module 624, and then store the first image set in the backup database 626.
  • the first set of images and the corresponding number of historical views are sent to the local server 64.
  • the local server 64 packages the first image set and the corresponding historical browsing times through the package packaging module 640, and browses the packaged first image set and the corresponding history browsing.
  • the number of times is sent to the cloud server 66 through the communication module 642 for classification processing.
  • the cloud server 66 delivers the obtained server classification result to the local server 64.
  • the local server 64 receives the server classification result through the communication module 642, and parses the server classification result through the package parsing module 644, and then transmits the parsed classification result to the client 62.
  • the second image set is generated from the first image set stored in the backup database 626 according to the classification result, and the second image set is classified and processed, and then the classified second.
  • the image collection is displayed.
  • Fig. 7 is a block diagram showing the structure of an image processing apparatus in an embodiment.
  • the image processing apparatus 700 includes a count statistic module 702, a set generation module 704, and an image classification module 706. among them:
  • the number statistics module 702 is configured to count the number of historical views of each image in the first image set, wherein the first image set includes one or more images.
  • the set generation module 704 is configured to acquire an image in which the historical browsing times in the first image set are greater than a threshold value, and generate a second image set.
  • the image classification module 706 is configured to classify the images in the second image set.
  • the image processing apparatus provided by the above embodiment generates a second image set according to the historical browsing times of each image in the first image set, and classifies the generated second image set. In this way, it is not necessary to process all the images, and only the images that the user pays attention to are processed, thereby realizing the precise processing of the images and reducing the consumption of resources.
  • FIG. 8 is a block diagram showing the structure of an image processing apparatus in another embodiment.
  • the image processing apparatus 800 includes a count statistic module 802, a set generation module 804, an image classification module 806, and a classification display module 808. among them:
  • the number statistics module 802 is configured to count historical browsing times of each image in the first image set, wherein the first image set includes one or more images.
  • the set generation module 804 is configured to acquire an image in the first image set whose historical browsing times are greater than a threshold value, and generate a second image set.
  • the image classification module 806 is configured to classify images in the second image set.
  • the classification display module 808 is configured to generate a corresponding image subset according to each type of image, and display each image subset.
  • the image processing apparatus provided by the above embodiment generates a second image set according to the historical browsing times of each image in the first image set, and classifies the generated second image set. In this way, it is not necessary to process all the images, and only the images that the user pays attention to are processed, thereby realizing the precise processing of the images and reducing the consumption of resources.
  • the set generation module 804 is further configured to acquire, according to a method for generating an image, a threshold value of a number of times corresponding to each image in the first image set; and obtain a historical browsing number in the first image set that is greater than a corresponding number of times An image of the threshold, generating a second set of images.
  • the set generation module 804 is further configured to traverse each image in the first image set; when the image is generated according to the first generation manner, acquiring the first corresponding to the first generation manner a threshold of a number of times; when the image is generated according to the second generation manner, acquiring a second threshold value corresponding to the second generation mode.
  • the image classification module 806 is further configured to classify the images in the second image set when the number of images included in the second image set is greater than a quantity threshold.
  • the image classification module 806 is further configured to acquire a face region in each of the second image sets, and classify the image according to the acquired face region.
  • the classification display module 808 is further configured to count the total number of browsing times corresponding to each image subset, wherein the total number of browsing times refers to a sum of historical browsing times corresponding to all images included in the image subset; The total number of views displays the respective image subsets in an array.
  • each module in the above image processing apparatus is for illustrative purposes only. In other embodiments, the image processing apparatus may be divided into different modules as needed to complete all or part of the functions of the image processing apparatus.
  • FIG. 9 is a schematic diagram showing the internal structure of a server in an embodiment.
  • the server includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected by a system bus.
  • the processor is used to provide computing and control capabilities to support the operation of the entire computer device.
  • the memory is used to store data, programs, etc., and at least one computer program is stored on the memory, and the computer program can be executed by the processor to implement the wireless network communication method suitable for the computer device provided in the embodiments of the present application.
  • the memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random storage memory (Random-Access-Memory, RAM).
  • the memory includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the computer program can be executed by a processor for implementing an image processing method provided by the above embodiments.
  • the internal memory provides a cached operating environment for operating system computer programs in a non-volatile storage medium.
  • the network interface may be an Ethernet card or a wireless network card or the like for communicating with an external computer device.
  • the server can be implemented with a stand-alone server or a server cluster consisting of multiple servers. It will be understood by those skilled in the art that the structure shown in FIG.
  • FIG. 9 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied.
  • the specific server may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
  • the embodiment of the present application also provides a computer readable storage medium.
  • One or more non-transitory computer readable storage media containing computer executable instructions that, when executed by one or more processors, cause the processor to:
  • the images in the second set of images are sorted.
  • the acquiring, by the processor, the acquiring the image that the historical browsing times in the first image set is greater than the threshold value includes:
  • the obtaining, by the processor, the threshold number of times corresponding to each image in the first image set according to the manner of generating the image includes:
  • the performing, by the processor, the classifying the images in the second set of images comprises:
  • the images in the second set of images are classified when the number of images included in the second set of images is greater than a number threshold.
  • the performing, by the processor, the classifying the images in the second set of images comprises:
  • the method performed by the processor further includes:
  • a corresponding image subset is generated according to each type of image, and each image subset is arranged and displayed.
  • the performing, by the processor, performing the permutation display of each image subset includes:
  • Each image sub-set is arranged and displayed according to the total number of views.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the image processing method provided by the above embodiments.
  • the embodiment of the present application also provides a computer device. As shown in FIG. 10, for the convenience of description, only the parts related to the embodiments of the present application are shown. For the specific technical details not disclosed, refer to the method part of the embodiment of the present application.
  • the computer device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking a computer device as a mobile phone as an example. :
  • FIG. 10 is a block diagram showing a part of a structure of a mobile phone related to a computer device according to an embodiment of the present application.
  • the mobile phone includes: a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, and a processor 1080. And power supply 1090 and other components.
  • RF radio frequency
  • the RF circuit 1010 can be used for receiving and transmitting signals during the transmission and reception of information or during a call.
  • the downlink information of the base station can be received and processed by the processor 1080.
  • the uplink data can also be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuit 1010 can also communicate with the network and other devices via wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Pack
  • the memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 1020.
  • the memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an application of a sound playing function, an application of an image playing function, etc.);
  • the data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone.
  • memory 1020 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 1030 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 1000.
  • the input unit 1030 may include a touch panel 1031 and other input devices 1032.
  • the touch panel 1031 which may also be referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation) and drive the corresponding connection device according to a preset program.
  • the touch panel 1031 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1080 is provided and can receive commands from the processor 1080 and execute them.
  • the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1030 may also include other input devices 1032.
  • other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.).
  • the display unit 1040 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 1040 may include a display panel 1041.
  • the display panel 1041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1031 can cover the display panel 1041. When the touch panel 1031 detects a touch operation thereon or nearby, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 is The type of touch event provides a corresponding visual output on display panel 1041.
  • touch panel 1031 and the display panel 1041 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 10, in some embodiments, the touch panel 1031 may be integrated with the display panel 1041. Realize the input and output functions of the phone.
  • the handset 1000 can also include at least one type of sensor 1050, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 and/or when the mobile phone moves to the ear. Or backlight.
  • the motion sensor may include an acceleration sensor, and the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, tapping, etc.; in addition, the phone can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
  • the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, tapping, etc.; in addition, the phone can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
  • Audio circuitry 1060, speaker 1061, and microphone 1062 can provide an audio interface between the user and the handset.
  • the audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, transmitted to another mobile phone via the RF circuit 1010, or outputted to the memory 1020 for subsequent processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone through the WiFi module 1070 can help users to send and receive e-mail, browse the web and access streaming media, etc. It provides users with wireless broadband Internet access.
  • FIG. 10 shows the WiFi module 1070, it can be understood that it does not belong to the essential configuration of the mobile phone 1000 and can be omitted as needed.
  • the processor 1080 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 1020, and invoking data stored in the memory 1020, The phone's various functions and processing data, so that the overall monitoring of the phone.
  • processor 1080 can include one or more processing units.
  • the processor 1080 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, and the like; the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1080.
  • the mobile phone 1000 also includes a power source 1090 (such as a battery) for powering various components.
  • a power source 1090 such as a battery
  • the power source can be logically coupled to the processor 1080 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the handset 1000 may also include a camera, a Bluetooth module, and the like.
  • the processor 1080 included in the mobile terminal implements the image processing method provided by the foregoing embodiment when executing the computer program stored in the memory.
  • Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM), which acts as an external cache.
  • RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM dual data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM Link (Synchlink) DRAM
  • SLDRAM Memory Bus
  • Rambus Direct RAM
  • RDRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Abstract

An image processing method, comprising: counting the number of historical browsing instances for each image in a first image set, wherein the first image set comprises one or more images; acquiring images in the first image set for which the number of historical browsing instances is greater than a number-of-instances threshold, and generating a second image set; and classifying the images in the second image set.

Description

图像处理方法和计算机设备、计算机可读存储介质Image processing method and computer device, computer readable storage medium
相关申请的交叉引用Cross-reference to related applications
本申请要求于2017年11月15日提交中国专利局、申请号为201711132139.1、发明名称为“图像处理方法和装置、计算机设备、计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 200911132139.1, entitled "Image Processing Method and Apparatus, Computer Equipment, Computer Readable Storage Medium", filed on November 15, 2017, the entire contents of which are hereby incorporated by reference. This is incorporated herein by reference.
技术领域Technical field
本申请涉及计算机技术领域,特别是涉及一种图像处理方法和计算机设备、计算机可读存储介质。The present application relates to the field of computer technology, and in particular, to an image processing method and a computer device, and a computer readable storage medium.
背景技术Background technique
随着智能移动终端和互联网技术的飞速发展,对智能移动终端中图像的分类技术越来越成熟。常用的对智能移动终端中图像分类可包括:将图像按照人脸、地点和时间进行分组。对智能移动终端中图像进行分组可使用户分类查看智能移动终端中图像,用户查看智能移动终端中图像的方式更便捷、更快速。With the rapid development of intelligent mobile terminals and Internet technologies, the classification technology for images in smart mobile terminals is becoming more and more mature. Commonly used image classification in smart mobile terminals may include grouping images according to face, location, and time. Grouping the images in the smart mobile terminal enables the user to view the images in the smart mobile terminal, and the manner in which the user views the images in the smart mobile terminal is more convenient and faster.
发明内容Summary of the invention
本申请实施例提供一种图像处理方法和计算机设备、计算机可读存储介质。An embodiment of the present application provides an image processing method, a computer device, and a computer readable storage medium.
一种图像处理方法,所述方法包括:An image processing method, the method comprising:
统计第一图像集合中每一张图像的历史浏览次数,其中所述第一图像集合中包含了一张或多张图像;Counting the number of historical views of each image in the first image set, wherein the first image set includes one or more images;
获取所述第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合;及Obtaining an image of the first image set whose historical browsing times are greater than a threshold of times, and generating a second image set; and
将所述第二图像集合中的图像进行分类。The images in the second set of images are sorted.
一种计算机设备,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器实现如下操作:A computer device comprising a memory and a processor, wherein the memory stores computer readable instructions, and when the instructions are executed by the processor, the processor implements the following operations:
统计第一图像集合中每一张图像的历史浏览次数,其中所述第一图像集合中包含了一张或多张图像;Counting the number of historical views of each image in the first image set, wherein the first image set includes one or more images;
获取所述第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合;及Obtaining an image of the first image set whose historical browsing times are greater than a threshold of times, and generating a second image set; and
将所述第二图像集合中的图像进行分类。The images in the second set of images are sorted.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下操作:A computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to:
统计第一图像集合中每一张图像的历史浏览次数,其中所述第一图像集合中包含了一张或多张图像;Counting the number of historical views of each image in the first image set, wherein the first image set includes one or more images;
获取所述第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合;及Obtaining an image of the first image set whose historical browsing times are greater than a threshold of times, and generating a second image set; and
将所述第二图像集合中的图像进行分类。The images in the second set of images are sorted.
附图说明DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present application, and other drawings can be obtained according to the drawings without any creative work for those skilled in the art.
图1为一个实施例中图像处理方法的应用环境示意图。FIG. 1 is a schematic diagram of an application environment of an image processing method in an embodiment.
图2为一个实施例中图像处理方法的流程图。2 is a flow chart of an image processing method in one embodiment.
图3为另一个实施例中图像处理方法的流程图。3 is a flow chart of an image processing method in another embodiment.
图4为一个实施例中移动终端相册分类结果的展示图。FIG. 4 is a diagram showing a result of classification of a mobile terminal album in one embodiment.
图5为又一个实施例中图像处理方法的流程图。Figure 5 is a flow chart of an image processing method in still another embodiment.
图6为一个实施例中图像处理系统的系统架构图。Figure 6 is a system architecture diagram of an image processing system in one embodiment.
图7为一个实施例中图像处理装置的结构示意图。Fig. 7 is a block diagram showing the structure of an image processing apparatus in an embodiment.
图8为另一个实施例中图像处理装置的结构示意图。Figure 8 is a block diagram showing the structure of an image processing apparatus in another embodiment.
图9为一个实施例中服务器的内部结构示意图。FIG. 9 is a schematic diagram showing the internal structure of a server in an embodiment.
图10为与本申请实施例提供的计算机设备相关的手机的部分结构的框图。FIG. 10 is a block diagram showing a part of a structure of a mobile phone related to a computer device according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It will be understood that the terms "first", "second" and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.
图1为一个实施例中图像处理方法的应用环境示意图。如图1所示,该应用环境包括客户端102和服务器104。其中,客户端102可以用于获取第一图像集合,并统计第一图像集合中每一张图像的历史浏览次数;获取第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合;将第二图像集合发送至服务器104。服务器104接收到第二图像集合后,将第二图像集合中的图像进行分类,并将分类结果返回给客户端102。可以理解的是,客户端102还可以直接将第一图像集合及对应的历史浏览次数发送至服务器102,服务器102根据第一图像集合及对应的历史浏览次数生成第二图像集合,并将第二图像集合进行分类。其中,客户端102为处于计算机网络最外围,主要用于输入用户信息以及输出处理结果的电子设备,例如可以是个人电脑、移动终端、个人数字助理、可穿戴电子设备等。服务器104是用于响应服务请求,同时提供计算服务的设备,例如可以是一台或者多台计算机。可以理解的是,该图像处理方法的应用环境中可以只包括客户端102,即客户端102用于获取统计第一图像集合,根据第一图像集合生成第二图像集合,并将第二图像集合中的图像进行分类。FIG. 1 is a schematic diagram of an application environment of an image processing method in an embodiment. As shown in FIG. 1, the application environment includes a client 102 and a server 104. The client 102 may be configured to obtain a first image set, and count the historical browsing times of each image in the first image set; obtain an image in the first image set whose historical browsing times are greater than the threshold value, and generate a second image set. Sending a second set of images to the server 104. After receiving the second image set, the server 104 classifies the images in the second image set and returns the classification result to the client 102. It can be understood that the client 102 can also directly send the first image set and the corresponding historical browsing times to the server 102, and the server 102 generates a second image set according to the first image set and the corresponding historical browsing times, and the second The image collection is classified. The client 102 is an electronic device that is mainly used for inputting user information and outputting processing results at the outermost periphery of the computer network, and may be, for example, a personal computer, a mobile terminal, a personal digital assistant, a wearable electronic device, or the like. The server 104 is a device for providing a computing service in response to a service request, and may be, for example, one or more computers. It can be understood that the application environment of the image processing method may include only the client 102, that is, the client 102 is configured to acquire a statistical first image set, generate a second image set according to the first image set, and set the second image set. The images in the category are classified.
图2为一个实施例中图像处理方法的流程图。如图2所示,该图像处理方法包括操作202至操作206。其中:2 is a flow chart of an image processing method in one embodiment. As shown in FIG. 2, the image processing method includes operations 202 through 206. among them:
操作202,统计第一图像集合中每一张图像的历史浏览次数,其中第一图像集合中包含了一张或多张图像。Operation 202: Count the number of historical views of each image in the first image set, wherein the first image set includes one or more images.
在本申请提供的实施例中,图像是由若干个像素点构成的,这若干个像素点按照一定的规律进行排列形成一个二维矩阵。在对图像进行处理时,可以对图像中的各个像素点进行处理,改变各个像素点的像素值,也可以改变图像中各个像素点的排列。例如对图像的处理可以是提高图像亮度、提高饱和度、特征识别、分类等处理。图像集合是指由若干张图像构成的集合,具体可以是包含一张或多张图像。一般地,智能终端的存储空间中存储着图片,智能终端可以从预设存储地址中直接获取图片,也可以遍历智能终端中的所有文件夹获取图片。智能终端的存储空间分为内存储器和外接存储器。内存储器是指智能终端本身自带的存储器,是客户端硬件结构的一部分。外接存储器是指智能终端外接的存储设备,外接存储可以通过专用接口与客户端进行数据传输。例如,外接存储器可以是SD卡、U盘等。则第一图像集合中可以包含内存储器和外接存储器中存储的图片,也可以只包含内存储器中存储的图片,还可以是只包含外接存储器中存储的图片,在此不做限定。In the embodiment provided by the present application, the image is composed of a plurality of pixels, and the pixels are arranged according to a certain rule to form a two-dimensional matrix. When processing an image, each pixel in the image can be processed to change the pixel value of each pixel, and the arrangement of each pixel in the image can also be changed. For example, the processing of the image may be processing such as improving image brightness, improving saturation, feature recognition, classification, and the like. An image collection refers to a collection of several images, and specifically may include one or more images. Generally, the smart terminal stores the picture in the storage space, and the smart terminal can directly obtain the picture from the preset storage address, or traverse all the folders in the smart terminal to obtain the picture. The storage space of the smart terminal is divided into an internal memory and an external memory. The internal memory refers to the memory that comes with the smart terminal itself and is part of the hardware structure of the client. The external storage refers to an external storage device of the intelligent terminal, and the external storage can perform data transmission with the client through a dedicated interface. For example, the external storage may be an SD card, a USB flash drive or the like. The first image set may include a picture stored in the internal memory and the external memory, or may include only the picture stored in the internal memory, or may include only the picture stored in the external memory, which is not limited herein.
具体地,智能终端中存储的图像一般可以在智能终端的显示屏上进行排列显示,用户可以通过智能终端的显示屏进行查看。用户可以选择需要查看的图像,并输入查看指令,智能终端会将用户选择的图像进行放大显示,供用户浏览。历史浏览次数就是指用户历史查看图像的次数,用户每查看一次图像,智能终端就会将历史浏览次数加一,从而统计每一张图像对应的历史浏览次数。Specifically, the images stored in the smart terminal can be displayed on the display screen of the smart terminal, and the user can view through the display screen of the smart terminal. The user can select an image to be viewed and input a viewing instruction, and the smart terminal enlarges and displays the image selected by the user for the user to browse. The number of historical views refers to the number of times the user views the image. When the user views the image once, the intelligent terminal increments the number of historical browsing times to count the number of historical views corresponding to each image.
操作204,获取第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合。In operation 204, an image in which the number of historical views in the first image set is greater than the threshold of the number of times is obtained, and a second image set is generated.
根据图像的历史浏览次数从第一图像集合中获取图像,生成第二图像集合。遍历第一图像集合中的每一张图像,将获取的历史浏览次数与次数阈值进行比较,获取历史浏览次数大于次数阈值的图像,生成第二图像集合。第二图像集合是第一图像集合的子集合,第二图像集合中包含了第一图像集合中的全部或部分图像。例如,第一图像集合中包含三张图像,分别为图像1、图像2和图像3,对应的历史浏览次数分别为1次、20次、15次。假设次数阈值为10次,那么获取第一图像集合中历史浏览次数大于次数阈值的图像,即为图像2和图像3,然后根据图像2和图像3生成第二图像集合。可以理解的是,用户一般会对比较关注的图像进行查看,图像的历史浏览次数可以反映用户对图像的关注程度,一般用户越关注的图像,历史浏览次数越多。只对用户比较关注的图像进行处理,而无需对所有图像进行处理,减少了资源的消耗。The image is acquired from the first image set according to the historical browsing number of the image, and a second image set is generated. The traversing each image in the first image set, comparing the obtained historical browsing times with the number of times thresholds, and acquiring an image whose historical browsing times are greater than the number of times threshold, and generating a second image set. The second set of images is a subset of the first set of images, and the second set of images includes all or a portion of the images in the first set of images. For example, the first image set includes three images, namely, image 1, image 2, and image 3, and the corresponding historical browsing times are 1, 20, and 15 times, respectively. Assuming that the number of times threshold is 10 times, an image in which the number of historical views in the first image set is greater than the number of times threshold is acquired, that is, image 2 and image 3, and then a second image set is generated according to image 2 and image 3. It can be understood that the user generally views the image that is more concerned, and the historical browsing times of the image can reflect the degree of attention of the user to the image. The more the user pays more attention to the image, the more the history browsing times. Only the images that the user is more concerned with are processed without having to process all the images, which reduces the consumption of resources.
更进一步地,可以只统计第一图像集合中图像在预设时段内的历史浏览次数,然后获取第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合。例如,可以统计一个月内图像的历史浏览次数,每个月月初将图像的历史浏览次数清零,并根据上个月统计的历史浏览次数生成第二图像集合,然后将第二图像集合中的图像进行分类。这样可以对生成的第二图像集合进行及时更新,从而对分类结果进行及时地更新。Further, only the historical browsing times of the images in the first image set in the preset time period may be counted, and then the images in the first image set whose historical browsing times are greater than the number of times threshold are acquired, and the second image set is generated. For example, the number of historical views of an image within one month can be counted, the number of historical views of the image is cleared at the beginning of each month, and the second image set is generated according to the number of historical views counted in the previous month, and then the second image set is The images are sorted. In this way, the generated second image set can be updated in time to update the classification result in time.
操作206,将第二图像集合中的图像进行分类。 Operation 206, classifying images in the second set of images.
分类是指将对象集合分成多个对象组合的过程,每个对象组合是由一个或多个相似的对象组成。将第二图像集合中的图像进行分类,就是将第二图像集合中的图像分成一个或多个不同类型的过程。将图像进行分类之后,可以通过分类标签进行标记,通过分类标签可以知道图像具体属于哪一类型。每一张图像都有对应的图像标识,图像标识用于对不同图像进行区分,通过图像标识可以查找对应的图像。因此在对图像进行分类之后,可以建立图像标识和分类标签的对应关系,通过分类标签可以查看图像具体分类。例如,图像标识包括“图像1”、“图像2”和“图像3”,分类标签可以包括“分类1”和“分类2”,“分类1”对应“图像1”和“图像2”,“分类2”对应“图像3”,通过分类标签可以查看每个图像各自的分类情况。在对第二图像集合进行分类后,还可以根据每一类图像生成对应的图像子集合,并将各个图像子集合进行排列显示,用户可以对第二图像集合中的图像进行分类查看。Classification is the process of dividing an object collection into multiple object combinations, each of which consists of one or more similar objects. Classifying the images in the second set of images is the process of dividing the images in the second set of images into one or more different types. After the images are classified, they can be marked by the classification label, and the classification label can know which type the image belongs to. Each image has a corresponding image identifier, and the image identifier is used to distinguish different images, and the image identifier can be used to find a corresponding image. Therefore, after the image is classified, the correspondence between the image identifier and the classification label can be established, and the image classification can be viewed through the classification label. For example, the image identification includes "image 1", "image 2", and "image 3", the classification label may include "category 1" and "category 2", and "category 1" corresponds to "image 1" and "image 2", Classification 2" corresponds to "Image 3", and the classification label can be used to view the classification of each image. After classifying the second image set, corresponding image sub-sets may also be generated according to each type of image, and each image sub-set is arranged and displayed, and the user may classify and view the images in the second image set.
上述实施例提供的图像处理方法,根据第一图像集合中的每张图像的历史浏览次数生成第二图像集合,并将生成的第二图像集合进行分类处理。这样无需对所有图像进行处理,只对用户关注的图像进行处理,实现了图像的精准化处理,同时减少了资源的消耗。In the image processing method provided by the above embodiment, the second image set is generated according to the historical browsing times of each image in the first image set, and the generated second image set is classified. In this way, it is not necessary to process all the images, and only the images that the user pays attention to are processed, thereby realizing the precise processing of the images and reducing the consumption of resources.
图3为另一个实施例中图像处理方法的流程图。如图3所示,该图像处理方法包括操作302至操作314。其中:3 is a flow chart of an image processing method in another embodiment. As shown in FIG. 3, the image processing method includes operations 302 through 314. among them:
操作302,统计第一图像集合中每一张图像的历史浏览次数,其中第一图像集合中包含了一张或多张图像。Operation 302, counting the number of historical views of each image in the first image set, wherein the first image set includes one or more images.
在一个实施例中,客户端可以将第一图像集合中的图像同步到服务器,在获取到第二图像集合之后,然后服务器根据第一图像集合获取第二图像集合,并将第二图像集合中图像进行分类。客户端和服务器之间可以首先建立通信连接,通信连接成功之后服务器会给 客户端返回一个连接成功的信息,然后客户端根据连接成功的信息将第一图像集合发送至服务器。服务器根据第一图像集合获取第二图像集合,并将第二图像集合进行分类,分类完成之后,将分类结果返回给客户端。客户端可以根据服务器返回的分类结果获取第二图像集合,并将第二图像集合进行分类。例如,客户端和服务器之间可以通过一对端口号(socket)来建立通信连接,建立连接之后,通过连接好的端口号来发送第一图像集合。In one embodiment, the client may synchronize the image in the first image set to the server, after acquiring the second image set, then the server acquires the second image set according to the first image set, and the second image set is The images are sorted. A communication connection can be established between the client and the server. After the communication connection is successful, the server returns a successful connection information to the client, and then the client sends the first image set to the server according to the connection success information. The server acquires the second image set according to the first image set, and classifies the second image set. After the classification is completed, the classification result is returned to the client. The client may acquire a second image set according to the classification result returned by the server, and classify the second image set. For example, a communication connection can be established between a client and a server through a pair of port numbers. After the connection is established, the first image set is sent through the connected port number.
服务器在接收到客户端发送的第一图像集合后,可以将第一图像集合进行存储,这样客户端即使将第一图像集合中的图像删除了,还可以从服务器上进行获取。可以理解的是,服务器在存储第一图像集合后,可以生成一个网页链接,并将网页链接返回给客户端。客户端通过访问该网页链接,可以查看存储的第一图像集合中的图像,并可以对第一图像集合中的图像进行下载。该网页链接对应着一个网页文档,客户端在点击该网页链接的时候,获取并读取该网页文档,网页文档中包含了这些图片的存储地址和图片标识。客户端在获取到该网页文档之后,解析该网页文档,并将网页文档中的内容进行显示,用户通过显示的内容对图片进行查看。After receiving the first image set sent by the client, the server may store the first image set, so that the client can obtain the image in the first image set, even if the image in the first image set is deleted. It can be understood that after storing the first image collection, the server can generate a webpage link and return the webpage link to the client. By accessing the webpage link, the client can view the images in the stored first image collection and can download the images in the first image collection. The webpage link corresponds to a webpage document, and the client obtains and reads the webpage document when clicking the webpage link, and the webpage document includes the storage address and the image identifier of the webpage. After obtaining the webpage document, the client parses the webpage document and displays the content in the webpage document, and the user views the image through the displayed content.
在一个实施例中,可以设置触发分类处理的条件,在满足条件的情况下,获取第一图像集合,并进行分类处理。具体地,当满足预设触发条件时,获取第一图像集合。预设触发条件是指预先设置的触发分类处理的条件,在满足该预设触发条件时,对第一图像集合进行分类处理。预设触发条件可以但不限于是:在客户端的新增图片数量大于预设数量;当前时间为预设时间;距上次发起分类请求的时间超过预设时间段;移动终端当前处于充电状态。例如,在移动终端新增图片大于50张时,若当前时间为凌晨2点到5点,且移动终端处于充电状态,则移动终端发起分类请求。In one embodiment, a condition for triggering the classification process may be set, and if the condition is satisfied, the first image set is acquired and the classification process is performed. Specifically, when the preset trigger condition is met, the first image set is acquired. The preset trigger condition refers to a condition of the trigger classification processing set in advance, and when the preset trigger condition is satisfied, the first image set is classified. The preset triggering condition may be, but is not limited to, the number of newly added pictures on the client is greater than the preset number; the current time is the preset time; the time from the last initiation of the classification request exceeds the preset time period; and the mobile terminal is currently in the charging state. For example, when the mobile terminal adds more than 50 pictures, if the current time is between 2 am and 5 am, and the mobile terminal is in a charging state, the mobile terminal initiates a classification request.
可以理解的是,客户端中可以登录多个应用账户,不同用户对应不同的应用账户,对应的图像集合也不同。用户需要进行分类处理时,可以通过应用账户所在的客户端向服务器发起分类请求。也就是说,当客户端向服务器发起分类请求时,请求发起设备标识可以是指应用账户标识,也可以是终端标识。其中,应用账户标识是指用于表示用户身份的唯一身份标识,终端标识是指区分不同客户端的唯一标识。终端标识可以但不限于是客户端的IP(Internet Protocol,网络之间互连的协议)地址、MAC(Media Access Control,媒体访问控制)地址等。例如,用户可以通过应用账户登录智能终端,并通过智能终端向服务器发送对相册中的照片进行分类处理的请求,服务器接收到智能终端发送的分类请求之后,获取相册中历史浏览次数大于次数阈值的照片进行分类处理,并将分类处理的结果返回给智能终端。同时对于客户端发起的分类请求,服务器可以记录分类请求对应的请求状态,用于表示分类请求的处理过程。例如,请求状态可以包括未处理、处理中、重新处理和处理完成等状态,可以分别通过“R-Result”、“De-Handle”、“Re-Group”和“End”等标签进行表示。读取当前分类请求的请求状态标签,根据请求状态标签可以知道当前分类请求的状态。其中,如果由于硬件或软件故障造成请求中断等情况,分类请求可能会重新进行处理,那么该分类请求就可以通过“Re-Group”标签来表示当前请求状态为重新处理。It can be understood that multiple application accounts can be logged in the client, and different users correspond to different application accounts, and the corresponding image sets are also different. When the user needs to perform classification processing, the client can send a classification request to the server through the client where the application account is located. That is, when the client initiates a classification request to the server, the requesting device identifier may refer to an application account identifier or a terminal identifier. The application account identifier refers to a unique identifier used to represent the identity of the user, and the terminal identifier refers to a unique identifier that distinguishes different clients. The terminal identifier may be, but not limited to, an IP (Internet Protocol) protocol, a MAC (Media Access Control) address, and the like of the client. For example, the user can log in to the smart terminal through the application account, and send a request for classifying the photo in the album to the server through the smart terminal. After receiving the classification request sent by the smart terminal, the server obtains the historical browsing number in the album is greater than the threshold value. The photo is sorted and the result of the sorting process is returned to the smart terminal. At the same time, for the classification request initiated by the client, the server may record the request status corresponding to the classification request, and is used to indicate the processing procedure of the classification request. For example, the request status may include unprocessed, in-process, re-process, and process completion status, and may be represented by tags such as "R-Result", "De-Handle", "Re-Group", and "End", respectively. The request status tag of the current classification request is read, and the status of the current classification request can be known according to the request status label. If the classification request may be re-processed due to a hardware or software failure, such as a request interruption, the classification request may indicate that the current request status is reprocessed through the "Re-Group" tag.
由于服务器的处理能力有限,则服务器在接收到分类请求之后,可以形成一个请求队列,请求队列中的分类请求可以按照请求时间的先后进行排序,然后依次将请求队列中的分类请求进行处理。在处理分类请求时,可以将请求队列中的请求发起对象相同的分类请求进行合并。由于合并的分类请求的请求发起对象相同,那么将合并后的分类请求进行处理后,得到的分类处理结果可以直接发送给对应的请求发起对象。举例来说,分类请求队列中包含了三个分类请求,按照时间先后顺序排列分别为:分类请求1,应用账户A在2017年8月20日03:30发送的分类请求,包含图像集合1;分类请求2,应用账户B在2017年8月21日02:41发送的分类请求,包含图像集合2;分类请求3,应用账户A在2017年8月22日04:02发送的分类请求,包含图像集合3。则将分类请求1和分类请求 3进行合并,合并后获取的图像集合为图像集合1和图像集合3的并集。Since the processing capability of the server is limited, after receiving the classification request, the server may form a request queue, and the classification request in the request queue may be sorted according to the order of the request time, and then the classification request in the request queue is processed in turn. When processing a classification request, the same classification request of the request originating object in the request queue can be merged. Since the request originating objects of the merged classification request are the same, after the merged classification request is processed, the obtained classification processing result may be directly sent to the corresponding request initiation object. For example, the classification request queue includes three classification requests, which are arranged in chronological order: classification request 1, and application account A sends a classification request at 03:30 on August 20, 2017, including image collection 1; Classification request 2, the classification request sent by application account B on August 21, 2017 at 02:41, including image collection 2; classification request 3, application account A, the classification request sent at 04:02 on August 22, 2017, including Image collection 3. Then, the classification request 1 and the classification request 3 are merged, and the image set acquired after the combination is a union of the image collection 1 and the image collection 3.
操作304,根据图像的生成方式获取第一图像集合中每一张图像对应的次数阈值。In operation 304, a threshold number of times corresponding to each image in the first image set is obtained according to an image generation manner.
在一个实施例中,生成方式是指生成图像的方式。对于不同生成方式生成的图像,用户浏览的次数可能是有差别的,因此可以对不同的生成方式生成的图像采用不同的筛选标准。例如,在智能终端中,图像可以是通过摄像头拍摄的,也可以是通过截屏获取的,还可以是在网页下载或从外部设备导入的。可以建立图像生成方式与次数阈值的对应关系,遍历第一图像集合中每一张图像,根据图像的生成方式获取对应的次数阈值,则不同生成方式生成的图像对应的次数阈值不同。例如,拍摄图像对应的次数阈值为10次,截屏图像对应的次数阈值为3次,下载图像对应的次数阈值为5次等。具体地,遍历第一图像集合中每一张图像;当图像是根据第一生成方式生成的时,获取第一生成方式对应的第一次数阈值;当图像是根据第二生成方式生成的时,获取第二生成方式对应的第二次数阈值。例如,第一生成方式为拍摄,对应的第一次数阈值为8次;第二生成方式为截屏,对应的第二次数阈值为7次。在本实施例中,生成方式以及对应的次数阈值可以根据需要任意设置,同样还可以设置第三生成方式、第四生成方式等,对应设置第三次数阈值、第四次数阈值等,在此不做具体限定。In one embodiment, the generation mode refers to the manner in which the image is generated. For images generated by different generation methods, the number of times the user browses may be different, so different screening criteria may be adopted for images generated by different generation methods. For example, in a smart terminal, an image may be taken by a camera, or may be acquired by a screen capture, or may be downloaded from a web page or imported from an external device. The corresponding relationship between the image generation mode and the number of times thresholds may be established, and each image of the first image set is traversed, and the corresponding number of times threshold is obtained according to the image generation manner, and the number of times corresponding to the image generated by the different generation modes is different. For example, the threshold value of the number of times corresponding to the captured image is 10 times, the threshold value of the number of times corresponding to the screen capture image is 3 times, and the threshold value of the number of times corresponding to the downloaded image is 5 times. Specifically, traversing each image in the first image set; when the image is generated according to the first generation manner, acquiring a first time threshold corresponding to the first generation manner; when the image is generated according to the second generation manner Obtaining a second number threshold corresponding to the second generation mode. For example, the first generation mode is shooting, and the corresponding first number of thresholds is 8 times; the second generation mode is a screen capture, and the corresponding second number of thresholds is 7 times. In this embodiment, the generation mode and the corresponding number of times thresholds may be arbitrarily set as needed, and the third generation mode, the fourth generation mode, and the like may also be set, and the third time threshold value and the fourth number threshold value are set correspondingly, and Make specific limits.
操作306,获取第一图像集合中历史浏览次数大于对应的次数阈值的图像,生成第二图像集合。In operation 306, an image in which the number of historical views in the first image set is greater than a corresponding number of times threshold is acquired, and a second image set is generated.
在一个实施例中,遍历第一图像集合中的每一张图像,根据图像的生成方式获取对应的次数阈值。也就是说,每一张图像都有对应的历史浏览次数和次数阈值,则将每一张图像对应的历史浏览次数与对应的次数阈值进行比较,若历史浏览次数大于对应的次数阈值,则将该图像作为第二图像集合中的图像。筛选出第一图像集合中所有满足条件的图像,从而生成第二图像集合。若用户删除了第一图像集合中的图像,则可以同时删除第二图像集合中对应的图像,以保证智能终端中图像的一致性。In one embodiment, each image in the first set of images is traversed, and a corresponding number of thresholds is obtained according to the manner in which the images are generated. That is to say, each image has a corresponding history browsing number and number threshold, and the historical browsing times corresponding to each image are compared with the corresponding number threshold. If the historical browsing times are greater than the corresponding number threshold, then This image serves as an image in the second set of images. All images in the first image set that satisfy the condition are filtered to generate a second image set. If the user deletes the image in the first image set, the corresponding image in the second image set may be deleted at the same time to ensure the consistency of the image in the smart terminal.
操作308,当第二图像集合中所包含的图像的数量大于数量阈值时,将第二图像集合中的图像进行分类。 Operation 308, when the number of images included in the second image set is greater than a quantity threshold, classifying the images in the second image set.
具体地,生成第二图像集合之后,判断第二图像集合中的数量是否大于数量阈值,当第二图像集合中所包含的图像的数量大于数量阈值时,将第二图像集合中的图像进行分类。可以是根据图像的场景进行分类,也可以是根据图像中的人脸进行分类,还可以是根据图像的生成时间、格式、大小等属性进行分类,在本实施例中不对图像的分类标准做具体限定。对图像的分类过程具体可以包括:提取第二图像集合中每一张图像的分类特征,然后根据分类特征将图像进行分类。分类特征是指用于进行分类的特征,例如根据生成时间进行分类,则提取的分类特征就是图像的生成时间;若根据场景进行分类,则提取的分类特征就是图像的场景特征。根据分类特征将图像进行分类具体可以包括:将图像的分类特征输入分类模型,然后获取分类模型输出的分类结果。分类模型是指进行分类处理的算法模型,分类模型可以将图像进行分类处理。例如,常用的分类模型包括k-means(K均值)分类模型、层次分类模型、SOM(Self-Organizing Maps,自组织特征映射模型)分类模型和FCM(Flow Cytometry,流式细胞术)分类模型等。具体地,根据人脸将图像进行分类时,可以获取第二图像集合中每一张图像中的人脸区域,根据获取的人脸区域将图像进行分类。其中,人脸区域是指图像中的人脸所在的区域,每一个人脸区域对应的一个分类。也就是说,如果图像中存在多个人脸区域,则该图像就可以对应多个分类。Specifically, after generating the second image set, determining whether the quantity in the second image set is greater than a quantity threshold, and classifying the image in the second image set when the number of images included in the second image set is greater than a quantity threshold . It may be classified according to the scene of the image, or may be classified according to the face in the image, or may be classified according to the generation time, format, size and the like of the image. In this embodiment, the classification standard of the image is not specified. limited. The process of classifying the image may specifically include: extracting classification features of each image in the second image set, and then classifying the images according to the classification features. The classification feature refers to the feature used for classification, for example, according to the generation time, the extracted classification feature is the image generation time; if the classification is performed according to the scene, the extracted classification feature is the scene feature of the image. The classifying the image according to the classification feature may include: inputting the classification feature of the image into the classification model, and then obtaining the classification result output by the classification model. The classification model refers to an algorithm model for classification processing, and the classification model can classify images. For example, commonly used classification models include k-means classification model, hierarchical classification model, SOM (Self-Organizing Maps) classification model, and FCM (Flow Cytometry) classification model. . Specifically, when the image is classified according to the face, the face region in each image in the second image set may be acquired, and the image is classified according to the acquired face region. The face area refers to the area where the face in the image is located, and each face area corresponds to a category. That is to say, if there are multiple face regions in the image, the image can correspond to multiple categories.
可以理解的是,根据第一图像集合生成第二图像集合,并对第二图像集合中的图像进行分类之后,用户可以手动添加或删除第二图像集合中的图像,也可以手动改变第二图像集合中图像的分类。例如,移动终端在呈现待处理图像的分类信息时,用户可以进行查看,若查看到某张待处理图像的分类信息不符合个人喜好,则可以手动改变该待处理图像的分类信息。It can be understood that after generating the second image set according to the first image set and classifying the image in the second image set, the user can manually add or delete the image in the second image set, or manually change the second image. The classification of images in the collection. For example, when the mobile terminal presents the classification information of the image to be processed, the user can view the information. If the classification information of a certain image to be processed does not meet the personal preference, the classification information of the image to be processed can be manually changed.
操作310,根据每一类图像生成对应的图像子集合。 Operation 310, generating a corresponding image subset according to each type of image.
操作312,统计每一图像子集合对应的总浏览次数,其中总浏览次数是指图像子集合中包含的所有图像对应的历史浏览次数的总和。In operation 312, the total number of views corresponding to each image subset is counted, wherein the total number of views refers to the sum of historical browsing times corresponding to all images included in the image subset.
将第二图像集合分类之后,会形成多个分类,每个分类会对应一张或多张图像。每一类图像可以作为一个图像子集合,然后分别将各个图像子集合进行排列显示。具体地,还可以统计每一图像子集合对应的总浏览次数,然后根据总浏览次数将图像子集合进行排列显示。其中,总浏览次数是指图像子集合中包含的所有图像对应的历史浏览次数的总和。例如,图像子集合包括三张图像,这三张图像对应的历史浏览次数分别为5次、3次和8次,则该图像子集合对应的总浏览次数就为16次。After classifying the second set of images, a plurality of categories are formed, each of which corresponds to one or more images. Each type of image can be used as a subset of images, and then each image subset is displayed separately. Specifically, the total number of views corresponding to each image subset is also counted, and then the image subsets are arranged and displayed according to the total number of views. The total number of views refers to the sum of the number of historical views corresponding to all the images included in the image sub-collection. For example, the image sub-collection includes three images, and the historical browsing times corresponding to the three images are 5 times, 3 times, and 8 times, respectively, and the total number of views corresponding to the image sub-collection is 16 times.
操作314,根据总浏览次数将各个图像子集合进行排列显示。 Operation 314, displaying each image sub-set according to the total number of views.
在一个实施例中,可以在智能终端的显示界面上将各个图像子集合进行排列显示。首先获取每一图像子集合对应的总浏览次数,然后根据总浏览次数将各个图像子集合进行降序或升序排列显示。可以理解的是,在本申请提供的其他实施例中,也可以根据图像子集合中包含的图像数量进行排列显示,在此不做限定。图4为一个实施例中移动终端相册分类结果的展示图。如图4所示,移动终端根据第一图像集合生成第二图像集合,然后根据第二图像集合进行分类,并将每一类图像对应的图像子集合进行展示在移动终端的界面上。本实施例中的界面上展示了六个分类结果,分别包括“分类1”、“分类2”、“分类3”、“分类4”、“分类5”和“分类6”,每个分类都包含了若干张具有共性的图像,点击对应的分类,可以查看分类中的图像。In one embodiment, each subset of images may be displayed in an array on the display interface of the smart terminal. First, the total number of views corresponding to each image sub-set is obtained, and then each image sub-set is displayed in descending or ascending order according to the total number of views. It can be understood that, in other embodiments provided by the present application, the display may be arranged according to the number of images included in the image subset, which is not limited herein. FIG. 4 is a diagram showing a result of classification of a mobile terminal album in one embodiment. As shown in FIG. 4, the mobile terminal generates a second image set according to the first image set, and then classifies according to the second image set, and displays the image subset corresponding to each type of image on the interface of the mobile terminal. Six classification results are displayed on the interface in this embodiment, including "Class 1", "Class 2", "Class 3", "Class 4", "Class 5" and "Class 6", respectively. Contains several common images, click on the corresponding category to view the images in the category.
在一个实施例中,智能终端中可以设置用户手动移动分组的功能,即在现有的分类基础上,用户可以手动移动图像的分组。还可以隐藏或编辑分组信息,例如将某个分组进行删除或隐藏,或将某个分组中的图像移动到其他分组。还可以对分组进行加密,用户只有通过认证之后才能查看对应的分组,例如可以是通过密码、指纹或虹膜等信息中的一种或多种进行认证。进一步地,还可以通过输入的不同认证信息显示不同的分组,例如输入大拇指的指纹,将分组1显示在第一位;输入食指的指纹,将分组2显示在第二位。In an embodiment, the function of manually moving the group by the user may be set in the smart terminal, that is, the user may manually move the grouping of the image based on the existing classification. You can also hide or edit grouping information, such as deleting or hiding a group, or moving an image from one group to another. The packet can also be encrypted, and the user can only view the corresponding packet after being authenticated, for example, by one or more of information such as a password, a fingerprint, or an iris. Further, it is also possible to display different groups by inputting different authentication information, for example, inputting a fingerprint of a thumb, displaying the group 1 in the first place; inputting the fingerprint of the index finger, and displaying the group 2 in the second position.
上述实施例提供的图像处理方法,根据第一图像集合中的每张图像的历史浏览次数生成第二图像集合,当第二图像集合中的图像数量大于数量阈值时,将生成的第二图像集合进行分类处理,并根据分类后的图像生成图像子集合进行排列显示。这样无需对所有图像进行处理,只对用户关注的图像进行处理,实现了图像的精准化处理,减少了资源的消耗。同时用户可以对比较关注的图像进行分类查看,适应了不同用户的需求,提高了用户黏度。The image processing method provided by the foregoing embodiment generates a second image set according to the historical browsing times of each image in the first image set, and when the number of images in the second image set is greater than the quantity threshold, the generated second image set The classification process is performed, and the image sub-sets are generated according to the classified images to be arranged and displayed. In this way, it is not necessary to process all the images, and only the images that the user pays attention to are processed, thereby realizing the precise processing of the images and reducing the consumption of resources. At the same time, the user can classify and view the images that are more concerned, adapt to the needs of different users, and improve the user's viscosity.
图5为又一个实施例中图像处理方法的流程图。如图5所示,操作502至操作508为对第一图像集合进行首次分类时对应的图像处理方法,操作512至操作518为对第一图像集合中新增的图像进行分类时对应的图像处理方法。对第一图像集合进行首次分类的过程包括:Figure 5 is a flow chart of an image processing method in still another embodiment. As shown in FIG. 5, operations 502 through 508 are image processing methods corresponding to the first classification of the first image set, and operations 512 through 518 are image processing corresponding to the classification of the newly added images in the first image set. method. The process of first classifying the first image set includes:
操作502,记录第一图像集合中每张图像的历史浏览次数。 Operation 502, recording the number of historical views of each image in the first image set.
操作504,获取历史浏览次数大于次数阈值的图像,生成第二图像集合。Operation 504: Acquire an image whose historical browsing times are greater than a threshold of times, and generate a second image set.
操作506,当第二图像集合中的图像数量大于数量阈值时,将第二图像集合中的图像进行分类。 Operation 506, when the number of images in the second image set is greater than the number threshold, classify the images in the second image set.
操作508,得到分类后的图像。 Operation 508 results in a classified image.
对于第一图像集合中新增的图像进行分类的过程具体可以包括:The process of classifying the newly added images in the first image set may specifically include:
操作512,获取新增图像。 Operation 512, obtaining a new image.
操作514,记录新增图像的历史浏览次数。 Operation 514 records the number of historical views of the newly added image.
操作516,当历史浏览次数大于次数阈值时,将该图像进行识别分类。In operation 516, when the historical browsing times are greater than the number of times threshold, the image is identified and classified.
操作518,得到图像分类。 Operation 518 results in image classification.
上述实施例提供的图像处理方法,根据第一图像集合中的每张图像的历史浏览次数生成第二图像集合,当第二图像集合中的图像数量大于数量阈值时,将生成的第二图像集合进行分类处理,并根据分类后的图像生成图像子集合进行排列显示。这样无需对所有图像进行处理,只对用户关注的图像进行处理,实现了图像的精准化处理,减少了资源的消耗。同时用户可以对比较关注的图像进行分类查看,适应了不同用户的需求。在第一图像集合新增图像时,可以及时对新增图像进行分类处理,提高了用户黏度。The image processing method provided by the foregoing embodiment generates a second image set according to the historical browsing times of each image in the first image set, and when the number of images in the second image set is greater than the quantity threshold, the generated second image set The classification process is performed, and the image sub-sets are generated according to the classified images to be arranged and displayed. In this way, it is not necessary to process all the images, and only the images that the user pays attention to are processed, thereby realizing the precise processing of the images and reducing the consumption of resources. At the same time, the user can classify and view the images that are more concerned, and adapt to the needs of different users. When an image is added to the first image collection, the newly added image can be classified and processed in time to improve the user's viscosity.
图6为一个实施例中图像处理系统的系统架构图。如图6所示,该图像处理系统中包括客户端62、本地服务器64和云端服务器66。其中,客户端62可以通过触发器622发起分类请求,然后通过数据获取模块624从图像数据库620中获取第一图像集合及对应的历史浏览次数,然后将第一图像集合存放在备份数据库626中,并将第一图像集合与对应的历史浏览次数发送至本地服务器64。本地服务器64接收到第一图像集合和对应的历史浏览次数之后,通过Package打包模块640将第一图像集合和对应的历史浏览次数进行打包,并将打包后的第一图像集合和对应的历史浏览次数通过通信模块642发送到云端服务器66进行分类处理。云端服务器66将得到的服务器分类结果下发到本地服务器64。本地服务器64通过通信模块642接收服务器分类结果,并通过Package解析模块644将服务器分类结果进行解析,然后将解析后的分类结果发送到客户端62。客户端62将接收到的分类结果后,根据分类结果从存放到备份数据库626中的第一图像集合中生成第二图像集合,并对第二图像集合进行分类处理,然后将分类后的第二图像集合进行显示。Figure 6 is a system architecture diagram of an image processing system in one embodiment. As shown in FIG. 6, the image processing system includes a client 62, a local server 64, and a cloud server 66. The client 62 can initiate the classification request by using the trigger 622, and then obtain the first image set and the corresponding historical browsing times from the image database 620 through the data obtaining module 624, and then store the first image set in the backup database 626. The first set of images and the corresponding number of historical views are sent to the local server 64. After receiving the first image set and the corresponding historical browsing times, the local server 64 packages the first image set and the corresponding historical browsing times through the package packaging module 640, and browses the packaged first image set and the corresponding history browsing. The number of times is sent to the cloud server 66 through the communication module 642 for classification processing. The cloud server 66 delivers the obtained server classification result to the local server 64. The local server 64 receives the server classification result through the communication module 642, and parses the server classification result through the package parsing module 644, and then transmits the parsed classification result to the client 62. After the client 62 receives the classified result, the second image set is generated from the first image set stored in the backup database 626 according to the classification result, and the second image set is classified and processed, and then the classified second. The image collection is displayed.
图7为一个实施例中图像处理装置的结构示意图。如图7所示,该图像处理装置700包括次数统计模块702、集合生成模块704和图像分类模块706。其中:Fig. 7 is a block diagram showing the structure of an image processing apparatus in an embodiment. As shown in FIG. 7, the image processing apparatus 700 includes a count statistic module 702, a set generation module 704, and an image classification module 706. among them:
次数统计模块702,用于统计第一图像集合中每一张图像的历史浏览次数,其中所述第一图像集合中包含了一张或多张图像。The number statistics module 702 is configured to count the number of historical views of each image in the first image set, wherein the first image set includes one or more images.
集合生成模块704,用于获取所述第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合。The set generation module 704 is configured to acquire an image in which the historical browsing times in the first image set are greater than a threshold value, and generate a second image set.
图像分类模块706,用于将所述第二图像集合中的图像进行分类。The image classification module 706 is configured to classify the images in the second image set.
上述实施例提供的图像处理装置,根据第一图像集合中的每张图像的历史浏览次数生成第二图像集合,并将生成的第二图像集合进行分类处理。这样无需对所有图像进行处理,只对用户关注的图像进行处理,实现了图像的精准化处理,同时减少了资源的消耗。The image processing apparatus provided by the above embodiment generates a second image set according to the historical browsing times of each image in the first image set, and classifies the generated second image set. In this way, it is not necessary to process all the images, and only the images that the user pays attention to are processed, thereby realizing the precise processing of the images and reducing the consumption of resources.
图8为另一个实施例中图像处理装置的结构示意图。如图8所示,该图像处理装置800包括次数统计模块802、集合生成模块804、图像分类模块806和分类显示模块808。其中:Figure 8 is a block diagram showing the structure of an image processing apparatus in another embodiment. As shown in FIG. 8, the image processing apparatus 800 includes a count statistic module 802, a set generation module 804, an image classification module 806, and a classification display module 808. among them:
次数统计模块802,用于统计第一图像集合中每一张图像的历史浏览次数,其中所述第一图像集合中包含了一张或多张图像。The number statistics module 802 is configured to count historical browsing times of each image in the first image set, wherein the first image set includes one or more images.
集合生成模块804,用于获取所述第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合。The set generation module 804 is configured to acquire an image in the first image set whose historical browsing times are greater than a threshold value, and generate a second image set.
图像分类模块806,用于将所述第二图像集合中的图像进行分类。The image classification module 806 is configured to classify images in the second image set.
分类显示模块808,用于根据每一类图像生成对应的图像子集合,并将各个图像子集合进行排列显示。The classification display module 808 is configured to generate a corresponding image subset according to each type of image, and display each image subset.
上述实施例提供的图像处理装置,根据第一图像集合中的每张图像的历史浏览次数生成第二图像集合,并将生成的第二图像集合进行分类处理。这样无需对所有图像进行处理,只对用户关注的图像进行处理,实现了图像的精准化处理,同时减少了资源的消耗。The image processing apparatus provided by the above embodiment generates a second image set according to the historical browsing times of each image in the first image set, and classifies the generated second image set. In this way, it is not necessary to process all the images, and only the images that the user pays attention to are processed, thereby realizing the precise processing of the images and reducing the consumption of resources.
在一个实施例中,集合生成模块804还用于根据图像的生成方式获取所述第一图像集合中每一张图像对应的次数阈值;获取所述第一图像集合中历史浏览次数大于对应的次数阈值的图像,生成第二图像集合。In an embodiment, the set generation module 804 is further configured to acquire, according to a method for generating an image, a threshold value of a number of times corresponding to each image in the first image set; and obtain a historical browsing number in the first image set that is greater than a corresponding number of times An image of the threshold, generating a second set of images.
在一个实施例中,集合生成模块804还用于遍历所述第一图像集合中每一张图像;当所述图像是根据第一生成方式生成的时,获取所述第一生成方式对应的第一次数阈值;当所述图像是根据第二生成方式生成的时,获取所述第二生成方式对应的第二次数阈值。In an embodiment, the set generation module 804 is further configured to traverse each image in the first image set; when the image is generated according to the first generation manner, acquiring the first corresponding to the first generation manner a threshold of a number of times; when the image is generated according to the second generation manner, acquiring a second threshold value corresponding to the second generation mode.
在一个实施例中,图像分类模块806还用于当所述第二图像集合中所包含的图像的数量大于数量阈值时,将所述第二图像集合中的图像进行分类。In one embodiment, the image classification module 806 is further configured to classify the images in the second image set when the number of images included in the second image set is greater than a quantity threshold.
在一个实施例中,图像分类模块806还用于获取所述第二图像集合中每一张图像中的人脸区域,根据获取的人脸区域将图像进行分类。In an embodiment, the image classification module 806 is further configured to acquire a face region in each of the second image sets, and classify the image according to the acquired face region.
在一个实施例中,分类显示模块808还用于统计每一图像子集合对应的总浏览次数,其中所述总浏览次数是指图像子集合中包含的所有图像对应的历史浏览次数的总和;根据所述总浏览次数将各个图像子集合进行排列显示。In an embodiment, the classification display module 808 is further configured to count the total number of browsing times corresponding to each image subset, wherein the total number of browsing times refers to a sum of historical browsing times corresponding to all images included in the image subset; The total number of views displays the respective image subsets in an array.
上述图像处理装置中各个模块的划分仅用于举例说明,在其他实施例中,可将图像处理装置按照需要划分为不同的模块,以完成上述图像处理装置的全部或部分功能。The division of each module in the above image processing apparatus is for illustrative purposes only. In other embodiments, the image processing apparatus may be divided into different modules as needed to complete all or part of the functions of the image processing apparatus.
图9为一个实施例中服务器的内部结构示意图。如图9所示,该服务器包括通过系统总线连接的处理器、非易失性存储介质、内存储器和网络接口。其中,该处理器用于提供计算和控制能力,支撑整个计算机设备的运行。存储器用于存储数据、程序等,存储器上存储至少一个计算机程序,该计算机程序可被处理器执行,以实现本申请实施例中提供的适用于计算机设备的无线网络通信方法。存储器可包括磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random-Access-Memory,RAM)等。例如,在一个实施例中,存储器包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现上述实施例所提供的一种图像处理方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。网络接口可以是以太网卡或无线网卡等,用于与外部的计算机设备进行通信。服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。本领域技术人员可以理解,图9中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的服务器的限定,具体的服务器可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 9 is a schematic diagram showing the internal structure of a server in an embodiment. As shown in FIG. 9, the server includes a processor, a non-volatile storage medium, an internal memory, and a network interface connected by a system bus. The processor is used to provide computing and control capabilities to support the operation of the entire computer device. The memory is used to store data, programs, etc., and at least one computer program is stored on the memory, and the computer program can be executed by the processor to implement the wireless network communication method suitable for the computer device provided in the embodiments of the present application. The memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random storage memory (Random-Access-Memory, RAM). For example, in one embodiment, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor for implementing an image processing method provided by the above embodiments. The internal memory provides a cached operating environment for operating system computer programs in a non-volatile storage medium. The network interface may be an Ethernet card or a wireless network card or the like for communicating with an external computer device. The server can be implemented with a stand-alone server or a server cluster consisting of multiple servers. It will be understood by those skilled in the art that the structure shown in FIG. 9 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied. The specific server may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行以下操作:The embodiment of the present application also provides a computer readable storage medium. One or more non-transitory computer readable storage media containing computer executable instructions that, when executed by one or more processors, cause the processor to:
统计第一图像集合中每一张图像的历史浏览次数,其中所述第一图像集合中包含了一张或多张图像;Counting the number of historical views of each image in the first image set, wherein the first image set includes one or more images;
获取所述第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合;Obtaining an image in which the number of historical browsing times in the first image set is greater than a threshold of times, and generating a second image set;
将所述第二图像集合中的图像进行分类。The images in the second set of images are sorted.
在一个实施例中,所述处理器执行的所述获取所述第一图像集合中历史浏览次数大于次数阈值的图像包括:In an embodiment, the acquiring, by the processor, the acquiring the image that the historical browsing times in the first image set is greater than the threshold value includes:
根据图像的生成方式获取所述第一图像集合中每一张图像对应的次数阈值;Obtaining a threshold number of times corresponding to each image in the first image set according to an image generation manner;
获取所述第一图像集合中历史浏览次数大于对应的次数阈值的图像,生成第二图像集合。Acquiring an image in the first image set that has a historical browsing number greater than a corresponding number of times threshold, and generating a second image set.
在一个实施例中,所述处理器执行的所述根据图像的生成方式获取所述第一图像集合 中每一张图像对应的次数阈值包括:In one embodiment, the obtaining, by the processor, the threshold number of times corresponding to each image in the first image set according to the manner of generating the image includes:
遍历所述第一图像集合中每一张图像;Traversing each of the first set of images;
当所述图像是根据第一生成方式生成的时,获取所述第一生成方式对应的第一次数阈值;Obtaining a first time threshold corresponding to the first generation manner, when the image is generated according to the first generation manner;
当所述图像是根据第二生成方式生成的时,获取所述第二生成方式对应的第二次数阈值。And acquiring, when the image is generated according to the second generation manner, a second threshold value corresponding to the second generation manner.
在一个实施例中,所述处理器执行的所述将所述第二图像集合中的图像进行分类包括:In one embodiment, the performing, by the processor, the classifying the images in the second set of images comprises:
当所述第二图像集合中所包含的图像的数量大于数量阈值时,将所述第二图像集合中的图像进行分类。The images in the second set of images are classified when the number of images included in the second set of images is greater than a number threshold.
在一个实施例中,所述处理器执行的所述将所述第二图像集合中的图像进行分类包括:In one embodiment, the performing, by the processor, the classifying the images in the second set of images comprises:
获取所述第二图像集合中每一张图像中的人脸区域,根据获取的人脸区域将图像进行分类。Obtaining a face region in each of the images in the second image set, and classifying the image according to the acquired face region.
在一个实施例中,所述处理器执行的所述方法还包括:In one embodiment, the method performed by the processor further includes:
根据每一类图像生成对应的图像子集合,并将各个图像子集合进行排列显示。A corresponding image subset is generated according to each type of image, and each image subset is arranged and displayed.
在一个实施例中,所述处理器执行的所述将各个图像子集合进行排列显示包括:In one embodiment, the performing, by the processor, performing the permutation display of each image subset includes:
统计每一图像子集合对应的总浏览次数,其中所述总浏览次数是指图像子集合中包含的所有图像对应的历史浏览次数的总和;Counting the total number of views corresponding to each image sub-set, wherein the total number of views refers to the sum of historical browsing times corresponding to all images included in the image sub-set;
根据所述总浏览次数将各个图像子集合进行排列显示。Each image sub-set is arranged and displayed according to the total number of views.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例提供的图像处理方法。A computer program product comprising instructions which, when run on a computer, cause the computer to perform the image processing method provided by the above embodiments.
本申请实施例还提供了一种计算机设备。如图10所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该计算机设备可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以计算机设备为手机为例:The embodiment of the present application also provides a computer device. As shown in FIG. 10, for the convenience of description, only the parts related to the embodiments of the present application are shown. For the specific technical details not disclosed, refer to the method part of the embodiment of the present application. The computer device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking a computer device as a mobile phone as an example. :
图10为与本申请实施例提供的计算机设备相关的手机的部分结构的框图。参考图10,手机包括:射频(Radio Frequency,RF)电路1010、存储器1020、输入单元1030、显示单元1040、传感器1050、音频电路1060、无线保真(wireless fidelity,WiFi)模块1070、处理器1080、以及电源1090等部件。本领域技术人员可以理解,图10所示的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 10 is a block diagram showing a part of a structure of a mobile phone related to a computer device according to an embodiment of the present application. Referring to FIG. 10, the mobile phone includes: a radio frequency (RF) circuit 1010, a memory 1020, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, a wireless fidelity (WiFi) module 1070, and a processor 1080. And power supply 1090 and other components. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 10 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
其中,RF电路1010可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器1080处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1010还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1010 can be used for receiving and transmitting signals during the transmission and reception of information or during a call. The downlink information of the base station can be received and processed by the processor 1080. The uplink data can also be sent to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 1010 can also communicate with the network and other devices via wireless communication. The above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
存储器1020可用于存储软件程序以及模块,处理器1080通过运行存储在存储器 1020的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1020可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器1020可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 1020. The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as an application of a sound playing function, an application of an image playing function, etc.); The data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone. Moreover, memory 1020 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
输入单元1030可用于接收输入的数字或字符信息,以及产生与手机1000的用户设置以及功能控制有关的键信号输入。具体地,输入单元1030可包括触控面板1031以及其他输入设备1032。触控面板1031,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上或在触控面板1031附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1080,并能接收处理器1080发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。除了触控面板1031,输入单元1030还可以包括其他输入设备1032。具体地,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 1030 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the handset 1000. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, which may also be referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 1031 or near the touch panel 1031. Operation) and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 1031 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 1080 is provided and can receive commands from the processor 1080 and execute them. In addition, the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032. Specifically, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.).
显示单元1040可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1040可包括显示面板1041。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1041。在一个实施例中,触控面板1031可覆盖显示面板1041,当触控面板1031检测到在其上或附近的触摸操作后,传送给处理器1080以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板1041上提供相应的视觉输出。虽然在图10中,触控面板1031与显示面板1041是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1031与显示面板1041集成而实现手机的输入和输出功能。The display unit 1040 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone. The display unit 1040 may include a display panel 1041. In one embodiment, the display panel 1041 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. In one embodiment, the touch panel 1031 can cover the display panel 1041. When the touch panel 1031 detects a touch operation thereon or nearby, the touch panel 1031 transmits to the processor 1080 to determine the type of the touch event, and then the processor 1080 is The type of touch event provides a corresponding visual output on display panel 1041. Although the touch panel 1031 and the display panel 1041 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 10, in some embodiments, the touch panel 1031 may be integrated with the display panel 1041. Realize the input and output functions of the phone.
手机1000还可包括至少一种传感器1050,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1041的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1041和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。The handset 1000 can also include at least one type of sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 and/or when the mobile phone moves to the ear. Or backlight. The motion sensor may include an acceleration sensor, and the acceleration sensor can detect the magnitude of the acceleration in each direction, and the magnitude and direction of the gravity can be detected at rest, and can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching), and vibration recognition related functions (such as Pedometer, tapping, etc.; in addition, the phone can also be equipped with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors.
音频电路1060、扬声器1061和传声器1062可提供用户与手机之间的音频接口。音频电路1060可将接收到的音频数据转换后的电信号,传输到扬声器1061,由扬声器1061转换为声音信号输出;另一方面,传声器1062将收集的声音信号转换为电信号,由音频电路1060接收后转换为音频数据,再将音频数据输出处理器1080处理后,经RF电路1010可以发送给另一手机,或者将音频数据输出至存储器1020以便后续处理。 Audio circuitry 1060, speaker 1061, and microphone 1062 can provide an audio interface between the user and the handset. The audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving, it is converted into audio data, and then processed by the audio data output processor 1080, transmitted to another mobile phone via the RF circuit 1010, or outputted to the memory 1020 for subsequent processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块1070可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图10示出了WiFi模块1070,但是可以理解的是,其并不属于手机1000的必须构成,可以根据需要而省略。WiFi is a short-range wireless transmission technology. The mobile phone through the WiFi module 1070 can help users to send and receive e-mail, browse the web and access streaming media, etc. It provides users with wireless broadband Internet access. Although FIG. 10 shows the WiFi module 1070, it can be understood that it does not belong to the essential configuration of the mobile phone 1000 and can be omitted as needed.
处理器1080是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。在一个实施例中,处理器1080可包括一个或多个处理单元。在一个实施例中,处理器1080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1080中。The processor 1080 is the control center of the handset, which connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 1020, and invoking data stored in the memory 1020, The phone's various functions and processing data, so that the overall monitoring of the phone. In one embodiment, processor 1080 can include one or more processing units. In one embodiment, the processor 1080 can integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application, and the like; the modem processor primarily processes wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1080.
手机1000还包括给各个部件供电的电源1090(比如电池),优选的,电源可以通过电源管理系统与处理器1080逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone 1000 also includes a power source 1090 (such as a battery) for powering various components. Preferably, the power source can be logically coupled to the processor 1080 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
在一个实施例中,手机1000还可以包括摄像头、蓝牙模块等。In one embodiment, the handset 1000 may also include a camera, a Bluetooth module, and the like.
在本申请实施例中,该移动终端所包括的处理器1080执行存储在存储器上的计算机程序时实现上述实施例提供的图像处理方法。In the embodiment of the present application, the processor 1080 included in the mobile terminal implements the image processing method provided by the foregoing embodiment when executing the computer program stored in the memory.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database or other medium used herein may include non-volatile and/or volatile memory. Suitable non-volatile memories can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), which acts as an external cache. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization. Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the claims. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.

Claims (21)

  1. 一种图像处理方法,所述方法包括:An image processing method, the method comprising:
    统计第一图像集合中每一张图像的历史浏览次数,其中所述第一图像集合中包含了一张或多张图像;Counting the number of historical views of each image in the first image set, wherein the first image set includes one or more images;
    获取所述第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合;及Obtaining an image of the first image set whose historical browsing times are greater than a threshold of times, and generating a second image set; and
    将所述第二图像集合中的图像进行分类。The images in the second set of images are sorted.
  2. 根据权利要求1所述的图像处理方法,其特征在于,所述获取所述第一图像集合中历史浏览次数大于次数阈值的图像包括:The image processing method according to claim 1, wherein the acquiring an image in which the number of historical browsing times in the first image set is greater than a threshold value includes:
    根据图像的生成方式获取所述第一图像集合中每一张图像对应的次数阈值;及Obtaining a threshold number of times corresponding to each image in the first image set according to an image generation manner; and
    获取所述第一图像集合中历史浏览次数大于对应的次数阈值的图像,生成第二图像集合。Acquiring an image in the first image set that has a historical browsing number greater than a corresponding number of times threshold, and generating a second image set.
  3. 根据权利要求2所述的图像处理方法,其特征在于,所述根据图像的生成方式获取所述第一图像集合中每一张图像对应的次数阈值包括:The image processing method according to claim 2, wherein the obtaining the threshold number of times corresponding to each image in the first image set according to the image generation manner comprises:
    遍历所述第一图像集合中每一张图像;Traversing each of the first set of images;
    当所述图像是根据第一生成方式生成的时,获取所述第一生成方式对应的第一次数阈值;及Obtaining a first time threshold corresponding to the first generation manner when the image is generated according to the first generation manner; and
    当所述图像是根据第二生成方式生成的时,获取所述第二生成方式对应的第二次数阈值。And acquiring, when the image is generated according to the second generation manner, a second threshold value corresponding to the second generation manner.
  4. 根据权利要求1所述的图像处理方法,其特征在于,所述将所述第二图像集合中的图像进行分类包括:The image processing method according to claim 1, wherein the classifying the images in the second image set comprises:
    当所述第二图像集合中所包含的图像的数量大于数量阈值时,将所述第二图像集合中的图像进行分类。The images in the second set of images are classified when the number of images included in the second set of images is greater than a number threshold.
  5. 根据权利要求4所述的图像处理方法,其特征在于,所述将所述第二图像集合中的图像进行分类包括:The image processing method according to claim 4, wherein the classifying the images in the second image set comprises:
    获取所述第二图像集合中每一张图像中的人脸区域,根据获取的人脸区域将图像进行分类。Obtaining a face region in each of the images in the second image set, and classifying the image according to the acquired face region.
  6. 根据权利要求1至5任一项所述的图像处理方法,其特征在于,所述方法还包括:The image processing method according to any one of claims 1 to 5, further comprising:
    根据每一类图像生成对应的图像子集合,并将各个图像子集合进行排列显示。A corresponding image subset is generated according to each type of image, and each image subset is arranged and displayed.
  7. 根据权利要求6所述的图像处理方法,其特征在于,所述将各个图像子集合进行排列显示包括:The image processing method according to claim 6, wherein the displaying and displaying the respective image subsets comprises:
    统计每一图像子集合对应的总浏览次数,其中所述总浏览次数是指图像子集合中包含的所有图像对应的历史浏览次数的总和;及Counting the total number of views corresponding to each image sub-set, wherein the total number of views refers to the sum of historical browsing times corresponding to all images included in the image sub-collection;
    根据所述总浏览次数将各个图像子集合进行排列显示。Each image sub-set is arranged and displayed according to the total number of views.
  8. 一种计算机设备,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器实现如下的操作:A computer device comprising a memory and a processor, wherein the memory stores computer readable instructions, and when the instructions are executed by the processor, the processor implements the following operations:
    统计第一图像集合中每一张图像的历史浏览次数,其中所述第一图像集合中包含了一张或多张图像;Counting the number of historical views of each image in the first image set, wherein the first image set includes one or more images;
    获取所述第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合;及Obtaining an image of the first image set whose historical browsing times are greater than a threshold of times, and generating a second image set; and
    将所述第二图像集合中的图像进行分类。The images in the second set of images are sorted.
  9. 根据权利要求8所述的计算机设备,其特征在于,所述处理器执行所述获取所述第一图像集合中历史浏览次数大于次数阈值的图像时,还执行如下操作:The computer device according to claim 8, wherein when the processor performs the acquiring an image in which the number of historical browsing times in the first image set is greater than a threshold number of times, the processor further performs the following operations:
    根据图像的生成方式获取所述第一图像集合中每一张图像对应的次数阈值;及Obtaining a threshold number of times corresponding to each image in the first image set according to an image generation manner; and
    获取所述第一图像集合中历史浏览次数大于对应的次数阈值的图像,生成第二图像集合。Acquiring an image in the first image set that has a historical browsing number greater than a corresponding number of times threshold, and generating a second image set.
  10. 根据权利要求9所述的计算机设备,其特征在于,所述处理器执行所述根据图像 的生成方式获取所述第一图像集合中每一张图像对应的次数阈值时,还执行如下操作:The computer device according to claim 9, wherein the processor further performs the following operations when the threshold value of the number of times corresponding to each image in the first image set is obtained according to the image generation manner:
    遍历所述第一图像集合中每一张图像;Traversing each of the first set of images;
    当所述图像是根据第一生成方式生成的时,获取所述第一生成方式对应的第一次数阈值;及Obtaining a first time threshold corresponding to the first generation manner when the image is generated according to the first generation manner; and
    当所述图像是根据第二生成方式生成的时,获取所述第二生成方式对应的第二次数阈值。And acquiring, when the image is generated according to the second generation manner, a second threshold value corresponding to the second generation manner.
  11. 根据权利要求8所述的计算机设备,其特征在于,所述处理器执行所述将所述第二图像集合中的图像进行分类时,还执行如下操作:The computer device according to claim 8, wherein when the processor performs the classifying the images in the second image set, the processor further performs the following operations:
    当所述第二图像集合中所包含的图像的数量大于数量阈值时,将所述第二图像集合中的图像进行分类。The images in the second set of images are classified when the number of images included in the second set of images is greater than a number threshold.
  12. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述将所述第二图像集合中的图像进行分类时,还执行如下操作:The computer device according to claim 11, wherein when the processor performs the classifying the images in the second image set, the processor further performs the following operations:
    获取所述第二图像集合中每一张图像中的人脸区域,根据获取的人脸区域将图像进行分类。Obtaining a face region in each of the images in the second image set, and classifying the image according to the acquired face region.
  13. 根据权利要求8至12任一项所述的计算机设备,其特征在于,所述处理器还执行如下操作:The computer device according to any one of claims 8 to 12, wherein the processor further performs the following operations:
    根据每一类图像生成对应的图像子集合,并将各个图像子集合进行排列显示。A corresponding image subset is generated according to each type of image, and each image subset is arranged and displayed.
  14. 根据权利要求13所述的计算机设备,其特征在于,所述处理器执行所述将各个图像子集合进行排列显示时,还执行如下操作:The computer device according to claim 13, wherein when the processor performs the arrangement of displaying the respective image subsets, the processor further performs the following operations:
    统计每一图像子集合对应的总浏览次数,其中所述总浏览次数是指图像子集合中包含的所有图像对应的历史浏览次数的总和;及Counting the total number of views corresponding to each image sub-set, wherein the total number of views refers to the sum of historical browsing times corresponding to all images included in the image sub-collection;
    根据所述总浏览次数将各个图像子集合进行排列显示。Each image sub-set is arranged and displayed according to the total number of views.
  15. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如如下操作:A computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the following operations:
    统计第一图像集合中每一张图像的历史浏览次数,其中所述第一图像集合中包含了一张或多张图像;Counting the number of historical views of each image in the first image set, wherein the first image set includes one or more images;
    获取所述第一图像集合中历史浏览次数大于次数阈值的图像,生成第二图像集合;及Obtaining an image of the first image set whose historical browsing times are greater than a threshold of times, and generating a second image set; and
    将所述第二图像集合中的图像进行分类。The images in the second set of images are sorted.
  16. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器执行所述获取所述第一图像集合中历史浏览次数大于次数阈值的图像时,还执行如下操作:The computer readable storage medium according to claim 15, wherein when the computer program is executed by the processor to acquire an image in which the number of historical browsing times in the first image set is greater than a threshold number of times, the computer program further performs the following operations:
    根据图像的生成方式获取所述第一图像集合中每一张图像对应的次数阈值;及Obtaining a threshold number of times corresponding to each image in the first image set according to an image generation manner; and
    获取所述第一图像集合中历史浏览次数大于对应的次数阈值的图像,生成第二图像集合。Acquiring an image in the first image set that has a historical browsing number greater than a corresponding number of times threshold, and generating a second image set.
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器执行所述根据图像的生成方式获取所述第一图像集合中每一张图像对应的次数阈值时,还执行如下操作:The computer readable storage medium according to claim 16, wherein the computer program is executed by the processor when the threshold of the number of times corresponding to each image in the first image set is acquired according to a manner of generating an image, Also do the following:
    遍历所述第一图像集合中每一张图像;Traversing each of the first set of images;
    当所述图像是根据第一生成方式生成的时,获取所述第一生成方式对应的第一次数阈值;及Obtaining a first time threshold corresponding to the first generation manner when the image is generated according to the first generation manner; and
    当所述图像是根据第二生成方式生成的时,获取所述第二生成方式对应的第二次数阈值。And acquiring, when the image is generated according to the second generation manner, a second threshold value corresponding to the second generation manner.
  18. 根据权利要求15所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器执行所述将所述第二图像集合中的图像进行分类时,还执行如下操作:The computer readable storage medium according to claim 15, wherein when said computer program is executed by said processor to classify images in said second image set, said computer program further performs the following operations:
    当所述第二图像集合中所包含的图像的数量大于数量阈值时,将所述第二图像集合中的图像进行分类。The images in the second set of images are classified when the number of images included in the second set of images is greater than a number threshold.
  19. 根据权利要求18所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器执行所述将所述第二图像集合中的图像进行分类时,还执行如下操作:The computer readable storage medium according to claim 18, wherein when said computer program is executed by said processor to classify images in said second set of images, further performing the following operations:
    获取所述第二图像集合中每一张图像中的人脸区域,根据获取的人脸区域将图像进行分类。Obtaining a face region in each of the images in the second image set, and classifying the image according to the acquired face region.
  20. 根据权利要求15至19任一项所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器时,还执行如下操作:The computer readable storage medium according to any one of claims 15 to 19, wherein when the computer program is executed by the processor, the following operations are further performed:
    根据每一类图像生成对应的图像子集合,并将各个图像子集合进行排列显示。A corresponding image subset is generated according to each type of image, and each image subset is arranged and displayed.
  21. 根据权利要求20所述的计算机可读存储介质,其特征在于,所述计算机程序被处理器执行所述将各个图像子集合进行排列显示时,还执行如下操作:The computer readable storage medium according to claim 20, wherein when the computer program is executed by the processor to display the respective image subsets, the following operations are further performed:
    统计每一图像子集合对应的总浏览次数,其中所述总浏览次数是指图像子集合中包含的所有图像对应的历史浏览次数的总和;及Counting the total number of views corresponding to each image sub-set, wherein the total number of views refers to the sum of historical browsing times corresponding to all images included in the image sub-collection;
    根据所述总浏览次数将各个图像子集合进行排列显示。Each image sub-set is arranged and displayed according to the total number of views.
PCT/CN2018/115653 2017-11-15 2018-11-15 Image processing method and computer device, and computer readable storage medium WO2019096207A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711132139.1A CN107895020A (en) 2017-11-15 2017-11-15 Image processing method and device, computer equipment, computer-readable recording medium
CN201711132139.1 2017-11-15

Publications (1)

Publication Number Publication Date
WO2019096207A1 true WO2019096207A1 (en) 2019-05-23

Family

ID=61805331

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/115653 WO2019096207A1 (en) 2017-11-15 2018-11-15 Image processing method and computer device, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN107895020A (en)
WO (1) WO2019096207A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107895020A (en) * 2017-11-15 2018-04-10 广东欧珀移动通信有限公司 Image processing method and device, computer equipment, computer-readable recording medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103198116A (en) * 2013-03-29 2013-07-10 东莞宇龙通信科技有限公司 Method and system for displaying folder covers and pictures in folders
CN105760461A (en) * 2016-02-04 2016-07-13 上海卓易科技股份有限公司 Automatic album establishing method and device
CN106776662A (en) * 2015-11-25 2017-05-31 腾讯科技(深圳)有限公司 A kind of taxonomic revision method and apparatus of photo
CN106777214A (en) * 2016-12-24 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and mobile terminal of a kind of album picture sequence
CN107025280A (en) * 2017-03-28 2017-08-08 北京珠穆朗玛移动通信有限公司 The processing method and mobile terminal of picture
CN107895020A (en) * 2017-11-15 2018-04-10 广东欧珀移动通信有限公司 Image processing method and device, computer equipment, computer-readable recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808100A (en) * 2016-02-29 2016-07-27 北京金山安全软件有限公司 Picture sorting method and device and electronic equipment
CN105955574A (en) * 2016-04-26 2016-09-21 广东欧珀移动通信有限公司 Arrangement display method and device of pictures, and mobile terminal
CN106126991B (en) * 2016-06-24 2019-06-28 北京金山安全软件有限公司 Information protection processing method and device and terminal equipment
CN107515950A (en) * 2017-09-14 2017-12-26 深圳天珑无线科技有限公司 A kind of image processing method, device, terminal and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103198116A (en) * 2013-03-29 2013-07-10 东莞宇龙通信科技有限公司 Method and system for displaying folder covers and pictures in folders
CN106776662A (en) * 2015-11-25 2017-05-31 腾讯科技(深圳)有限公司 A kind of taxonomic revision method and apparatus of photo
CN105760461A (en) * 2016-02-04 2016-07-13 上海卓易科技股份有限公司 Automatic album establishing method and device
CN106777214A (en) * 2016-12-24 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and mobile terminal of a kind of album picture sequence
CN107025280A (en) * 2017-03-28 2017-08-08 北京珠穆朗玛移动通信有限公司 The processing method and mobile terminal of picture
CN107895020A (en) * 2017-11-15 2018-04-10 广东欧珀移动通信有限公司 Image processing method and device, computer equipment, computer-readable recording medium

Also Published As

Publication number Publication date
CN107895020A (en) 2018-04-10

Similar Documents

Publication Publication Date Title
CN107729815B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
CN107871011B (en) Image processing method, image processing device, mobile terminal and computer readable storage medium
CN107679560B (en) Data transmission method and device, mobile terminal and computer readable storage medium
US10824901B2 (en) Image processing of face sets utilizing an image recognition method
CN107622117B (en) Image processing method and apparatus, computer device, computer-readable storage medium
CN107995422B (en) Image shooting method and device, computer equipment and computer readable storage medium
WO2019052316A1 (en) Image processing method and apparatus, computer-readable storage medium and mobile terminal
WO2019052354A1 (en) Image processing method and system, and computer device
WO2019051797A1 (en) Image processing method and apparatus, computer device, and computer-readable storage medium
WO2019052351A1 (en) Image processing method and system, and computer device
WO2019056938A1 (en) Image processing method, and computer device, and computer-readable storage medium
US11182593B2 (en) Image processing method, computer device, and computer readable storage medium
CN107944414B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN107729889B (en) Image processing method and device, electronic equipment and computer readable storage medium
US11481357B2 (en) Album display method, electronic device, and storage medium
WO2019105457A1 (en) Image processing method, computer device and computer readable storage medium
WO2019052319A1 (en) Data transmission method, mobile terminal and computer-readable storage medium
US10970522B2 (en) Data processing method, electronic device, and computer-readable storage medium
WO2019052436A1 (en) Image processing method, computer-readable storage medium and mobile terminal
US11314803B2 (en) Method for image-processing and mobile terminal
WO2019096207A1 (en) Image processing method and computer device, and computer readable storage medium
CN107948460B (en) Image processing method and device, computer equipment, computer readable storage medium
WO2019051799A1 (en) Image processing method and apparatus, mobile terminal, server, and storage medium
US11327845B2 (en) Image synchronization method and device, and server
WO2019041279A1 (en) Search resource recommendation method and related product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18878998

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18878998

Country of ref document: EP

Kind code of ref document: A1