CN110147190B - Image processing method and electronic terminal - Google Patents

Image processing method and electronic terminal Download PDF

Info

Publication number
CN110147190B
CN110147190B CN201810717469.5A CN201810717469A CN110147190B CN 110147190 B CN110147190 B CN 110147190B CN 201810717469 A CN201810717469 A CN 201810717469A CN 110147190 B CN110147190 B CN 110147190B
Authority
CN
China
Prior art keywords
image
processed
editing mode
scene
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810717469.5A
Other languages
Chinese (zh)
Other versions
CN110147190A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810717469.5A priority Critical patent/CN110147190B/en
Publication of CN110147190A publication Critical patent/CN110147190A/en
Application granted granted Critical
Publication of CN110147190B publication Critical patent/CN110147190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses an image processing method, which comprises the following steps: acquiring an image to be processed and determining a reference scene related to the image to be processed; at least one image editing mode for processing the image to be processed for matching the image to be processed according to a reference scene related to the image to be processed; processing the image to be processed using at least one image editing mode to obtain at least one reference image; at least one reference image is presented and a selection of the reference image is received. In addition, the invention also discloses an electronic terminal. According to the image processing method and the electronic terminal, the image to be processed is processed according to the image editing mode corresponding to the matching of the reference scene related to the image to be processed so as to obtain the reference image, so that a user can be helped to improve the editing effect of the image, the user can obtain the wanted image more easily, and the user experience is improved.

Description

Image processing method and electronic terminal
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image processing method and an electronic terminal.
Background
With the rapid development of computer technology, a plurality of beautifying means for processing images are generated, and the image effect can be effectively improved or enhanced. However, in the related art, the user needs to adjust the beautification effect of the image by himself, in which case the user who has to have a rich image editing experience has to know how to edit the image better. However, it is often difficult for a user who lacks experience in editing an image to adjust the aesthetic effect by himself or herself to obtain a satisfactory image, and thus, there is a need for an image processing method capable of helping the user process an image.
Disclosure of Invention
The embodiment of the invention provides an image processing method and an electronic terminal.
The image processing method of the embodiment of the invention comprises the following steps:
acquiring an image to be processed and determining a reference scene related to the image to be processed;
at least one image editing mode for processing the image to be processed for the image to be processed according to a reference scene related to the image to be processed;
processing the image to be processed by adopting the at least one image editing mode to obtain at least one reference image;
the at least one reference image is presented and a selection of the reference image is received.
An electronic terminal according to an embodiment of the present invention includes:
the determining module is used for acquiring an image to be processed and determining a reference scene related to the image to be processed;
the matching module is used for matching at least one image editing mode for processing the image to be processed for the image to be processed according to a reference scene related to the image to be processed;
the first processing module is used for processing the image to be processed by adopting the at least one image editing mode to obtain at least one reference image;
And the display module is used for displaying the at least one reference image and receiving the selection of the reference image.
According to the image processing method and the electronic terminal, the image to be processed is processed according to the image editing mode corresponding to the matching of the reference scene related to the image to be processed so as to obtain the reference image, so that a user can be helped to improve the editing effect of the image, the user can obtain the wanted image more easily, and the user experience is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flow chart of an image processing method according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of an electronic terminal according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a comparison of an image to be processed with a reference image according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a comparison of an image to be processed and a selected reference image according to an embodiment of the present invention;
FIG. 5 is another schematic illustration of a comparison of an image to be processed with a reference image according to an embodiment of the present invention;
FIG. 6 is another comparative schematic of an image to be processed and a selected reference image according to an embodiment of the present invention;
FIG. 7 is yet another schematic illustration of a comparison of an image to be processed with a reference image in accordance with an embodiment of the present invention;
FIG. 8 is yet another comparative schematic of an image to be processed and a selected reference image according to an embodiment of the invention;
FIG. 9 is a further schematic illustration of a comparison of an image to be processed with a reference image according to an embodiment of the invention;
FIG. 10 is a further schematic representation of a comparison of an image to be processed and a selected reference image in accordance with an embodiment of the present invention;
FIG. 11 is yet another schematic illustration of a comparison of an image to be processed with a reference image in accordance with an embodiment of the present invention;
FIG. 12 is yet another comparative schematic of an image to be processed and a selected reference image according to an embodiment of the present invention;
FIG. 13 is a further schematic illustration of a comparison of an image to be processed with a reference image according to an embodiment of the invention;
FIG. 14 is a further schematic representation of a comparison of an image to be processed and a selected reference image in accordance with an embodiment of the present invention;
fig. 15 is another flow chart of an image processing method according to an embodiment of the present invention;
FIG. 16 is a schematic flow chart of an image processing method according to an embodiment of the present invention;
FIG. 17 is a schematic view showing still another flow of the image processing method according to the embodiment of the present invention;
FIG. 18 is a schematic flow chart of an image processing method according to an embodiment of the present invention;
FIG. 19 is a schematic view showing still another flow of the image processing method according to the embodiment of the present invention;
FIG. 20 is a schematic flow chart of an image processing method according to an embodiment of the present invention;
fig. 21 is a schematic flow chart of an image processing method according to an embodiment of the present invention.
Description of main reference numerals:
the electronic terminal 100, the determining module 10, the matching module 20, the first processing module 30, the display module 40 and the second processing module 42.
Detailed Description
Embodiments of the present invention are described in detail below, and are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present invention and are not to be construed as limiting the present invention.
Referring to fig. 1 and 2, an embodiment of the present invention provides an image processing method and an electronic terminal 100, where the image processing method may be applied to the electronic terminal 100, and a user may edit an image to be processed through the electronic terminal 100 to obtain a processed reference image. It will be appreciated that the electronic terminal 100 is configured with image processing application software (APP) that may be used to implement the image processing method of the embodiment of the present invention. The image processing application software (APP) may obtain the image to be processed by photographing or import the image to be processed through the gallery application software of the electronic terminal 100, and then edit the image to be processed using the image processing method of the present invention to obtain the processed reference image.
In an embodiment of the present invention, the electronic terminal 100 includes, but is not limited to, an electronic device capable of performing image processing, such as a mobile phone, a tablet computer, a camera, and a DV (Digital Video). Preferably, the electronic terminal 100 is an electronic device such as a mobile phone, a tablet computer, and the like. The electronic terminal 100 provided in the embodiment of the present invention may run various operating systems, including but not limited to: android (Android) system, IOS (mobile operating system developed by apple corporation) system, window system, and saint system.
Referring to fig. 1, an image processing method according to an embodiment of the present invention includes the steps of:
s10: and acquiring an image to be processed and determining a reference scene related to the image to be processed.
Specifically, step S10 includes: and determining a reference scene related to the image to be processed by using a preset model of the reference scene.
It will be appreciated that the electronic terminal 100 may obtain the image to be processed by photographing, and of course, the image to be processed may be transmitted to the electronic terminal 100 in other manners. The image to be processed may be stored in a memory of the electronic terminal 100, and a user may retrieve the image to be processed for viewing and processing through gallery application software. When the user selects the image to be processed, the image processing method can determine a reference scene related to the image to be processed by using a preset model of the reference scene. In some examples, the reference scene includes a portrait scene, a food scene, a landscape scene, a dim light scene, a backlight scene, and the like. The preset model of the reference scene may be obtained by training images of a large number of different scenes (e.g., lobster, fish, vegetables, fruits, flowers, cats, dogs, portraits, tourist attractions, etc.) through a TensorFlow artificial intelligence technique and stored in the electronic terminal 100.
S20: and matching at least one image editing mode for processing the image to be processed for the image to be processed according to a reference scene related to the image to be processed.
Therefore, at least one image editing mode can be provided according to the reference scene of the image to be processed, the selection of the user can be enriched, and more requirements of the user are met. Referring to fig. 3-14, in the above example, when the reference scene is a portrait scene, the image editing modes that can be matched for the image to be processed include, but are not limited to: skin whitening, face slimming, acne and freckle removing, skin grinding, eye enlargement, naked make-up, han Zhuang, daily make-up, topical make-up and the like. When the reference scene is a food (e.g., lobster, fish, vegetables, etc.) scene, image editing modes that can be matched for the image to be processed include, but are not limited to: lobster filter, fish filter, vegetable filter, general food filter, etc. Most of the food filters are used for adjusting color vividness. When the reference scene is a landscape (grass, flower, building, etc.) scene, image editing modes that can match the image to be processed include, but are not limited to: grass filters, flower filters, building filters (e.g., european building filters, chinese building filters, eiffel tower filters, general building filters, etc.), and the like. Filters applied to scenery scenes are mostly used to adjust sharpness and color. When the reference scene is a dim light scene, image editing modes that may be matched for the image to be processed include, but are not limited to: exposure adjustment, contrast adjustment, and the like. When the reference scene is a backlight scene, image editing modes for matching the image to be processed include, but are not limited to: and (5) light supplementing adjustment.
Further, for an image to be processed, for example, an image contains an Eiffel tower, which can accurately determine a reference scene, a building in the image can be determined to be the Eiffel tower, and at least one Eiffel tower filter for processing the image containing the Eiffel tower is matched with the image to be processed; for the to-be-processed image which cannot accurately determine the reference scene, for example, the image contains garden buildings, but only the buildings in the image can be determined, and at least one general building filter for processing the image containing the buildings is matched for the to-be-processed image.
S30: the image to be processed is processed using at least one image editing mode to obtain at least one reference image.
It will be appreciated that the reference scene associated with the image to be processed may be a single scene or may be two or more scenes. The image to be processed of a single scene may match multiple image editing modes. For example, when the reference scene is a portrait scene, the image editing mode for which it is matched may be: skin whitening, face slimming, acne and freckle removing, and naked make-up. The plurality of image editing modes may be used alone or in combination. For example, an image editing mode of skin whitening may be used to perform automatic whitening processing on a portrait in an image to be processed to obtain a reference image, an image editing mode of acne removal and freckle removal may be used to perform acne removal and freckle removal processing on a portrait in an image to be processed to obtain a reference image, and two image editing modes of face thinning and slimming and naked make-up may be used to perform face thinning and naked make-up processing on a portrait in an image to be processed to obtain a reference image.
The image to be processed, which is assumed to be a portrait scene, is matched with four image editing modes of skin whitening, face and body slimming, acne and freckle removing and naked make-up, and the image to be processed is processed by adopting a single image editing mode or a combined image editing mode, so that at most fifteen reference images can be obtained. Preferably, for the image to be processed, the reference scene is a portrait scene, and because there are many image editing modes matched with the reference scene, the image processing method can preset a plurality of commonly used image editing modes according to the setting of a user, so that the situation that more reference images are obtained after the image to be processed is edited by adopting the image editing mode can be avoided, the user can quickly obtain the satisfactory reference images, and the time and effort for selecting the satisfactory reference images from the more reference images are avoided.
For the determination of the images to be processed of two or more reference scenes, at least one image editing mode may be matched for each of the different reference scenes. For example, the image to be processed is that two girls are eating lobsters, and the reference scene determined at this time may include a portrait scene and a food scene. Assuming that the image to be processed is matched with the image editing mode of skin whitening and the image editing mode of the lobster filter at this time, the automatic whitening treatment can be performed on two girls in the image to be processed by adopting the image editing mode of skin whitening to obtain a reference image, the processing can be performed on the lobsters in the image to be processed by adopting the image editing mode of the lobster filter to obtain a reference image, and the automatic whitening treatment can be performed on two girls in the image to be processed by adopting the image editing mode of skin whitening and the processing can be performed on the lobsters in the image to be processed by adopting the image editing mode of the lobster filter to obtain a reference image.
S40: at least one reference image is presented and a selection of the reference image is received.
In summary, according to the image processing method of the embodiment of the invention, the image to be processed is processed according to the image editing mode corresponding to the matching of the reference scene related to the image to be processed so as to obtain the reference image, so that the user can be helped to promote the editing effect of the image, the user can obtain the wanted image more easily, and the user experience is improved.
In certain embodiments, step S20 comprises: a selection of at least one image editing mode is received to obtain an image editing mode. Step S30 includes: and processing the image to be processed by adopting the obtained image editing mode to obtain a reference image.
It will be appreciated that the image editing mode for matching the image to be processed is at least one, and that one image editing mode may be selected from the at least one image editing mode to process the image to be processed to obtain a reference image.
In some embodiments, the at least one image editing mode comprises a plurality of image editing modes, and the at least one reference image comprises a plurality of reference images. Referring to fig. 15, step S40 includes:
step S411: displaying one of a plurality of reference images;
Step S412: receiving a switch to a plurality of reference images;
step S413: and sequentially displaying the plurality of reference images according to the switching of the plurality of reference images.
It is understood that the electronic terminal 100 includes a display screen such as a Liquid Crystal Display (LCD), a light emitting diode display (LED), an organic light emitting diode display (OLED), a Plasma Display (PDP). And the image to be processed is processed by a plurality of image editing modes to obtain a plurality of reference images. The display screen of the electronic terminal 100 may directly display one of the plurality of reference images, and may sequentially display the plurality of reference images by sliding the plurality of reference images left and right or sliding the plurality of reference images up and down. It should be noted that, when the reference image is only one, the display screen may directly display the reference image.
Referring to fig. 16, in some embodiments, step S40 includes step S420: at least one reference image is presented in the form of a thumbnail at a preset position of the image to be processed.
It will be appreciated that the image to be processed is processed to obtain at least one reference image, and the display screen of the electronic terminal 100 may display the reference image, for example, display one of the at least one reference image in the form of a thumbnail at a preset position of the image to be processed, as shown in fig. 3, 5, 7, 9, 11 and 13. Preferably, the preset position may be an upper left corner or an upper right corner of the image to be processed.
Further, the image processing method may control the display screen to display the reference scene related to the image to be processed and the adopted image editing mode of one of the reference images in text form. In the examples of fig. 3 and 5, the reference scene is a portrait scene, and the image editing mode adopted by one of the reference images is an image editing mode of skin whitening. The display screen displays "recognition as: the portrait 'and' automatic whitening effect is as follows: "words of"; wherein "identify as: the characters of the portrait are positioned at the upper left corner of the image to be processed, and the effect of automatic whitening is as follows: the text of "is located in the upper right hand corner of the image to be processed and above one of the reference images displayed in the form of a thumbnail.
In some embodiments, the at least one image editing mode comprises a plurality of image editing modes, and the at least one reference image comprises a plurality of reference images. Referring to fig. 17, step S40 includes:
step S421: receiving a first input signal, the first input signal representing a selection of a thumbnail;
step S422: and displaying all or part of the reference image on the image to be processed according to the first input signal.
It can be appreciated that the image to be processed is processed in a plurality of image editing modes to obtain a plurality of reference images. In step S420, one of the reference images is displayed in the form of a thumbnail. In one example, the display screen of the electronic terminal 100 may be a touch display screen that displays images to be processed and reference images displayed in thumbnail form. At this time, the user may input a first input signal for selecting a thumbnail by clicking the thumbnail on the touch display screen. After receiving the first input signal, the electronic terminal 100 displays all or part of the reference images on the image to be processed in a preset arrangement mode. The preset arrangement mode can be an array arrangement mode, such as a nine-grid arrangement mode. The number of reference pictures may be less than nine or may be greater than or equal to nine. When the number of the reference images exceeds nine, the virtual up-down keys displayed on the touch display screen may be further switched to the previous or next nine-grid, so that the user views the entire reference images. When the number of the reference images is less than nine, all the reference images are still displayed in a nine-grid arrangement mode, one reference image is correspondingly displayed in one grid, and the grid without the reference images can be filled with pure white images.
It will be appreciated that in other examples, the selection of the thumbnail may also be other means, for example, the electronic terminal 100 is provided with a physical key through which the user may select the thumbnail; for another example, a touch display screen may also display virtual keys through which a user may select a thumbnail. The preset arrangement mode can be a linear arrangement mode, a circular arrangement mode or other regular or irregular arrangement modes. When the number of reference images is smaller than the maximum number of images allowed by the arrangement, the places where no reference images are arranged can be filled with pure white images. Physical keys include, but are not limited to, keys that are entered in a pressing, rotating, sliding, and touching manner.
When the image to be processed is processed, the image to be processed may be processed in a single image editing mode, or may be processed in a combination of two or more image editing modes. The number of image editing modes may not correspond to the number of reference images obtained after processing.
Referring to fig. 18, in some embodiments, step S40 includes:
S423: receiving a second input signal representing a selection of one of all or part of the reference pictures;
s424: the selected reference image and the image to be processed are presented side by side in accordance with the second input signal.
It will be appreciated that when the plurality of reference images are displayed in a predetermined arrangement (e.g., a nine-grid arrangement), the user may click one of the reference images through the touch display screen to input the second input signal to select one of the plurality of reference images. After the electronic terminal 100 receives the second input signal, the display screen displays the reference image and the image to be processed selected by the user side by side. Thus, the user can visually compare the image to be processed with the selected reference image conveniently, and whether the editing effect of the selected reference image is satisfactory or not can be judged. In the examples of fig. 4, 12 and 14, the image to be processed and the selected reference image are side by side, with the image to be processed on the left and the selected reference image on the right. In the examples of fig. 6, 8 and 10, the image to be processed and the selected reference image are side by side, with the image to be processed being the upper side and the selected reference image being the lower side.
Referring to fig. 19, in some embodiments, step S40 includes:
step S425: receiving a third input signal representing a selection of one of all or part of the reference pictures;
step S426: the selected reference image is presented in accordance with the third input signal.
It will be appreciated that when the plurality of reference images are presented in a preset arrangement (e.g., a box-in-box arrangement), the user may click on one of the reference images via the touch display screen to input a third input signal to select one of all or a portion of the reference images. After the electronic terminal 100 receives the third input signal, the display screen displays the reference image selected by the user in full screen.
Referring to fig. 20, in some embodiments, the image processing method includes the steps of:
s427: receiving a fourth input signal representing a comparison of the selected reference image and the image to be processed;
s428: and displaying the image to be processed according to the fourth input signal.
It will be appreciated that in the above embodiments, the display screen may show the selected reference image in full screen, and the user may input the fourth input signal by touching one virtual contrast key of the display screen to compare the selected reference image with the image to be processed. The electronic terminal 100 receives the fourth input signal to display the image to be processed. For example, the user can press the contrast key for a long time without putting the contrast key, and the display screen displays the image to be processed; the user releases the contrast button and the display screen displays the selected reference image. In this way, the user can judge whether the editing effect of the selected reference image is satisfactory by comparing the image to be processed with the selected reference image.
Referring to fig. 21, in some embodiments, step S40 includes:
s461: sending prompt information whether to like at least one reference image;
s462: saving the at least one reference image when a selection of favorites is received;
s463: when a selection of dislike of at least one reference image is received, a manual image editing mode of the image to be processed is entered, an editing signal for editing the image to be processed is obtained, and the image to be processed is edited according to the editing signal.
It is understood that the electronic terminal 100 may prompt the user to input a signal whether at least one reference image is liked or not while the user views the reference image. For example, the electronic terminal 100 may display a word of "like" on a reference image presented by the touch display screen, and display a virtual save key and a re-edit key on the touch display screen. If the user likes the reference image, the virtual save key may be clicked, and at this time, the electronic terminal 100 receives a signal for inputting the liked reference image, and saves the liked reference image according to the signal. If the user does not like the currently displayed reference image, the user may click the virtual re-editing key, at this time, the electronic terminal 100 receives a signal that the user inputs that the reference image is not liked, the electronic terminal 100 enters a manual image editing mode and controls the touch display screen to display the image to be processed, and then the user may select an editing command at the electronic terminal 100 to process the image to be processed. The electronic terminal 100 processes the image to be processed according to the editing signal after receiving the editing signal for editing the image to be processed. Thus, the requirement of manually editing the image to be processed by a user is met. The image after the manual editing is completed can be saved.
In some embodiments, the resolution of the image to be processed is consistent with the resolution of the at least one reference image, and/or the size of the image to be processed is consistent with the size of the at least one reference image.
It will be appreciated that when the number of reference images is plural, the resolution of the image to be processed may or may not be consistent with the resolution of each reference image, or may not be consistent with the resolution of a portion of the reference images. The size of the image to be processed may be identical to the size of each reference image, may be inconsistent, or may be identical to the size of a part of the reference images. When a user clips a reference image, the size of the clipped reference image may not coincide with the size of the image to be processed. For example, in the example of fig. 4, the resolution of the image to be processed is 720×1280, and the resolution of the reference image is also 720×1280. In the example of fig. 6, the size of the image to be processed is 8.80cm×13.14cm, and the size of the reference image is also 8.80cm×13.14cm.
Referring to fig. 2, an electronic terminal 100 according to an embodiment of the present invention includes a determining module 10, a matching module 20, a first processing module 30, and a display module 40. The determining module 10 is configured to acquire an image to be processed and determine a reference scene related to the image to be processed. The matching module 20 is configured to match at least one image editing mode for processing the image to be processed for the image to be processed according to a reference scene related to the image to be processed. The first processing module 30 is configured to process the image to be processed in at least one image editing mode to obtain at least one reference image. The display module 40 is configured to display at least one reference image and receive a selection of the reference image.
That is, the image processing method of the embodiment of the present invention may be implemented by the electronic terminal 100 of the embodiment of the present invention. Wherein step S10 may be implemented by the determining module 10, step S20 may be implemented by the matching module 20, step S30 may be implemented by the first processing module 30, and step S40 may be implemented by the presentation module 40.
According to the electronic terminal 100 of the embodiment of the invention, the image to be processed is processed according to the image editing mode corresponding to the matching of the reference scene related to the image to be processed so as to obtain the reference image, so that the user can be helped to improve the editing effect of the image, the user can obtain the wanted image more easily, and the user experience is improved.
It should be noted that the above explanation and advantageous effects of the embodiment of the image processing method are also applicable to the electronic terminal 100 according to the embodiment of the present invention, and are not further detailed herein to avoid redundancy.
In some embodiments, the determining module 10 is configured to determine a reference scene related to the image to be processed using a preset model of the reference scene.
In some embodiments, the matching module 20 is configured to receive a selection of at least one image editing mode to obtain an image editing mode. The first processing module 30 is configured to process the image to be processed using the obtained image editing mode to obtain a reference image.
In some embodiments, the at least one image editing mode comprises a plurality of image editing modes, and the at least one reference image comprises a plurality of reference images. The display module 40 is configured to display one of a plurality of reference images; receiving a switch to a plurality of reference images; and sequentially displaying the plurality of reference images according to the switching of the plurality of reference images.
That is, step S411, step S412, and step S413 of the image processing method may be implemented by the presentation module 40.
In some embodiments, the display module 40 is configured to display at least one reference image in the form of a thumbnail at a preset position of the image to be processed.
That is, step S420 of the image processing method may be implemented by the presentation module 40.
In some embodiments, the at least one image editing mode comprises a plurality of image editing modes, and the at least one reference image comprises a plurality of reference images. The electronic terminal 100 comprises a receiving module 50 for presenting the module 40 for receiving a first input signal representing a selection of a thumbnail; and displaying all or part of the reference image on the image to be processed according to the first input signal.
That is, step S421 and step S422 of the image processing method may be implemented by the presentation module 40. Specifically, in some examples, presentation module 40 may be coupled to a touch display when the display is a touch display, and presentation module 40 may receive a user input signal when the user inputs a signal on the touch display. In other examples, presentation module 40 may be coupled to physical or virtual keys to receive corresponding user input signals when a user inputs signals via physical or virtual keys.
In some embodiments, presentation module 40 is configured to receive a second input signal representing a selection of one of all or a portion of the reference images; and displaying the selected reference image and the image to be processed side by side according to the second input signal.
That is, steps S423 and S424 of the image processing method may be implemented by the presentation module 40.
In some embodiments, presentation module 40 is configured to receive a third input signal representing a selection of one of all or part of the reference images; and displaying the selected reference image according to the third input signal.
That is, steps S425 and S426 of the image processing method may be implemented by the presentation module 40.
In some embodiments, the presentation module 40 is configured to receive a fourth input signal representing a comparison of the selected reference image and the image to be processed; and the display device is used for displaying the image to be processed according to the fourth input signal.
That is, step S427 and step S428 of the image processing method may be implemented by the display module 40.
In some embodiments, display module 40 includes a second processing module 42. The second processing module 42 is configured to send out a prompt information about whether to like at least one reference image; saving the at least one reference image when a selection of favorites is received; and when the selection of dislike of at least one reference image is received, entering a manual image editing mode of the image to be processed, acquiring an editing signal for editing the image to be processed, and editing the image to be processed according to the editing signal.
That is, step S461, step S462, and step S463 of the image processing method may be implemented by the second processing module 42.
In some embodiments, the resolution of the image to be processed is consistent with the resolution of the at least one reference image, and/or the size of the image to be processed is consistent with the size of the at least one reference image.
In the description of embodiments of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless explicitly defined otherwise.
In describing embodiments of the present invention, it should be noted that the terms "mounted," "connected," and "coupled" are to be construed broadly, and may be either fixedly coupled, detachably coupled, or integrally coupled, for example, unless otherwise indicated and clearly defined; can be mechanically connected, electrically connected or can be communicated with each other; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the embodiments of the present invention can be understood by those of ordinary skill in the art according to specific circumstances.
In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, system that includes a processing module, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of embodiments of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
Furthermore, functional units in various embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (9)

1. An image processing method, characterized by comprising the steps of:
acquiring an image to be processed in a memory and determining a reference scene related to the image to be processed;
according to the method, at least one image editing mode for processing the image to be processed is matched with the reference scene related to the image to be processed, when two or more than two reference scenes related to the image to be processed are determined, at least one image editing mode is respectively matched for different reference scenes, and the reference scenes related to the image to be processed and the matched image editing mode of one of the reference images are displayed above the image to be processed in a text form; when the reference scene related to the image to be processed is a single scene, the matched at least one image editing mode comprises a single image editing mode or a combined image editing mode;
Processing the image to be processed in the at least one image editing mode to obtain at least one reference image, wherein when determining that the reference scene related to the image to be processed is two or more, the step of processing the image to be processed in the at least one image editing mode to obtain at least one reference image comprises: processing a target object corresponding to the reference scene in the image to be processed by adopting at least one image editing mode matched with any reference scene to obtain a reference image, or processing the target object corresponding to each different reference scene in the image to be processed by adopting at least one image editing mode matched with each different reference scene to obtain a reference image;
displaying one of the at least one reference image in the form of a thumbnail at a preset position of the image to be processed, wherein the thumbnail is used for receiving selection of the at least one reference image; when the at least one image editing mode includes a plurality of the image editing modes, the at least one reference image includes a plurality of the reference images, the step of presenting the at least one reference image includes: displaying one of the reference pictures; receiving a switch of the plurality of reference images, wherein the switch comprises a touch screen operation of sliding left and right or sliding up and down; sequentially displaying the plurality of reference images according to the switching of the plurality of reference images; receiving a first input signal, the first input signal representing a selection of the thumbnail; displaying all or part of the reference image on the image to be processed according to the first input signal; receiving a second input signal representing a selection of one of all or part of the reference pictures; and displaying the selected reference image and the image to be processed side by side according to the second input signal.
2. The image processing method according to claim 1, wherein the step of determining a reference scene related to the image to be processed includes:
and determining the reference scene related to the image to be processed by using a preset model of the reference scene.
3. The image processing method according to claim 1, wherein the step of matching at least one image editing mode for processing the image to be processed for the image to be processed according to a reference scene related to the image to be processed includes:
receiving a selection of said at least one image editing mode to obtain one of said image editing modes;
the step of processing the image to be processed to obtain at least one reference image using the at least one image editing mode comprises:
and processing the image to be processed by adopting the obtained image editing mode to obtain one reference image.
4. The image processing method of claim 1, wherein the step of receiving a selection of the reference image comprises:
sending prompt information whether to like the at least one reference image;
saving the at least one reference image when a selection is received that favors the at least one reference image;
And when the selection of dislike of the at least one reference image is received, entering a manual image editing mode of the image to be processed, acquiring an editing signal for editing the image to be processed, and editing the image to be processed according to the editing signal.
5. The image processing method according to claim 1, wherein the step of matching at least one image editing mode for processing the image to be processed for the image to be processed according to a reference scene related to the image to be processed includes:
for the image to be processed which can accurately determine the reference scene, matching at least one corresponding specific filter for processing the image containing the specific marker for the image to be processed;
and matching at least one universal filter for processing the to-be-processed image containing the universal marker for the to-be-processed image in which the reference scene cannot be accurately determined.
6. An electronic terminal, comprising:
the determining module is used for acquiring the image to be processed in the memory and determining a reference scene related to the image to be processed;
the matching module is used for matching at least one image editing mode for processing the image to be processed according to the reference scene related to the image to be processed, when two or more than two reference scenes related to the image to be processed are determined, respectively matching at least one image editing mode for different reference scenes, and displaying the reference scenes related to the image to be processed and the matched image editing mode of one of the reference images in a text form above the image to be processed; when the reference scene related to the image to be processed is a single scene, the matched at least one image editing mode comprises a single image editing mode or a combined image editing mode;
The first processing module is used for processing the image to be processed by adopting the at least one image editing mode to obtain at least one reference image; the step of processing the image to be processed to obtain at least one reference image using the at least one image editing mode when it is determined that the reference scene associated with the image to be processed is two or more than two, comprises: processing a target object corresponding to the reference scene in the image to be processed by adopting at least one image editing mode matched with any reference scene to obtain a reference image, or processing the target object corresponding to each different reference scene in the image to be processed by adopting at least one image editing mode matched with each different reference scene to obtain a reference image;
a display module, configured to display one of the at least one reference image in a thumbnail form at a preset position of the image to be processed, where the thumbnail is used for receiving a selection of the at least one reference image; for displaying one of the plurality of reference images when the at least one image editing mode includes a plurality of the image editing modes, the at least one reference image includes a plurality of the reference images; receiving a switch of the plurality of reference images, wherein the switch comprises a touch screen operation of sliding left and right or sliding up and down; sequentially displaying the plurality of reference images according to the switching of the plurality of reference images; receiving a first input signal, the first input signal representing a selection of the thumbnail; displaying all or part of the reference image on the image to be processed according to the first input signal; receiving a second input signal representing a selection of one of all or part of the reference pictures; and displaying the selected reference image and the image to be processed side by side according to the second input signal.
7. The electronic terminal of claim 6, wherein the determination module is configured to determine the reference scene associated with the image to be processed using a preset model of the reference scene.
8. The electronic terminal of claim 6, wherein the matching module is configured to receive a selection of the at least one image editing mode to obtain one of the image editing modes;
the first processing module is used for processing the image to be processed by adopting the obtained image editing mode so as to obtain one reference image.
9. The electronic terminal of claim 6, wherein the presentation module comprises a second processing module to:
sending prompt information whether to like the at least one reference image;
saving the at least one reference image when a selection is received that favors the at least one reference image;
and when the selection of dislike of the at least one reference image is received, entering a manual image editing mode of the image to be processed, acquiring an editing signal for editing the image to be processed, and editing the image to be processed according to the editing signal.
CN201810717469.5A 2018-06-29 2018-06-29 Image processing method and electronic terminal Active CN110147190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810717469.5A CN110147190B (en) 2018-06-29 2018-06-29 Image processing method and electronic terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810717469.5A CN110147190B (en) 2018-06-29 2018-06-29 Image processing method and electronic terminal

Publications (2)

Publication Number Publication Date
CN110147190A CN110147190A (en) 2019-08-20
CN110147190B true CN110147190B (en) 2024-03-08

Family

ID=67589091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810717469.5A Active CN110147190B (en) 2018-06-29 2018-06-29 Image processing method and electronic terminal

Country Status (1)

Country Link
CN (1) CN110147190B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127595B (en) * 2019-12-19 2023-11-03 维沃移动通信有限公司 Image processing method and electronic equipment
CN111405191A (en) * 2020-04-24 2020-07-10 Oppo(重庆)智能科技有限公司 Image management method, device, terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982572A (en) * 2012-10-31 2013-03-20 北京百度网讯科技有限公司 Intelligent image editing method and device thereof
CN103533244A (en) * 2013-10-21 2014-01-22 深圳市中兴移动通信有限公司 Shooting device and automatic visual effect processing shooting method thereof
CN103927372A (en) * 2014-04-24 2014-07-16 厦门美图之家科技有限公司 Image processing method based on user semanteme
CN104700442A (en) * 2015-03-30 2015-06-10 厦门美图网科技有限公司 Image processing method and system for automatic filter and character adding
CN105812646A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Shooting method, shooting device, image processing method, image processing device, and communication system
CN106331849A (en) * 2016-09-14 2017-01-11 北京金山安全软件有限公司 Video image processing method and device and electronic equipment
CN106454104A (en) * 2016-10-28 2017-02-22 维沃移动通信有限公司 Photographing method and mobile terminal
CN107147882A (en) * 2017-06-08 2017-09-08 柳州智视科技有限公司 A kind of multiresolution observation system of automatic real-time track destination object
CN107485856A (en) * 2017-08-15 2017-12-19 合肥爱吾宠科技有限公司 Opening type network game system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8520967B2 (en) * 2009-06-26 2013-08-27 Nokia Corporation Methods and apparatuses for facilitating generation images and editing of multiframe images

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982572A (en) * 2012-10-31 2013-03-20 北京百度网讯科技有限公司 Intelligent image editing method and device thereof
CN103533244A (en) * 2013-10-21 2014-01-22 深圳市中兴移动通信有限公司 Shooting device and automatic visual effect processing shooting method thereof
CN103927372A (en) * 2014-04-24 2014-07-16 厦门美图之家科技有限公司 Image processing method based on user semanteme
CN105812646A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Shooting method, shooting device, image processing method, image processing device, and communication system
CN104700442A (en) * 2015-03-30 2015-06-10 厦门美图网科技有限公司 Image processing method and system for automatic filter and character adding
CN106331849A (en) * 2016-09-14 2017-01-11 北京金山安全软件有限公司 Video image processing method and device and electronic equipment
CN106454104A (en) * 2016-10-28 2017-02-22 维沃移动通信有限公司 Photographing method and mobile terminal
CN107147882A (en) * 2017-06-08 2017-09-08 柳州智视科技有限公司 A kind of multiresolution observation system of automatic real-time track destination object
CN107485856A (en) * 2017-08-15 2017-12-19 合肥爱吾宠科技有限公司 Opening type network game system and method

Also Published As

Publication number Publication date
CN110147190A (en) 2019-08-20

Similar Documents

Publication Publication Date Title
CN107566717B (en) Shooting method, mobile terminal and computer readable storage medium
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
CN104850432B (en) Adjust the method and device of color
KR20170105444A (en) Configuration and operation of display devices including content curation
US20190109981A1 (en) Guided image composition on mobile devices
CN113766129B (en) Video recording method, video recording device, electronic equipment and medium
JP5854280B2 (en) Information processing apparatus, information processing method, and program
CN106101526B (en) screen recording method and device
WO2017161904A1 (en) Method and device for displaying wallpaper image
KR20160021607A (en) Method and device to display background image
EP3076679A1 (en) Desktop display method and device, and smart television
CN104918129A (en) User-defined method and system of television desktop
CN110147190B (en) Image processing method and electronic terminal
JP2013254389A (en) Display control device and method for controlling the same
EP2996052A1 (en) Method and apparatus for displaying media file on terminal by using page
KR101613438B1 (en) System for augmented reality contents and method of the same
CN113873311B (en) Live broadcast control method, device and storage medium
CN110149475B (en) Image shooting method and device, electronic device, storage medium and computer equipment
CN101888480B (en) Use multi-display digital image processing equipment and the method for operation of external display device
JP2023544544A (en) Screen capture methods, devices and electronic equipment
JP2007201566A (en) Image reproducing apparatus and image reproducing program
CN105678696A (en) Image acquisition method and electronic equipment
WO2022247768A1 (en) Image processing method and electronic device
CN114025237B (en) Video generation method and device and electronic equipment
JP2000287127A (en) Image synthesizing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant