WO2019023968A1 - Image color adjustment system and color adjustment method for smart terminal - Google Patents

Image color adjustment system and color adjustment method for smart terminal Download PDF

Info

Publication number
WO2019023968A1
WO2019023968A1 PCT/CN2017/095585 CN2017095585W WO2019023968A1 WO 2019023968 A1 WO2019023968 A1 WO 2019023968A1 CN 2017095585 W CN2017095585 W CN 2017095585W WO 2019023968 A1 WO2019023968 A1 WO 2019023968A1
Authority
WO
WIPO (PCT)
Prior art keywords
color data
color
module
image
smart terminal
Prior art date
Application number
PCT/CN2017/095585
Other languages
French (fr)
Chinese (zh)
Inventor
陈飞飞
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/095585 priority Critical patent/WO2019023968A1/en
Priority to CN201780095569.2A priority patent/CN111164563B/en
Publication of WO2019023968A1 publication Critical patent/WO2019023968A1/en

Links

Images

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to an image color adjustment system and a color adjustment method of an intelligent terminal.
  • smart terminals are gradually infiltrating into all aspects of people's lives due to their versatility and portability.
  • the photos or images taken by the smart terminal can satisfy the visual needs of people in both pixels and colors.
  • smart terminals have gradually replaced professional camera equipment, becoming the tool of choice for people to take pictures and take pictures during sightseeing.
  • photos taken by smart terminals often fail to meet the needs of users in terms of color and the like.
  • the color of a picture refers to the basic tendency of the color appearance of a work. It is caused by the neutralization of the three elements of brightness, saturation and hue.
  • brightness also called chromaticity, refers to the degree of lightness and darkness of the color. Generally speaking, the higher the brightness, the lighter the color, the closer to white, the lower the brightness, the closer the color is to black; the hue, the appearance of the color, That is, the monochromatic composition of the visible spectrum; saturation, also known as the solid color, is the concentration of the color, or the degree of vividness.
  • all the colors on the screen of a smart terminal such as a computer are basically mixed by the red, green and blue color lights in different proportions.
  • RGB red, green, and blue
  • RGB is designed from the principle of color illuminating. It is customary to say that its color mixing method is like red, green and blue. When their lights are superimposed on each other, the colors are mixed, but the brightness is equal to The sum of the brightness of the two, the higher the blending brightness, the additive blending.
  • the RGB value of the picture the color effect of the picture can be adjusted.
  • the present invention provides an image color adjustment system and a color adjustment method for an intelligent terminal, which can realize the technical effect of applying the color effect of the target picture selected by the user to the picture to be processed by the user. It is possible to synthesize a new picture based on the target picture and the image to be processed, so as to have the genetic information of the color of the target picture and the shape of the image to be processed, that is, the image to be processed does not change the shape information expressed by itself. In the case, the overall color tone of the target picture is learned, that is, the color migration synthesis of the image is realized.
  • an aspect of the present invention is to provide an image color adjustment method, including: acquiring a target picture; parsing the target picture, acquiring color data of the target picture; and importing the color data to the smart terminal Image processing module; applying the color data to a picture to be processed.
  • the image color adjustment method further includes: after acquiring color data of the target image, displaying the color data in a display interface of the smart terminal, and sending a modification request to the outside; when capturing a modified instruction action Modifying the color data to obtain corrected color data, importing the modified color data to the image processing module; and directly capturing the color data to the image processing module when capturing an unmodified instruction action.
  • the image color adjustment method further includes: after acquiring the color data of the target image, temporarily storing the color data, and sending a storage request to the outside, and when capturing a storage instruction, the smart terminal issues a name. And requesting, according to a feedback information, naming the color data, and associating the color data with the name of the color data, and storing the name in the storage module of the smart terminal.
  • the image color adjustment method further includes: after applying the color data to a to-be-processed image, selecting a target area of the image to be processed, parsing a color of the target area, and acquiring a color of the target area. Data, displaying the color data on a display interface of the smart terminal, triggering the color data, starting a revision mode, revising the color data, obtaining revised color data, applying the revised color data, and obtaining a revised Pending image.
  • the color data includes hue, brightness, and saturation.
  • Another aspect of the present invention is to provide an image color adjustment system for an intelligent terminal, comprising the following module, an image reading module, reading a target photo in the smart terminal, and displaying the target on the smart terminal
  • An image parsing module is connected to the image reading communication, parses the target image, obtains color data of the target image, and sends the color data outward; and the data input module communicates with the image parsing module Connecting, receiving and importing the color information; the image processing module is in communication with the data entry module, reads the color information, and converts to the image to be processed.
  • the image color adjustment system further includes a data display module connected to the image analysis communication.
  • Receiving the color data displaying on the display interface of the smart terminal, and sending a modification request to the outside;
  • the first instruction module captures an operation action on the smart terminal, generates a modification instruction, and sends the modification instruction;
  • the information modification module is communicatively connected with the first instruction module, receives the modification instruction, converts the color data into a modifiable mode, and sends the modified corrected color data outward; the data entry module, and the The information modification module communication connection receives and records the corrected color data;
  • the image processing module reads the corrected color data and converts to the to-be-processed picture.
  • the image color adjustment system further includes a storage module, is in communication with the image parsing module, receives the color data, and sends a storage request to the outside; and the second instruction module captures an operation action on the smart terminal.
  • the storage module is in communication connection with the second instruction module, receives the storage instruction, sends a naming request, and captures an operation action on the smart terminal, And storing the color data; or receiving the non-storage instruction to delete the temporarily stored color data.
  • the image color adjustment system further includes: an area selection module, communicably connected to the image reading module, and selecting a target area according to the instruction; the image analysis module parses the color of the target area, and acquires the target area The area color data; the data display module displays the area color data on the display interface of the smart terminal; the first instruction module captures an operation action on the smart terminal, generates a part of the modification instruction, and sends the area Receiving, by the information modification module, the partial modification instruction, converting the area color data into a modifiable mode, and transmitting the modified correction area color data; the data entry module receiving and inputting the correction area Color data; the image processing module reads the correction area color data and applies to the to-be-processed picture.
  • an area selection module communicably connected to the image reading module, and selecting a target area according to the instruction
  • the image analysis module parses the color of the target area, and acquires the target area The area color data
  • the data display module displays the area color data on the display interface of the smart terminal
  • the color data includes hue, brightness and saturation.
  • the present invention can realize the extraction of color data in an existing picture by setting a corresponding image parsing module in the smart terminal;
  • the present invention can realize the technical effect of applying the color effect of the target picture selected by the user to the picture to be processed by the user by setting a corresponding image processing module in the smart terminal;
  • the technical method in the present invention can realize synthesizing a new picture based on the target picture and the picture to be processed, so as to have the genetic information of the color of the target picture and the shape of the picture to be processed at the same time;
  • the present invention can further perform overall or partial region revision on the processed image to be processed to obtain a color picture more in line with user characteristics.
  • FIG. 1 is a schematic flow chart of an image color adjustment method based on a smart terminal according to a preferred embodiment of the present invention
  • FIG. 2 is a structural diagram of an image color adjustment system of a smart terminal in accordance with a preferred embodiment of the present invention.
  • an aspect of the present invention provides an image color adjustment method based on a smart terminal, which includes the steps of: acquiring a target image; parsing the target image, acquiring color data of the target image; and importing the color data to An image processing system of the smart terminal; converting the color data to a picture to be processed.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the saving method of the smart terminal can be used, for example, long press the image to select
  • the image is saved as a shortcut key, etc., and the picture is saved to the local storage of the smart terminal; or the picture may not be downloaded, and the picture is only opened in the smart terminal, and temporarily stored in the temporary terminal of the smart terminal.
  • the target image for the user to perform subsequent operations In the storage space, the target image for the user to perform subsequent operations.
  • the image analysis module converts the visual color information into color data information readable by an intelligent terminal such as a computer, for example, corresponding to data values expressed by color spaces such as RGB, HSV, HSL, and Lab.
  • an intelligent terminal such as a computer
  • RGB, HSV, HSL, and Lab for example, corresponding to data values expressed by color spaces
  • RGB, HSV, HSL, and Lab for example, corresponding to data values expressed by color spaces
  • the color data includes information such as hue, brightness, and saturation of the picture.
  • the image parsing module of the smart terminal may analyze the specific color information of the target photo, such as hue, brightness, and saturation observed by the human eye, based on the color space configured in the smart terminal. Corresponding computer-readable data information is sent out and the specific color data parsed is sent out.
  • the data entry module of the smart terminal is in communication with the image parsing module, and the smart terminal receives the color data read and sent by the image parsing module through the data entry module, and records the smart data into the smart In the terminal, for example, after the data entry module receives the color data, compare the parameter names of the color data with the parameter names of the color data stored in the image processing system of the smart terminal, and The specific parameter value of the color data is entered under the parameter name. Thus, a set of color data values can be obtained.
  • the image processing module of the smart terminal determines a linear transformation according to statistical analysis of the colored image, and adopts a set of color migration formulas suitable for each color component to realize the color between the images. Color migration. Thereby, the color effect of the target picture is applied to the technical effect of the picture to be processed.
  • the present invention can realize the color information in the parsed image and convert it into a specific color parameter value corresponding to the color space, thereby synthesizing a new image based on the target image and the to-be-processed image to have the target image at the same time. Genetic information such as the color and shape of the image to be processed.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the user can not only freely utilize the color data of the photo or the picture that is randomly acquired, but also further modify the color data to obtain a picture more in line with the user's personality.
  • the specific implementation is as follows:
  • the saving method of the smart terminal can be used, for example, long press the image to select
  • the image is saved as a shortcut key, etc., and the picture is saved to the local storage of the smart terminal; or the picture may not be downloaded, and the picture is only opened in the smart terminal, and temporarily stored in the temporary terminal of the smart terminal.
  • the target image for the user to perform subsequent operations In the storage space, the target image for the user to perform subsequent operations.
  • the image analysis module provided in the smart terminal may be used to convert the visual color information into color data information readable by a smart terminal such as a computer, for example, Corresponds to data values expressed in color spaces such as RGB, HSV, HSL, and Lab. Among them, it should be understood that the above several color spaces can be interchanged by operation rules.
  • the color data includes information such as hue, brightness, and saturation of the picture.
  • the image parsing module of the smart terminal may analyze the specific color information of the target photo, such as hue, brightness, and saturation observed by the human eye, based on the color space configured in the smart terminal. Corresponding computer-readable data information is sent out and the specific color data parsed is sent out.
  • the image processing system of the smart terminal sends the color data to the outside after parsing the color data of the target photo.
  • the data display module of the smart terminal receives the color data, And displayed on the display screen of the smart terminal.
  • the data display module is implemented in the smart terminal, and the color data of the target photo is further displayed in the interface that currently displays the target photo. For example, on the right side, the left side, the upper side or the lower side of the interface, the color data is listed, including the name of the color parameter and the specific color parameter value.
  • the data display module of the smart terminal sends a modification request to the smart terminal, and the smart terminal receives the modification request, and displays the modification request in the current display interface of the smart terminal.
  • the modification request may be displayed in a dialog box in a display interface of the smart terminal, and the dialog box asks whether the user accepts by setting yes, no, or a good or bad opposite phrase form.
  • the modification request determines whether the user needs to modify the color data.
  • the first instruction module of the smart terminal senses the operation of the user on the smart terminal. Comparing the content of the instruction corresponding to the operation, for example, sensing that the user selects a yes or a positive word, the user can select the modification by comparing the content of the instruction corresponding to the preset word.
  • the color data the first instruction module generates a modification instruction, and sends the modification instruction; and if the user selects a negative word such as no or bad in the dialog box of the current display interface of the smart terminal,
  • the first instruction module of the smart terminal senses the operation of the user on the smart terminal, and compares the instruction content corresponding to the operation, for example, if the user selects a negative word such as no or bad, Comparing the preset instruction content corresponding to the word, it can be known that the user chooses not to modify the color data, so that the first instruction module does not perform any operation. .
  • the information modification module of the smart terminal may receive the modification instruction, and correspondingly, The color data displayed by the current interface of the smart terminal is converted into a modifiable mode, and the user can wake up the modified state of the color parameter by, for example, long pressing a color parameter value according to his or her preference or demand.
  • the color parameter value can be increased or decreased, and the above operation is repeated for a plurality of color parameter values, so that the modification of the color parameter can be realized. Further modification of the color data is achieved.
  • the instruction to complete the modification may be sent to the information modification module of the smart terminal by using a shortcut key such as selecting completion, and the information modification module of the smart terminal receives the completion modification. After the instruction, the modified corrected color data is sent out.
  • the data entry module of the smart terminal is further connected to the information modification module, and the smart terminal receives the modified color data sent by the information modification module by using the data entry module, and inputs the corrected color data into the smart terminal. For example, after the data entry module receives the color data, compare the parameter names of the color data with the parameter names of the color data stored in the image processing system of the smart terminal, and correspondingly Enter the specific parameter value of the color data under the parameter name. Thus, a set of color data values can be obtained.
  • the image processing module of the smart terminal determines a linear transformation according to statistical analysis of the colored image, and adopts a set of color migration formulas suitable for each color component to realize image color between Color migration. Thereby, the color effect of the target picture is applied to the technical effect of the picture to be processed.
  • the image color adjustment method of the embodiment can not only obtain color data of any picture or photo, but also modify the color data according to the user's own preferences, thereby obtaining a picture color effect more suitable for the user's needs.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the user can not only obtain the color data of any picture or photo, but also the user can selectively store the color data of any picture or photo in the storage unit of the smart terminal. In order to use it multiple times.
  • the saving method of the smart terminal can be used, for example, long press the image to select
  • the image is saved as a shortcut key, etc., and the picture is saved to the local storage of the smart terminal; or the picture may not be downloaded, and the picture is only opened in the smart terminal, and temporarily stored in the temporary terminal of the smart terminal.
  • the target image for the user to perform subsequent operations In the storage space, the target image for the user to perform subsequent operations.
  • the image analysis module converts the visual color information into color data information readable by an intelligent terminal such as a computer, for example, corresponding to data values expressed by color spaces such as RGB, HSV, HSL, and Lab. Among them, it should be understood that the above several color spaces can be interchanged by operation rules.
  • the color data includes information such as hue, brightness, and saturation of the picture.
  • the image parsing module of the smart terminal may analyze the specific color information of the target photo, such as hue, brightness, and saturation observed by the human eye, based on the color space configured in the smart terminal. Corresponding computer-readable data information is sent out and the specific color data parsed is sent out.
  • the storage module of the smart terminal is also connected to the image parsing module, and can receive the color data and temporarily store the color data.
  • the color data is described, and at the same time, a storage request is sent out.
  • the smart terminal will pass in its current display interface, such as jumping out of a dialog box, to remind the user to store the color data, and the user can select the dialog box, if yes, No, good or bad shortcut keys, and other operational forms, feedback an operation information to the smart terminal.
  • the second instruction module of the smart terminal senses the operation of the smart terminal by the user, and further determines whether the user selects to store the color data according to the operation of the smart terminal by the user, thereby generating A store instruction. For example, if the second instruction module senses that the user triggers a yes or a positive word, the user is determined to pre-save the color data, and then generate a Storing an instruction to send out; if the second instruction module senses that the user has triggered a negative word such as no or bad, the user is not compared with the content of the instruction corresponding to the preset word. To save the color data, no action is taken.
  • the storage module of the smart terminal is communicatively connected to the second instruction module, and the storage module can receive the storage instruction issued by the second instruction module, and send a naming request, the smart After receiving the naming request, the terminal may display the naming request by jumping out of a dialog box in the current display interface of the smart terminal, and the user may fill in the naming of the color data in the dialog box.
  • the storage module corresponds to the color data and the name, and is stored in the storage module. Or receiving the non-storage instruction, The temporarily stored color data is deleted.
  • the method of using the locally stored color data may be selected, for example, in the image processing program carried or installed by the smart terminal itself. Retrieving the color data stored in the storage module. At this time, the user needs to select the naming of the color data in the locally stored color data list, and the storage module senses the user's operation on the smart terminal, and the user is The selected naming is compared with the naming stored in the storage module, thereby extracting corresponding color data and transmitting it.
  • the data entry module of the smart terminal is further connected to the storage module, and the smart terminal receives the modified color data sent by the storage module through the data entry module, and inputs the corrected color data into the smart terminal. For example, after the data entry module receives the color data, the parameter names of the color data are compared with the parameter names of the color data stored in the image processing system of the smart terminal, and the corresponding parameter names are The specific parameter values of the color data are entered. Thus, a set of color data values can be obtained.
  • the image processing module of the smart terminal determines a linear transformation according to statistical analysis of the colored image, and adopts a set of color migration formulas suitable for each color component to realize image color between Color migration. Thereby, the color effect of the target picture is applied to the technical effect of the picture to be processed.
  • the embodiment implements the technical data that the user satisfaction color data is stored in the smart terminal, and can be repeatedly used repeatedly, thereby avoiding the cumbersome work of the user repeatedly extracting the picture or the color data, and improving the working efficiency and the user experience of the smart terminal. .
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • the embodiment further provides a solution for modifying a part of the area to be processed, which specifically includes the following steps:
  • the user After the processing of the image is completed, the user considers that the color application of the image after the color transfer is unreasonable, for example, if the contrast is too high or too low, and the color brightness is too high or too low, the user can pass. If the location of the target area in the screen is long pressed, or the area selection tool is selected to select the target area, the area selection module in the smart terminal senses the operation of the smart terminal by the user, further selects the target area, and reads the The coordinate information of the target area is sent out.
  • the image parsing module of the smart terminal in the embodiment is further connected to the area selection module, and the image parsing module receives the coordinate information, thereby parsing and acquiring color data in the target area of the corresponding coordinate information. And send the color data of the area to the outside.
  • the data display module of the smart terminal receives the area color data and displays it under the display screen of the smart terminal.
  • the data display module is implemented in the smart terminal, and the color data of the target area is further displayed in the interface that currently displays the to-be-processed picture.
  • the area color data is listed, including the name of the color parameter and the specific color parameter value.
  • the user may further trigger and send an active modification instruction to the smart terminal by using a modified shortcut key or the like, and the first instruction module of the smart terminal senses the operation of the user on the smart terminal. If the content of the instruction corresponding to the operation is obtained, for example, if the user touches the modified shortcut key, the user can select to modify the color data of the area by comparing the content of the instruction corresponding to the preset word. Then the first instruction module generates a modification instruction and sends it out.
  • the information modification module of the smart terminal may receive the modification instruction, and correspondingly, convert the area color data displayed by the current interface of the smart terminal into a modifiable mode, and the user may according to his own preferences or needs.
  • the color parameter can be realized more Modifications. Further modification of the color data is achieved.
  • the instruction to complete the modification may be sent to the information modification module of the smart terminal by using a shortcut key such as selecting completion, and the information modification module of the smart terminal receives the completion modification. After the instruction, the modified corrected color data is sent out.
  • the image processing module of the smart terminal can directly apply the image to be processed to the image to be processed. In the target area, thereby obtaining a picture more in line with the user's personality.
  • the embodiment further provides a re-amending scheme for the picture after the color transfer, thereby further improving the user experience.
  • another aspect of the present invention is to provide an image color adjustment system for an intelligent terminal, which includes the following modules, an image reading module, an image analysis module, a data entry module, and an image processing module.
  • an image reading module includes the following modules, an image reading module, an image analysis module, a data entry module, and an image processing module.
  • Reading a target photo in the smart terminal and displaying it on a display interface of the smart terminal when the user browses a webpage, a friend circle, a QQ space, or a microblog, the image reading module may display the image display in the webpage or the like on the smart terminal with a certain color tone, color, size, or the like. In the display interface.
  • the saving method of the smart terminal such as long pressing the photo, selecting the image as a shortcut key, etc., is saved to the smart terminal.
  • the photo is opened only in the smart terminal, and temporarily stored in a temporary storage space of the smart terminal, in preparation for the user to perform a target photo of the subsequent operation.
  • the image analysis module of the intelligent terminal converts the visual color information into color data information readable by an intelligent terminal such as a computer, for example, corresponding to data values expressed by color spaces such as RGB, HSV, HSL, and Lab.
  • an intelligent terminal such as a computer
  • RGB, HSV, HSL, and Lab for example, corresponding to data values expressed by color spaces
  • the color data includes information such as hue, brightness, and saturation of the picture.
  • the image parsing module of the smart terminal may analyze the specific color information of the target photo, such as hue, brightness, and saturation observed by the human eye, based on the color space configured in the smart terminal. Corresponding computer-readable data information is sent out and the specific color data parsed is sent out.
  • the smart terminal receives the color data read and sent by the image parsing module through the data entry module, and inputs the color data into the smart terminal, for example, the data entry module receives the After the color data, the parameter names of the color data are compared with the parameter names of the color data stored in the image processing system of the smart terminal, and the specific parameter values of the color data are entered under the corresponding parameter names. Thus, a set of color data values can be obtained.
  • the image processing module of the smart terminal determines a linear transformation according to statistical analysis of the colored image, and implements a color of the color by using a set of color migration formulas suitable for each color component. The color shift between. Thereby, the color effect of the target picture is applied to the technical effect of the picture to be processed.
  • the method includes:
  • the image processing system of the smart terminal After the color data of the target photo is obtained, the color data is sent out, and the data display module of the smart terminal receives the color data and displays it under the display screen of the smart terminal.
  • the data display module is implemented in the smart terminal, and the color data of the target photo is further displayed in the interface that currently displays the target photo. For example, on the right side, the left side, the upper side or the lower side of the interface, the color data is listed, including the name of the color parameter and the specific color parameter value.
  • the data display module of the smart terminal sends a modification request to the smart terminal, and the smart terminal receives the modification request, and displays the modification request in the current display interface of the smart terminal.
  • the modification request may be displayed in the form of a dialog box.
  • the dialog box is configured to check whether the user accepts the modification request by setting yes, no, or good, bad, and the like, to determine whether the user needs the color data. to modify.
  • a modification command is generated and sent out; specifically, in this embodiment, if the user selects a yes or a positive in the dialog box of the current display interface of the smart terminal,
  • the first instruction module of the smart terminal senses the user's operation on the smart terminal, and compares the instruction content corresponding to the operation, for example, if the user selects a yes or a positive word, By comparing the content of the instruction corresponding to the preset word, it can be known that the user selects to modify the color data, and the first instruction module generates a modification instruction and sends the modification instruction; and if the user is in the office In the dialog box of the current display interface of the smart terminal, a negative word such as no or bad is selected, and the first instruction module of the smart terminal senses the operation of the user on the smart terminal, and the comparison corresponds to the operation.
  • the content of the instruction for example, sensing a negative word such as whether the user selects no or is not good, can be known by comparing with the content of the instruction corresponding to the preset word. The user selects not modify the color data, whereby the first instruction module does not perform any operation.
  • the information modification module of the smart terminal may receive the modification instruction, and correspondingly, convert the color data displayed by the current interface of the smart terminal into a modifiable mode, then, the user
  • the modification state of the color parameter may be awakened by, for example, long pressing a color parameter value, thereby increasing or decreasing the color parameter value, and repeating the above operation on the plurality of color parameter values, Modifications to many color parameters can be achieved. Further modification of the color data is achieved.
  • the instruction to complete the modification may be sent to the information modification module of the smart terminal by using a shortcut key such as selecting completion, and the information modification module of the smart terminal receives the completion modification. After the instruction, the modified corrected color data is sent out.
  • the data entry module of the smart terminal is further connected to the information modification module, and the smart terminal receives the corrected color data sent by the information modification module by using the data entry module, and inputs the modified color data into the In the smart terminal, for example, after the data entry module receives the color data, the parameter names of the color data are compared with the parameter names of the color data stored in the image processing system of the smart terminal, and The specific parameter value of the color data is entered under the corresponding parameter name. Thus, a set of color data values can be obtained.
  • the image processing module of the smart terminal determines a linear transformation according to statistical analysis of the colored image, and adopts a set of color migration formulas suitable for each color component to implement Color shifting between picture colors. Thereby, the color effect of the target picture is applied to the technical effect of the picture to be processed.
  • the image processing system of the present embodiment can also implement storage of the extracted color data and repeat the extraction utilization. Specifically, it also includes:
  • the smart terminal Communicating with the image parsing module, receiving the color data, and sending a storage request to the outside; specifically, in the embodiment, after the image parsing module of the smart terminal parses and sends the color data, the smart The storage module of the terminal is also in communication with the image parsing module, and can receive the color data, and temporarily store the color data, and simultaneously send a storage request. After receiving the storage request, the smart terminal will pass in its current display interface, such as jumping out of a dialog box, to remind the user to store the color data, and the user can select the dialog box, if yes, No, good or bad shortcut keys, and other operational forms, feedback an operation information to the smart terminal.
  • the smart terminal will pass in its current display interface, such as jumping out of a dialog box, to remind the user to store the color data, and the user can select the dialog box, if yes, No, good or bad shortcut keys, and other operational forms, feedback an operation information to the smart terminal.
  • the second instruction module of the smart terminal senses operation of the smart terminal by the user, and further And determining, according to an operation of the smart terminal by the user, whether the user selects to store the color data, thereby generating a storage instruction. For example, if the second instruction module senses that the user triggers a yes or a positive word, the user is determined to pre-save the color data, and then generate a Storing an instruction to send out; if the second instruction module senses that the user has triggered a negative word such as no or bad, the user is not compared with the content of the instruction corresponding to the preset word. To save the color data, no action is taken.
  • the storage module of the smart terminal is communicatively connected to the second instruction module, and the storage module can receive the storage instruction issued by the second instruction module, and send a naming request, the smart After receiving the naming request, the terminal may display the naming request by jumping out of a dialog box in the current display interface of the smart terminal, and the user may fill in the naming of the color data in the dialog box.
  • the storage module corresponds to the color data and the name, and is stored in the storage module. Or receiving the non-storage instruction to delete the temporarily stored color data.
  • the number of colors stored locally may be selected, for example, in the image processing program carried or installed by the smart terminal itself. According to the manner, the color data stored in the storage module is called. At this time, the user needs to select the naming of the color data in the locally stored color data list, and the storage module senses the operation of the user on the smart terminal. The user-selected naming is compared with the naming stored in the storage module, thereby extracting corresponding color data and transmitting it. Further, by using the data entry module and the image processing module to cooperate, the technical effect of transferring the stored color data to the to-be-processed image again can be realized.
  • the embodiment further provides a solution for modifying a part of the area to be processed, which specifically includes the following modules:
  • the image parsing module parses the color of the target area to obtain the area color data of the target area, and the data display module is displayed on the display interface of the smart terminal. Displaying the area color data; the first instruction module senses operation of the smart terminal, generates a part of the modification instruction, and sends the part; the information modification module receives the partial modification instruction, and converts the area color data a modified mode, and the modified corrected area color data is sent out; the data entry module receives and records the modified area color data; the image processing module reads the corrected area color data, and applies to The picture to be processed. Further revisions to the pending image that have completed the color transfer can be achieved.
  • the present invention can be used to extract color data in an existing image by setting a corresponding image parsing module in the smart terminal.
  • the present invention can be implemented by setting a corresponding image processing module in the smart terminal.
  • the color effect of the target picture is applied to the technical effect of the picture to be processed by the user; the technical method in the present invention can realize a new picture based on the target picture and the picture to be processed, so that the color of the target picture is simultaneously
  • the genetic information such as the shape of the image to be processed; the present invention may further modify the processed image to be processed in whole or in part to obtain a color picture more in line with the user's characteristics.
  • the various image processing methods listed in the foregoing embodiments of the present invention may be applied not only separately but also crosswise or simultaneously.
  • the modified color data modified by the user may be stored in the The storage module of the smart terminal is retrieved from the storage module and used again for the filter to take a picture.

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

An image color adjustment system and color adjustment method for a smart terminal. The method comprises acquiring a target picture; parsing the target picture, and acquiring color data of the target picture; importing the color data to an image processing module of the smart terminal; and applying the color data to a picture to be processed. The present invention can realize a technical effect of applying the color effect of a target picture selected by a user to a picture to be processed by the user. Namely, the present invention can realize synthesis of a new picture on the basis of the target picture and the picture to be processed, so that the new picture has genetic information, such as both the color of the target picture and the shape of the picture to be processed.

Description

一种智能终端的图像色彩调节系统及色彩调节方法Image color adjustment system and color adjustment method of intelligent terminal 技术领域Technical field
本发明涉及图像处理技术领域,尤其涉及一种智能终端的图像色彩调节系统及色彩调节方法。The present invention relates to the field of image processing technologies, and in particular, to an image color adjustment system and a color adjustment method of an intelligent terminal.
背景技术Background technique
随着科学技术的发展和进步,智能终端不断进行革新。当前,智能终端因其多功能性和便携性逐渐渗入到人们生活的方方面面。特别是由于智能终端携带的摄像装置的不断发展,智能终端拍摄的照片或者影像无论是像素还是色彩上均已可以满足人们的视觉需求。从而,智能终端逐渐替代了专业的摄像设备,成为人们旅游观光时拍摄、摄像的首选工具。但是,由于阴雨天气等自然条件的影响,常使智能终端拍摄的照片在色彩等方面无法满足用户的需求。With the development and advancement of science and technology, intelligent terminals continue to innovate. At present, smart terminals are gradually infiltrating into all aspects of people's lives due to their versatility and portability. In particular, due to the continuous development of the camera device carried by the smart terminal, the photos or images taken by the smart terminal can satisfy the visual needs of people in both pixels and colors. As a result, smart terminals have gradually replaced professional camera equipment, becoming the tool of choice for people to take pictures and take pictures during sightseeing. However, due to the influence of natural conditions such as rainy weather, photos taken by smart terminals often fail to meet the needs of users in terms of color and the like.
众所周知,图片的色彩,是指一幅作品色彩外观的基本倾向,它由色彩的明度、饱和度、色相三要素中和造成的。其中,明度,也叫色度,指的是色彩的明暗程度,一般来说,明度越高,颜色越浅,越接近白色,明度越低,则颜色越接近黑色;色相,指颜色的外貌,即组成可见光谱的单色;饱和度,又称纯色,就是色彩的浓度,或者说是鲜艳程度。目前,计算机等智能终端的屏幕上的所有颜色,基本都由这红色绿色蓝色三种色光按照不同的比例混合而成的。一组红色绿色蓝色就是一个最小的显示单位。屏幕上的任何一个颜色都可以由一组RGB值来记录和表达。RGB是从颜色发光的原理来设计定的,通俗点说它的颜色混合方式就好像有红、绿、蓝三盏灯,当它们的光相互叠合的时候,色彩相混,而亮度却等于两者亮度之总和,越混合亮度越高,即加法混合。从而,通过调节图片的RGB数值,可以调节图片的色彩效果。但是对于非摄影或者图像处理专业的用户来说,通过调节RGB数值来获得色彩效果满意的图片相对困难。As we all know, the color of a picture refers to the basic tendency of the color appearance of a work. It is caused by the neutralization of the three elements of brightness, saturation and hue. Among them, brightness, also called chromaticity, refers to the degree of lightness and darkness of the color. Generally speaking, the higher the brightness, the lighter the color, the closer to white, the lower the brightness, the closer the color is to black; the hue, the appearance of the color, That is, the monochromatic composition of the visible spectrum; saturation, also known as the solid color, is the concentration of the color, or the degree of vividness. At present, all the colors on the screen of a smart terminal such as a computer are basically mixed by the red, green and blue color lights in different proportions. A set of red, green, and blue is the smallest display unit. Any color on the screen can be recorded and expressed by a set of RGB values. RGB is designed from the principle of color illuminating. It is customary to say that its color mixing method is like red, green and blue. When their lights are superimposed on each other, the colors are mixed, but the brightness is equal to The sum of the brightness of the two, the higher the blending brightness, the additive blending. Thus, by adjusting the RGB value of the picture, the color effect of the picture can be adjusted. However, for users who are not in photography or image processing, it is relatively difficult to obtain images with satisfactory color effects by adjusting the RGB values.
目前,市场上已存在许多图像处理的应用程序,如美图秀秀、照片工坊等,可以对智能终端等获得的照片进行后期制作或者修饰。但是现有技术中的图像处理程序或者工具,其所述提供的色彩模板数量有限,且较为单一,且大都不能进行修订,若用户对色彩模板中的色相或者对比度等不甚满意,则不能进行修改,影像用户的使用体验。 At present, there are many image processing applications on the market, such as Mito Xiuxiu, photo workshops, etc., which can post-produce or modify photos obtained by smart terminals. However, in the prior art image processing program or tool, the number of color templates provided is limited, and is relatively simple, and most of them cannot be revised. If the user is not satisfied with the hue or contrast in the color template, the image processing cannot be performed. Modify, the experience of the image user.
发明内容Summary of the invention
未解决上述问题,本发明提供一种智能终端的图像色彩调节系统及色彩调节方法,可实现将用户选中的目标图片的色彩效果应用于用户待处理的图片的技术效果。即可实现基于目标图片和待处理图片,合成一幅新的图片,使其同时具有目标图片的颜色和待处理图片的形状等遗传信息,即待处理图片在不改变它自身所表达的形状信息的情况下,学习了目标图片的整体颜色基调,也即实现了图像的颜色迁移合成。The above problem is not solved. The present invention provides an image color adjustment system and a color adjustment method for an intelligent terminal, which can realize the technical effect of applying the color effect of the target picture selected by the user to the picture to be processed by the user. It is possible to synthesize a new picture based on the target picture and the image to be processed, so as to have the genetic information of the color of the target picture and the shape of the image to be processed, that is, the image to be processed does not change the shape information expressed by itself. In the case, the overall color tone of the target picture is learned, that is, the color migration synthesis of the image is realized.
具体地,本发明一方面在于,提供一种图像色彩调节方法,其包括,获取一目标图片;解析所述目标图片,获取所述目标图片的色彩数据;导入所述色彩数据至所述智能终端的图像处理模块;应用所述色彩数据至一待处理图片。Specifically, an aspect of the present invention is to provide an image color adjustment method, including: acquiring a target picture; parsing the target picture, acquiring color data of the target picture; and importing the color data to the smart terminal Image processing module; applying the color data to a picture to be processed.
优选地,上述图像色彩调节方法还包括,获取所述目标图片的色彩数据后,在所述智能终端的显示界面中显示所述色彩数据,并向外发送一修改请求;当捕获一修改指令动作,修改所述色彩数据,获得修正的色彩数据,导入所述修正的色彩数据至所述图像处理模块;当捕获一不修改指令动作,直接导入所述色彩数据至所述图像处理模块。Preferably, the image color adjustment method further includes: after acquiring color data of the target image, displaying the color data in a display interface of the smart terminal, and sending a modification request to the outside; when capturing a modified instruction action Modifying the color data to obtain corrected color data, importing the modified color data to the image processing module; and directly capturing the color data to the image processing module when capturing an unmodified instruction action.
优选地,上述图像色彩调节方法还包括,获取所述目标图片的色彩数据后,暂存所述色彩数据,并向外发送一存储请求,当捕获一存储指令动作,所述智能终端发出一命名请求,根据一反馈信息,为所述色彩数据命名,关联所述色彩数据与所述色彩数据的名称,存储于所述智能终端的存储模块。Preferably, the image color adjustment method further includes: after acquiring the color data of the target image, temporarily storing the color data, and sending a storage request to the outside, and when capturing a storage instruction, the smart terminal issues a name. And requesting, according to a feedback information, naming the color data, and associating the color data with the name of the color data, and storing the name in the storage module of the smart terminal.
优选地,上述图像色彩调节方法还包括,应用所述色彩数据至一待处理图片后,选定所述待处理图像的一目标区域,解析所述目标区域的色彩,获取所述目标区域的色彩数据,在所述智能终端的显示界面上显示所述色彩数据,触发所述色彩数据,启动修订模式,修订所述色彩数据,得到修订的色彩数据,应用所述修订的色彩数据,得到修订的待处理图片。Preferably, the image color adjustment method further includes: after applying the color data to a to-be-processed image, selecting a target area of the image to be processed, parsing a color of the target area, and acquiring a color of the target area. Data, displaying the color data on a display interface of the smart terminal, triggering the color data, starting a revision mode, revising the color data, obtaining revised color data, applying the revised color data, and obtaining a revised Pending image.
优选地,上述图像色彩调节方法中,所述色彩数据包括,色相、明度和饱和度。Preferably, in the above image color adjustment method, the color data includes hue, brightness, and saturation.
本发明另一方面在于,还提供一种智能终端的图像色彩调节系统,其包括以下模块,图像读取模块,读取所述智能终端中的目标照片,并在所述智能终端的显示界面上显示;图像解析模块,与所述图像读取通讯连接,解析所述目标图片,获得所述目标图片的色彩数据,并向外发送所述色彩数据;数据录入模块,与所述图像解析模块通讯连接,接收并导入所述色彩信息;图像处理模块,与所述数据录入模块通讯连接,读取所述色彩信息,并转换至待处理图片。Another aspect of the present invention is to provide an image color adjustment system for an intelligent terminal, comprising the following module, an image reading module, reading a target photo in the smart terminal, and displaying the target on the smart terminal An image parsing module is connected to the image reading communication, parses the target image, obtains color data of the target image, and sends the color data outward; and the data input module communicates with the image parsing module Connecting, receiving and importing the color information; the image processing module is in communication with the data entry module, reads the color information, and converts to the image to be processed.
优选地,上述图像色彩调节系统还包括,数据显示模块,与所述图像解析通讯连接, 接收所述色彩数据,在所述智能终端的显示界面上显示,并向外发送一修改请求;第一指令模块,捕获对所述智能终端的操作动作,生成一修改指令,并向外发送;信息修改模块,与所述第一指令模块通讯连接,接收所述修改指令,将所述色彩数据转换为可修改模式,并向外发送修改后的修正色彩数据;所述数据录入模块,与所述信息修改模块通讯连接,接收并录入所述修正色彩数据;所述图像处理模块读取所述修正色彩数据,并转换至待处理图片。Preferably, the image color adjustment system further includes a data display module connected to the image analysis communication. Receiving the color data, displaying on the display interface of the smart terminal, and sending a modification request to the outside; the first instruction module captures an operation action on the smart terminal, generates a modification instruction, and sends the modification instruction; The information modification module is communicatively connected with the first instruction module, receives the modification instruction, converts the color data into a modifiable mode, and sends the modified corrected color data outward; the data entry module, and the The information modification module communication connection receives and records the corrected color data; the image processing module reads the corrected color data and converts to the to-be-processed picture.
优选地,上述图像色彩调节系统还包括,存储模块,与所述图像解析模块通讯连接,接收所述色彩数据,向外发送一存储请求;第二指令模块,捕获对所述智能终端的操作动作,生成一存储指令/不存储指令,并向外发送;所述存储模块与所述第二指令模块通讯连接,接收所述存储指令,发送一命名请求,捕获对所述智能终端的操作动作,并存储所述色彩数据;或接收所述不存储指令,删除暂存的所述色彩数据。Preferably, the image color adjustment system further includes a storage module, is in communication with the image parsing module, receives the color data, and sends a storage request to the outside; and the second instruction module captures an operation action on the smart terminal. Generating a store instruction/non-storage instruction and transmitting the same; the storage module is in communication connection with the second instruction module, receives the storage instruction, sends a naming request, and captures an operation action on the smart terminal, And storing the color data; or receiving the non-storage instruction to delete the temporarily stored color data.
优选地,上述图像色彩调节系统还包括,区域选择模块,与所述图像读取模块通讯连接,根据指令选定目标区域;所述图像解析模块解析所述目标区域的色彩,获取所述目标区域的区域色彩数据;所述数据显示模块在所述智能终端的显示界面上显示所述区域色彩数据;所述第一指令模块捕获对所述智能终端的操作动作,生成一部分修改指令,向外发送;所述信息修改模块接收所述部分修改指令,将所述区域色彩数据转换为可修改模式,并向外发送修改后的修正区域色彩数据;所述数据录入模块,接收并录入所述修正区域色彩数据;所述图像处理模块读取所述修正区域色彩数据,并应用至所述待处理图片。Preferably, the image color adjustment system further includes: an area selection module, communicably connected to the image reading module, and selecting a target area according to the instruction; the image analysis module parses the color of the target area, and acquires the target area The area color data; the data display module displays the area color data on the display interface of the smart terminal; the first instruction module captures an operation action on the smart terminal, generates a part of the modification instruction, and sends the area Receiving, by the information modification module, the partial modification instruction, converting the area color data into a modifiable mode, and transmitting the modified correction area color data; the data entry module receiving and inputting the correction area Color data; the image processing module reads the correction area color data and applies to the to-be-processed picture.
优选地,上述图像色彩调节系统中,所述色彩数据包括,色相、明度和饱和度。Preferably, in the above image color adjustment system, the color data includes hue, brightness and saturation.
与现有技术相比较,本发明的技术优势在于:Compared with the prior art, the technical advantages of the present invention are:
1)本发明利用在智能终端中设置相应的图像解析等模块,可实现提取现有图片中的色彩数据;1) The present invention can realize the extraction of color data in an existing picture by setting a corresponding image parsing module in the smart terminal;
2)本发明利用在智能终端中设置相应的图像处理等模块,可实现将用户选中的目标图片的色彩效果应用于用户待处理的图片的技术效果;2) The present invention can realize the technical effect of applying the color effect of the target picture selected by the user to the picture to be processed by the user by setting a corresponding image processing module in the smart terminal;
3)本发明中的技术方法,可实现基于目标图片和待处理图片,合成一幅新的图片,使其同时具有目标图片的颜色和待处理图片的形状等遗传信息;3) The technical method in the present invention can realize synthesizing a new picture based on the target picture and the picture to be processed, so as to have the genetic information of the color of the target picture and the shape of the picture to be processed at the same time;
4)本发明进一步还可以对处理后的待处理图片进行整体或者部分区域修订,获得更加符合用户特性的色彩图片。4) The present invention can further perform overall or partial region revision on the processed image to be processed to obtain a color picture more in line with user characteristics.
附图说明 DRAWINGS
图1为符合本发明一优选实施例的基于智能终端的图像色彩调节方法的流程示意图;1 is a schematic flow chart of an image color adjustment method based on a smart terminal according to a preferred embodiment of the present invention;
图2为符合本发明一优选实施例的智能终端的图像色彩调节系统的结构图。2 is a structural diagram of an image color adjustment system of a smart terminal in accordance with a preferred embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图及具体实施例,详细阐述本发明的优势。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。The advantages of the present invention are explained in detail below with reference to the accompanying drawings and specific embodiments. The following description refers to the same or similar elements in the different figures unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with aspects of the present disclosure as detailed in the appended claims.
参见图1,本发明一方面提供一种基于智能终端的图像色彩调节方法,其包括以下步骤:获取目标图片;解析所述目标图片,获取所述目标图片的色彩数据;导入所述色彩数据至所述智能终端的图像处理系统;转换所述色彩数据至待处理图片。Referring to FIG. 1 , an aspect of the present invention provides an image color adjustment method based on a smart terminal, which includes the steps of: acquiring a target image; parsing the target image, acquiring color data of the target image; and importing the color data to An image processing system of the smart terminal; converting the color data to a picture to be processed.
下面结合实际应用情况,详细说明本发明中图像处理方法的应用。The application of the image processing method in the present invention will be described in detail below in conjunction with actual application.
实施例一:Embodiment 1:
-获取目标图片- Get the target image
当用户在浏览网页、朋友圈、QQ空间或者微博时,当发现某张图片的色彩搭配、色彩对比度等非常喜欢时,则可通过所述智能终端的保存方法,如,长按该图片,选择图片另存为快捷键等,将该图片保存至智能终端的本地存储中;或者也可以不下载该图片,仅在所述智能终端中打开该图片,将其暂存于所述智能终端的一临时存储空间中,以备用户进行后续的操作的目标图片。When the user browses the webpage, the circle of friends, the QQ space or the microblog, when the color matching, the color contrast, and the like of a certain image are found, the saving method of the smart terminal can be used, for example, long press the image to select The image is saved as a shortcut key, etc., and the picture is saved to the local storage of the smart terminal; or the picture may not be downloaded, and the picture is only opened in the smart terminal, and temporarily stored in the temporary terminal of the smart terminal. In the storage space, the target image for the user to perform subsequent operations.
-解析目标图片,获取目标图片的色彩数据- Parse the target image to get the color data of the target image
用户将所述目标照片存储于所述智能终端的本地后,或者打开并将所述目标照片暂存于所述智能终端的临时存储空间中后,进一步地,可利用设置于所述智能终端的图像解析模块,将视觉上的色彩信息转换为计算机等智能终端可读的色彩数据信息,如,对应于RGB、HSV、HSL、Lab等色彩空间所表达的数据值。其中,应当理解的是,上述几个色彩空间之间是可以通过运算规律相互装换的,几种常用颜色在上述空间中的数据值如下表所示:After the user stores the target photo in the local area of the smart terminal, or opens and temporarily stores the target photo in the temporary storage space of the smart terminal, further, the user can use the smart terminal. The image analysis module converts the visual color information into color data information readable by an intelligent terminal such as a computer, for example, corresponding to data values expressed by color spaces such as RGB, HSV, HSL, and Lab. Among them, it should be understood that the above several color spaces can be interchanged by operation rules, and the data values of several common colors in the above space are as follows:
名称name L明度L brightness a通道a channel b通道b channel R红R red G绿G green B蓝B blue H色调H tone
洋红Magenta 5656 8484 00 255255 00 138138 328328
朱红red 5858 7171 7171 255255 6363 00 1515
yellow 8989 00 8888 255255 222222 00 5252
莱姆绿Lyme Green 8888 -79-79 7979 00 255255 22twenty two 125125
绿green 9090 -57-57 00 00 255255 223223 172172
青蓝Blue 7878 -34-34 -34-34 00 213213 255255 190190
blue 5858 00 -66-66 00 143143 255255 206206
purple 4848 8282 -82-82 182182 00 255255 283283
其中,优选地,本实施例中,所述色彩数据包括图片的色相、明度和饱和度等信息。Preferably, in this embodiment, the color data includes information such as hue, brightness, and saturation of the picture.
本实施例中,所述智能终端的图像解析模块可将人眼视力所观察到的色相、明度、饱和度等所述目标照片中等具体色彩信息,基于所述智能终端中配置的色彩空间,解析为相应的计算机可读的数据信息,并将所解析的具体色彩数据向外发送。In this embodiment, the image parsing module of the smart terminal may analyze the specific color information of the target photo, such as hue, brightness, and saturation observed by the human eye, based on the color space configured in the smart terminal. Corresponding computer-readable data information is sent out and the specific color data parsed is sent out.
-导入色彩数据至智能终端- Import color data to smart terminal
所述智能终端的数据录入模块与所述图像解析模块通讯连接,所述智能终端通过所述数据录入模块接收所述图像解析模块读取并发送的所述色彩数据,并将其录入所述智能终端中,如,所述数据录入模块接收到所述色彩数据后,将所述色彩数据各参数名称与所述智能终端图像处理系统中存储的色彩数据的参数名称进行一一比对,并在对应参数名称下录入所述色彩数据的具体参数数值。从而,可获得一组色彩数据值。The data entry module of the smart terminal is in communication with the image parsing module, and the smart terminal receives the color data read and sent by the image parsing module through the data entry module, and records the smart data into the smart In the terminal, for example, after the data entry module receives the color data, compare the parameter names of the color data with the parameter names of the color data stored in the image processing system of the smart terminal, and The specific parameter value of the color data is entered under the parameter name. Thus, a set of color data values can be obtained.
-转换色彩数据至待处理图片- Convert color data to pending image
所述智能终端获取所述色彩数据后,所述智能终端的图像处理模块,根据着色图像的统计分析确定一个线性变换,采用一组适用于各颜色分量的色彩迁移公式,实现图片色彩之间的色彩迁移。从而,将目标图片的色彩效果应用于待处理的图片的技术效果。After the smart terminal acquires the color data, the image processing module of the smart terminal determines a linear transformation according to statistical analysis of the colored image, and adopts a set of color migration formulas suitable for each color component to realize the color between the images. Color migration. Thereby, the color effect of the target picture is applied to the technical effect of the picture to be processed.
可见,本发明可实现解析图片中的色彩信息,并将其转换为对应色彩空间的具体色彩参数数值,从而,基于目标图片和待处理图片,合成一幅新的图片,使其同时具有目标图片的颜色和待处理图片的形状等遗传信息。It can be seen that the present invention can realize the color information in the parsed image and convert it into a specific color parameter value corresponding to the color space, thereby synthesizing a new image based on the target image and the to-be-processed image to have the target image at the same time. Genetic information such as the color and shape of the image to be processed.
实施例二:Embodiment 2:
与实施例一中不同的是,本实施的方法中,用户不仅可以自由利用随意获取的照片或者图片的色彩数据,而且还可以进一步地对上述色彩数据进行修改,从而获取更加符合用户个性的图片。具体实施方式如下:Different from the first embodiment, in the method of the present embodiment, the user can not only freely utilize the color data of the photo or the picture that is randomly acquired, but also further modify the color data to obtain a picture more in line with the user's personality. . The specific implementation is as follows:
-获取目标图片- Get the target image
当用户在浏览网页、朋友圈、QQ空间或者微博时,当发现某张图片的色彩搭配、色彩对比度等非常喜欢时,则可通过所述智能终端的保存方法,如,长按该图片,选择图片另存为快捷键等,将该图片保存至智能终端的本地存储中;或者也可以不下载该图片,仅在所述智能终端中打开该图片,将其暂存于所述智能终端的一临时存储空间中,以备用户进行后续的操作的目标图片。When the user browses the webpage, the circle of friends, the QQ space or the microblog, when the color matching, the color contrast, and the like of a certain image are found, the saving method of the smart terminal can be used, for example, long press the image to select The image is saved as a shortcut key, etc., and the picture is saved to the local storage of the smart terminal; or the picture may not be downloaded, and the picture is only opened in the smart terminal, and temporarily stored in the temporary terminal of the smart terminal. In the storage space, the target image for the user to perform subsequent operations.
-解析目标图片,获取目标图片的色彩数据- Parse the target image to get the color data of the target image
用户将所述目标照片存储于所述智能终端的本地后,或者打开并将所述目标照片暂 存于所述智能终端的临时存储空间中后,进一步地,可利用设置于所述智能终端的图像解析模块,将视觉上的色彩信息转换为计算机等智能终端可读的色彩数据信息,如,对应于RGB、HSV、HSL、Lab等色彩空间所表达的数据值。其中,应当理解的是,上述几个色彩空间之间是可以通过运算规律相互装换的。After the user stores the target photo in the local area of the smart terminal, or opens and temporarily pauses the target photo After being stored in the temporary storage space of the smart terminal, the image analysis module provided in the smart terminal may be used to convert the visual color information into color data information readable by a smart terminal such as a computer, for example, Corresponds to data values expressed in color spaces such as RGB, HSV, HSL, and Lab. Among them, it should be understood that the above several color spaces can be interchanged by operation rules.
其中,优选地,本实施例中,所述色彩数据包括图片的色相、明度和饱和度等信息。Preferably, in this embodiment, the color data includes information such as hue, brightness, and saturation of the picture.
本实施例中,所述智能终端的图像解析模块可将人眼视力所观察到的色相、明度、饱和度等所述目标照片中等具体色彩信息,基于所述智能终端中配置的色彩空间,解析为相应的计算机可读的数据信息,并将所解析的具体色彩数据向外发送。In this embodiment, the image parsing module of the smart terminal may analyze the specific color information of the target photo, such as hue, brightness, and saturation observed by the human eye, based on the color space configured in the smart terminal. Corresponding computer-readable data information is sent out and the specific color data parsed is sent out.
-发送修改请求- Send a modification request
本实施例中,所述智能终端的图像处理系统,在解析获得所述目标照片的色彩数据后,将向外发送所述色彩数据,所述智能终端的数据显示模块接收所述色彩数据后,并将其显示于所述智能终端的显示屏幕下。具体的,本实施例中,所述数据显示模块实现在智能终端中,当前显示所述目标照片的界面中,进一步显示出所述目标照片的色彩数据。如,在该界面的右侧、左侧、上侧或者下侧,罗列出所述色彩数据,包括色彩参数的名称及具体色彩参数数值。同时,所述智能终端的数据显示模块向外发送一修改请求,所述智能终端接收所述修改请求,并在所述智能终端的当前显示界面中显示所述修改请求。优选地,所述修改请求可以以对话框的形式显示于所述智能终端的显示界面中,所述对话框中通过设置是、否,或者好、不好等对立的词组形式,询问用户是否接受所述修改请求,从而判断用户是否需要对所述色彩数据进行修改。In this embodiment, the image processing system of the smart terminal sends the color data to the outside after parsing the color data of the target photo. After the data display module of the smart terminal receives the color data, And displayed on the display screen of the smart terminal. Specifically, in the embodiment, the data display module is implemented in the smart terminal, and the color data of the target photo is further displayed in the interface that currently displays the target photo. For example, on the right side, the left side, the upper side or the lower side of the interface, the color data is listed, including the name of the color parameter and the specific color parameter value. At the same time, the data display module of the smart terminal sends a modification request to the smart terminal, and the smart terminal receives the modification request, and displays the modification request in the current display interface of the smart terminal. Preferably, the modification request may be displayed in a dialog box in a display interface of the smart terminal, and the dialog box asks whether the user accepts by setting yes, no, or a good or bad opposite phrase form. The modification request determines whether the user needs to modify the color data.
-生成并发送修改指令- Generate and send modification instructions
本实施例中,若用户在所述智能终端的当前显示界面的对话框中选择了是或者好等肯定的词语,所述智能终端的第一指令模块感应到用户对所述智能终端的操作,比对得到所述操作所对应的指令内容,如,感应到用户选择了是或者好等肯定的词语,则通过与所预设的该词语所对应的指令内容比对,可得知用户选择修改所述色彩数据,则所述第一指令模块生成一修改指令,并向外发送;而,若用户在所述智能终端的当前显示界面的对话框中选择了否或者不好等否定的词语,所述智能终端的第一指令模块感应到用户对所述智能终端的操作,对比得到所述操作所对应的指令内容,如,感应到用户选择了否或者不好等否定的词语,则通过与所预设的该词语所对应的指令内容比对,可得知用户选择不修改所述色彩数据,从而,所述第一指令模块不进行任何操作。In this embodiment, if the user selects an affirmative word in the dialog box of the current display interface of the smart terminal, the first instruction module of the smart terminal senses the operation of the user on the smart terminal. Comparing the content of the instruction corresponding to the operation, for example, sensing that the user selects a yes or a positive word, the user can select the modification by comparing the content of the instruction corresponding to the preset word. The color data, the first instruction module generates a modification instruction, and sends the modification instruction; and if the user selects a negative word such as no or bad in the dialog box of the current display interface of the smart terminal, The first instruction module of the smart terminal senses the operation of the user on the smart terminal, and compares the instruction content corresponding to the operation, for example, if the user selects a negative word such as no or bad, Comparing the preset instruction content corresponding to the word, it can be known that the user chooses not to modify the color data, so that the first instruction module does not perform any operation. .
-修改所述色彩数据- modify the color data
本实施例中,所述智能终端的信息修改模块则可接收所述修改指令,并相应地,将 所述智能终端当前界面显示的所述色彩数据转换为可修改模式,则,用户可以根据自身喜好或者需求,通过如,长按某个色彩参数值的形式,唤醒该色彩参数的修改状态,从而,可增加或者减少该色彩参数值,对多个色彩参数值重复上述操作,则可实现对多了色彩参数的修改。进而实现对所述色彩数据的修改。用户完成所述修改后,可通过选择完成等快捷键的形式,向所述智能终端的所述信息修改模块发送完成修改的指令,则,所述智能终端的信息修改模块接收到所述完成修改的指令后,将修改后的修正色彩数据向外发送。In this embodiment, the information modification module of the smart terminal may receive the modification instruction, and correspondingly, The color data displayed by the current interface of the smart terminal is converted into a modifiable mode, and the user can wake up the modified state of the color parameter by, for example, long pressing a color parameter value according to his or her preference or demand. The color parameter value can be increased or decreased, and the above operation is repeated for a plurality of color parameter values, so that the modification of the color parameter can be realized. Further modification of the color data is achieved. After the user completes the modification, the instruction to complete the modification may be sent to the information modification module of the smart terminal by using a shortcut key such as selecting completion, and the information modification module of the smart terminal receives the completion modification. After the instruction, the modified corrected color data is sent out.
-导入色彩数据至智能终端的数据处理模块- Import color data to the data processing module of the intelligent terminal
所述智能终端的数据录入模块还与所述信息修改模块通讯连接,所述智能终端通过所述数据录入模块接收所述信息修改模块发送的所述修正色彩数据,并将其录入所述智能终端中,如,所述数据录入模块接收到所述色彩数据后,将所述色彩数据各参数名称与所述智能终端图像处理系统中存储的色彩数据的参数名称进行一一比对,并在对应参数名称下录入所述色彩数据的具体参数数值。从而,可获得一组色彩数据值。The data entry module of the smart terminal is further connected to the information modification module, and the smart terminal receives the modified color data sent by the information modification module by using the data entry module, and inputs the corrected color data into the smart terminal. For example, after the data entry module receives the color data, compare the parameter names of the color data with the parameter names of the color data stored in the image processing system of the smart terminal, and correspondingly Enter the specific parameter value of the color data under the parameter name. Thus, a set of color data values can be obtained.
-应用所述色彩数据至一待处理图片Applying the color data to a pending image
所述智能终端获取所述修正色彩数据后,所述智能终端的图像处理模块,根据着色图像的统计分析确定一个线性变换,采用一组适用于各颜色分量的色彩迁移公式,实现图片色彩之间的色彩迁移。从而,将目标图片的色彩效果应用于待处理的图片的技术效果。After the smart terminal acquires the corrected color data, the image processing module of the smart terminal determines a linear transformation according to statistical analysis of the colored image, and adopts a set of color migration formulas suitable for each color component to realize image color between Color migration. Thereby, the color effect of the target picture is applied to the technical effect of the picture to be processed.
本实施例的图像色彩调节方法,不仅可以实现获取任意图片或者照片的色彩数据,而且,还可以根据用户的自身喜好对所述色彩数据进行修改,从而,获取更加切合用户需求的图片色彩效果。The image color adjustment method of the embodiment can not only obtain color data of any picture or photo, but also modify the color data according to the user's own preferences, thereby obtaining a picture color effect more suitable for the user's needs.
实施例三:Embodiment 3:
与实施例一及二不同的是,本实施例中,用户不但可以获取任意图片或者照片的色彩数据,同时,用户可选择性的将任意图片或者照片的色彩数据存储于智能终端的存储单元中,以便多次使用。Different from the first and second embodiments, in this embodiment, the user can not only obtain the color data of any picture or photo, but also the user can selectively store the color data of any picture or photo in the storage unit of the smart terminal. In order to use it multiple times.
-获取目标图片- Get the target image
当用户在浏览网页、朋友圈、QQ空间或者微博时,当发现某张图片的色彩搭配、色彩对比度等非常喜欢时,则可通过所述智能终端的保存方法,如,长按该图片,选择图片另存为快捷键等,将该图片保存至智能终端的本地存储中;或者也可以不下载该图片,仅在所述智能终端中打开该图片,将其暂存于所述智能终端的一临时存储空间中,以备用户进行后续的操作的目标图片。 When the user browses the webpage, the circle of friends, the QQ space or the microblog, when the color matching, the color contrast, and the like of a certain image are found, the saving method of the smart terminal can be used, for example, long press the image to select The image is saved as a shortcut key, etc., and the picture is saved to the local storage of the smart terminal; or the picture may not be downloaded, and the picture is only opened in the smart terminal, and temporarily stored in the temporary terminal of the smart terminal. In the storage space, the target image for the user to perform subsequent operations.
-解析目标图片,获取目标图片的色彩数据- Parse the target image to get the color data of the target image
用户将所述目标照片存储于所述智能终端的本地后,或者打开并将所述目标照片暂存于所述智能终端的临时存储空间中后,进一步地,可利用设置于所述智能终端的图像解析模块,将视觉上的色彩信息转换为计算机等智能终端可读的色彩数据信息,如,对应于RGB、HSV、HSL、Lab等色彩空间所表达的数据值。其中,应当理解的是,上述几个色彩空间之间是可以通过运算规律相互装换的。After the user stores the target photo in the local area of the smart terminal, or opens and temporarily stores the target photo in the temporary storage space of the smart terminal, further, the user can use the smart terminal. The image analysis module converts the visual color information into color data information readable by an intelligent terminal such as a computer, for example, corresponding to data values expressed by color spaces such as RGB, HSV, HSL, and Lab. Among them, it should be understood that the above several color spaces can be interchanged by operation rules.
其中,优选地,本实施例中,所述色彩数据包括图片的色相、明度和饱和度等信息。Preferably, in this embodiment, the color data includes information such as hue, brightness, and saturation of the picture.
本实施例中,所述智能终端的图像解析模块可将人眼视力所观察到的色相、明度、饱和度等所述目标照片中等具体色彩信息,基于所述智能终端中配置的色彩空间,解析为相应的计算机可读的数据信息,并将所解析的具体色彩数据向外发送。In this embodiment, the image parsing module of the smart terminal may analyze the specific color information of the target photo, such as hue, brightness, and saturation observed by the human eye, based on the color space configured in the smart terminal. Corresponding computer-readable data information is sent out and the specific color data parsed is sent out.
-发送存储请求- Send a storage request
本实施例中,所述智能终端的图像解析模块解析并发送所述色彩数据后,所述智能终端的存储模块也与所述图像解析模块通讯连接,可接收所述色彩数据,并暂存所述色彩数据,同时,向外发送一存储请求。所述智能终端接收到所述存储请求后,将在其当前显示界面中通过,如跳出一对话框的形式,提醒用户存储所述色彩数据,用户可以通过选择所述对话框中的,如是、否或者好、不好等快捷键,等操作形式,向所述智能终端反馈一操作信息。In this embodiment, after the image parsing module of the smart terminal parses and transmits the color data, the storage module of the smart terminal is also connected to the image parsing module, and can receive the color data and temporarily store the color data. The color data is described, and at the same time, a storage request is sent out. After receiving the storage request, the smart terminal will pass in its current display interface, such as jumping out of a dialog box, to remind the user to store the color data, and the user can select the dialog box, if yes, No, good or bad shortcut keys, and other operational forms, feedback an operation information to the smart terminal.
-生成并发送存储指令。- Generate and send store instructions.
本实施例中,所述智能终端的第二指令模块感应用户对所述智能终端的操作,并进一步地,根据用户对所述智能终端的操作,判断用户是否选择存储所述色彩数据,从而生成一存储指令。如,所述第二指令模块感应到用户触发了是或者好等肯定的词语,则与预先设定的该词语所对应的指令内容相比对,判定用户预保存所述色彩数据,则生成一存储指令,向外发送;而,若所述第二指令模块感应到用户触发了否或者不好等否定的词语,则与预先设定的该词语所对应的指令内容相比对,判定用户不欲保存所述色彩数据,则不进行任何操作。In this embodiment, the second instruction module of the smart terminal senses the operation of the smart terminal by the user, and further determines whether the user selects to store the color data according to the operation of the smart terminal by the user, thereby generating A store instruction. For example, if the second instruction module senses that the user triggers a yes or a positive word, the user is determined to pre-save the color data, and then generate a Storing an instruction to send out; if the second instruction module senses that the user has triggered a negative word such as no or bad, the user is not compared with the content of the instruction corresponding to the preset word. To save the color data, no action is taken.
-存储色彩数据- store color data
本实施例中,所述智能终端的存储模块与所述第二指令模块通讯连接,所述存储模块可接收所述第二指令模块发出的存储指令,并向外发送一命名请求,所述智能终端收到该命名请求后,将通过,如在所述智能终端当前显示界面中跳出一对话框的形式显示所述命名请求,则用户可在所述对话框中填写对所述色彩数据的命名,所述存储模块将所述色彩数据及所述命名一一对应,并存储于所述存储模块中。或接收所述不存储指令, 删除暂存的所述色彩数据。In this embodiment, the storage module of the smart terminal is communicatively connected to the second instruction module, and the storage module can receive the storage instruction issued by the second instruction module, and send a naming request, the smart After receiving the naming request, the terminal may display the naming request by jumping out of a dialog box in the current display interface of the smart terminal, and the user may fill in the naming of the color data in the dialog box. The storage module corresponds to the color data and the name, and is stored in the storage module. Or receiving the non-storage instruction, The temporarily stored color data is deleted.
-调取存储色彩数据- Retrieve stored color data
本实施例中,用户希望重复利用存储于所述智能终端中的色彩数据时,可以通过,如在所述智能终端自身携带的或者安装的图片处理程序中,选择使用本地存储的色彩数据的方式,调用存储于所述存储模块中的色彩数据,此时,用户需同时选择本地存储的色彩数据列表中的色彩数据的命名,所述存储模块感应到用户对所述智能终端的操作,将用户选择的命名与所述存储模块中存储的命名一一比对,从而,提取相应的色彩数据,并向外发送。In this embodiment, when the user wants to reuse the color data stored in the smart terminal, the method of using the locally stored color data may be selected, for example, in the image processing program carried or installed by the smart terminal itself. Retrieving the color data stored in the storage module. At this time, the user needs to select the naming of the color data in the locally stored color data list, and the storage module senses the user's operation on the smart terminal, and the user is The selected naming is compared with the naming stored in the storage module, thereby extracting corresponding color data and transmitting it.
-导入色彩数据至智能终端- Import color data to smart terminal
所述智能终端的数据录入模块还与所述存储模块通讯连接,所述智能终端通过所述数据录入模块接收所述存储模块发送的所述修正色彩数据,并将其录入所述智能终端中,如,所述数据录入模块接收到所述色彩数据后,将所述色彩数据各参数名称与所述智能终端图像处理系统中存储的色彩数据的参数名称进行一一比对,并在对应参数名称下录入所述色彩数据的具体参数数值。从而,可获得一组色彩数据值。The data entry module of the smart terminal is further connected to the storage module, and the smart terminal receives the modified color data sent by the storage module through the data entry module, and inputs the corrected color data into the smart terminal. For example, after the data entry module receives the color data, the parameter names of the color data are compared with the parameter names of the color data stored in the image processing system of the smart terminal, and the corresponding parameter names are The specific parameter values of the color data are entered. Thus, a set of color data values can be obtained.
-转换所述色彩数据至待处理图片- Converting the color data to a pending image
所述智能终端获取所述修正色彩数据后,所述智能终端的图像处理模块,根据着色图像的统计分析确定一个线性变换,采用一组适用于各颜色分量的色彩迁移公式,实现图片色彩之间的色彩迁移。从而,将目标图片的色彩效果应用于待处理的图片的技术效果。After the smart terminal acquires the corrected color data, the image processing module of the smart terminal determines a linear transformation according to statistical analysis of the colored image, and adopts a set of color migration formulas suitable for each color component to realize image color between Color migration. Thereby, the color effect of the target picture is applied to the technical effect of the picture to be processed.
可见,本实施例实现将用户满意的色彩数据存储于智能终端中,并可多次重复使用的技术效果,避免用户重复提取图片或者色彩数据的繁琐工作,提高智能终端的工作效率及用户使用体验。It can be seen that the embodiment implements the technical data that the user satisfaction color data is stored in the smart terminal, and can be repeatedly used repeatedly, thereby avoiding the cumbersome work of the user repeatedly extracting the picture or the color data, and improving the working efficiency and the user experience of the smart terminal. .
实施例四:Embodiment 4:
对于已经完成色彩转移的待处理图片,若用户对其色彩效果不甚满意,本实施例还提供一种对待处理图片的部分区域进行修订的方案,其具体包括以下步骤:For the picture to be processed that has completed the color transfer, if the user is not satisfied with the color effect, the embodiment further provides a solution for modifying a part of the area to be processed, which specifically includes the following steps:
-选定待处理图像的一目标区域-Select a target area of the image to be processed
待完成对图片的处理后,用户认为色彩转移后的图片的色彩应用中,某区域的色彩应用不合理,如,对比度过高或过低,色彩明度过高或者过低,则用户可以通过,如长按屏幕中目标区域的位置,或者选用区域选择工具选择目标区域,所述智能终端中的区域选择模块,感应到用户对智能终端的操作后,将进一步选择目标区域,并读取所述目标区域的坐标信息,并向外发送。 After the processing of the image is completed, the user considers that the color application of the image after the color transfer is unreasonable, for example, if the contrast is too high or too low, and the color brightness is too high or too low, the user can pass. If the location of the target area in the screen is long pressed, or the area selection tool is selected to select the target area, the area selection module in the smart terminal senses the operation of the smart terminal by the user, further selects the target area, and reads the The coordinate information of the target area is sent out.
-解析目标区域的色彩,获取目标区域的色彩数据- Parse the color of the target area and obtain the color data of the target area
本实施例中所述智能终端的图像解析模块还与所述区域选择模块通讯连接,所述图像解析模块接收所述坐标信息,从而,解析并获取相应坐标信息的所述目标区域内的色彩数据,并将该区域色彩数据向外发送。The image parsing module of the smart terminal in the embodiment is further connected to the area selection module, and the image parsing module receives the coordinate information, thereby parsing and acquiring color data in the target area of the corresponding coordinate information. And send the color data of the area to the outside.
-显示所述色彩数据- display the color data
所述智能终端的数据显示模块接收所述区域色彩数据后,并将其显示于所述智能终端的显示屏幕下。具体的,本实施例中,所述数据显示模块实现在智能终端中,当前显示所述待处理图片的界面中,进一步显示出所述目标区域的色彩数据。如,在该界面的右侧、左侧、上侧或者下侧,罗列出所述区域色彩数据,包括色彩参数的名称及具体色彩参数数值。The data display module of the smart terminal receives the area color data and displays it under the display screen of the smart terminal. Specifically, in the embodiment, the data display module is implemented in the smart terminal, and the color data of the target area is further displayed in the interface that currently displays the to-be-processed picture. For example, on the right side, the left side, the upper side or the lower side of the interface, the area color data is listed, including the name of the color parameter and the specific color parameter value.
-触发区域色彩数据,启动修订模式- Trigger area color data to initiate revision mode
本实施例中,用户可以进一步通过触动修改快捷键等形式,触发并向所述智能终端发送一主动修改指令,所述智能终端的第一指令模块感应到用户对所述智能终端的操作,比对得到所述操作所对应的指令内容,如,感应到用户触动修改快捷键,则通过与所预设的该词语所对应的指令内容比对,可得知用户选择修改所述区域色彩数据,则所述第一指令模块生成一修改指令,并向外发送。In this embodiment, the user may further trigger and send an active modification instruction to the smart terminal by using a modified shortcut key or the like, and the first instruction module of the smart terminal senses the operation of the user on the smart terminal. If the content of the instruction corresponding to the operation is obtained, for example, if the user touches the modified shortcut key, the user can select to modify the color data of the area by comparing the content of the instruction corresponding to the preset word. Then the first instruction module generates a modification instruction and sends it out.
-修订区域色彩数据,得到修订的区域色彩数据- Revise regional color data to obtain revised regional color data
所述智能终端的信息修改模块则可接收所述修改指令,并相应地,将所述智能终端当前界面显示的所述区域色彩数据转换为可修改模式,则,用户可以根据自身喜好或者需求,通过如,长按某个色彩参数值的形式,唤醒该色彩参数的修改状态,从而,可增加或者减少该色彩参数值,对多个色彩参数值重复上述操作,则可实现对多了色彩参数的修改。进而实现对所述色彩数据的修改。用户完成所述修改后,可通过选择完成等快捷键的形式,向所述智能终端的所述信息修改模块发送完成修改的指令,则,所述智能终端的信息修改模块接收到所述完成修改的指令后,将修改后的修正色彩数据向外发送。The information modification module of the smart terminal may receive the modification instruction, and correspondingly, convert the area color data displayed by the current interface of the smart terminal into a modifiable mode, and the user may according to his own preferences or needs. By, for example, long pressing a color parameter value to wake up the modified state of the color parameter, thereby increasing or decreasing the color parameter value, and repeating the above operation on the plurality of color parameter values, the color parameter can be realized more Modifications. Further modification of the color data is achieved. After the user completes the modification, the instruction to complete the modification may be sent to the information modification module of the smart terminal by using a shortcut key such as selecting completion, and the information modification module of the smart terminal receives the completion modification. After the instruction, the modified corrected color data is sent out.
-应用修订的区域色彩数据,得到修订的待处理图片- Apply revised regional color data to get revised pending image
所述智能终端通过所述数据录入模块接收所述信息修改模块发送的所述修正的区域色彩数据,并将其录入所述智能终端中,如,所述数据录入模块接收到所述色彩数据后,将所述色彩数据各参数名称与所述智能终端图像处理系统中存储的色彩数据的参数名称进行一一比对,并在对应参数名称下录入所述色彩数据的具体参数数值。从而,可获得一组色彩数据值。 Receiving, by the data entry module, the modified area color data sent by the information modification module, and inputting the corrected area color data into the smart terminal, for example, after the data entry module receives the color data, And comparing the parameter names of the color data with the parameter names of the color data stored in the image processing system of the smart terminal, and inputting specific parameter values of the color data under the corresponding parameter names. Thus, a set of color data values can be obtained.
-转换所述色彩数据至待处理图片- Converting the color data to a pending image
本实施例中,由于再次修改是针对已经发生过色彩转移的待处理图片,故,所述智能终端的图像处理模块获取所述修正的区域色彩数据后,可将其直接应用于待处理图片的所述目标区域中,从而,获得一更符合用户个性的图片。In this embodiment, since the image modification module of the smart terminal acquires the corrected region color data, the image processing module of the smart terminal can directly apply the image to be processed to the image to be processed. In the target area, thereby obtaining a picture more in line with the user's personality.
可见,本实施例进一步提供了一种针对色彩转移后图片的再次修订方案,从而,更加提高用户的使用体验。It can be seen that the embodiment further provides a re-amending scheme for the picture after the color transfer, thereby further improving the user experience.
参见图2,本发明另一方面在于,还提供一种智能终端的图像色彩调节系统,其包括以下模块,图像读取模块;图像解析模块;数据录入模块;图像处理模块。下面,结合具体应用情况详细阐述本发明的技术内容:Referring to FIG. 2, another aspect of the present invention is to provide an image color adjustment system for an intelligent terminal, which includes the following modules, an image reading module, an image analysis module, a data entry module, and an image processing module. Hereinafter, the technical content of the present invention will be described in detail in conjunction with specific application situations:
-图像读取模块- Image reading module
读取所述智能终端中的目标照片,并在所述智能终端的显示界面上显示。具体的,当用户在浏览网页、朋友圈、QQ空间或者微博时,所述图像读取模块则可将所述网页等中的图片显示以一定的色调、颜色、尺寸等显示于所述智能终端的显示界面中。而,当发现某张照片的色彩、色调等非常喜欢时,则可通过所述智能终端的保存方法,如,长按该照片,选择图片另存为快捷键等,将该照片保存至智能终端的本地存储中;或者也可以不下载该照片,仅在所述智能终端中打开该照片,将其暂存于所述智能终端的一临时存储空间中,以备用户进行后续的操作的目标照片。Reading a target photo in the smart terminal and displaying it on a display interface of the smart terminal. Specifically, when the user browses a webpage, a friend circle, a QQ space, or a microblog, the image reading module may display the image display in the webpage or the like on the smart terminal with a certain color tone, color, size, or the like. In the display interface. However, when it is found that the color, color tone, and the like of a certain photo are very like, the saving method of the smart terminal, such as long pressing the photo, selecting the image as a shortcut key, etc., is saved to the smart terminal. In the local storage; or the photo may not be downloaded, the photo is opened only in the smart terminal, and temporarily stored in a temporary storage space of the smart terminal, in preparation for the user to perform a target photo of the subsequent operation.
-图像解析模块- Image parsing module
与所述图像读取通讯连接,解析所述目标图片,获得所述目标图片的色彩数据,并向外发送所述色彩数据。具体地,用户将所述目标照片存储于所述智能终端的本地后,或者打开并将所述目标照片暂存于所述智能终端的临时存储空间中后,进一步地,可利用设置于所述智能终端的图像解析模块,将视觉上的色彩信息转换为计算机等智能终端可读的色彩数据信息,如,对应于RGB、HSV、HSL、Lab等色彩空间所表达的数据值。其中,应当理解的是,上述几个色彩空间之间是可以通过运算规律相互装换的,几种常用颜色在上述空间中的数据值如下表所示:Connected to the image reading communication, parse the target picture, obtain color data of the target picture, and send the color data outward. Specifically, after the user stores the target photo in the local area of the smart terminal, or opens and temporarily stores the target photo in the temporary storage space of the smart terminal, further, The image analysis module of the intelligent terminal converts the visual color information into color data information readable by an intelligent terminal such as a computer, for example, corresponding to data values expressed by color spaces such as RGB, HSV, HSL, and Lab. Among them, it should be understood that the above several color spaces can be interchanged by operation rules, and the data values of several common colors in the above space are as follows:
名称name L明度L brightness a通道a channel b通道b channel R红R red G绿G green B蓝B blue H色调H tone
洋红Magenta 5656 8484 00 255255 00 138138 328328
朱红red 5858 7171 7171 255255 6363 00 1515
yellow 8989 00 8888 255255 222222 00 5252
莱姆绿Lyme Green 8888 -79-79 7979 00 255255 22twenty two 125125
绿green 9090 -57-57 00 00 255255 223223 172172
青蓝Blue 7878 -34-34 -34-34 00 213213 255255 190190
blue 5858 00 -66-66 00 143143 255255 206206
purple 4848 8282 -82-82 182182 00 255255 283283
其中,优选地,本实施例中,所述色彩数据包括图片的色相、明度和饱和度等信息。Preferably, in this embodiment, the color data includes information such as hue, brightness, and saturation of the picture.
本实施例中,所述智能终端的图像解析模块可将人眼视力所观察到的色相、明度、饱和度等所述目标照片中等具体色彩信息,基于所述智能终端中配置的色彩空间,解析为相应的计算机可读的数据信息,并将所解析的具体色彩数据向外发送。In this embodiment, the image parsing module of the smart terminal may analyze the specific color information of the target photo, such as hue, brightness, and saturation observed by the human eye, based on the color space configured in the smart terminal. Corresponding computer-readable data information is sent out and the specific color data parsed is sent out.
-数据录入模块,- data entry module,
与所述图像解析模块通讯连接,接收并导入所述色彩信息。具体地,所述智能终端通过所述数据录入模块接收所述图像解析模块读取并发送的所述色彩数据,并将其录入所述智能终端中,如,所述数据录入模块接收到所述色彩数据后,将所述色彩数据各参数名称与所述智能终端图像处理系统中存储的色彩数据的参数名称进行一一比对,并在对应参数名称下录入所述色彩数据的具体参数数值。从而,可获得一组色彩数据值。And communicating with the image analysis module to receive and import the color information. Specifically, the smart terminal receives the color data read and sent by the image parsing module through the data entry module, and inputs the color data into the smart terminal, for example, the data entry module receives the After the color data, the parameter names of the color data are compared with the parameter names of the color data stored in the image processing system of the smart terminal, and the specific parameter values of the color data are entered under the corresponding parameter names. Thus, a set of color data values can be obtained.
-图像处理模块- Image Processing Module
与所述数据录入模块通讯连接,读取所述色彩信息,并转换至待处理图片。具体地,所述智能终端获取所述色彩数据后,所述智能终端的图像处理模块,根据着色图像的统计分析确定一个线性变换,采用一组适用于各颜色分量的色彩迁移公式,实现图片色彩之间的色彩迁移。从而,将目标图片的色彩效果应用于待处理的图片的技术效果。And communicating with the data entry module to read the color information and convert to the image to be processed. Specifically, after the smart terminal acquires the color data, the image processing module of the smart terminal determines a linear transformation according to statistical analysis of the colored image, and implements a color of the color by using a set of color migration formulas suitable for each color component. The color shift between. Thereby, the color effect of the target picture is applied to the technical effect of the picture to be processed.
基于上述实施例提供的图像处理系统,用户若对某张照片/图片的色彩数据中的某些具体参数数据,如颜色、亮度等不甚满意,则需多次提取多张照片的色彩数据,直到获得满意的色彩数据,大大降低的图像处理系统的工作效率,从而,优选地,本实施例的图像处理系统还可实现对获取的色彩数据进行修改的技术效果。参见图5,具体地,该包括:Based on the image processing system provided by the above embodiments, if the user is not satisfied with some specific parameter data, such as color, brightness, etc., in the color data of a certain photo/picture, the color data of multiple photos needs to be extracted multiple times. Until satisfactory color data is obtained, the work efficiency of the image processing system is greatly reduced, and thus, preferably, the image processing system of the present embodiment can also achieve the technical effect of modifying the acquired color data. Referring to FIG. 5, specifically, the method includes:
-数据显示模块-Data display module
与所述图像解析通讯连接,接收所述色彩数据,在所述智能终端的显示界面上显示,并向外发送一修改请求;具体地,本实施例中,所述智能终端的图像处理系统,在解析获得所述目标照片的色彩数据后,将向外发送所述色彩数据,所述智能终端的数据显示模块接收所述色彩数据后,并将其显示于所述智能终端的显示屏幕下。具体的,本实施例中,所述数据显示模块实现在智能终端中,当前显示所述目标照片的界面中,进一步显示出所述目标照片的色彩数据。如,在该界面的右侧、左侧、上侧或者下侧,罗列出所述色彩数据,包括色彩参数的名称及具体色彩参数数值。同时,所述智能终端的数据显示模块向外发送一修改请求,所述智能终端接收所述修改请求,并在所述智能终端的当前显示界面中显示所述修改请求。优选地,所述修改请求可以以对话框的形式显示于 所述智能终端的显示界面中,所述对话框中通过设置是、否,或者好、不好等对立的词组形式,询问用户是否接受所述修改请求,从而判断用户是否需要对所述色彩数据进行修改。Corresponding to the image analysis communication connection, receiving the color data, displaying on the display interface of the smart terminal, and sending a modification request to the outside; specifically, in this embodiment, the image processing system of the smart terminal, After the color data of the target photo is obtained, the color data is sent out, and the data display module of the smart terminal receives the color data and displays it under the display screen of the smart terminal. Specifically, in the embodiment, the data display module is implemented in the smart terminal, and the color data of the target photo is further displayed in the interface that currently displays the target photo. For example, on the right side, the left side, the upper side or the lower side of the interface, the color data is listed, including the name of the color parameter and the specific color parameter value. At the same time, the data display module of the smart terminal sends a modification request to the smart terminal, and the smart terminal receives the modification request, and displays the modification request in the current display interface of the smart terminal. Preferably, the modification request may be displayed in the form of a dialog box. In the display interface of the smart terminal, the dialog box is configured to check whether the user accepts the modification request by setting yes, no, or good, bad, and the like, to determine whether the user needs the color data. to modify.
-第一指令模块- first instruction module
感应对所述智能终端的操作,生成一修改指令,并向外发送;具体地,本实施例中,若用户在所述智能终端的当前显示界面的对话框中选择了是或者好等肯定的词语,所述智能终端的第一指令模块感应到用户对所述智能终端的操作,比对得到所述操作所对应的指令内容,如,感应到用户选择了是或者好等肯定的词语,则通过与所预设的该词语所对应的指令内容比对,可得知用户选择修改所述色彩数据,则所述第一指令模块生成一修改指令,并向外发送;而,若用户在所述智能终端的当前显示界面的对话框中选择了否或者不好等否定的词语,所述智能终端的第一指令模块感应到用户对所述智能终端的操作,对比得到所述操作所对应的指令内容,如,感应到用户选择了否或者不好等否定的词语,则通过与所预设的该词语所对应的指令内容比对,可得知用户选择不修改所述色彩数据,从而,所述第一指令模块不进行任何操作。In response to the operation of the smart terminal, a modification command is generated and sent out; specifically, in this embodiment, if the user selects a yes or a positive in the dialog box of the current display interface of the smart terminal, The first instruction module of the smart terminal senses the user's operation on the smart terminal, and compares the instruction content corresponding to the operation, for example, if the user selects a yes or a positive word, By comparing the content of the instruction corresponding to the preset word, it can be known that the user selects to modify the color data, and the first instruction module generates a modification instruction and sends the modification instruction; and if the user is in the office In the dialog box of the current display interface of the smart terminal, a negative word such as no or bad is selected, and the first instruction module of the smart terminal senses the operation of the user on the smart terminal, and the comparison corresponds to the operation. The content of the instruction, for example, sensing a negative word such as whether the user selects no or is not good, can be known by comparing with the content of the instruction corresponding to the preset word. The user selects not modify the color data, whereby the first instruction module does not perform any operation.
-信息修改模块-Information modification module
与所述第一指令模块通讯连接,接收所述修改指令,将所述色彩数据转换为可修改模式,并向外发送修改后的修正色彩数据。具体地,本实施例中,所述智能终端的信息修改模块则可接收所述修改指令,并相应地,将所述智能终端当前界面显示的所述色彩数据转换为可修改模式,则,用户可以根据自身喜好或者需求,通过如,长按某个色彩参数值的形式,唤醒该色彩参数的修改状态,从而,可增加或者减少该色彩参数值,对多个色彩参数值重复上述操作,则可实现对多了色彩参数的修改。进而实现对所述色彩数据的修改。用户完成所述修改后,可通过选择完成等快捷键的形式,向所述智能终端的所述信息修改模块发送完成修改的指令,则,所述智能终端的信息修改模块接收到所述完成修改的指令后,将修改后的修正色彩数据向外发送。Communicating with the first instruction module, receiving the modification instruction, converting the color data into a modifiable mode, and transmitting the modified color data modified. Specifically, in this embodiment, the information modification module of the smart terminal may receive the modification instruction, and correspondingly, convert the color data displayed by the current interface of the smart terminal into a modifiable mode, then, the user According to the preference or demand of the user, the modification state of the color parameter may be awakened by, for example, long pressing a color parameter value, thereby increasing or decreasing the color parameter value, and repeating the above operation on the plurality of color parameter values, Modifications to many color parameters can be achieved. Further modification of the color data is achieved. After the user completes the modification, the instruction to complete the modification may be sent to the information modification module of the smart terminal by using a shortcut key such as selecting completion, and the information modification module of the smart terminal receives the completion modification. After the instruction, the modified corrected color data is sent out.
进而,所述智能终端的数据录入模块还与所述信息修改模块通讯连接,所述智能终端通过所述数据录入模块接收所述信息修改模块发送的所述修正色彩数据,并将其录入所述智能终端中,如,所述数据录入模块接收到所述色彩数据后,将所述色彩数据各参数名称与所述智能终端图像处理系统中存储的色彩数据的参数名称进行一一比对,并在对应参数名称下录入所述色彩数据的具体参数数值。从而,可获得一组色彩数据值。Further, the data entry module of the smart terminal is further connected to the information modification module, and the smart terminal receives the corrected color data sent by the information modification module by using the data entry module, and inputs the modified color data into the In the smart terminal, for example, after the data entry module receives the color data, the parameter names of the color data are compared with the parameter names of the color data stored in the image processing system of the smart terminal, and The specific parameter value of the color data is entered under the corresponding parameter name. Thus, a set of color data values can be obtained.
所述智能终端获取所述修正色彩数据后,所述智能终端的图像处理模块,根据着色图像的统计分析确定一个线性变换,采用一组适用于各颜色分量的色彩迁移公式,实现 图片色彩之间的色彩迁移。从而,将目标图片的色彩效果应用于待处理的图片的技术效果。After the smart terminal acquires the corrected color data, the image processing module of the smart terminal determines a linear transformation according to statistical analysis of the colored image, and adopts a set of color migration formulas suitable for each color component to implement Color shifting between picture colors. Thereby, the color effect of the target picture is applied to the technical effect of the picture to be processed.
基于上述实施例提供的图像处理系统,用户若对某张照片/图片的色彩数据非常满意,通常会多次使用,则重复提取照片/图片的色彩数据,大大降低的图像处理系统的工作效率,从而,优选地,本实施例的图像处理系统还可实现对提取的色彩数据的存储,并重复提取利用。具体地,还包括:Based on the image processing system provided by the above embodiments, if the user is very satisfied with the color data of a certain photo/picture, and usually uses it multiple times, the color data of the photo/picture is repeatedly extracted, which greatly reduces the working efficiency of the image processing system. Thus, preferably, the image processing system of the present embodiment can also implement storage of the extracted color data and repeat the extraction utilization. Specifically, it also includes:
-存储模块- storage module
与所述图像解析模块通讯连接,接收所述色彩数据,向外发送一存储请求;具体地,本实施例中,所述智能终端的图像解析模块解析并发送所述色彩数据后,所述智能终端的存储模块也与所述图像解析模块通讯连接,可接收所述色彩数据,并暂存所述色彩数据,同时,向外发送一存储请求。所述智能终端接收到所述存储请求后,将在其当前显示界面中通过,如跳出一对话框的形式,提醒用户存储所述色彩数据,用户可以通过选择所述对话框中的,如是、否或者好、不好等快捷键,等操作形式,向所述智能终端反馈一操作信息。Communicating with the image parsing module, receiving the color data, and sending a storage request to the outside; specifically, in the embodiment, after the image parsing module of the smart terminal parses and sends the color data, the smart The storage module of the terminal is also in communication with the image parsing module, and can receive the color data, and temporarily store the color data, and simultaneously send a storage request. After receiving the storage request, the smart terminal will pass in its current display interface, such as jumping out of a dialog box, to remind the user to store the color data, and the user can select the dialog box, if yes, No, good or bad shortcut keys, and other operational forms, feedback an operation information to the smart terminal.
-第二指令模块- second instruction module
感应对所述智能终端的操作,生成一存储指令/不存储指令,并向外发送;本实施例中,所述智能终端的第二指令模块感应用户对所述智能终端的操作,并进一步地,根据用户对所述智能终端的操作,判断用户是否选择存储所述色彩数据,从而生成一存储指令。如,所述第二指令模块感应到用户触发了是或者好等肯定的词语,则与预先设定的该词语所对应的指令内容相比对,判定用户预保存所述色彩数据,则生成一存储指令,向外发送;而,若所述第二指令模块感应到用户触发了否或者不好等否定的词语,则与预先设定的该词语所对应的指令内容相比对,判定用户不欲保存所述色彩数据,则不进行任何操作。In response to the operation of the smart terminal, generating a storage instruction/non-storage instruction, and sending the instruction to the smart terminal; in this embodiment, the second instruction module of the smart terminal senses operation of the smart terminal by the user, and further And determining, according to an operation of the smart terminal by the user, whether the user selects to store the color data, thereby generating a storage instruction. For example, if the second instruction module senses that the user triggers a yes or a positive word, the user is determined to pre-save the color data, and then generate a Storing an instruction to send out; if the second instruction module senses that the user has triggered a negative word such as no or bad, the user is not compared with the content of the instruction corresponding to the preset word. To save the color data, no action is taken.
本实施例中,所述智能终端的存储模块与所述第二指令模块通讯连接,所述存储模块可接收所述第二指令模块发出的存储指令,并向外发送一命名请求,所述智能终端收到该命名请求后,将通过,如在所述智能终端当前显示界面中跳出一对话框的形式显示所述命名请求,则用户可在所述对话框中填写对所述色彩数据的命名,所述存储模块将所述色彩数据及所述命名一一对应,并存储于所述存储模块中。或接收所述不存储指令,删除暂存的所述色彩数据。In this embodiment, the storage module of the smart terminal is communicatively connected to the second instruction module, and the storage module can receive the storage instruction issued by the second instruction module, and send a naming request, the smart After receiving the naming request, the terminal may display the naming request by jumping out of a dialog box in the current display interface of the smart terminal, and the user may fill in the naming of the color data in the dialog box. The storage module corresponds to the color data and the name, and is stored in the storage module. Or receiving the non-storage instruction to delete the temporarily stored color data.
本实施例中,用户希望重复利用存储于所述智能终端中的色彩数据时,可以通过,如在所述智能终端自身携带的或者安装的图片处理程序中,选择使用本地存储的色彩数 据的方式,调用存储于所述存储模块中的色彩数据,此时,用户需同时选择本地存储的色彩数据列表中的色彩数据的命名,所述存储模块感应到用户对所述智能终端的操作,将用户选择的命名与所述存储模块中存储的命名一一比对,从而,提取相应的色彩数据,并向外发送。进而利用数据录入模块及图像处理模块协同作用,可实现再次利用存储的色彩数据转移至待处理图片中的技术效果。In this embodiment, when the user wants to reuse the color data stored in the smart terminal, the number of colors stored locally may be selected, for example, in the image processing program carried or installed by the smart terminal itself. According to the manner, the color data stored in the storage module is called. At this time, the user needs to select the naming of the color data in the locally stored color data list, and the storage module senses the operation of the user on the smart terminal. The user-selected naming is compared with the naming stored in the storage module, thereby extracting corresponding color data and transmitting it. Further, by using the data entry module and the image processing module to cooperate, the technical effect of transferring the stored color data to the to-be-processed image again can be realized.
对于已经完成色彩转移的待处理图片,若用户对其色彩效果不甚满意,本实施例还提供一种对待处理图片的部分区域进行修订的方案,其具体包括以下模块:For the picture to be processed that has completed the color transfer, if the user is not satisfied with the color effect, the embodiment further provides a solution for modifying a part of the area to be processed, which specifically includes the following modules:
-区域选择模块- Area selection module
与所述图像读取模块通讯连接,根据指令选定目标区域;具体地,待完成对图片的处理后,用户认为色彩转移后的图片的色彩应用中,某区域的色彩应用不合理,如,对比度过高或过低,色彩明度过高或者过低,则用户可以通过,如长按屏幕中目标区域的位置,或者选用区域选择工具选择目标区域,所述智能终端中的区域选择模块,感应到用户对智能终端的操作后,将进一步选择目标区域,并读取所述目标区域的坐标信息,并向外发送。Communicating with the image reading module, and selecting a target area according to the instruction; specifically, after the processing of the image is completed, the user considers that the color application of the image after the color transfer is unreasonable, for example, If the contrast is too high or too low, and the color brightness is too high or too low, the user can select the target area by, for example, long pressing the position of the target area in the screen, or select the target area by using the area selection tool, and the area selection module in the smart terminal senses After the user operates the smart terminal, the target area is further selected, and the coordinate information of the target area is read and sent out.
同时,利用与上述各部件的配合,具体地,所述图像解析模块解析所述目标区域的色彩,获取所述目标区域的区域色彩数据;所述数据显示模块在所述智能终端的显示界面上显示所述区域色彩数据;所述第一指令模块感应对所述智能终端的操作,生成一部分修改指令,向外发送;所述信息修改模块接收所述部分修改指令,将所述区域色彩数据转换为可修改模式,并向外发送修改后的修正区域色彩数据;所述数据录入模块,接收并录入所述修正区域色彩数据;所述图像处理模块读取所述修正区域色彩数据,并应用至所述待处理图片。即可实现对已经完成色彩转移的待处理图片的进一步修订。At the same time, the image parsing module parses the color of the target area to obtain the area color data of the target area, and the data display module is displayed on the display interface of the smart terminal. Displaying the area color data; the first instruction module senses operation of the smart terminal, generates a part of the modification instruction, and sends the part; the information modification module receives the partial modification instruction, and converts the area color data a modified mode, and the modified corrected area color data is sent out; the data entry module receives and records the modified area color data; the image processing module reads the corrected area color data, and applies to The picture to be processed. Further revisions to the pending image that have completed the color transfer can be achieved.
综上可见,本发明利用在智能终端中设置相应的图像解析等模块,可实现提取现有图片中的色彩数据;本发明利用在智能终端中设置相应的图像处理等模块,可实现将用户选中的目标图片的色彩效果应用于用户待处理的图片的技术效果;本发明中的技术方法,可实现基于目标图片和待处理图片,合成一幅新的图片,使其同时具有目标图片的颜色和待处理图片的形状等遗传信息;本发明进一步还可以对处理后的待处理图片进行整体或者部分区域修订,获得更加符合用户特性的色彩图片。In summary, the present invention can be used to extract color data in an existing image by setting a corresponding image parsing module in the smart terminal. The present invention can be implemented by setting a corresponding image processing module in the smart terminal. The color effect of the target picture is applied to the technical effect of the picture to be processed by the user; the technical method in the present invention can realize a new picture based on the target picture and the picture to be processed, so that the color of the target picture is simultaneously The genetic information such as the shape of the image to be processed; the present invention may further modify the processed image to be processed in whole or in part to obtain a color picture more in line with the user's characteristics.
应当理解的是,本发明中上述实施例中所列举的各种图像处理方法,不仅可以单独应用,还可以交叉或者同时应用,如,也可以实现将用户修改后的修正色彩数据存储于所述智能终端的存储模块中,并从存储模块中调取再次用于滤镜拍照。It should be understood that the various image processing methods listed in the foregoing embodiments of the present invention may be applied not only separately but also crosswise or simultaneously. For example, the modified color data modified by the user may be stored in the The storage module of the smart terminal is retrieved from the storage module and used again for the filter to take a picture.
应当注意的是,本发明的实施例有较佳的实施性,且并非对本发明作任何形式的限 制,任何熟悉该领域的技术人员可能利用上述揭示的技术内容变更或修饰为等同的有效实施例,但凡未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何修改或等同变化及修饰,均仍属于本发明技术方案的范围内。 It should be noted that the embodiments of the present invention are preferred and are not intended to limit the invention in any way. Any person skilled in the art may use the above-disclosed technical contents to change or modify the same as the effective embodiments, but any modifications made to the above embodiments according to the technical essence of the present invention without departing from the technical solution of the present invention. Equivalent changes and modifications are still within the scope of the technical solutions of the present invention.

Claims (10)

  1. 一种基于智能终端的图像色彩调节方法,其特征在于,An image color adjustment method based on intelligent terminal, characterized in that
    获取一目标图片,Get a target image,
    解析所述目标图片,获取所述目标图片的色彩数据,Parsing the target image to obtain color data of the target image,
    导入所述色彩数据至所述智能终端的图像处理模块,Importing the color data to an image processing module of the smart terminal,
    应用所述色彩数据至一待处理图片。Applying the color data to a picture to be processed.
  2. 如权利要求1所述的图像色彩调节方法,其特征在于,The image color adjustment method according to claim 1, wherein
    还包括,Also includes,
    获取所述目标图片的色彩数据后,在所述智能终端的显示界面中显示所述色彩数据,并向外发送一修改请求,After acquiring color data of the target picture, displaying the color data in a display interface of the smart terminal, and sending a modification request to the outside,
    当捕获一修改指令动作,修改所述色彩数据,获得修正的色彩数据,导入所述修正的色彩数据至所述图像处理模块,When capturing a modification command action, modifying the color data, obtaining corrected color data, and importing the corrected color data to the image processing module,
    当捕获一不修改指令动作,直接导入所述色彩数据至所述图像处理模块。When capturing a no-modify command action, the color data is directly imported into the image processing module.
  3. 如权利要求1所述的图像色彩调节方法,其特征在于,The image color adjustment method according to claim 1, wherein
    还包括,Also includes,
    获取所述目标图片的色彩数据后,暂存所述色彩数据,并向外发送一存储请求,After acquiring the color data of the target picture, temporarily storing the color data and sending a storage request to the outside.
    当捕获一存储指令动作,所述智能终端发出一命名请求,When capturing a store instruction action, the smart terminal issues a naming request,
    根据一反馈信息,为所述色彩数据命名,Name the color data according to a feedback message,
    关联所述色彩数据与所述色彩数据的名称,存储于所述智能终端的存储模块。The name of the color data and the color data is associated with a storage module of the smart terminal.
  4. 如权利要求1所述的图像色彩调节方法,其特征在于,The image color adjustment method according to claim 1, wherein
    还包括,Also includes,
    应用所述色彩数据至一待处理图片后,Applying the color data to a picture to be processed,
    选定所述待处理图像的一目标区域,Selecting a target area of the image to be processed,
    解析所述目标区域的色彩,获取所述目标区域的色彩数据,Parsing the color of the target area, and acquiring color data of the target area,
    在所述智能终端的显示界面上显示所述色彩数据,Displaying the color data on a display interface of the smart terminal,
    触发所述色彩数据,启动修订模式,Triggering the color data, starting the revision mode,
    修订所述色彩数据,得到修订的色彩数据,Revising the color data to obtain revised color data,
    应用所述修订的色彩数据,得到修订的待处理图片。Applying the revised color data to obtain a revised pending image.
  5. 如权利要求1-4所述的色彩调节方法,其特征在于, A color adjustment method according to any of claims 1-4, characterized in that
    所述色彩数据包括,色相、明度和饱和度。The color data includes hue, lightness, and saturation.
  6. 一种智能终端的图像色彩调节系统,其特征在于,包括以下模块,An image color adjustment system for an intelligent terminal, comprising the following modules,
    图像读取模块,读取所述智能终端中的目标照片,并在所述智能终端的显示界面上显示,An image reading module reads a target photo in the smart terminal and displays it on a display interface of the smart terminal,
    图像解析模块,与所述图像读取通讯连接,解析所述目标图片,获得所述目标图片的色彩数据,并向外发送所述色彩数据,An image parsing module is connected to the image reading communication, parses the target image, obtains color data of the target image, and sends the color data outward.
    数据录入模块,与所述图像解析模块通讯连接,接收并导入所述色彩信息,a data entry module, in communication with the image parsing module, receiving and importing the color information,
    图像处理模块,与所述数据录入模块通讯连接,读取所述色彩信息,并转换至待处理图片。The image processing module is in communication with the data entry module, reads the color information, and converts to the image to be processed.
  7. 如权利要求6所述的图像处理系统,其特征在于,The image processing system according to claim 6 wherein:
    还包括,Also includes,
    数据显示模块,与所述图像解析通讯连接,接收所述色彩数据,在所述智能终端的显示界面上显示,并向外发送一修改请求,The data display module is connected to the image parsing communication, receives the color data, displays on the display interface of the smart terminal, and sends a modification request to the outside.
    第一指令模块,捕获对所述智能终端的操作动作,生成一修改指令,并向外发送,信息修改模块,与所述第一指令模块通讯连接,接收所述修改指令,将所述色彩数据转换为可修改模式,并向外发送修改后的修正色彩数据,The first instruction module captures an operation action on the smart terminal, generates a modification instruction, and sends the modification instruction, and the information modification module communicates with the first instruction module, receives the modification instruction, and uses the color data. Convert to modifiable mode and send modified corrected color data out,
    所述数据录入模块,与所述信息修改模块通讯连接,接收并录入所述修正色彩数据,所述图像处理模块读取所述修正色彩数据,并转换至待处理图片。The data entry module is communicatively coupled to the information modification module to receive and record the corrected color data, and the image processing module reads the corrected color data and converts to the to-be-processed picture.
  8. 如权利要求6所述的图像处理系统,其特征在于,The image processing system according to claim 6 wherein:
    还包括,Also includes,
    存储模块,与所述图像解析模块通讯连接,接收所述色彩数据,向外发送一存储请求,第二指令模块,捕获对所述智能终端的操作动作,生成一存储指令/不存储指令,并向外发送,a storage module, in communication with the image parsing module, receiving the color data, and sending a storage request, the second instruction module capturing an operation action on the smart terminal, generating a storage instruction/non-storage instruction, and Send out,
    所述存储模块与所述第二指令模块通讯连接,接收所述存储指令,发送一命名请求,捕获对所述智能终端的操作动作,并存储所述色彩数据;The storage module is in communication with the second instruction module, receives the storage instruction, sends a naming request, captures an operation action on the smart terminal, and stores the color data;
    或接收所述不存储指令,删除暂存的所述色彩数据。Or receiving the non-storage instruction to delete the temporarily stored color data.
  9. 如权利要求7所述的图像处理系统,其特征在于,The image processing system according to claim 7, wherein
    还包括,Also includes,
    区域选择模块,与所述图像读取模块通讯连接,根据指令选定目标区域,发送目标区域的坐标信息,The area selection module is in communication with the image reading module, selects a target area according to the instruction, and transmits coordinate information of the target area,
    所述图像解析模块接收所述坐标信息,解析所述目标区域的色彩,获取所述目标区域 的区域色彩数据,The image parsing module receives the coordinate information, parses the color of the target area, and acquires the target area Regional color data,
    所述数据显示模块在所述智能终端的显示界面上显示所述区域色彩数据,The data display module displays the area color data on a display interface of the smart terminal,
    所述第一指令模块捕获对所述智能终端的操作动作,生成一部分修改指令,向外发送,所述信息修改模块接收所述部分修改指令,将所述区域色彩数据转换为可修改模式,并向外发送修改后的修正区域色彩数据,The first instruction module captures an operation action on the smart terminal, generates a part of the modification instruction, and sends the part, and the information modification module receives the partial modification instruction, and converts the area color data into a modifiable mode, and Sending the modified correction area color data to the outside,
    所述数据录入模块,接收并录入所述修正区域色彩数据,The data entry module receives and records the color data of the correction area,
    所述图像处理模块读取所述修正区域色彩数据,并应用至所述待处理图片。The image processing module reads the corrected area color data and applies to the to-be-processed picture.
  10. 如权利要求6-9所述的图像处理系统,其特征在于,An image processing system according to claims 6-9, characterized in that
    所述色彩数据包括,色相、明度和饱和度。 The color data includes hue, lightness, and saturation.
PCT/CN2017/095585 2017-08-02 2017-08-02 Image color adjustment system and color adjustment method for smart terminal WO2019023968A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/095585 WO2019023968A1 (en) 2017-08-02 2017-08-02 Image color adjustment system and color adjustment method for smart terminal
CN201780095569.2A CN111164563B (en) 2017-08-02 2017-08-02 Image color adjusting system and color adjusting method of intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/095585 WO2019023968A1 (en) 2017-08-02 2017-08-02 Image color adjustment system and color adjustment method for smart terminal

Publications (1)

Publication Number Publication Date
WO2019023968A1 true WO2019023968A1 (en) 2019-02-07

Family

ID=65232239

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095585 WO2019023968A1 (en) 2017-08-02 2017-08-02 Image color adjustment system and color adjustment method for smart terminal

Country Status (2)

Country Link
CN (1) CN111164563B (en)
WO (1) WO2019023968A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112967194A (en) * 2021-03-04 2021-06-15 Oppo广东移动通信有限公司 Target image generation method and device, computer readable medium and electronic equipment
CN113298731A (en) * 2021-05-24 2021-08-24 Oppo广东移动通信有限公司 Image color migration method and device, computer readable medium and electronic equipment
CN113794938A (en) * 2021-09-22 2021-12-14 深圳维盟网络技术有限公司 Atmosphere lamp illumination regulation and control method for enhancing video playing and game playing
CN115134573A (en) * 2021-03-25 2022-09-30 京东方科技集团股份有限公司 Color setting method, display device and computer readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113284206A (en) * 2021-05-19 2021-08-20 Oppo广东移动通信有限公司 Information acquisition method and device, computer readable storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360490A (en) * 2011-09-30 2012-02-22 北京航空航天大学 Color conversion and editing propagation-based method for enhancing seasonal feature of image
CN103647958A (en) * 2013-12-23 2014-03-19 联想(北京)有限公司 Image processing method and device and electronic device
CN105204850A (en) * 2015-08-31 2015-12-30 深圳市金立通信设备有限公司 Image processing method and terminal
CN105430295A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Device and method for image processing
CN106295659A (en) * 2016-08-15 2017-01-04 惠州Tcl移动通信有限公司 Taking pictures of a kind of smart machine takes color application process and system
CN106980460A (en) * 2017-03-31 2017-07-25 努比亚技术有限公司 A kind of mobile terminal and image processing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104732506B (en) * 2015-03-27 2018-04-10 浙江大学 A kind of portrait photographs' Color Style conversion method based on face semantic analysis
CN105323459B (en) * 2015-05-25 2018-10-16 维沃移动通信有限公司 Image processing method and mobile terminal
CN105302854B (en) * 2015-09-20 2019-03-26 杭州电子科技大学 A kind of method of mobile terminal color of image reproduction compatibility
CN106780367B (en) * 2016-11-28 2019-11-15 上海大学 HDR photo style transfer method dictionary-based learning

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360490A (en) * 2011-09-30 2012-02-22 北京航空航天大学 Color conversion and editing propagation-based method for enhancing seasonal feature of image
CN103647958A (en) * 2013-12-23 2014-03-19 联想(北京)有限公司 Image processing method and device and electronic device
CN105204850A (en) * 2015-08-31 2015-12-30 深圳市金立通信设备有限公司 Image processing method and terminal
CN105430295A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Device and method for image processing
CN106295659A (en) * 2016-08-15 2017-01-04 惠州Tcl移动通信有限公司 Taking pictures of a kind of smart machine takes color application process and system
CN106980460A (en) * 2017-03-31 2017-07-25 努比亚技术有限公司 A kind of mobile terminal and image processing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112967194A (en) * 2021-03-04 2021-06-15 Oppo广东移动通信有限公司 Target image generation method and device, computer readable medium and electronic equipment
CN112967194B (en) * 2021-03-04 2024-05-14 Oppo广东移动通信有限公司 Target image generation method and device, computer readable medium and electronic equipment
CN115134573A (en) * 2021-03-25 2022-09-30 京东方科技集团股份有限公司 Color setting method, display device and computer readable storage medium
CN113298731A (en) * 2021-05-24 2021-08-24 Oppo广东移动通信有限公司 Image color migration method and device, computer readable medium and electronic equipment
CN113794938A (en) * 2021-09-22 2021-12-14 深圳维盟网络技术有限公司 Atmosphere lamp illumination regulation and control method for enhancing video playing and game playing
CN113794938B (en) * 2021-09-22 2024-03-26 深圳维盟网络技术有限公司 Atmosphere lamp irradiation regulation and control method for enhancing video playing and game playing

Also Published As

Publication number Publication date
CN111164563B (en) 2024-02-20
CN111164563A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
WO2019023968A1 (en) Image color adjustment system and color adjustment method for smart terminal
JP4285290B2 (en) Image processing apparatus, image processing method, and program
CN109783182A (en) A kind of method of adjustment, device, equipment and the medium of page subject matter tone
JP2016048845A (en) Information processing device, information processing method, and program
US9020255B2 (en) Image processing apparatus, image processing method, and storage medium
JP6282065B2 (en) Image processing apparatus, image processing method, and program
CN113132696A (en) Image tone mapping method, device, electronic equipment and storage medium
KR101006334B1 (en) Apparatus and method for processing images, and record medium for performing the method
JP5569504B2 (en) Image processing apparatus, image processing method, and program
US20120250997A1 (en) Image processing apparatus, image processing method, and storage medium
JP5896204B2 (en) Image processing apparatus and program
EP1349115A2 (en) Image processing system, imaging device, and parameter-determining program
JP4944413B2 (en) Information processing method, computer program, computer-readable storage medium, and information processing apparatus
CN109064431A (en) A kind of picture luminance adjusting method, equipment and its storage medium
JP4146506B1 (en) Mosaic image generating apparatus, method and program
US10038825B2 (en) Image process apparatus for correcting a document based on correction parameter of another document and computer program therefor
CN104735354A (en) Method and device for shooting images
KR20220097255A (en) Method and apparatus for image creation
US7609425B2 (en) Image data processing apparatus, method, storage medium and program
JP5829231B2 (en) Image processing apparatus, program, and image forming system
US10341531B2 (en) Applying a perceptually uniform color space for image processing
CN102654919A (en) Image processing device, image processing method and storage medium
JP4507673B2 (en) Image processing apparatus, image processing method, and program
WO2023020017A1 (en) Image processing method and electronic device
JPH11262030A (en) Digital still camera and its operation control method

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: 17920157

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: 17920157

Country of ref document: EP

Kind code of ref document: A1