CN110929062A - Picture processing method and electronic equipment - Google Patents

Picture processing method and electronic equipment Download PDF

Info

Publication number
CN110929062A
CN110929062A CN201911105008.3A CN201911105008A CN110929062A CN 110929062 A CN110929062 A CN 110929062A CN 201911105008 A CN201911105008 A CN 201911105008A CN 110929062 A CN110929062 A CN 110929062A
Authority
CN
China
Prior art keywords
picture
group
pictures
reference picture
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911105008.3A
Other languages
Chinese (zh)
Inventor
刘朝辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911105008.3A priority Critical patent/CN110929062A/en
Publication of CN110929062A publication Critical patent/CN110929062A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • 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
    • G06F16/55Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a picture processing method and electronic equipment, wherein the picture processing method comprises the following steps: receiving a first operation of a user, and classifying the pictures to obtain N classified pictures; determining a reference picture and a first picture group except the reference picture in the same type of pictures, wherein the first picture group comprises M first pictures; acquiring a first picture characteristic of the first picture group and the reference picture, and storing the first picture characteristic and the reference picture; and storing the first picture group to a cloud end, and deleting the first picture group stored in the electronic equipment. The technical scheme provided by the invention solves the problem that the storage space of the existing electronic equipment is reduced due to more stored pictures.

Description

Picture processing method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a picture processing method and an electronic device.
Background
With the increasingly powerful photographing function of electronic equipment (such as mobile phones, tablet computers and the like), people increasingly like to use the electronic equipment to photograph, and more pictures are stored in the electronic equipment. When the number of pictures stored in the electronic device is large, especially when the number of similar pictures is large, a large memory of the electronic device is occupied, and the storage space of the electronic device is reduced.
Therefore, providing a picture processing method that can help a user delete an unnecessary picture quickly and accurately becomes a technical problem to be solved at present.
Disclosure of Invention
The embodiment of the invention provides a picture processing method and electronic equipment, and aims to solve the problem that storage space is reduced due to the fact that a large number of pictures are stored in the conventional electronic equipment.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an image processing method applied to an electronic device, including:
receiving a first operation of a user, classifying the pictures to obtain N classified pictures, wherein N is a positive integer and is greater than or equal to 1;
determining a reference picture and a first picture group except the reference picture in the same type of pictures, wherein the first picture group comprises M first pictures, and M is greater than or equal to 1;
acquiring a first picture characteristic of the first picture group and the reference picture, and storing the first picture characteristic and the reference picture;
and storing the first picture group to a cloud end, and deleting the first picture group stored in the electronic equipment.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the classification module is used for receiving a first operation of a user and classifying the pictures to obtain N classified pictures, wherein N is a positive integer and is greater than or equal to 1;
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a reference picture and a first picture group except the reference picture in the same type of pictures, the first picture group comprises M first pictures, and M is greater than or equal to 1;
the storage module is used for acquiring the first picture group and the first picture characteristic of the reference picture and storing the first picture characteristic and the reference picture;
and the deleting module is used for storing the first picture group to a cloud end and deleting the first picture group stored by the electronic equipment.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the electronic device implements the steps of the picture processing method according to the first aspect.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the picture processing method as described in the first aspect.
According to the technical scheme provided by the embodiment of the invention, the electronic equipment can classify the pictures, determine the reference pictures in the pictures of the same category and the first picture group except the reference pictures, then acquire the first picture group and the first picture characteristics of the reference pictures, store the first picture characteristics and the reference pictures, store the first picture group to the cloud, and delete the first picture group stored by the electronic equipment. Therefore, after the electronic equipment classifies the pictures, only the reference picture and the first picture feature in the same class need to be stored, so that the picture capacity is reduced, the memory occupied by the pictures is reduced, and the storage space of the electronic equipment is saved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a picture processing method according to an embodiment of the present invention;
fig. 2 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 3 is a block diagram of another electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a picture processing method according to an embodiment of the present invention, where the picture processing method is applied to an electronic device. As shown in fig. 1, the picture processing method includes the following steps:
step 101, receiving a first operation of a user, and classifying the pictures to obtain N types of pictures.
Wherein N is a positive integer, and N is greater than or equal to 1.
It will be appreciated that electronic devices typically store a large number of pictures, such as photographs taken by a user through a camera, saved pictures downloaded from the internet, pictures received through a social application, and the like.
Alternatively, the electronic device may classify the stored pictures according to preset classification rules. For example, the electronic device may classify pictures taken at the same location into one class, or classify pictures taken at the same time period into one class, or may classify pictures having picture similarity greater than a preset value into one class, where the classification method based on picture similarity may be implemented based on a similarity algorithm, which may specifically refer to related technologies, and this embodiment is not described herein again.
The electronic device may classify the stored pictures based on a preset period, or classify a new picture into a corresponding category based on a preset classification rule when the new picture is acquired.
Step 102, determining a reference picture and a first picture group except the reference picture in the same type of picture, wherein the first picture group comprises M first pictures.
Wherein M is greater than or equal to 1.
The reference picture may refer to any one of pictures in the same category, or may refer to an optimal picture in the same category. For example, the electronic device may compare image parameters such as contrast, brightness, saturation, and the like of all pictures in the same category, and determine a picture with image parameters better than those of other pictures in the same category as an optimal picture, which is a reference picture in the category.
It is understood that there may be more than one picture in a category, but there is only one reference picture in a category, and the pictures except the reference picture in the same category are collectively referred to as a first group of pictures, and the number of pictures in the first group of pictures is at least one. For example, when one category includes 10 pictures, 9 pictures excluding the reference picture constitute a first picture group.
Step 103, obtaining the first picture group and the first picture feature of the reference picture, and storing the first picture feature and the reference picture.
Alternatively, the picture feature may refer to picture content or elements in a certain region of the picture, such as a human face, a building, a plant, and the like. For example, if the same picture region of two pictures has the same face, the two pictures are considered to have the same picture feature. Or, the picture characteristic may also refer to pixel point information or numerical value information in a certain region of the picture, for example, a region of the picture is a matrix, a pixel point in the matrix is a color value, the value is composed of three parameters of RGB, and if RGB in the same picture region of two pictures is the same, the two pictures are considered to have the same picture characteristic.
In the embodiment of the invention, after determining the reference picture in the same category and the first picture group except the reference picture, comparing the picture characteristics of each first picture in the first picture group with the reference picture, and acquiring different picture characteristics of each first picture and the reference picture, wherein the different picture characteristics are also the first picture characteristics; and storing all the first picture characteristics of the first picture group, and simultaneously storing the reference picture.
Optionally, the step 103 may include:
acquiring a first picture group and a first picture feature of the reference picture under the condition that the reference picture comprises preset picture elements; and saving the first picture characteristic and the reference picture.
The preset picture element may be preset by a user, or may be automatically set by the electronic device. Optionally, the preset picture element may refer to a certain face, a certain building, or the like, and the preset picture element may be one or more.
In the embodiment, after determining the reference picture and the first picture in the same category, whether the reference picture comprises a preset picture element is judged; if the reference picture comprises preset picture elements, acquiring different picture information, namely first picture characteristics, of each first picture in the category and the reference picture, and storing the first picture characteristics and the reference picture.
It should be noted that, when acquiring the first picture characteristics (i.e., different picture information) of each first picture and the reference picture in the category, the electronic device may also acquire the same picture information of each first picture and the reference picture, and the electronic device may delete the same picture information. Therefore, the electronic device only needs to store the reference picture in one category and the first picture characteristics of the first picture group and the reference picture, and the storage space of the electronic device is saved.
In addition, if the reference picture does not include the preset picture element, all pictures of the category are not processed.
And step 104, storing the first picture group to a cloud, and deleting the first picture group stored in the electronic equipment.
In the embodiment of the present invention, after the electronic device stores the reference picture and the first picture group and the first picture characteristics (i.e., different picture information) of the reference picture, the electronic device can store the first picture group to the cloud and delete the first picture group stored in the electronic device. In this way, the storage space of the electronic device is saved.
Optionally, in an embodiment of the present invention, the step 103 may further include:
acquiring second picture characteristics of each first picture in the first picture group and the reference picture, wherein the first picture characteristics comprise the second picture characteristics corresponding to each first picture; splicing the second picture characteristics corresponding to one first picture to obtain a second picture; one second picture corresponds to one first picture one by one; associating the second picture with the reference picture to obtain a target picture set; and saving the target picture set.
In this embodiment, after the reference picture and the first picture group in the same category are determined, different picture characteristics (i.e., second picture characteristics) of each first picture and the reference picture in the first picture group are obtained, and the second picture characteristics corresponding to one first picture are spliced to obtain a second picture, where one second picture corresponds to one first picture, that is, the second picture characteristics of one first picture are spliced in the same second picture, and thus how many first pictures are present, that is, how many second pictures are present.
After the second picture is obtained, the electronic equipment associates the second picture in the same category with the reference picture to obtain a target picture set, and stores the target picture set. Further, the electronic device stores the first picture group to the cloud, and deletes the first picture group stored in the electronic device. That is to say, for pictures in one category, the electronic device only stores the reference picture and the target picture set composed of the second pictures, and one second picture is formed by splicing different picture features of one first picture and the reference picture and is not a complete picture, so that the picture capacity of the second picture is definitely smaller than that of the first picture, and the second picture does not occupy too large memory of the electronic device, thereby saving the storage space of the electronic device.
It should be noted that, although the electronic device has deleted the first group of pictures, but stores the second picture including the picture characteristics different from the reference picture, the step 104 may further include:
determining a reference picture associated with the second picture if a second operation for the second picture is received; generating a third picture based on the reference picture and the second picture; the third picture and the first picture corresponding to the second picture have the same picture characteristics; and displaying the third picture.
Optionally, the second operation may refer to a touch operation such as a single click or a double click that is performed on the second picture. As can be understood, the electronic device stores the reference picture and the second picture in association with each other in the same category, so that when a target input is received for a certain second picture, the electronic device can quickly identify the reference picture associated with the second picture, and generate a third picture based on the reference picture and the second picture.
Optionally, the generating a third picture based on the reference picture and the second picture includes:
and determining target picture characteristics different from the second picture in the reference picture, and splicing the target picture characteristics with the second picture characteristics included in the second picture to obtain the third picture.
As can be understood, the second picture is formed by splicing different picture features of the first picture and the reference picture, and then after the reference picture associated with the second picture is determined, based on the second picture and the associated reference picture, a target picture feature different from the picture feature of the second picture in the reference picture can be determined, the target picture feature is extracted, and the target picture feature is spliced with the second picture, so that a third picture can be generated, where the third picture has the same picture feature as the first picture corresponding to the second picture, that is, the third picture should be identical to the first picture corresponding to the second picture, which is equivalent to restoring the first picture. Further, the electronic device can display the third picture. Therefore, even after the first picture is deleted, the electronic device can still splice and form a third picture with the same picture characteristics as the first picture based on the stored second picture and the reference picture, which is equivalent to that a user can still look up the first picture on the electronic device, and the operation of the user is convenient.
Or, the electronic device may further copy the reference picture based on the second picture and the associated reference picture, remove a picture feature different from the second picture in the copied reference picture, and splice the removed copied reference picture with the second picture to generate a third picture, where the third picture has the same picture feature as the first picture corresponding to the second picture.
In addition, the electronic device may generate a third picture only based on a second operation of the user, the third picture may only occupy an operating memory of the electronic device, so as to facilitate the user to view, upload the third picture on the network, or send the third picture in social chat, and the third picture is automatically deleted after the user finishes viewing, uploading, or sending the third picture. That is to say, the third picture is not saved in the electronic device, and further does not occupy the physical memory of the electronic device, so as to save the storage space of the electronic device.
In the technical scheme provided by the embodiment of the invention, the electronic equipment can classify pictures based on a first operation of a user, determine a reference picture and a first picture group except the reference picture in the same class of pictures, then acquire the first picture group and first picture characteristics of the reference picture, store the first picture characteristics and the reference picture, further store the first picture group to a cloud, and delete the first picture group stored by the electronic equipment. Therefore, after the electronic equipment classifies the pictures, only the reference picture and the first picture feature in the same class need to be stored, so that the picture capacity is reduced, the memory occupied by the pictures is reduced, and the storage space of the electronic equipment is saved.
Referring to fig. 2, fig. 2 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 2, the electronic device 200 includes:
the classification module 201 is configured to receive a first operation of a user, classify pictures, and obtain N class pictures, where N is a positive integer and is greater than or equal to 1;
a determining module 202, configured to determine a reference picture and a first picture group other than the reference picture in a same type of picture, where the first picture group includes M first pictures, and M is greater than or equal to 1;
a saving module 203, configured to obtain the first picture group and the first picture feature of the reference picture, and save the first picture feature and the reference picture;
the deleting module 204 is configured to store the first group of pictures to a cloud, and delete the first group of pictures stored in the electronic device.
Optionally, the saving module 203 is further configured to:
acquiring a first picture group and a first picture feature of the reference picture under the condition that the reference picture comprises preset picture elements;
and saving the first picture characteristic and the reference picture.
Optionally, the saving module 203 is further configured to:
acquiring second picture characteristics of each first picture in the first picture group and the reference picture, wherein the first picture characteristics comprise the second picture characteristics corresponding to each first picture;
splicing the second picture characteristics corresponding to one first picture to obtain a second picture; one second picture corresponds to one first picture one by one;
associating the second picture with the reference picture to obtain a target picture set;
and saving the target picture set.
Optionally, the electronic device 200 further includes:
a receiving module, configured to determine a reference picture associated with the second picture if a second operation for the second picture is received;
a generating module, configured to generate a third picture based on the reference picture and the second picture; the third picture and the first picture corresponding to the second picture have the same picture characteristics;
and the display module is used for displaying the third picture.
Optionally, the generating module is further configured to:
and determining target picture characteristics different from the second picture in the reference picture, and splicing the target picture characteristics with the second picture characteristics included in the second picture to obtain the third picture.
It should be noted that the electronic device 200 can implement each process of the embodiment of the picture processing method described in fig. 1, and can achieve the same technical effect, and for avoiding repetition, details are not described here again.
In the technical solution provided in the embodiment of the present invention, the electronic device 200 may classify pictures based on a first operation of a user, determine a reference picture and a first picture group except the reference picture in the same class of pictures, then obtain the first picture group and a first picture characteristic of the reference picture, store the first picture characteristic and the reference picture, then store the first picture group to a cloud, and delete the first picture group stored in the electronic device 200. Therefore, after the electronic device 200 classifies the pictures, only the reference picture and the first picture feature in the same category need to be stored, so that the picture capacity is reduced, the memory occupied by the pictures is reduced, and the storage space of the electronic device 200 is saved.
Referring to fig. 3, fig. 3 is a structural diagram of another electronic device for implementing the embodiment of the invention, and the electronic device 300 can implement each process of the embodiment of the picture processing method described in fig. 1 and achieve the same technical effect. As shown in fig. 3, electronic device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 3 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 310 is configured to:
receiving a first operation of a user, classifying the pictures to obtain N classified pictures, wherein N is a positive integer and is greater than or equal to 1;
determining a reference picture and a first picture group except the reference picture in the same type of pictures, wherein the first picture group comprises M first pictures, and M is greater than or equal to 1;
acquiring a first picture characteristic of the first picture group and the reference picture, and storing the first picture characteristic and the reference picture;
and storing the first picture group to a cloud end, and deleting the first picture group stored in the electronic equipment.
Wherein, the processor 310 is further configured to:
acquiring a first picture group and a first picture feature of the reference picture under the condition that the reference picture comprises preset picture elements;
and saving the first picture characteristic and the reference picture.
Wherein, the processor 310 is further configured to:
acquiring second picture characteristics of each first picture in the first picture group and the reference picture, wherein the first picture characteristics comprise the second picture characteristics corresponding to each first picture;
splicing the second picture characteristics corresponding to one first picture to obtain a second picture; one second picture corresponds to one first picture one by one;
associating the second picture with the reference picture to obtain a target picture set;
and saving the target picture set.
Wherein, the processor 310 is further configured to:
determining a reference picture associated with the second picture if a second operation for the second picture is received;
generating a third picture based on the reference picture and the second picture; the third picture and the first picture corresponding to the second picture have the same picture characteristics;
and displaying the third picture.
Wherein, the processor 310 is further configured to:
and determining target picture characteristics different from the second picture in the reference picture, and splicing the target picture characteristics with the second picture characteristics included in the second picture to obtain the third picture.
In the embodiment of the present invention, the electronic device 300 may classify pictures based on a first operation of a user, determine a reference picture and a first picture group except the reference picture in the same class of pictures, then obtain the first picture group and a first picture feature of the reference picture, store the first picture feature and the reference picture, store the first picture group to a cloud, and delete the first picture group stored in the electronic device 300. Therefore, after the electronic device 300 classifies the pictures, only the reference picture and the first picture feature in the same category need to be stored, so that the picture capacity is reduced, the memory occupied by the pictures is reduced, and the storage space of the electronic device 300 is saved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The electronic device 300 provides wireless broadband internet access to the user via the network module 302, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the electronic apparatus 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still image or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other computer-readable storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The electronic device 300 also includes at least one sensor 305, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 3031 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 3031 and/or the backlight when the electronic device 300 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3031, and the Display panel 3031 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device 300. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 can be overlaid on the display panel 3031, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3031 according to the type of the touch event. Although in fig. 3, the touch panel 3071 and the display panel 3031 are implemented as two independent components to implement the input and output functions of the electronic device 300, in some embodiments, the touch panel 3071 and the display panel 3031 may be integrated to implement the input and output functions of the electronic device 300, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the electronic apparatus 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 300 or may be used to transmit data between the electronic apparatus 300 and the external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may 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 processor 310 is a control center of the electronic device 300, connects various parts of the entire electronic device 300 using various interfaces and lines, and performs various functions of the electronic device 300 and processes data by operating or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the electronic device 300. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
The electronic device 300 may further include a power supply 311 (such as a battery) for supplying power to various components, and preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 300 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned image processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned image processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A picture processing method is applied to electronic equipment and is characterized by comprising the following steps:
receiving a first operation of a user, classifying the pictures to obtain N classified pictures, wherein N is a positive integer and is greater than or equal to 1;
determining a reference picture and a first picture group except the reference picture in the same type of pictures, wherein the first picture group comprises M first pictures, and M is greater than or equal to 1;
acquiring a first picture characteristic of the first picture group and the reference picture, and storing the first picture characteristic and the reference picture;
and storing the first picture group to a cloud end, and deleting the first picture group stored in the electronic equipment.
2. The method of claim 1, wherein the obtaining the first picture feature of the first picture group and the reference picture and saving the first picture feature and the reference picture comprise:
acquiring a first picture group and a first picture feature of the reference picture under the condition that the reference picture comprises preset picture elements;
and saving the first picture characteristic and the reference picture.
3. The method of claim 1, wherein the obtaining the first picture feature of the first picture group and the reference picture and saving the first picture feature and the reference picture comprise:
acquiring second picture characteristics of each first picture in the first picture group and the reference picture, wherein the first picture characteristics comprise the second picture characteristics corresponding to each first picture;
splicing the second picture characteristics corresponding to one first picture to obtain a second picture; one second picture corresponds to one first picture one by one;
associating the second picture with the reference picture to obtain a target picture set;
and saving the target picture set.
4. The method of claim 3, wherein after saving the first group of pictures to a cloud and deleting the first group of pictures stored by the electronic device, the method further comprises:
determining a reference picture associated with the second picture if a second operation for the second picture is received;
generating a third picture based on the reference picture and the second picture; the third picture and the first picture corresponding to the second picture have the same picture characteristics;
and displaying the third picture.
5. The method of claim 4, wherein generating a third picture based on the reference picture and the second picture comprises:
and determining target picture characteristics different from the second picture in the reference picture, and splicing the target picture characteristics with the second picture characteristics included in the second picture to obtain the third picture.
6. An electronic device, comprising:
the classification module is used for receiving a first operation of a user and classifying the pictures to obtain N classified pictures, wherein N is a positive integer and is greater than or equal to 1;
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a reference picture and a first picture group except the reference picture in the same type of pictures, the first picture group comprises M first pictures, and M is greater than or equal to 1;
the storage module is used for acquiring the first picture group and the first picture characteristic of the reference picture and storing the first picture characteristic and the reference picture;
and the deleting module is used for storing the first picture group to a cloud end and deleting the first picture group stored by the electronic equipment.
7. The electronic device of claim 6, wherein the save module is further configured to:
acquiring a first picture group and a first picture feature of the reference picture under the condition that the reference picture comprises preset picture elements;
and saving the first picture characteristic and the reference picture.
8. The electronic device of claim 6, wherein the save module is further configured to:
acquiring second picture characteristics of each first picture in the first picture group and the reference picture, wherein the first picture characteristics comprise the second picture characteristics corresponding to each first picture;
splicing the second picture characteristics corresponding to one first picture to obtain a second picture; one second picture corresponds to one first picture one by one;
associating the second picture with the reference picture to obtain a target picture set;
and saving the target picture set.
9. The electronic device of claim 8, further comprising:
a receiving module, configured to determine a reference picture associated with the second picture if a second operation for the second picture is received;
a generating module, configured to generate a third picture based on the reference picture and the second picture; the third picture and the first picture corresponding to the second picture have the same picture characteristics;
and the display module is used for displaying the third picture.
10. The electronic device of claim 9, wherein the generation module is further configured to:
and determining target picture characteristics different from the second picture in the reference picture, and splicing the target picture characteristics with the second picture characteristics included in the second picture to obtain the third picture.
CN201911105008.3A 2019-11-07 2019-11-07 Picture processing method and electronic equipment Pending CN110929062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911105008.3A CN110929062A (en) 2019-11-07 2019-11-07 Picture processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911105008.3A CN110929062A (en) 2019-11-07 2019-11-07 Picture processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110929062A true CN110929062A (en) 2020-03-27

Family

ID=69852739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911105008.3A Pending CN110929062A (en) 2019-11-07 2019-11-07 Picture processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110929062A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179384A (en) * 2013-03-21 2013-06-26 鸿富锦精密工业(深圳)有限公司 Video data processing system for video monitoring and video broadcasting system
CN106326908A (en) * 2015-06-30 2017-01-11 中兴通讯股份有限公司 Picture management method and apparatus, and terminal equipment
CN106649759A (en) * 2016-12-26 2017-05-10 北京珠穆朗玛移动通信有限公司 Picture processing method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179384A (en) * 2013-03-21 2013-06-26 鸿富锦精密工业(深圳)有限公司 Video data processing system for video monitoring and video broadcasting system
CN106326908A (en) * 2015-06-30 2017-01-11 中兴通讯股份有限公司 Picture management method and apparatus, and terminal equipment
CN106649759A (en) * 2016-12-26 2017-05-10 北京珠穆朗玛移动通信有限公司 Picture processing method and mobile terminal

Similar Documents

Publication Publication Date Title
CN109343759B (en) Screen-turning display control method and terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN109240577B (en) Screen capturing method and terminal
CN107977652B (en) Method for extracting screen display content and mobile terminal
US11543935B2 (en) Information processing method and terminal device
CN109241775B (en) Privacy protection method and terminal
CN111401463B (en) Method for outputting detection result, electronic equipment and medium
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN109523253B (en) Payment method and device
CN111142724A (en) Display control method and electronic equipment
CN110536005B (en) Object display adjustment method and terminal
US20220083207A1 (en) Editing method and mobile terminal
CN110825474A (en) Interface display method and device and electronic equipment
CN110929273A (en) Permission setting method and electronic equipment
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal
CN110740265B (en) Image processing method and terminal equipment
CN110099170B (en) Picture deleting method and mobile terminal
CN109858447B (en) Information processing method and terminal
CN109547330B (en) Information sharing method and device
CN109189735B (en) Preview image display method and mobile terminal
CN107844203B (en) Input method candidate word recommendation method and mobile terminal
CN110888572A (en) Message display method and terminal equipment
CN110780795A (en) Screen capturing method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200327