WO2019120016A1 - 图像处理方法、装置、存储介质及电子设备 - Google Patents

图像处理方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2019120016A1
WO2019120016A1 PCT/CN2018/116246 CN2018116246W WO2019120016A1 WO 2019120016 A1 WO2019120016 A1 WO 2019120016A1 CN 2018116246 W CN2018116246 W CN 2018116246W WO 2019120016 A1 WO2019120016 A1 WO 2019120016A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
processed
adjustment
image processing
record
Prior art date
Application number
PCT/CN2018/116246
Other languages
English (en)
French (fr)
Inventor
陈岩
刘耀勇
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019120016A1 publication Critical patent/WO2019120016A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the present application relates to the field of electronic device technologies, and in particular, to an image processing method, apparatus, storage medium, and electronic device.
  • the camera function is an essential function for the user in the process of using the electronic device.
  • the user needs to adjust the taken photos after taking a photo, for example, adjusting the brightness, contrast and the like of the photos, so that the photos are more beautiful or meet different occasions.
  • the embodiment of the present application provides an image processing method, device, storage medium, and electronic device, which can improve image quality.
  • An embodiment of the present application provides an image processing method, including:
  • the image processing request carrying an image to be processed
  • the basic information including at least brightness and contrast.
  • the embodiment of the present application further provides an image processing apparatus, including:
  • a receiving module configured to receive an image processing request, where the image processing request carries an image to be processed
  • An identification module configured to identify the image to be processed, to obtain an image type of the image to be processed and scene information, where the image type includes a character image, a landscape image, and an architectural image, where the scene information includes At least one of time and weather during shooting;
  • An acquiring module configured to acquire image processing parameters according to the image type, scene information, and an image adjustment model, where the image adjustment model includes a plurality of image adjustment records;
  • an adjustment module configured to adjust basic information of the image to be processed according to the image processing parameter, where the basic information includes at least brightness and contrast.
  • the embodiment of the present application further provides a storage medium, where the computer program stores a computer program, and when the computer program runs on the computer, the computer performs the following steps:
  • the image processing request carrying an image to be processed
  • the basic information including at least brightness and contrast.
  • the embodiment of the present application further provides an electronic device, where the electronic device includes a processor and a memory, where the computer stores a computer program, and the processor is configured to execute by calling the computer program stored in the memory.
  • the image processing request carrying an image to be processed
  • the basic information including at least brightness and contrast.
  • FIG. 1 is a schematic diagram of a process of photographing a user in an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a first process of an image processing method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a second process of an image processing method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a third process of an image processing method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a fourth process of an image processing method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of a fifth process of an image processing method according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of an application scenario of an image processing method according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a first structure of an image processing apparatus according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a second structure of an image processing apparatus according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a third structure of an image processing apparatus according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram of a fourth structure of an image processing apparatus according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic diagram showing a fifth structure of an image processing apparatus according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram of a first structure of an electronic device according to an embodiment of the present application.
  • FIG. 14 is a schematic diagram of a second structure of an electronic device according to an embodiment of the present application.
  • FIG. 1 is a schematic diagram of a process of photographing a user in an embodiment of the present application.
  • the user can take a photo through an electronic device such as a smart phone.
  • the object of the user taking a photo may be a character, a landscape, a building, and the like.
  • the scene in which the user takes a photo may be night or daytime; it may be sunny, it may be rainy, and so on.
  • the captured photo can be adjusted through the electronic device.
  • the photo can be adjusted by the image processing function provided by the electronic device, or the photo can be adjusted by some application software.
  • the adjusted content can include the brightness, contrast, color saturation, and the like of the photo.
  • the adjusted photo can be saved, or the original photo taken can be saved at the same time as the adjusted photo.
  • An embodiment of the present application provides an image processing method, including:
  • the image processing request carrying an image to be processed
  • the basic information including at least brightness and contrast.
  • the step of acquiring image processing parameters according to the image type, the scene information, and the image adjustment model comprises:
  • the reference image adjustment record is used for recording adjustment of the reference image, the image type of the reference image, the scene information and the image type of the image to be processed, The scene information is the same;
  • the image processing parameters are acquired according to the reference image adjustment record.
  • the method further includes:
  • the image adjustment model includes a reference image adjustment record, acquiring the number of the reference image adjustment records
  • the image processing parameters are acquired according to the reference image adjustment record.
  • the number of the reference image adjustment records is multiple, and the step of adjusting the record acquisition image processing parameters according to the reference image comprises:
  • the image processing parameters are calculated based on the acquired plurality of adjusted basic information.
  • the method before the step of receiving an image processing request, the method further includes:
  • the image is identified to obtain an image type, scene information, and adjusted basic information of the image;
  • the image adjustment record is added to the image adjustment model.
  • the image processing parameter includes a brightness adjustment ratio and a contrast adjustment ratio
  • the step of adjusting the basic information of the image to be processed according to the image processing parameter includes:
  • the image processing parameter includes a target brightness value and a target contrast value
  • the step of adjusting the basic information of the image to be processed according to the image processing parameter comprises:
  • the contrast of the image to be processed is adjusted to the target contrast value.
  • the method further includes:
  • An embodiment of the present application provides an image processing method, which may be applied to an electronic device.
  • the electronic device may be a device such as a smart phone or a tablet computer.
  • the image processing method may include the following steps:
  • the electronic device can receive an image processing request, and the image processing request carries the image to be processed.
  • the image processing request is for requesting the electronic device to process the image to be processed.
  • the image to be processed may be a picture stored on the electronic device, or may be a picture generated by taking a picture.
  • the image to be processed may be a picture in any format.
  • the image processing request may be manually triggered by a user. For example, when a user browses one or more images through an image application such as an album, a gallery, etc., the user can click a virtual button such as "retouch” or "beautification” to activate the image processing function of the electronic device.
  • the image application described above may generate an image processing request and transmit the generated image processing request to the electronic device.
  • the electronic device receives the image processing request and performs processing.
  • the image processing request may also be automatically triggered by the electronic device. For example, when a user takes a photo through the camera of the electronic device, the electronic device automatically starts the image processing function when the photo shooting is completed. At this time, the electronic device receives the automatically generated image processing request and performs processing.
  • the electronic device After receiving the image processing request, the electronic device identifies the image to be processed carried by the image processing request to acquire an image type of the image to be processed and scene information.
  • the image type includes a character image, a landscape image, and an architectural image.
  • the scene information includes at least one of a time at the time of shooting and a weather at the time of shooting. Among them, the time of shooting can be divided into day and night; the weather during shooting can be divided into sunny, cloudy, rainy, snowy and so on.
  • the image type of the image to be processed may be determined according to the recognition result. For example, the electronic device can determine whether a face or a human body is included in the image to be processed. If the image to be processed includes a face or a human body, the image to be processed is a character image. If the image to be processed includes neither a human face nor a human body, it is further determined whether the building is included in the image to be processed. If the image is included in the image to be processed, the image to be processed is an architectural image. If the image to be processed does not include a human face, does not include a human body, and does not include a building, the image to be processed is a landscape image.
  • the scene information of the image to be processed may be determined according to the recognition result. For example, if the brightness of the image to be processed is high and the light features are not included in the image to be processed, the scene information may be determined as daytime. If the brightness of the image to be processed is low, or the image to be processed includes a light feature, the scene information may be determined as night. If the sun (or sun) feature appears in the image to be processed, the scene information may be determined as a sunny day. If a snow feature appears in the image to be processed, the scene information may be determined as a snowy day, etc., Narration.
  • the image processing parameter may be acquired according to the image type, the scene information, and the image adjustment model.
  • the image adjustment model may be an image adjustment model stored in advance in an electronic device.
  • the image adjustment model includes a plurality of image adjustment records.
  • the image adjustment record is used to record a situation in which an image has been adjusted in an electronic device.
  • the recorded content may include an image name before adjustment, an image type, scene information of the image, brightness of the image, contrast of the image, color saturation of the image, image size, and adjusted image name, brightness of the image, and image Contrast, image color saturation, image size, etc.
  • the image processing parameter is used to process the image to be processed.
  • the image processing parameters may include one or more parameter values.
  • the image processing parameters may include a brightness adjustment percentage, a contrast adjustment percentage, and the like.
  • the image processing parameter may include a parameter value such as an adjusted brightness value, an adjusted contrast, and the like.
  • S140 Adjust basic information of the image to be processed according to the image processing parameter, where the basic information includes at least brightness and contrast.
  • the basic information of the image to be processed may be adjusted according to the image processing parameter.
  • the basic information includes at least brightness and contrast of an image to be processed.
  • the image processing parameters include a brightness adjustment ratio and a contrast adjustment ratio.
  • the electronic device adjusts the basic information of the image to be processed according to the image processing parameter
  • the brightness of the image to be processed may be adjusted according to the brightness adjustment ratio, and the to-be-processed according to the contrast adjustment ratio The contrast of the image is adjusted.
  • both the brightness adjustment ratio and the contrast adjustment ratio may be percentages.
  • the image processing parameter includes a percentage (which may be a positive value or a negative value)
  • the electronic device increases or decreases the brightness and contrast of the image to be processed by a percentage.
  • the image processing parameters include: brightness adjustment ratio -10%, contrast adjustment ratio -5%. The electronic device then reduces the brightness of the image to be processed by 10% and the contrast by 5%.
  • the image processing parameters include a target brightness value and a target contrast value.
  • the electronic device adjusts the basic information of the image to be processed according to the image processing parameter, the brightness of the image to be processed may be adjusted to the target brightness value, and the contrast of the image to be processed is adjusted to the Target contrast value.
  • both the target brightness value and the target contrast value may be adjusted parameter values.
  • the electronic device directly adjusts the brightness and contrast of the image to be processed to a value corresponding to the parameter value.
  • the image processing parameter includes a target brightness value 75 and a target contrast value 65, and the electronic device adjusts the brightness of the image to be processed to the target brightness value 75, and adjusts the contrast to the target contrast value 65.
  • the schematic diagram of the image to be processed before and after adjustment is shown in Fig. 7.
  • the basic information of the image to be processed including brightness and contrast as an example.
  • the basic information of the image to be processed may also include other information such as color saturation.
  • step S130 acquiring image processing parameters according to the image type, scene information, and image adjustment model, including the following steps:
  • the image processing parameter is acquired according to the reference image adjustment record.
  • the image adjustment model may be an image adjustment model stored in advance in an electronic device. After identifying the image to be processed, the electronic device may retrieve an image adjustment model in the electronic device.
  • the electronic device may query each image adjustment record in the image adjustment model one by one to determine whether the reference image adjustment record is included in the image adjustment model.
  • the reference image adjustment record is used to record the adjustment of the reference image, and the image type and the scene information of the reference image are respectively the same as the image type and the scene information of the image to be processed.
  • the image to be processed is a person image and the scene information is night
  • the image type recorded in the image adjustment model is a person image
  • the image in which the scene information is night is a reference image.
  • the recording of the adjustment of the reference image in the image adjustment model is the reference image adjustment record.
  • the electronic device adjusts the record acquisition image processing parameter according to the reference image.
  • the electronic device may terminate the flow.
  • step S132 determining whether the reference image adjustment record is included in the image adjustment model, the method further includes the following steps:
  • the image processing parameters are acquired according to the reference image adjustment record.
  • the electronic device determines that the image adjustment model includes the reference image adjustment record
  • the number of reference image adjustment records in the image adjustment model is acquired. For example, when 20 reference image adjustment records are included in the image adjustment model, the number acquired by the electronic device is 20.
  • the electronic device compares the acquired quantity with a preset quantity to determine whether the quantity is greater than a preset quantity.
  • the preset number may be a value pre-stored in the electronic device, such as 10.
  • the preset number indicates that the reference image adjustment record in the image adjustment model can be used as a minimum number of reference references for acquiring image processing parameters.
  • the reference image adjustment record included in the image adjustment model is too small, the chance factor in each reference image adjustment record is large, so that the image processing parameters acquired according to the reference image adjustment record may be inaccurate.
  • the reference image adjustment record included in the image adjustment model is large, the reference image adjustment record can accurately reflect the adjustment of the image for the current image type and scene information.
  • the electronic device adjusts the record acquisition image processing parameter according to the reference image. For example, if the number acquired by the electronic device is 20 and the preset number is 10, the quantity is greater than the preset quantity, and then the electronic device adjusts the record acquisition image processing parameter according to the reference image.
  • the electronic device may terminate the process.
  • step S133 obtaining image processing parameters according to the reference image adjustment record, includes the following steps:
  • the number of reference image adjustment records included in the image adjustment model is plural.
  • the electronic device may obtain basic information adjusted for each reference image from the plurality of reference image adjustment records, and then calculate image processing parameters according to the acquired plurality of adjusted basic information.
  • the image adjustment model includes 20 reference image adjustment records. Then, the electronic device can sequentially obtain the adjusted basic information in each reference image adjustment record, for example, sequentially obtain the adjusted brightness and contrast in each reference image adjustment record. Subsequently, image processing parameters are calculated based on the acquired plurality of adjusted brightness and contrast.
  • each adjusted basic information acquired by the electronic device includes the adjusted brightness.
  • the electronic device may calculate an average of the plurality of the adjusted brightnesses and determine the calculated average value of the brightness as the brightness value in the image processing parameters.
  • each adjusted basic information acquired by the electronic device includes the adjusted contrast.
  • the electronic device can calculate an average of the plurality of adjusted contrasts and determine the calculated average of the contrast as the contrast in the image processing parameters.
  • step S110 before the step of receiving the image processing request, further includes the following steps:
  • the electronic device can detect the adjustment of the image by the user in real time.
  • the image may be a picture stored on an electronic device, or may be a picture generated by taking a picture.
  • the electronic device identifies the image to obtain an image type, scene information, and adjusted basic information of the image.
  • the image type, the scenario information, and the basic information may refer to the description in the above, and details are not described herein.
  • the electronic device records the image type, the scene information, and the adjusted basic information of the image to generate an image adjustment record.
  • the image adjustment record may also record information before the image adjustment, such as the name, brightness, contrast, color saturation, and the like before the image adjustment.
  • the electronic device After generating the image adjustment record, the electronic device can add the image adjustment record to the image adjustment model. Thereby, the electronic device can continuously improve the image adjustment model during use by the user.
  • the initial state of the image adjustment model stored in the electronic device may be empty. That is, the image adjustment model may not include any image adjustment record in the initial state.
  • step S140 after adjusting the basic information of the image to be processed according to the image processing parameter, may further include the following steps:
  • the image to be processed and the image to be processed after the adjustment may be displayed.
  • the electronic device simultaneously presents the image to be processed before adjustment and the image to be processed after adjustment to the user, so that the user can compare the image to be processed before the adjustment with the image to be processed after the adjustment to observe whether the image to be processed is adjusted. Meet user expectations.
  • the user can then make a selection.
  • the user may select the image to be processed, or select the image to be processed after adjustment, or the user may simultaneously select the image to be processed and the image to be processed after adjustment.
  • the electronic device receives the user's selection and saves the image selected by the user. If the user does not satisfy the image to be processed before the adjustment and the image to be processed after the adjustment, the electronic device may be instructed to re-process the image for adjustment.
  • the image processing method provided by the embodiment of the present application includes: receiving an image processing request; and identifying the image to be processed to obtain an image type of the image to be processed and scene information; according to the image type, The scene information and the image adjustment model acquire image processing parameters; and adjust basic information of the image to be processed according to the image processing parameters.
  • the electronic device may acquire image processing parameters according to an image type of the image to be processed, scene information, and a preset image processing model, and adjust the image to be processed, so that the electronic device may be based on the image to be processed.
  • Features are adaptively adjusted to improve image quality.
  • the embodiment of the present application further provides an image processing apparatus, including:
  • a receiving module configured to receive an image processing request, where the image processing request carries an image to be processed
  • An identification module configured to identify the image to be processed, to obtain an image type of the image to be processed and scene information, where the image type includes a character image, a landscape image, and an architectural image, where the scene information includes At least one of time and weather during shooting;
  • An acquiring module configured to acquire image processing parameters according to the image type, scene information, and an image adjustment model, where the image adjustment model includes a plurality of image adjustment records;
  • an adjustment module configured to adjust basic information of the image to be processed according to the image processing parameter, where the basic information includes at least brightness and contrast.
  • the obtaining module comprises:
  • a first obtaining submodule configured to acquire an image adjustment model
  • a first determining sub-module configured to determine whether a reference image adjustment record is included in the image adjustment model, where the reference image adjustment record is used to record adjustment of a reference image, and an image type and a scene information of the reference image respectively The image type and scene information of the image to be processed are the same;
  • a second obtaining submodule configured to: when the reference image adjustment record is included in the image adjustment model, acquire image processing parameters according to the reference image adjustment record.
  • the obtaining module further includes:
  • a third obtaining submodule configured to acquire a quantity of the reference image adjustment record when the reference image adjustment record is included in the image adjustment model
  • a second determining submodule configured to determine whether the quantity is greater than a preset quantity
  • the second obtaining submodule is configured to: when the quantity is greater than the preset quantity, adjust an image acquisition parameter according to the reference image.
  • the second acquisition submodule is used to:
  • the image processing parameters are calculated based on the acquired plurality of adjusted basic information.
  • the image processing apparatus further includes a modeling module, the modeling module is configured to:
  • the image is identified to obtain an image type, scene information, and adjusted basic information of the image;
  • the image adjustment record is added to the image adjustment model.
  • the image processing parameters include a brightness adjustment ratio and a contrast adjustment ratio
  • the adjustment module is configured to:
  • the image processing parameters include a target brightness value and a target contrast value
  • the adjustment module is configured to:
  • the contrast of the image to be processed is adjusted to the target contrast value.
  • the image processing apparatus further includes a save module, the save module is configured to:
  • the embodiment of the present application further provides an image processing device, which may be integrated in an electronic device, and the electronic device may be a device such as a smart phone or a tablet computer.
  • the image processing apparatus 200 may include a receiving module 201 , an identifying module 202 , an obtaining module 203 , and an adjusting module 204 .
  • the receiving module 201 is configured to receive an image processing request, where the image processing request carries an image to be processed.
  • the receiving module 201 can receive an image processing request, where the image processing request carries an image to be processed.
  • the image processing request is for requesting the electronic device to process the image to be processed.
  • the image to be processed may be a picture stored on the electronic device, or may be a picture generated by taking a picture.
  • the image to be processed may be a picture in any format.
  • the image processing request may be manually triggered by a user. For example, when a user browses one or more images through an image application such as an album, a gallery, or the like, the user can click a virtual button such as "retouch” or "beautification” to activate the image processing function of the electronic device. At this time, the image application described above may generate an image processing request and transmit the generated image processing request to the electronic device.
  • the receiving module 201 receives the image processing request and performs processing.
  • the image processing request may also be automatically triggered by the electronic device. For example, when a user takes a photo through the camera of the electronic device, the electronic device automatically starts the image processing function when the photo shooting is completed. At this time, the receiving module 201 receives the automatically generated image processing request and performs processing.
  • the identification module 202 is configured to identify the image to be processed to obtain an image type of the image to be processed and scene information.
  • the identifying module 202 identifies the image to be processed carried in the image processing request to acquire the image type of the image to be processed and the scene information.
  • the image type includes a character image, a landscape image, and an architectural image.
  • the scene information includes at least one of a time at the time of shooting and a weather at the time of shooting. Among them, the time of shooting can be divided into day and night; the weather during shooting can be divided into sunny, cloudy, rainy, snowy and so on.
  • the image type of the image to be processed may be determined according to the recognition result. For example, the identification module 202 can determine whether a face or a human body is included in the image to be processed. If the image to be processed includes a face or a human body, the image to be processed is a character image. If the image to be processed includes neither a human face nor a human body, it is further determined whether the building is included in the image to be processed. If the image is included in the image to be processed, the image to be processed is an architectural image. If the image to be processed does not include a human face, does not include a human body, and does not include a building, the image to be processed is a landscape image.
  • the scene information of the image to be processed may be determined according to the recognition result. For example, if the brightness of the image to be processed is high and the light features are not included in the image to be processed, the scene information may be determined as daytime. If the brightness of the image to be processed is low, or the image to be processed includes a light feature, the scene information may be determined as night. If the sun (or sun) feature appears in the image to be processed, the scene information may be determined as a sunny day. If a snow feature appears in the image to be processed, the scene information may be determined as a snowy day, etc., Narration.
  • the obtaining module 203 is configured to acquire image processing parameters according to the image type, the scene information, and the image adjustment model, where the image adjustment model includes a plurality of image adjustment records.
  • the obtaining module 203 may acquire image processing parameters according to the image type, the scene information, and the image adjustment model.
  • the image adjustment model may be an image adjustment model stored in advance in an electronic device.
  • the image adjustment model includes a plurality of image adjustment records.
  • the image adjustment record is used to record a situation in which an image has been adjusted in an electronic device.
  • the recorded content may include an image name before adjustment, an image type, scene information of the image, brightness of the image, contrast of the image, color saturation of the image, image size, and adjusted image name, brightness of the image, and image Contrast, image color saturation, image size, etc.
  • the image processing parameter is used to process the image to be processed.
  • the image processing parameters may include one or more parameter values.
  • the image processing parameters may include a brightness adjustment percentage, a contrast adjustment percentage, and the like.
  • the image processing parameter may include a parameter value such as an adjusted brightness value, an adjusted contrast, and the like.
  • the adjusting module 204 is configured to adjust basic information of the image to be processed according to the image processing parameter, where the basic information includes at least brightness and contrast.
  • the adjusting module 204 may adjust the basic information of the image to be processed according to the image processing parameters.
  • the basic information includes at least brightness and contrast of an image to be processed.
  • the image processing parameters include a brightness adjustment ratio and a contrast adjustment ratio.
  • the adjustment module 204 may adjust the brightness of the image to be processed according to the brightness adjustment ratio, and adjust the ratio according to the contrast adjustment ratio.
  • the contrast of the image is processed to adjust.
  • both the brightness adjustment ratio and the contrast adjustment ratio may be percentages.
  • the adjustment module 204 increases or decreases the brightness and contrast of the image to be processed by a percentage.
  • the image processing parameters include: brightness adjustment ratio -10%, contrast adjustment ratio -5%. Then, the adjustment module 204 reduces the brightness of the image to be processed by 10% and reduces the contrast by 5%.
  • the image processing parameters include a target brightness value and a target contrast value.
  • the adjustment module 204 adjusts the basic information of the image to be processed according to the image processing parameter, the brightness of the image to be processed may be adjusted to the target brightness value, and the contrast of the image to be processed is adjusted to The target contrast value.
  • both the target brightness value and the target contrast value may be adjusted parameter values.
  • the adjustment module 204 directly adjusts the brightness and contrast of the image to be processed to a value corresponding to the parameter value.
  • the image processing parameter includes: a target brightness value 75, a target contrast value 65, and the adjustment module 204 adjusts the brightness of the image to be processed to the target brightness value 75, and adjusts the contrast to the target contrast value 65. .
  • the basic information of the image to be processed including brightness and contrast as an example.
  • the basic information of the image to be processed may also include other information such as color saturation.
  • the obtaining module 203 includes: a first obtaining sub-module 2031 , a first determining sub-module 2032 , and a second acquiring sub-module 2033 .
  • a first obtaining submodule 2031 configured to acquire an image adjustment model
  • the first determining sub-module 2032 is configured to determine whether the reference image adjustment record is included in the image adjustment model
  • the second obtaining sub-module 2033 is configured to acquire an image processing parameter according to the reference image adjustment record when the reference image adjustment record is included in the image adjustment model.
  • the image adjustment model may be an image adjustment model stored in advance in an electronic device. After the identification module 202 identifies the image to be processed, the first obtaining submodule 2031 may retrieve an image adjustment model in the electronic device.
  • the first determining sub-module 2032 may query each image adjustment record in the image adjustment model one by one to determine whether the reference image adjustment record is included in the image adjustment model.
  • the reference image adjustment record is used to record the adjustment of the reference image, and the image type and the scene information of the reference image are respectively the same as the image type and the scene information of the image to be processed.
  • the image to be processed is a person image and the scene information is night
  • the image type recorded in the image adjustment model is a person image
  • the image in which the scene information is night is a reference image.
  • the recording of the adjustment of the reference image in the image adjustment model is the reference image adjustment record.
  • the second acquisition sub-module 2033 adjusts the record acquisition image processing parameter according to the reference image.
  • the obtaining module 203 further includes: a third obtaining submodule 2034 and a second determining submodule 2035.
  • a third obtaining sub-module 2034 configured to acquire a quantity of the reference image adjustment record when the reference image adjustment record is included in the image adjustment model
  • the second determining sub-module 2035 is configured to determine whether the quantity is greater than a preset quantity
  • the second obtaining submodule 2033 is configured to: when the number is greater than the preset number, adjust an image acquisition parameter according to the reference image.
  • the third obtaining sub-module 2034 acquires the number of reference image adjustment records in the image adjustment model. For example, when 20 reference image adjustment records are included in the image adjustment model, the number acquired by the third acquisition sub-module 2034 is 20.
  • the second determining sub-module 2035 compares the acquired quantity with a preset number to determine whether the quantity is greater than a preset quantity.
  • the preset number may be a value pre-stored in the electronic device, such as 10.
  • the preset number indicates that the reference image adjustment record in the image adjustment model can be used as a minimum number of reference references for acquiring image processing parameters.
  • the reference image adjustment record included in the image adjustment model is too small, the chance factor in each reference image adjustment record is large, so that the image processing parameters acquired according to the reference image adjustment record may be inaccurate.
  • the reference image adjustment record included in the image adjustment model is large, the reference image adjustment record can accurately reflect the adjustment of the image for the current image type and scene information.
  • the second acquisition sub-module 2033 adjusts the record acquisition image processing parameters according to the reference image. For example, if the obtained quantity is 20 and the preset quantity is 10, the quantity is greater than the preset quantity, and then the second acquisition sub-module 2033 adjusts the record acquisition image processing parameter according to the reference image.
  • the second obtaining submodule 2033 is configured to perform the following steps:
  • the image processing parameters are calculated based on the acquired plurality of adjusted basic information.
  • the number of reference image adjustment records included in the image adjustment model is plural.
  • the second obtaining sub-module 2033 may respectively obtain basic information adjusted for each reference image from the plurality of reference image adjustment records, and then calculate image processing parameters according to the acquired plurality of adjusted basic information.
  • the image adjustment model includes 20 reference image adjustment records.
  • the second obtaining sub-module 2033 may sequentially acquire the adjusted basic information in each reference image adjustment record, for example, sequentially obtain the adjusted brightness and contrast in each reference image adjustment record. Subsequently, image processing parameters are calculated based on the acquired plurality of adjusted brightness and contrast.
  • each adjusted basic information acquired by the second obtaining sub-module 2033 includes the adjusted brightness.
  • the second obtaining sub-module 2033 may calculate an average value of the plurality of the adjusted brightnesses, and determine the calculated average value of the brightness as the brightness value in the image processing parameter.
  • each adjusted basic information acquired by the second acquisition sub-module 2033 includes the adjusted contrast.
  • the second acquisition sub-module 2033 may calculate an average of the plurality of the adjusted contrasts and determine the calculated contrast average as the contrast in the image processing parameters.
  • the image processing apparatus 200 further includes a modeling module 205 for performing the following steps:
  • the image is identified to obtain an image type, scene information, and adjusted basic information of the image;
  • the image adjustment record is added to the image adjustment model.
  • the modeling module 205 can detect the adjustment of the image by the user in real time.
  • the image may be a picture stored on an electronic device, or may be a picture generated by taking a picture.
  • the modeling module 205 identifies the image to obtain an image type, scene information, and adjusted basic information of the image.
  • the image type, the scenario information, and the basic information may refer to the description in the above, and details are not described herein.
  • the modeling module 205 records the image type of the image, the scene information, and the adjusted basic information to generate an image adjustment record.
  • the image adjustment record may also record information before the image adjustment, such as the name, brightness, contrast, color saturation, and the like before the image adjustment.
  • the modeling module 205 can add the image adjustment record to the image adjustment model.
  • the modeling module 205 can continuously improve the image adjustment model during user use of the electronic device.
  • the initial state of the image adjustment model stored in the electronic device may be empty. That is, the image adjustment model may not include any image adjustment record in the initial state.
  • the image processing apparatus 200 further includes a saving module 206, and the saving module 206 is configured to perform the following steps:
  • the saving module 206 can display the image to be processed and the image to be processed after the adjustment.
  • the saving module 206 simultaneously presents the to-be-processed image and the adjusted image to be processed before the adjustment to the user, so that the user can compare the image to be processed before the adjustment with the adjusted image to be processed to observe the adjusted image to be processed. Whether it meets user expectations.
  • the user can then make a selection.
  • the user may select the image to be processed, or select the image to be processed after adjustment, or the user may simultaneously select the image to be processed and the image to be processed after adjustment.
  • the save module 206 receives the user's selection and saves the image selected by the user. If the user does not satisfy the image to be processed before the adjustment and the image to be processed after the adjustment, the user may be instructed to re-process the image for adjustment.
  • each of the above modules may be implemented as a separate entity, or may be implemented in any combination as one or several entities.
  • the image processing apparatus 200 receives the image processing request by the receiving module 201; the identifying module 202 identifies the image to be processed to obtain the image type of the image to be processed and the scene information;
  • the obtaining module 203 acquires image processing parameters according to the image type, the scene information, and the image adjustment model; the adjustment module 204 adjusts the basic information of the image to be processed according to the image processing parameters.
  • the image processing apparatus 200 can acquire image processing parameters according to an image type of the image to be processed, scene information, and a preset image processing model, and adjust the image to be processed, so that the image can be adaptive according to the characteristics of the image to be processed. Adjust to improve image quality.
  • An embodiment of the present application further provides an electronic device.
  • the electronic device may be a device such as a smart phone or a tablet computer.
  • the electronic device 300 includes a processor 301 and a memory 302.
  • the processor 301 is electrically connected to the memory 302.
  • the processor 301 is a control center of the electronic device 300, and connects various parts of the entire electronic device using various interfaces and lines, and executes the electronic by running or calling a computer program stored in the memory 302 and calling data stored in the memory 302.
  • the various functions and processing data of the device enable overall monitoring of the electronic device.
  • the processor 301 in the electronic device 300 loads the instructions corresponding to the processes of one or more computer programs into the memory 302 according to the following steps, and is executed by the processor 301 to be stored in the memory 302.
  • the image processing request carrying an image to be processed
  • the basic information including at least brightness and contrast.
  • the processor 301 when acquiring image processing parameters according to the image type, scene information, and image adjustment model, the processor 301 performs the following steps:
  • the reference image adjustment record is used for recording adjustment of the reference image, the image type of the reference image, the scene information and the image type of the image to be processed, The scene information is the same;
  • the image processing parameters are acquired according to the reference image adjustment record.
  • the processor 301 after determining whether the reference image adjustment record is included in the image adjustment model, the processor 301 further performs the following steps:
  • the image adjustment model includes a reference image adjustment record, acquiring the number of the reference image adjustment records
  • the image processing parameters are acquired according to the reference image adjustment record.
  • the number of reference image adjustment records is multiple, and when the image acquisition parameters are acquired according to the reference image adjustment, the processor 301 performs the following steps:
  • the image processing parameters are calculated based on the acquired plurality of adjusted basic information.
  • the processor 301 prior to receiving the image processing request, the processor 301 also performs the following steps:
  • the image is identified to obtain an image type, scene information, and adjusted basic information of the image;
  • the image adjustment record is added to the image adjustment model.
  • the image processing parameter includes a brightness adjustment ratio and a contrast adjustment ratio.
  • the processor 301 is configured to perform the following steps:
  • the image processing parameter includes a target brightness value and a target contrast value.
  • the processor 301 is configured to perform the following steps:
  • the contrast of the image to be processed is adjusted to the target contrast value.
  • the processor 301 further performs the following steps:
  • Memory 302 can be used to store computer programs and data.
  • the computer program stored in the memory 302 contains instructions executable in the processor.
  • Computer programs can be combined into various functional modules.
  • the processor 301 executes various functional applications and data processing by calling a computer program stored in the memory 302.
  • the electronic device 300 further includes a radio frequency circuit 303, a display screen 304, a control circuit 305, an input unit 306, an audio circuit 307, a sensor 308, and a power source 309.
  • the processor 301 is electrically connected to the radio frequency circuit 303, the display screen 304, the control circuit 305, the input unit 306, the audio circuit 307, the sensor 308, and the power source 309, respectively.
  • the radio frequency circuit 303 is configured to transceive radio frequency signals to communicate with network devices or other electronic devices through wireless communication.
  • the display screen 304 can be used to display information entered by the user or information provided to the user as well as various graphical user interfaces of the electronic device, which can be composed of images, text, icons, video, and any combination thereof.
  • the control circuit 305 is electrically connected to the display screen 304 for controlling the display screen 304 to display information.
  • the input unit 306 can be configured to receive input digits, character information, or user characteristic information (eg, fingerprints), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function controls.
  • the input unit 306 can include a fingerprint identification module.
  • the audio circuit 307 can provide an audio interface between the user and the electronic device through a speaker and a microphone.
  • Sensor 308 is used to collect external environmental information.
  • Sensor 308 can include one or more of ambient brightness sensors, acceleration sensors, gyroscopes, and the like.
  • Power source 309 is used to power various components of electronic device 300.
  • the power source 309 can be logically coupled to the processor 301 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
  • the electronic device 300 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • an embodiment of the present application provides an electronic device, where the electronic device performs the following steps: receiving an image processing request; and identifying the image to be processed to obtain an image type and scene information of the image to be processed. And acquiring an image processing parameter according to the image type, the scene information, and the image adjustment model; and adjusting basic information of the image to be processed according to the image processing parameter.
  • the electronic device may acquire image processing parameters according to an image type of the image to be processed, scene information, and a preset image processing model, and adjust the image to be processed, so that the electronic device can be adaptive according to the characteristics of the image to be processed. Adjust to improve image quality.
  • the embodiment of the present application further provides a storage medium, where the computer program stores a computer program, and when the computer program runs on a computer, the computer executes the image processing method described in any of the above embodiments.
  • the embodiment of the present application further provides a storage medium, where the computer program stores a computer program, and when the computer program runs on the computer, the computer performs the following steps:
  • the image processing request carrying an image to be processed
  • the basic information including at least brightness and contrast.
  • the storage medium may include, but is not limited to, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Abstract

一种图像处理方法、装置、存储介质及电子设备,所述图像处理方法包括:接收图像处理请求;对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息;根据所述图像类型、场景信息以及图像调整模型获取图像处理参数;根据所述图像处理参数对所述待处理图像的基础信息进行调整。

Description

图像处理方法、装置、存储介质及电子设备
本申请要求于2017年12月20日提交中国专利局、申请号为201711386788.4、发明名称为“图像处理方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子设备技术领域,特别涉及一种图像处理方法、装置、存储介质及电子设备。
背景技术
随着电子技术的发展,诸如智能手机等电子设备的功能越来越丰富。其中,拍照功能是用户在使用电子设备的过程中必不可少的功能。
通常,用户在拍照后需要对拍摄的照片进行调整,例如对照片的亮度、对比度等信息进行调整,以使得照片更加美观或满足不同的场合需求。
发明内容
本申请实施例提供一种图像处理方法、装置、存储介质及电子设备,可以提高图像质量。
本申请实施例提供一种图像处理方法,包括:
接收图像处理请求,所述图像处理请求携带待处理图像;
对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
本申请实施例还提供一种图像处理装置,包括:
接收模块,用于接收图像处理请求,所述图像处理请求携带待处理图像;
识别模块,用于对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
获取模块,用于根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
调整模块,用于根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行以下步骤:
接收图像处理请求,所述图像处理请求携带待处理图像;
对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
本申请实施例还提供一种电子设备,所述电子设备包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器通过调用所述存储器中存储的所述计算机程序,用于执行以下步骤:
接收图像处理请求,所述图像处理请求携带待处理图像;
对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例中用户拍照过程的示意图。
图2为本申请实施例提供的图像处理方法的第一种流程示意图。
图3为本申请实施例提供的图像处理方法的第二种流程示意图。
图4为本申请实施例提供的图像处理方法的第三种流程示意图。
图5为本申请实施例提供的图像处理方法的第四种流程示意图。
图6为本申请实施例提供的图像处理方法的第五种流程示意图。
图7为本申请实施例提供的图像处理方法的应用场景示意图。
图8为本申请实施例提供的图像处理装置的第一种结构示意图。
图9为本申请实施例提供的图像处理装置的第二种结构示意图。
图10为本申请实施例提供的图像处理装置的第三种结构示意图。
图11为本申请实施例提供的图像处理装置的第四种结构示意图。
图12为本申请实施例提供的图像处理装置的第五种结构示意图。
图13为本申请实施例提供的电子设备的第一种结构示意图。
图14为本申请实施例提供的电子设备的第二种结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本申请的保护范围。
本申请的说明书和权利要求书以及上述附图中的术语“第一”、“第二”、“第三”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应当理解,这样描述的对象在适当情况下可以互换。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。例如,包含了一系列步骤的过程、方法或包含了一系列模块或单元的装置、电子设备、系统不必限于清楚地列出的那些步骤或模块或单元,还可以包括没有清楚地列出的步骤或模块或单元,也可以包括对于这些过程、方法、装置、电子设备或系统固有的其它步骤或模块或单元。
参考图1,图1为本申请实施例中用户拍照过程的示意图。其中,用户可以通过诸如智能手机等电子设备拍摄照片。用户拍摄照片的对象可以是人物、风景、建筑等等。用户拍 摄照片的场景可能是晚上,也可能是白天;可能是晴天,也可能是下雨天等等。
用户拍摄照片后,可以通过电子设备对拍摄的照片进行调整。其中,可以通过电子设备自带的图像处理功能对照片进行调整,也可以通过某些应用软件对照片进行调整。调整的内容可以包括照片的亮度、对比度、色彩饱和度等等。
随后,当用户完成对照片的调整后,可以保存调整后的照片,也可以将拍摄的初始照片与调整后的照片同时保存。
本申请实施例提供一种图像处理方法,包括:
接收图像处理请求,所述图像处理请求携带待处理图像;
对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
在一些实施例中,所述根据所述图像类型、场景信息以及图像调整模型获取图像处理参数的步骤包括:
获取图像调整模型;
判断所述图像调整模型中是否包括参考图像调整记录,所述参考图像调整记录用于记录对参考图像的调整,所述参考图像的图像类型、场景信息分别与所述待处理图像的图像类型、场景信息相同;
若所述图像调整模型中包括参考图像调整记录,则根据所述参考图像调整记录获取图像处理参数。
在一些实施例中,所述判断所述图像调整模型中是否包括参考图像调整记录的步骤后,还包括:
若所述图像调整模型中包括参考图像调整记录,则获取所述参考图像调整记录的数量;
判断所述数量是否大于预设数量;
若所述数量大于所述预设数量,则根据所述参考图像调整记录获取图像处理参数。
在一些实施例中,所述参考图像调整记录的数量为多个,所述根据所述参考图像调整记录获取图像处理参数的步骤包括:
分别从所述多个参考图像调整记录中获取每个参考图像被调整后的基础信息;
根据获取到的多个被调整后的基础信息计算图像处理参数。
在一些实施例中,所述接收图像处理请求的步骤前,还包括:
当检测到用户对图像的基础信息进行调整时,对所述图像进行识别,以获取所述图像的图像类型、场景信息以及调整后的基础信息;
对所述图像类型、场景信息以及调整后的基础信息进行记录,以生成图像调整记录;
将所述图像调整记录加入图像调整模型。
在一些实施例中,所述图像处理参数包括亮度调整比例和对比度调整比例,所述根据所述图像处理参数对所述待处理图像的基础信息进行调整的步骤包括:
根据所述亮度调整比例对所述待处理图像的亮度进行调整;
根据所述对比度调整比例对所述待处理图像的对比度进行调整。
在一些实施例中,所述图像处理参数包括目标亮度值和目标对比度值,所述根据所述图像处理参数对所述待处理图像的基础信息进行调整的步骤包括:
将所述待处理图像的亮度调整为所述目标亮度值;
将所述待处理图像的对比度调整为所述目标对比度值。
在一些实施例中,所述根据所述图像处理参数对所述待处理图像的基础信息进行调整的步骤后,还包括:
显示所述待处理图像以及调整后的待处理图像;
接收用户对所述待处理图像或调整后的待处理图像的选择;
将用户选择的图像进行保存。
本申请实施例提供一种图像处理方法,所述图像处理方法可以应用于电子设备中。所述电子设备可以是智能手机、平板电脑等设备。如图2所示,所述图像处理方法,可以包括以下步骤:
S110,接收图像处理请求,所述图像处理请求携带待处理图像。
其中,电子设备可以接收图像处理请求,所述图像处理请求携带待处理图像。所述图像处理请求用于请求电子设备对所述待处理图像进行处理。所述待处理图像可以是存储在电子设备上的图片,也可以是拍照所生成的图片。所述待处理图像可以是任意格式的图片。
其中,所述图像处理请求可以是用户手动触发的。例如,当用户通过诸如相册、图库等图像应用浏览一副或多副图像时,用户可以点击诸如“修图”、“美化”等虚拟按键,以启动电子设备的图像处理功能。此时,上述图像应用可以生成图像处理请求,并将生成的图像处理请求发送给电子设备。电子设备接收所述图像处理请求,并进行处理。
所述图像处理请求也可以是电子设备自动触发的。例如,当用户通过电子设备的摄像头拍摄照片时,当照片拍摄完成时电子设备自动启动图像处理功能。此时,电子设备接收自动生成的图像处理请求,并进行处理。
S120,对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息。
电子设备接收到图像处理请求后,对所述图像处理请求携带的待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息。其中,所述图像类型包括人物图像、风景图像、建筑图像。所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种。其中,拍摄时的时间可以区分为白天和夜晚;拍摄时的天气可以区分为晴天、阴天、下雨天、下雪天等。
其中,电子设备对待处理图像进行识别时,可以根据识别结果确定所述待处理图像的图像类型。例如,电子设备可以判断待处理图像中是否包括人脸或者人体。若待处理图像中包括人脸或者人体,则所述待处理图像为人物图像。若待处理图像中既不包括人脸,也不包括人体,则进一步判断所述待处理图像中是否包括建筑。若所述待处理图像中包括建筑,则所述待处理图像为建筑图像。若所述待处理图像中不包括人脸,不包括人体,也不包括建筑,则所述待处理图像为风景图像。
电子设备对待处理图像进行识别时,可以根据识别结果确定所述待处理图像的场景信息。例如,若待处理图像的亮度较高,而待处理图像中又不包括灯光特征时,可以将场景信息确定为白天。若待处理图像的亮度较低,或者待处理图像中包括灯光特征,可以将场景信息确定为夜晚。若待处理图像中出现阳光(或太阳)特征,则可以将场景信息确定为晴天,若待处理图像中出现下雪特征,则可以将场景信息确定为下雪天,等等,在此不予赘述。
S130,根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录。
电子设备获取到待处理图像的图像类型、场景信息后,可以根据所述图像类型、场景信息以及图像调整模型获取图像处理参数。
其中,所述图像调整模型可以是预先存储在电子设备中的图像调整模型。所述图像调整模型包括多个图像调整记录。所述图像调整记录用于对电子设备中已经对图像进行过调 整的情况进行记录。其中,记录的内容可以包括调整前的图像名称、图像类型、图像的场景信息、图像的亮度、图像的对比度、图像的色彩饱和度、图像尺寸以及调整后的图像名称、图像的亮度、图像的对比度、图像的色彩饱和度、图像尺寸等信息。
所述图像处理参数用于对所述待处理图像进行处理。所述图像处理参数可以包括一个或多个参数值。例如,所述图像处理参数可以包括亮度调整百分比、对比度调整百分比等。再例如,所述图像处理参数可以包括调整后的亮度值、调整后的对比度等参数值。
S140,根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
电子设备获取到图像处理参数后,即可根据所述图像处理参数对所述待处理图像的基础信息进行调整。其中,所述基础信息至少包括待处理图像的亮度和对比度。
在一些实施例中,所述图像处理参数包括亮度调整比例和对比度调整比例。电子设备根据所述图像处理参数对所述待处理图像的基础信息进行调整时,可以根据所述亮度调整比例对所述待处理图像的亮度进行调整,根据所述对比度调整比例对所述待处理图像的对比度进行调整。
例如,所述亮度调整比例和对比度调整比例都可以为百分比。当所述图像处理参数包括百分比(可以为正值,也可以为负值)时,电子设备将所述待处理图像的亮度和对比度按照百分比增大或减小。例如,所述图像处理参数包括:亮度调整比例-10%、对比度调整比例-5%。则电子设备将所述待处理图像的亮度降低10%,将对比度降低5%。
在一些实施例中,所述图像处理参数包括目标亮度值和目标对比度值。电子设备根据所述图像处理参数对所述待处理图像的基础信息进行调整时,可以将所述待处理图像的亮度调整为所述目标亮度值,将所述待处理图像的对比度调整为所述目标对比度值。
例如,所述目标亮度值和目标对比度值都可以为调整后的参数值。当所述图像处理参数包括调整后的参数值时,电子设备直接将所述待处理图像的亮度、对比度调整为所述参数值对应的数值。例如,所述图像处理参数包括:目标亮度值75、目标对比度值65,则电子设备将所述待处理图像的亮度调整为所述目标亮度值75,将对比度调整为所述目标对比度值65。待处理图像调整前与调整后的示意图如图7所示。
需要说明的是,上述仅仅以待处理图像的基础信息包括亮度和对比度为例进行说明。在本申请的其他一些实施例中,待处理图像的基础信息还可以包括诸如色彩饱和度等其他信息。
在一些实施例中,如图3所示,步骤S130、根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,包括以下步骤:
S131,获取图像调整模型;
S132,判断所述图像调整模型中是否包括参考图像调整记录;
S133,若所述图像调整模型中包括参考图像调整记录,则根据所述参考图像调整记录获取图像处理参数。
其中,所述图像调整模型可以是预先存储在电子设备中的图像调整模型。电子设备在对所述待处理图像进行识别后,可以调取电子设备中的图像调整模型。
随后,电子设备可以对所述图像调整模型中的每条图像调整记录逐一进行查询,以判断所述图像调整模型中是否包括参考图像调整记录。其中,所述参考图像调整记录用于记录对参考图像的调整,所述参考图像的图像类型、场景信息分别与所述待处理图像的图像类型、场景信息相同。
例如,所述待处理图像为人物图像、场景信息为夜晚,则所述图像调整模型中记录的图像类型为人物图像、场景信息为夜晚的图像即为参考图像。所述图像调整模型中对参考图像的调整进行的记录即为参考图像调整记录。
当所述图像调整模型中包括至少一条参考图像调整记录时,即判断为所述图像调整模型中包括参考图像调整记录,随后电子设备根据所述参考图像调整记录获取图像处理参数。
当所述图像调整模型中不包括参考图像调整记录时,电子设备可以终止流程。
在一些实施例中,如图4所示,步骤S132、判断所述图像调整模型中是否包括参考图像调整记录之后,还包括以下步骤:
S134,若所述图像调整模型中包括参考图像调整记录,则获取所述参考图像调整记录的数量;
S135,判断所述数量是否大于预设数量;
若所述数量大于所述预设数量,则根据所述参考图像调整记录获取图像处理参数。
其中,当电子设备判断出所述图像调整模型中包括参考图像调整记录时,获取所述图像调整模型中的参考图像调整记录的数量。例如,当图像调整模型中包括20条参考图像调整记录时,则电子设备获取到的数量为20。
随后,电子设备将获取到的数量与预设数量进行比较,以判断所述数量是否大于预设数量。其中,预设数量可以是预先存储在电子设备中的一个数值,例如10。
其中,预设数量表示所述图像调整模型中的参考图像调整记录可以作为获取图像处理参数的参考基准的最小数量。当图像调整模型中包括的参考图像调整记录太少时,每个参考图像调整记录中的偶然因素较大,从而根据参考图像调整记录获取到的图像处理参数可能不准确。当图像调整模型中包括的参考图像调整记录较多时,参考图像调整记录可以准确反映出针对当前图像类型、场景信息对图像进行调整的情况。
当所述数量大于所述预设数量时,电子设备根据所述参考图像调整记录获取图像处理参数。例如,电子设备获取到的数量为20,预设数量为10,则所述数量大于所述预设数量,随后电子设备根据所述参考图像调整记录获取图像处理参数。
当所述数量小于所述预设数量时,电子设备可以终止流程。
在一些实施例中,如图5所示,步骤S133、根据所述参考图像调整记录获取图像处理参数,包括以下步骤:
S1331,分别从所述多个参考图像调整记录中获取每个参考图像被调整后的基础信息;
S1332,根据获取到的多个被调整后的基础信息计算图像处理参数。
其中,所述图像调整模型中包括的参考图像调整记录的数量为多个。电子设备可以分别从所述多个参考图像调整记录中获取每个参考图像被调整后的基础信息,随后根据获取到的多个被调整后的基础信息计算图像处理参数。
例如,图像调整模型中包括20条参考图像调整记录。则电子设备可以依次获取每条参考图像调整记录中被调整后的基础信息,例如依次获取每条参考图像调整记录中被调整后的亮度和对比度。随后,根据获取到的多个被调整后的亮度和对比度来计算图像处理参数。
在一些实施例中,电子设备获取到的每个被调整后的基础信息均包括被调整后的亮度。电子设备可以计算多个所述被调整后的亮度的平均值,并将计算得到的亮度平均值确定为图像处理参数中的亮度值。
在一些实施例中,电子设备获取到的每个被调整后的基础信息均包括被调整后的对比度。电子设备可以计算多个所述被调整后的对比度的平均值,并将计算得到的对比度平均值确定为图像处理参数中的对比度。
在一些实施例中,如图6所示,步骤S110、接收图像处理请求的步骤前,还包括以下步骤:
S151,当检测到用户对图像的基础信息进行调整时,对所述图像进行识别,以获取所述图像的图像类型、场景信息以及调整后的基础信息;
S152,对所述图像类型、场景信息以及调整后的基础信息进行记录,以生成图像调整 记录;
S153,将所述图像调整记录加入图像调整模型。
其中,电子设备可以实时检测用户对图像进行的调整。所述图像可以是存储在电子设备上的图片,也可以是拍照所生成的图片。当检测到用户对图像的基础信息进行调整时,电子设备对所述图像进行识别,以获取所述图像的图像类型、场景信息以及调整后的基础信息。
其中,所述图像类型、场景信息、基础信息可以参考上文中的描述,在此不予赘述。
随后,电子设备对所述图像的图像类型、场景信息以及调整后的基础信息进行记录,以生成图像调整记录。此外,所述图像调整记录还可以记录所述图像调整前的信息,例如所述图像调整前的名称、亮度、对比度、色彩饱和度等。
生成图像调整记录后,电子设备可以将所述图像调整记录加入图像调整模型。从而,电子设备可以在用户的使用过程中,对所述图像调整模型不断地进行完善。
需要说明的是,电子设备中存储的图像调整模型初始状态可以为空。也即,所述图像调整模型在初始状态下,可以不包括任何图像调整记录。
在一些实施例中,如图6所示,步骤S140、根据所述图像处理参数对所述待处理图像的基础信息进行调整后,还可以包括以下步骤:
S161,显示所述待处理图像以及调整后的待处理图像;
S162,接收用户对所述待处理图像或调整后的待处理图像的选择;
S163,将用户选择的图像进行保存。
其中,电子设备对待处理图像进行调整后,可以显示所述待处理图像以及调整后的待处理图像。电子设备同时将调整前的待处理图像和调整后的待处理图像呈现给用户,从而用户可以将调整前的待处理图像与调整后的待处理图像进行对比,以观察调整后的待处理图像是否符合用户预期。
随后,用户可以进行选择。用户可以选择所述待处理图像,也可以选择调整后的待处理图像,或者用户也可以同时选择所述待处理图像以及调整后的待处理图像。电子设备接收用户的选择,并将用户选择的图像进行保存。若用户对调整前的待处理图像以及调整后的待处理图像均不满足,可以指令电子设备重新对待处理图像进行调整。
具体实施时,本申请不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。
由上可知,本申请实施例提供的图像处理方法,包括:接收图像处理请求;对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息;根据所述图像类型、场景信息以及图像调整模型获取图像处理参数;根据所述图像处理参数对所述待处理图像的基础信息进行调整。所述图像处理方法中,电子设备可以根据待处理图像的图像类型、场景信息以及预先设置的图像处理模型来获取图像处理参数,并对待处理图像进行调整,从而电子设备可以根据待处理图像的自身特征进行自适应的调整,以提高图像质量。
本申请实施例还提供一种图像处理装置,包括:
接收模块,用于接收图像处理请求,所述图像处理请求携带待处理图像;
识别模块,用于对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
获取模块,用于根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
调整模块,用于根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
在一些实施例中,所述获取模块包括:
第一获取子模块,用于获取图像调整模型;
第一判断子模块,用于判断所述图像调整模型中是否包括参考图像调整记录,所述参考图像调整记录用于记录对参考图像的调整,所述参考图像的图像类型、场景信息分别与所述待处理图像的图像类型、场景信息相同;
第二获取子模块,用于在所述图像调整模型中包括参考图像调整记录时,根据所述参考图像调整记录获取图像处理参数。
在一些实施例中,所述获取模块还包括:
第三获取子模块,用于在所述图像调整模型中包括参考图像调整记录时,获取所述参考图像调整记录的数量;
第二判断子模块,用于判断所述数量是否大于预设数量;
所述第二获取子模块,用于在所述数量大于所述预设数量时,根据所述参考图像调整记录获取图像处理参数。
在一些实施例中,所述第二获取子模块用于:
分别从所述多个参考图像调整记录中获取每个参考图像被调整后的基础信息;
根据获取到的多个被调整后的基础信息计算图像处理参数。
在一些实施例中,所述图像处理装置还包括建模模块,所述建模模块用于:
当检测到用户对图像的基础信息进行调整时,对所述图像进行识别,以获取所述图像的图像类型、场景信息以及调整后的基础信息;
对所述图像类型、场景信息以及调整后的基础信息进行记录,以生成图像调整记录;
将所述图像调整记录加入图像调整模型。
在一些实施例中,所述图像处理参数包括亮度调整比例和对比度调整比例,所述调整模块用于:
根据所述亮度调整比例对所述待处理图像的亮度进行调整;
根据所述对比度调整比例对所述待处理图像的对比度进行调整。
在一些实施例中,所述图像处理参数包括目标亮度值和目标对比度值,所述调整模块用于:
将所述待处理图像的亮度调整为所述目标亮度值;
将所述待处理图像的对比度调整为所述目标对比度值。
在一些实施例中,所述图像处理装置还包括保存模块,所述保存模块用于:
显示所述待处理图像以及调整后的待处理图像;
接收用户对所述待处理图像或调整后的待处理图像的选择;
将用户选择的图像进行保存。
本申请实施例还提供一种图像处理装置,所述图像处理装置可以集成在电子设备中,所述电子设备可以是智能手机、平板电脑等设备。
如图8所示,图像处理装置200可以包括:接收模块201、识别模块202、获取模块203以及调整模块204。
接收模块201,用于接收图像处理请求,所述图像处理请求携带待处理图像。
其中,接收模块201可以接收图像处理请求,所述图像处理请求携带待处理图像。所述图像处理请求用于请求电子设备对所述待处理图像进行处理。所述待处理图像可以是存储在电子设备上的图片,也可以是拍照所生成的图片。所述待处理图像可以是任意格式的图片。
其中,所述图像处理请求可以是用户手动触发的。例如,当用户通过诸如相册、图库等图像应用浏览一副或多副图像时,用户可以点击诸如“修图”、“美化”等虚拟按键,以 启动电子设备的图像处理功能。此时,上述图像应用可以生成图像处理请求,并将生成的图像处理请求发送给电子设备。接收模块201接收所述图像处理请求,并进行处理。
所述图像处理请求也可以是电子设备自动触发的。例如,当用户通过电子设备的摄像头拍摄照片时,当照片拍摄完成时电子设备自动启动图像处理功能。此时,接收模块201接收自动生成的图像处理请求,并进行处理。
识别模块202,用于对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息。
接收模块201接收到图像处理请求后,识别模块202对所述图像处理请求携带的待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息。其中,所述图像类型包括人物图像、风景图像、建筑图像。所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种。其中,拍摄时的时间可以区分为白天和夜晚;拍摄时的天气可以区分为晴天、阴天、下雨天、下雪天等。
其中,识别模块202对待处理图像进行识别时,可以根据识别结果确定所述待处理图像的图像类型。例如,识别模块202可以判断待处理图像中是否包括人脸或者人体。若待处理图像中包括人脸或者人体,则所述待处理图像为人物图像。若待处理图像中既不包括人脸,也不包括人体,则进一步判断所述待处理图像中是否包括建筑。若所述待处理图像中包括建筑,则所述待处理图像为建筑图像。若所述待处理图像中不包括人脸,不包括人体,也不包括建筑,则所述待处理图像为风景图像。
识别模块202对待处理图像进行识别时,可以根据识别结果确定所述待处理图像的场景信息。例如,若待处理图像的亮度较高,而待处理图像中又不包括灯光特征时,可以将场景信息确定为白天。若待处理图像的亮度较低,或者待处理图像中包括灯光特征,可以将场景信息确定为夜晚。若待处理图像中出现阳光(或太阳)特征,则可以将场景信息确定为晴天,若待处理图像中出现下雪特征,则可以将场景信息确定为下雪天,等等,在此不予赘述。
获取模块203,用于根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录。
识别模块202获取到待处理图像的图像类型、场景信息后,获取模块203可以根据所述图像类型、场景信息以及图像调整模型获取图像处理参数。
其中,所述图像调整模型可以是预先存储在电子设备中的图像调整模型。所述图像调整模型包括多个图像调整记录。所述图像调整记录用于对电子设备中已经对图像进行过调整的情况进行记录。其中,记录的内容可以包括调整前的图像名称、图像类型、图像的场景信息、图像的亮度、图像的对比度、图像的色彩饱和度、图像尺寸以及调整后的图像名称、图像的亮度、图像的对比度、图像的色彩饱和度、图像尺寸等信息。
所述图像处理参数用于对所述待处理图像进行处理。所述图像处理参数可以包括一个或多个参数值。例如,所述图像处理参数可以包括亮度调整百分比、对比度调整百分比等。再例如,所述图像处理参数可以包括调整后的亮度值、调整后的对比度等参数值。
调整模块204,用于根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
获取模块203获取到图像处理参数后,调整模块204即可根据所述图像处理参数对所述待处理图像的基础信息进行调整。其中,所述基础信息至少包括待处理图像的亮度和对比度。
在一些实施例中,所述图像处理参数包括亮度调整比例和对比度调整比例。根据所述图像处理参数对所述待处理图像的基础信息进行调整时,调整模块204可以根据所述亮度调整比例对所述待处理图像的亮度进行调整,根据所述对比度调整比例对所述待处理图像的 对比度进行调整。
例如,所述亮度调整比例和对比度调整比例都可以为百分比。当所述图像处理参数包括百分比(可以为正值,也可以为负值)时,调整模块204将所述待处理图像的亮度和对比度按照百分比增大或减小。例如,所述图像处理参数包括:亮度调整比例-10%、对比度调整比例-5%。则调整模块204将所述待处理图像的亮度降低10%,将对比度降低5%。
在一些实施例中,所述图像处理参数包括目标亮度值和目标对比度值。调整模块204根据所述图像处理参数对所述待处理图像的基础信息进行调整时,可以将所述待处理图像的亮度调整为所述目标亮度值,将所述待处理图像的对比度调整为所述目标对比度值。
例如,所述目标亮度值和目标对比度值都可以为调整后的参数值。当所述图像处理参数包括调整后的参数值时,调整模块204直接将所述待处理图像的亮度、对比度调整为所述参数值对应的数值。例如,所述图像处理参数包括:目标亮度值75、目标对比度值65,则调整模块204将所述待处理图像的亮度调整为所述目标亮度值75,将对比度调整为所述目标对比度值65。
需要说明的是,上述仅仅以待处理图像的基础信息包括亮度和对比度为例进行说明。在本申请的其他一些实施例中,待处理图像的基础信息还可以包括诸如色彩饱和度等其他信息。
在一些实施例中,如图9所示,获取模块203包括:第一获取子模块2031、第一判断子模块2032、第二获取子模块2033。
第一获取子模块2031,用于获取图像调整模型;
第一判断子模块2032,用于判断所述图像调整模型中是否包括参考图像调整记录;
第二获取子模块2033,用于在所述图像调整模型中包括参考图像调整记录时,根据所述参考图像调整记录获取图像处理参数。
其中,所述图像调整模型可以是预先存储在电子设备中的图像调整模型。识别模块202对所述待处理图像进行识别后,第一获取子模块2031可以调取电子设备中的图像调整模型。
随后,第一判断子模块2032可以对所述图像调整模型中的每条图像调整记录逐一进行查询,以判断所述图像调整模型中是否包括参考图像调整记录。其中,所述参考图像调整记录用于记录对参考图像的调整,所述参考图像的图像类型、场景信息分别与所述待处理图像的图像类型、场景信息相同。
例如,所述待处理图像为人物图像、场景信息为夜晚,则所述图像调整模型中记录的图像类型为人物图像、场景信息为夜晚的图像即为参考图像。所述图像调整模型中对参考图像的调整进行的记录即为参考图像调整记录。
当所述图像调整模型中包括至少一条参考图像调整记录时,即判断为所述图像调整模型中包括参考图像调整记录,随后第二获取子模块2033根据所述参考图像调整记录获取图像处理参数。
当所述图像调整模型中不包括参考图像调整记录时,可以终止流程。
在一些实施例中,如图10所示,获取模块203还包括:第三获取子模块2034、第二判断子模块2035。
第三获取子模块2034,用于在所述图像调整模型中包括参考图像调整记录时,获取所述参考图像调整记录的数量;
第二判断子模块2035,用于判断所述数量是否大于预设数量;
所述第二获取子模块2033,用于在所述数量大于所述预设数量时,根据所述参考图像调整记录获取图像处理参数。
其中,当第一判断子模块2032判断出所述图像调整模型中包括参考图像调整记录时,第三获取子模块2034获取所述图像调整模型中的参考图像调整记录的数量。例如,当图像 调整模型中包括20条参考图像调整记录时,则第三获取子模块2034获取到的数量为20。
随后,第二判断子模块2035将获取到的数量与预设数量进行比较,以判断所述数量是否大于预设数量。其中,预设数量可以是预先存储在电子设备中的一个数值,例如10。
其中,预设数量表示所述图像调整模型中的参考图像调整记录可以作为获取图像处理参数的参考基准的最小数量。当图像调整模型中包括的参考图像调整记录太少时,每个参考图像调整记录中的偶然因素较大,从而根据参考图像调整记录获取到的图像处理参数可能不准确。当图像调整模型中包括的参考图像调整记录较多时,参考图像调整记录可以准确反映出针对当前图像类型、场景信息对图像进行调整的情况。
当所述数量大于所述预设数量时,第二获取子模块2033根据所述参考图像调整记录获取图像处理参数。例如,获取到的数量为20,预设数量为10,则所述数量大于所述预设数量,随后第二获取子模块2033根据所述参考图像调整记录获取图像处理参数。
当所述数量小于所述预设数量时,可以终止流程。
在一些实施例中,所述第二获取子模块2033用于执行以下步骤:
分别从所述多个参考图像调整记录中获取每个参考图像被调整后的基础信息;
根据获取到的多个被调整后的基础信息计算图像处理参数。
其中,所述图像调整模型中包括的参考图像调整记录的数量为多个。第二获取子模块2033可以分别从所述多个参考图像调整记录中获取每个参考图像被调整后的基础信息,随后根据获取到的多个被调整后的基础信息计算图像处理参数。
例如,图像调整模型中包括20条参考图像调整记录。则第二获取子模块2033可以依次获取每条参考图像调整记录中被调整后的基础信息,例如依次获取每条参考图像调整记录中被调整后的亮度和对比度。随后,根据获取到的多个被调整后的亮度和对比度来计算图像处理参数。
在一些实施例中,第二获取子模块2033获取到的每个被调整后的基础信息均包括被调整后的亮度。第二获取子模块2033可以计算多个所述被调整后的亮度的平均值,并将计算得到的亮度平均值确定为图像处理参数中的亮度值。
在一些实施例中,第二获取子模块2033获取到的每个被调整后的基础信息均包括被调整后的对比度。第二获取子模块2033可以计算多个所述被调整后的对比度的平均值,并将计算得到的对比度平均值确定为图像处理参数中的对比度。
在一些实施例中,如图11所示,图像处理装置200还包括建模模块205,所述建模模块205用于执行以下步骤:
当检测到用户对图像的基础信息进行调整时,对所述图像进行识别,以获取所述图像的图像类型、场景信息以及调整后的基础信息;
对所述图像类型、场景信息以及调整后的基础信息进行记录,以生成图像调整记录;
将所述图像调整记录加入图像调整模型。
其中,建模模块205可以实时检测用户对图像进行的调整。所述图像可以是存储在电子设备上的图片,也可以是拍照所生成的图片。当检测到用户对图像的基础信息进行调整时,建模模块205对所述图像进行识别,以获取所述图像的图像类型、场景信息以及调整后的基础信息。
其中,所述图像类型、场景信息、基础信息可以参考上文中的描述,在此不予赘述。
随后,建模模块205对所述图像的图像类型、场景信息以及调整后的基础信息进行记录,以生成图像调整记录。此外,所述图像调整记录还可以记录所述图像调整前的信息,例如所述图像调整前的名称、亮度、对比度、色彩饱和度等。
生成图像调整记录后,建模模块205可以将所述图像调整记录加入图像调整模型。从而,建模模块205可以在用户对电子设备的使用过程中,对所述图像调整模型不断地进行完 善。
需要说明的是,电子设备中存储的图像调整模型初始状态可以为空。也即,所述图像调整模型在初始状态下,可以不包括任何图像调整记录。
在一些实施例中,如图12所示,图像处理装置200还包括保存模块206,所述保存模块206用于执行以下步骤:
显示所述待处理图像以及调整后的待处理图像;
接收用户对所述待处理图像或调整后的待处理图像的选择;
将用户选择的图像进行保存。
其中,调整模块204对待处理图像进行调整后,保存模块206可以显示所述待处理图像以及调整后的待处理图像。保存模块206同时将调整前的待处理图像和调整后的待处理图像呈现给用户,从而用户可以将调整前的待处理图像与调整后的待处理图像进行对比,以观察调整后的待处理图像是否符合用户预期。
随后,用户可以进行选择。用户可以选择所述待处理图像,也可以选择调整后的待处理图像,或者用户也可以同时选择所述待处理图像以及调整后的待处理图像。保存模块206接收用户的选择,并将用户选择的图像进行保存。若用户对调整前的待处理图像以及调整后的待处理图像均不满足,可以指令重新对待处理图像进行调整。
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现。
由上可知,本申请实施例提供的图像处理装置200,通过接收模块201接收图像处理请求;识别模块202对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息;获取模块203根据所述图像类型、场景信息以及图像调整模型获取图像处理参数;调整模块204根据所述图像处理参数对所述待处理图像的基础信息进行调整。所述图像处理装置200可以根据待处理图像的图像类型、场景信息以及预先设置的图像处理模型来获取图像处理参数,并对待处理图像进行调整,从而可以根据待处理图像的自身特征进行自适应的调整,以提高图像质量。
本申请实施例还提供一种电子设备。所述电子设备可以是智能手机、平板电脑等设备。如图13所示,电子设备300包括处理器301和存储器302。其中,处理器301与存储器302电性连接。
处理器301是电子设备300的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或调用存储在存储器302内的计算机程序,以及调用存储在存储器302内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
在本实施例中,电子设备300中的处理器301会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器302中,并由处理器301来运行存储在存储器302中的计算机程序,从而实现各种功能:
接收图像处理请求,所述图像处理请求携带待处理图像;
对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
在一些实施例中,根据所述图像类型、场景信息以及图像调整模型获取图像处理参数时,处理器301执行以下步骤:
获取图像调整模型;
判断所述图像调整模型中是否包括参考图像调整记录,所述参考图像调整记录用于记录对参考图像的调整,所述参考图像的图像类型、场景信息分别与所述待处理图像的图像类型、场景信息相同;
若所述图像调整模型中包括参考图像调整记录,则根据所述参考图像调整记录获取图像处理参数。
在一些实施例中,判断所述图像调整模型中是否包括参考图像调整记录后,处理器301还执行以下步骤:
若所述图像调整模型中包括参考图像调整记录,则获取所述参考图像调整记录的数量;
判断所述数量是否大于预设数量;
若所述数量大于所述预设数量,则根据所述参考图像调整记录获取图像处理参数。
在一些实施例中,所述参考图像调整记录的数量为多个,根据所述参考图像调整记录获取图像处理参数时,处理器301执行以下步骤:
分别从所述多个参考图像调整记录中获取每个参考图像被调整后的基础信息;
根据获取到的多个被调整后的基础信息计算图像处理参数。
在一些实施例中,接收图像处理请求之前,处理器301还执行以下步骤:
当检测到用户对图像的基础信息进行调整时,对所述图像进行识别,以获取所述图像的图像类型、场景信息以及调整后的基础信息;
对所述图像类型、场景信息以及调整后的基础信息进行记录,以生成图像调整记录;
将所述图像调整记录加入图像调整模型。
在一些实施例中,所述图像处理参数包括亮度调整比例和对比度调整比例,根据所述图像处理参数对所述待处理图像的基础信息进行调整时,处理器301用于执行以下步骤:
根据所述亮度调整比例对所述待处理图像的亮度进行调整;
根据所述对比度调整比例对所述待处理图像的对比度进行调整。
在一些实施例中,所述图像处理参数包括目标亮度值和目标对比度值,根据所述图像处理参数对所述待处理图像的基础信息进行调整时,处理器301用于执行以下步骤:
将所述待处理图像的亮度调整为所述目标亮度值;
将所述待处理图像的对比度调整为所述目标对比度值。
在一些实施例中,根据所述图像处理参数对所述待处理图像的基础信息进行调整之后,处理器301还执行以下步骤:
显示所述待处理图像以及调整后的待处理图像;
接收用户对所述待处理图像或调整后的待处理图像的选择;
将用户选择的图像进行保存。
存储器302可用于存储计算机程序和数据。存储器302存储的计算机程序中包含有可在处理器中执行的指令。计算机程序可以组成各种功能模块。处理器301通过调用存储在存储器302的计算机程序,从而执行各种功能应用以及数据处理。
在一些实施例中,如图14所示,电子设备300还包括:射频电路303、显示屏304、控制电路305、输入单元306、音频电路307、传感器308以及电源309。其中,处理器301分别与射频电路303、显示屏304、控制电路305、输入单元306、音频电路307、传感器308以及电源309电性连接。
射频电路303用于收发射频信号,以通过无线通信与网络设备或其他电子设备进行通信。
显示屏304可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图像、文本、图标、视频和其任意组合来构成。
控制电路305与显示屏304电性连接,用于控制显示屏304显示信息。
输入单元306可用于接收输入的数字、字符信息或用户特征信息(例如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。其中,输入单元306可以包括指纹识别模组。
音频电路307可通过扬声器、传声器提供用户与电子设备之间的音频接口。
传感器308用于采集外部环境信息。传感器308可以包括环境亮度传感器、加速度传感器、陀螺仪等传感器中的一种或多种。
电源309用于给电子设备300的各个部件供电。在一些实施例中,电源309可以通过电源管理系统与处理器301逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管图14中未示出,电子设备300还可以包括摄像头、蓝牙模块等,在此不再赘述。
由上可知,本申请实施例提供了一种电子设备,所述电子设备执行以下步骤:接收图像处理请求;对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息;根据所述图像类型、场景信息以及图像调整模型获取图像处理参数;根据所述图像处理参数对所述待处理图像的基础信息进行调整。所述电子设备可以根据待处理图像的图像类型、场景信息以及预先设置的图像处理模型来获取图像处理参数,并对待处理图像进行调整,从而电子设备可以根据待处理图像的自身特征进行自适应的调整,以提高图像质量。
本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,所述计算机执行上述任一实施例所述的图像处理方法。
本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行以下步骤:
接收图像处理请求,所述图像处理请求携带待处理图像;
对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过计算机程序来指令相关的硬件来完成,所述计算机程序可以存储于计算机可读存储介质中,所述存储介质可以包括但不限于:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。
以上对本申请实施例所提供的图像处理方法、装置、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种图像处理方法,包括:
    接收图像处理请求,所述图像处理请求携带待处理图像;
    对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
    根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
    根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
  2. 根据权利要求1所述的图像处理方法,其中,所述根据所述图像类型、场景信息以及图像调整模型获取图像处理参数的步骤包括:
    获取图像调整模型;
    判断所述图像调整模型中是否包括参考图像调整记录,所述参考图像调整记录用于记录对参考图像的调整,所述参考图像的图像类型、场景信息分别与所述待处理图像的图像类型、场景信息相同;
    若所述图像调整模型中包括参考图像调整记录,则根据所述参考图像调整记录获取图像处理参数。
  3. 根据权利要求2所述的图像处理方法,其中,所述判断所述图像调整模型中是否包括参考图像调整记录的步骤后,还包括:
    若所述图像调整模型中包括参考图像调整记录,则获取所述参考图像调整记录的数量;
    判断所述数量是否大于预设数量;
    若所述数量大于所述预设数量,则根据所述参考图像调整记录获取图像处理参数。
  4. 根据权利要求2所述的图像处理方法,其中,所述参考图像调整记录的数量为多个,所述根据所述参考图像调整记录获取图像处理参数的步骤包括:
    分别从所述多个参考图像调整记录中获取每个参考图像被调整后的基础信息;
    根据获取到的多个被调整后的基础信息计算图像处理参数。
  5. 根据权利要求1所述的图像处理方法,其中,所述接收图像处理请求的步骤前,还包括:
    当检测到用户对图像的基础信息进行调整时,对所述图像进行识别,以获取所述图像的图像类型、场景信息以及调整后的基础信息;
    对所述图像类型、场景信息以及调整后的基础信息进行记录,以生成图像调整记录;
    将所述图像调整记录加入图像调整模型。
  6. 根据权利要求1所述的图像处理方法,其中,所述图像处理参数包括亮度调整比例和对比度调整比例,所述根据所述图像处理参数对所述待处理图像的基础信息进行调整的步骤包括:
    根据所述亮度调整比例对所述待处理图像的亮度进行调整;
    根据所述对比度调整比例对所述待处理图像的对比度进行调整。
  7. 根据权利要求1所述的图像处理方法,其中,所述图像处理参数包括目标亮度值和目标对比度值,所述根据所述图像处理参数对所述待处理图像的基础信息进行调整的步骤包括:
    将所述待处理图像的亮度调整为所述目标亮度值;
    将所述待处理图像的对比度调整为所述目标对比度值。
  8. 根据权利要求1所述的图像处理方法,其中,所述根据所述图像处理参数对所述待 处理图像的基础信息进行调整的步骤后,还包括:
    显示所述待处理图像以及调整后的待处理图像;
    接收用户对所述待处理图像或调整后的待处理图像的选择;
    将用户选择的图像进行保存。
  9. 一种图像处理装置,包括:
    接收模块,用于接收图像处理请求,所述图像处理请求携带待处理图像;
    识别模块,用于对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
    获取模块,用于根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
    调整模块,用于根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
  10. 根据权利要求9所述的图像处理装置,其中,所述获取模块包括:
    第一获取子模块,用于获取图像调整模型;
    第一判断子模块,用于判断所述图像调整模型中是否包括参考图像调整记录,所述参考图像调整记录用于记录对参考图像的调整,所述参考图像的图像类型、场景信息分别与所述待处理图像的图像类型、场景信息相同;
    第二获取子模块,用于在所述图像调整模型中包括参考图像调整记录时,根据所述参考图像调整记录获取图像处理参数。
  11. 根据权利要求10所述的图像处理装置,其中,所述获取模块还包括:
    第三获取子模块,用于在所述图像调整模型中包括参考图像调整记录时,获取所述参考图像调整记录的数量;
    第二判断子模块,用于判断所述数量是否大于预设数量;
    所述第二获取子模块,用于在所述数量大于所述预设数量时,根据所述参考图像调整记录获取图像处理参数。
  12. 一种存储介质,其中,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行以下步骤:
    接收图像处理请求,所述图像处理请求携带待处理图像;
    对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
    根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模型包括多个图像调整记录;
    根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
  13. 一种电子设备,其中,所述电子设备包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器通过调用所述存储器中存储的所述计算机程序,用于执行以下步骤:
    接收图像处理请求,所述图像处理请求携带待处理图像;
    对所述待处理图像进行识别,以获取所述待处理图像的图像类型以及场景信息,所述图像类型包括人物图像、风景图像、建筑图像,所述场景信息包括拍摄时的时间、拍摄时的天气中的至少一种;
    根据所述图像类型、场景信息以及图像调整模型获取图像处理参数,所述图像调整模 型包括多个图像调整记录;
    根据所述图像处理参数对所述待处理图像的基础信息进行调整,所述基础信息至少包括亮度和对比度。
  14. 根据权利要求13所述的电子设备,其中,根据所述图像类型、场景信息以及图像调整模型获取图像处理参数时,所述处理器用于执行以下步骤:
    获取图像调整模型;
    判断所述图像调整模型中是否包括参考图像调整记录,所述参考图像调整记录用于记录对参考图像的调整,所述参考图像的图像类型、场景信息分别与所述待处理图像的图像类型、场景信息相同;
    若所述图像调整模型中包括参考图像调整记录,则根据所述参考图像调整记录获取图像处理参数。
  15. 根据权利要求14所述的电子设备,其中,判断所述图像调整模型中是否包括参考图像调整记录之后,所述处理器还用于执行以下步骤:
    若所述图像调整模型中包括参考图像调整记录,则获取所述参考图像调整记录的数量;
    判断所述数量是否大于预设数量;
    若所述数量大于所述预设数量,则根据所述参考图像调整记录获取图像处理参数。
  16. 根据权利要求14所述的电子设备,其中,所述参考图像调整记录的数量为多个,根据所述参考图像调整记录获取图像处理参数时,所述处理器用于执行以下步骤:
    分别从所述多个参考图像调整记录中获取每个参考图像被调整后的基础信息;
    根据获取到的多个被调整后的基础信息计算图像处理参数。
  17. 根据权利要求13所述的电子设备,其中,接收图像处理请求之前,所述处理器还用于执行以下步骤:
    当检测到用户对图像的基础信息进行调整时,对所述图像进行识别,以获取所述图像的图像类型、场景信息以及调整后的基础信息;
    对所述图像类型、场景信息以及调整后的基础信息进行记录,以生成图像调整记录;
    将所述图像调整记录加入图像调整模型。
  18. 根据权利要求13所述的电子设备,其中,所述图像处理参数包括亮度调整比例和对比度调整比例,根据所述图像处理参数对所述待处理图像的基础信息进行调整时,所述处理器用于执行以下步骤:
    根据所述亮度调整比例对所述待处理图像的亮度进行调整;
    根据所述对比度调整比例对所述待处理图像的对比度进行调整。
  19. 根据权利要求13所述的电子设备,其中,所述图像处理参数包括目标亮度值和目标对比度值,根据所述图像处理参数对所述待处理图像的基础信息进行调整时,所述处理器用于执行以下步骤:
    将所述待处理图像的亮度调整为所述目标亮度值;
    将所述待处理图像的对比度调整为所述目标对比度值。
  20. 根据权利要求13所述的电子设备,其中,根据所述图像处理参数对所述待处理图像的基础信息进行调整之后,所述处理器还用于执行以下步骤:
    显示所述待处理图像以及调整后的待处理图像;
    接收用户对所述待处理图像或调整后的待处理图像的选择;
    将用户选择的图像进行保存。
PCT/CN2018/116246 2017-12-20 2018-11-19 图像处理方法、装置、存储介质及电子设备 WO2019120016A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711386788.4A CN109951627B (zh) 2017-12-20 2017-12-20 图像处理方法、装置、存储介质及电子设备
CN201711386788.4 2017-12-20

Publications (1)

Publication Number Publication Date
WO2019120016A1 true WO2019120016A1 (zh) 2019-06-27

Family

ID=66993063

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/116246 WO2019120016A1 (zh) 2017-12-20 2018-11-19 图像处理方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN109951627B (zh)
WO (1) WO2019120016A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110288534A (zh) * 2019-06-28 2019-09-27 Oppo广东移动通信有限公司 图像处理方法、装置、电子设备以及存储介质
CN111161185A (zh) * 2019-12-30 2020-05-15 深圳蓝韵医学影像有限公司 一种x线图像连续调整的方法及系统
CN113177438A (zh) * 2021-04-02 2021-07-27 深圳小湃科技有限公司 图像处理方法、设备及存储介质
CN113507572A (zh) * 2021-07-09 2021-10-15 Oppo广东移动通信有限公司 视频画面的显示方法、装置、终端及存储介质
CN116229097A (zh) * 2023-01-09 2023-06-06 钧捷科技(北京)有限公司 基于图像传感器的图像处理方法

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112788364B (zh) * 2019-11-07 2023-06-06 富联国基(上海)电子有限公司 码流动态调整装置、方法及计算机可读存储介质
CN111191069A (zh) * 2019-12-31 2020-05-22 联想(北京)有限公司 一种图像处理方法及装置
CN111405345B (zh) * 2020-03-19 2022-03-01 展讯通信(上海)有限公司 图像处理方法、装置、显示设备及可读存储介质
CN111476304B (zh) * 2020-04-10 2023-09-05 国网冀北电力有限公司承德供电公司 一种影像数据处理方法及装置
CN113515246A (zh) * 2021-05-17 2021-10-19 广州文石信息科技有限公司 一种电子墨水屏显示控制方法、装置、设备及存储介质
CN113329173A (zh) * 2021-05-19 2021-08-31 Tcl通讯(宁波)有限公司 一种影像优化方法、装置、存储介质及终端设备
CN113467735A (zh) * 2021-06-16 2021-10-01 荣耀终端有限公司 图像调整方法、电子设备及存储介质
CN114782899A (zh) * 2022-06-15 2022-07-22 浙江大华技术股份有限公司 一种图像处理的方法、装置及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005332054A (ja) * 2004-05-18 2005-12-02 Konica Minolta Photo Imaging Inc 画像処理方法、画像処理装置、画像記録装置及び画像処理プログラム
WO2015037973A1 (en) * 2013-09-12 2015-03-19 Data Calibre Sdn Bhd A face identification method
CN105530434A (zh) * 2016-02-01 2016-04-27 深圳市金立通信设备有限公司 一种拍摄方法及终端
CN105530435A (zh) * 2016-02-01 2016-04-27 深圳市金立通信设备有限公司 一种拍摄方法及移动终端
CN107341516A (zh) * 2017-07-07 2017-11-10 广东中星电子有限公司 图像质量调节方法和图像处理智能平台
CN107424135A (zh) * 2017-07-27 2017-12-01 广东欧珀移动通信有限公司 图像处理方法、装置、计算机可读存储介质和计算机设备

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1591954A4 (en) * 2003-02-05 2007-05-02 Seiko Epson Corp IMAGE PROCESSING DEVICE
CN101478639B (zh) * 2008-01-04 2011-07-20 华晶科技股份有限公司 场景模式自动选择方法
CN103888652A (zh) * 2012-12-19 2014-06-25 深圳市欣动态影像科技有限公司 一种云台摄像机的场景自适应图像参数的控制方法
CN104284055A (zh) * 2013-07-01 2015-01-14 索尼公司 图像处理方法、装置以及电子设备
CN103838578A (zh) * 2014-03-10 2014-06-04 联想(北京)有限公司 一种数据处理方法、装置及一种电子设备
US9826149B2 (en) * 2015-03-27 2017-11-21 Intel Corporation Machine learning of real-time image capture parameters
JP6617428B2 (ja) * 2015-03-30 2019-12-11 株式会社ニコン 電子機器
CN106530217A (zh) * 2016-10-28 2017-03-22 维沃移动通信有限公司 一种照片处理方法及移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005332054A (ja) * 2004-05-18 2005-12-02 Konica Minolta Photo Imaging Inc 画像処理方法、画像処理装置、画像記録装置及び画像処理プログラム
WO2015037973A1 (en) * 2013-09-12 2015-03-19 Data Calibre Sdn Bhd A face identification method
CN105530434A (zh) * 2016-02-01 2016-04-27 深圳市金立通信设备有限公司 一种拍摄方法及终端
CN105530435A (zh) * 2016-02-01 2016-04-27 深圳市金立通信设备有限公司 一种拍摄方法及移动终端
CN107341516A (zh) * 2017-07-07 2017-11-10 广东中星电子有限公司 图像质量调节方法和图像处理智能平台
CN107424135A (zh) * 2017-07-27 2017-12-01 广东欧珀移动通信有限公司 图像处理方法、装置、计算机可读存储介质和计算机设备

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110288534A (zh) * 2019-06-28 2019-09-27 Oppo广东移动通信有限公司 图像处理方法、装置、电子设备以及存储介质
CN110288534B (zh) * 2019-06-28 2024-01-16 Oppo广东移动通信有限公司 图像处理方法、装置、电子设备以及存储介质
CN111161185A (zh) * 2019-12-30 2020-05-15 深圳蓝韵医学影像有限公司 一种x线图像连续调整的方法及系统
CN111161185B (zh) * 2019-12-30 2024-01-19 深圳蓝影医学科技股份有限公司 一种x线图像连续调整的方法及系统
CN113177438A (zh) * 2021-04-02 2021-07-27 深圳小湃科技有限公司 图像处理方法、设备及存储介质
CN113507572A (zh) * 2021-07-09 2021-10-15 Oppo广东移动通信有限公司 视频画面的显示方法、装置、终端及存储介质
CN116229097A (zh) * 2023-01-09 2023-06-06 钧捷科技(北京)有限公司 基于图像传感器的图像处理方法

Also Published As

Publication number Publication date
CN109951627B (zh) 2021-09-10
CN109951627A (zh) 2019-06-28

Similar Documents

Publication Publication Date Title
WO2019120016A1 (zh) 图像处理方法、装置、存储介质及电子设备
EP3579544B1 (en) Electronic device for providing quality-customized image and method of controlling the same
WO2021052232A1 (zh) 一种延时摄影的拍摄方法及设备
CN113129312B (zh) 一种图像处理方法、装置与设备
JP7266672B2 (ja) 画像処理方法および画像処理装置、ならびにデバイス
US20160127653A1 (en) Electronic Device and Method for Providing Filter in Electronic Device
KR102263537B1 (ko) 전자 장치와, 그의 제어 방법
US20200244885A1 (en) Photographing method and electronic apparatus
CN104869320A (zh) 电子设备和控制电子设备操作方法
US11070717B2 (en) Context-aware image filtering
WO2021052111A1 (zh) 图像处理方法及电子装置
CN110290426B (zh) 展示资源的方法、装置、设备及存储介质
CN112887582A (zh) 一种图像色彩处理方法、装置及相关设备
CN109104578B (zh) 一种图像处理方法及移动终端
WO2023241209A1 (zh) 桌面壁纸配置方法、装置、电子设备及可读存储介质
CN110570370B (zh) 图像信息的处理方法、装置、存储介质及电子设备
WO2018219304A1 (zh) 照片处理方法、装置、计算机可读存储介质及电子设备
CN109218620B (zh) 基于环境亮度的拍照方法、装置、存储介质及移动终端
WO2023071933A1 (zh) 相机拍摄参数调整方法、装置及电子设备
CN114463191B (zh) 一种图像处理方法及电子设备
CN113891008B (zh) 一种曝光强度调节方法及相关设备
RU2794062C2 (ru) Устройство и способ обработки изображения и оборудование
WO2022174456A1 (zh) 图像白平衡调整方法、装置、拍摄设备及存储介质
WO2022228010A1 (zh) 一种生成封面的方法及电子设备
RU2791810C2 (ru) Способ, аппаратура и устройство для обработки и изображения

Legal Events

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

Ref document number: 18890097

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18890097

Country of ref document: EP

Kind code of ref document: A1