CN108259746B - Image color detection method and mobile terminal - Google Patents

Image color detection method and mobile terminal Download PDF

Info

Publication number
CN108259746B
CN108259746B CN201810070119.4A CN201810070119A CN108259746B CN 108259746 B CN108259746 B CN 108259746B CN 201810070119 A CN201810070119 A CN 201810070119A CN 108259746 B CN108259746 B CN 108259746B
Authority
CN
China
Prior art keywords
color
adjacent
array
matching result
arrays
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810070119.4A
Other languages
Chinese (zh)
Other versions
CN108259746A (en
Inventor
周泽平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810070119.4A priority Critical patent/CN108259746B/en
Publication of CN108259746A publication Critical patent/CN108259746A/en
Application granted granted Critical
Publication of CN108259746B publication Critical patent/CN108259746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/643Hue control means, e.g. flesh tone control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention provides an image color detection method and a mobile terminal, wherein the method comprises the following steps: acquiring preview image data acquired by a camera; extracting N color arrays of the preview image data; generating N adjacent color arrays according to the N color arrays; determining color tone information according to the N adjacent color arrays; and displaying the color tone information. In the embodiment of the invention, the color tone information of the image data can be identified, and the user can be reminded to adjust the shooting scene in time to achieve the expected shooting effect.

Description

Image color detection method and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an image color detection method and a mobile terminal.
Background
With the development of scientific technology, mobile terminals (including smart phones) play more and more important roles in the life of people, and the existing mobile terminals can realize basic conversation functions and short message sending functions, can also run various application programs and realize additional functions, such as photographing, video chatting with other users, payment operation and the like; the shooting function of the mobile terminal is one of the functions which users pay most attention to, and the shooting function of the mobile terminal is gradually enhanced due to the updating of the hardware of the camera.
If the user does not know the shooting skill, the shot image may not achieve the effect expected by the user due to factors such as composition, light or color; at present, aiming at the skill of composition, a mobile terminal usually adds a composition line on a preview to help a user to perform composition; aiming at the light application skill, the mobile terminal has an exposure locking mode, a backlight shooting mode and other modes to help a user reasonably use light for shooting; aiming at the problem of poor color, the image color can be adjusted by adopting various filter modes, adjusting white balance, editing the image color at a later stage and the like so as to achieve a more satisfactory color effect for users.
However, in order to solve the problem of poor color, various filter modes are adopted to shoot or adjust the white balance of an image, and only the colors of the image can be changed as a whole, and the colors of the image are edited later (such as adjusting color temperature, hue, vividness, saturation, color level and the like), so that the requirements on the color perception level of a user are high, and the operation is complicated.
Disclosure of Invention
The embodiment of the invention provides an image color detection method and a mobile terminal, and aims to solve the problems that the image color is poor, the image color can only be changed integrally by adopting a filter mode for shooting or adjusting white balance, and the operation of editing the image color at a later stage is complex.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a method for detecting image color is provided, the method comprising:
acquiring preview image data acquired by a camera;
extracting N color arrays of the preview image data;
generating N adjacent color arrays according to the N color arrays;
determining color tone information according to the N adjacent color arrays;
and displaying the color tone information.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes:
the preview image data acquisition module is used for acquiring preview image data acquired by the camera;
the color array extraction module is used for extracting N color arrays of the preview image data;
the adjacent color array generating module is used for generating N adjacent color arrays according to the N color arrays;
the color basic tone information determining module is used for determining color basic tone information according to the N adjacent color arrays;
and the color basic tone information display module is used for displaying the color basic tone information.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the above-mentioned step of detecting the image color.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for detecting image color described above.
In the embodiment of the invention, preview image data acquired by a camera is acquired; extracting N color arrays of the preview image data; generating N adjacent color arrays according to the N color arrays; determining color tone information according to the N adjacent color arrays; displaying the color key information; in the embodiment of the invention, the color tone information of the image data can be identified, and the user can be reminded to adjust the shooting scene in time to achieve the expected shooting effect.
Drawings
FIG. 1 is a flowchart of a method for detecting image color according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a 24-color hue circle in accordance with an embodiment of the present invention;
FIG. 3 is a preview image data displayed in a preview box according to an embodiment of the present invention;
FIG. 4 is a flowchart of a second embodiment of a method for detecting image color according to the present invention;
FIG. 5 is a schematic diagram of the generation of a set of proximity colors according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating adjustment of a color adjustment control according to an embodiment of the present invention;
fig. 7 is a block diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 8 is a block diagram of a color array extraction module according to an embodiment of the present invention;
FIG. 9 is a block diagram of a proximity color array generating module according to an embodiment of the present invention;
FIG. 10 is a block diagram of a color key information determination module according to an embodiment of the present invention;
fig. 11 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 12 is a block diagram of a matching result output module according to an embodiment of the present invention;
fig. 13 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 14 is a block diagram of another mobile terminal according to an embodiment of the present invention;
fig. 15 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart illustrating a first step of an image color detection method according to an embodiment of the present invention is shown, which may specifically include the following steps:
step 101, acquiring preview image data acquired by a camera;
in a specific implementation, the embodiments of the present invention may be applied to a mobile terminal, such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device (such as glasses, a watch, etc.), and the like.
In the embodiment of the present invention, the operating system of the mobile terminal may include Android (Android), IOS, Windows Phone, Windows, and the like.
In the embodiment of the present invention, the mobile terminal includes a camera, which is a piece of hardware on the mobile terminal, and the camera may be configured on the front of the mobile terminal (also referred to as a front camera) or on the back of the mobile device (also referred to as a rear camera), and the number of the cameras may be single, or two or more, and so on, which is not limited in the embodiment of the present invention; the mobile terminal acquires preview image data through a camera, and specifically, the preview image data may be a cache image in a preview application program.
102, extracting N color arrays of the preview image data;
further, the mobile terminal may extract N color arrays of the preview image data; wherein, N is a positive integer, and it should be noted that each color array includes a color value and a color proportion parameter corresponding to the color value, where the color proportion parameter refers to a proportion of an area occupied by a pixel block corresponding to the color value in the entire pixilated image;
the method includes the steps of obtaining pixilated preview image data after pixelating the preview image data, extracting a color value of each pixel block by taking each pixel block as a unit, taking an RGB (Red, Green, Blue) color model as an example, wherein the color value of each pixel block refers to the size of an R component, the size of a G component and the size of a B component, and a color proportion parameter refers to the proportion of the area of the pixel block with the same color value to the total area of the pixilated preview image data.
When the image color is described by different color models, the meaning of the color value may be different, for example, when the image color is described by a CMYK (Cyan, Magenta, Key Plate) color model, the color value may include the size of the C component, the size of the M component, the size of the Y component, and the size of the K component, and the color model may also include other models, such as an HSL (Hue, brightness) color model, an HSB (Hue, brightness) color model, and a YCbCr color model, which are not limited in this respect;
103, generating N adjacent color arrays according to the N color arrays;
further, the mobile terminal may generate N adjacent color arrays according to the N color arrays, where the N adjacent color arrays may include 24 adjacent color arrays; firstly, the mobile terminal may traverse the color values of the color array to obtain 24 color arrays, and then extract 24 adjacent color arrays in the 24 color arrays.
Specifically, the mobile terminal may summarize N color arrays into 24 color arrays according to 24 hue rings, specifically, because each hue in the hue rings includes a color value range, taking an RGB color model as an example, the color value range in the hue ring is a range of an R component, a range of a G component, and a range of a B component, the mobile terminal may compare the color value of the color array with the color value range in the hue rings, and if the color value of the color array falls into the color value range in the hue rings (that is, the size of the R component, the size of the G component, and the size of the B component of the color array fall into the color value range in the hue rings), determine that the color array is a certain hue corresponding to the hue rings; thus, the color array can be generalized into a 24-color array; it should be noted that each of the 24 color arrays includes a specific color value range and a ratio of an area of a pixel block having the same color value range to a total area of the pixilated preview image data.
Referring to fig. 2, which shows a schematic diagram of a 24-color phase ring according to an embodiment of the present invention, as shown in fig. 2, the 24 color phases may include "cyan 1", "cyan 2", "bluish green", "yellowish green", "greenish yellow", "reddish yellow", "yellowish orange", "reddish orange", "yellowish red", "purplish", "magenta", "purplish blue", "blue 1", "blue 2", and bluish green ", and the mobile terminal may summarize color arrays into 24 color arrays according to the 24 color phase ring;
further, the mobile terminal may extract the adjacent color array in the 24 color arrays, for example, the adjacent color array in the 24 color array of "yellow" is the color array corresponding to "greenish yellow" and "reddish yellow", and then the color array and the corresponding adjacent color array form the adjacent color array, that is, the color array corresponding to "yellow", "greenish yellow" and "reddish yellow" forms an adjacent color array.
It should be noted that the neighboring color number group includes at least 1 neighboring color value and a neighboring color proportion parameter corresponding to each neighboring color value; namely, each adjacent color array comprises an adjacent color value and an adjacent color proportion parameter corresponding to the adjacent color value, the adjacent color value is the color value range of the color array corresponding to the above-mentioned "yellow", "greenish yellow" and "reddish yellow", and the adjacent color proportion parameter is the sum of the color proportion parameters of the color arrays corresponding to the above-mentioned "yellow", "greenish yellow" and "reddish yellow", namely the proportion of the area of the pixel block of the above-mentioned three color arrays to the total area of the pixilated image data.
Moreover, the adjacent color arrays in the 24 color arrays of the 'yellow with red' are the color arrays corresponding to 'yellow' and 'orange with yellow', and then the adjacent color arrays are formed by the color arrays and the corresponding adjacent color arrays, namely, the adjacent color arrays are formed by the color arrays corresponding to the 'yellow with red', 'yellow' and 'orange with yellow', so that 24 adjacent color arrays can be extracted, the color arrays of the image data can be classified, and the convenience and the accuracy for searching the color tone information are improved.
In a preferred embodiment of the present invention, N may be any positive integer, that is, N adjacent color arrays may be generated according to the N color arrays, that is, each color array corresponds to one adjacent color array, and in practice, the color array and the adjacent color array have a one-to-one correspondence relationship, that is, the color array with the largest color proportion parameter determines the color tone information.
104, determining color tone information according to the N adjacent color arrays;
in a preferred embodiment of the present invention, the mobile terminal may include a preset database, where the preset database may include mapping relationships between N adjacent color arrays and color key information, and the mobile terminal finds the corresponding color key information in the preset database according to the adjacent color arrays, for example, if the color key information of the adjacent color array "green" is "fresh and natural", and if the adjacent color array with the maximum adjacent color ratio parameter of the preview image data is "green", the mobile terminal may find the corresponding color key information according to the mapping relationships: the method is fresh and natural, can find the color tone information of the image data, timely reminds the user to adjust the shooting scene, reduces the complexity of editing the image in the later period, and improves the use convenience of the user for the mobile terminal.
It should be noted that the color key information in the preset database may be any color key information set according to actual needs of those skilled in the art, and the embodiment of the present invention is not limited thereto.
And 105, displaying the color tone information.
Further, the mobile terminal may further include a display device, and after the color key information is obtained, the mobile terminal displays the color key information in the display device, referring to fig. 3, which shows preview image data displayed in the preview frame according to an embodiment of the present invention, as shown in fig. 3, if most of color values of a color array of the preview image data are color values located between 0 degree and 60 degrees of a 24-color phase ring (e.g., "yellow with green", "yellow green", "green", and "green with blue"), and an adjacent color array is obtained according to the color array, and color key information corresponding to a target adjacent color array with a maximum adjacent color ratio parameter is found in the preset database: "fresh and natural", the color key information is displayed on the preview image.
In the embodiment of the invention, preview image data acquired by a camera is acquired; extracting N color arrays of the preview image data; generating N adjacent color arrays according to the N color arrays; determining color tone information according to the N adjacent color arrays; displaying the color key information; in the embodiment of the invention, the color tone information of the image data can be identified, and the user can be reminded to adjust the shooting scene in time to achieve the expected shooting effect.
Referring to fig. 4, a flowchart illustrating steps of a second embodiment of the image color detection method according to the embodiment of the present invention is shown, which may specifically include the following steps:
step 401, acquiring preview image data acquired by a camera;
in this embodiment of the present invention, the detection method may be applied to a mobile terminal, where the mobile terminal may include an image acquisition device, such as a camera, and the mobile terminal acquires preview image data through the camera, where it is to be noted that the preview image data may be a cache image in a preview application program, and this is not limited in this embodiment of the present invention.
Step 402, performing pixelization processing on the preview image data;
further, the mobile terminal may perform pixelization processing on the preview image data to obtain pixelized image data, specifically, may perform filter processing by using an existing image processing tool, and then perform pixelization and mosaic processing on the image after the filter processing to obtain the pixelized image data; as shown in fig. 3, the pixilated image data includes a plurality of pixel blocks.
Step 403, extracting N color arrays of the pixilated preview image data; the color array comprises color values and color proportion parameters corresponding to the color values;
in a preferred embodiment of the present invention, after the mobile terminal obtains the pixilated preview image data, N color arrays of the pixilated image data may be further extracted, where it should be noted that, taking a pixel block in the pixilated preview image data as a unit, a color array of each pixel block is obtained, where the color array includes a color value and a color proportion parameter corresponding to the color value, and taking an RGB (Red, Green, Blue) color model as an example, a color value of each pixel block should refer to a size of an R component, a size of a G component, and a size of a B component, and the color proportion parameter refers to a proportion of an area of the same pixel block to a total area of the pixilated image data.
Step 404, traversing the color values of the color array to obtain a 24-color array;
further, mobile terminal can traverse the colour value of colour array obtains 24 colour arrays, and specifically speaking, mobile terminal can traverse the colour value of colour array summarizes 24 colour arrays with the colour array according to 24 colour value ranges of hue circle, and this 24 colour array can sort according to the order of hue circle and form the ring form, and is succinct directly perceived, convenient observation.
Step 405, extracting 24 adjacent color arrays in the 24 color arrays;
in particular, the mobile terminal may extract 24 adjacent color arrays from the 24 color arrays; specifically, the mobile terminal may first extract the adjacent color array of the 24 color arrays, for example, the adjacent color array of the 24 color array "yellow" is the color array corresponding to "greenish yellow" and "reddish yellow", and thus, the mobile terminal may extract the adjacent color array of each of the 24 color arrays.
In practical application to the embodiment of the present invention, the mobile terminal combines each color array in the 24 color arrays and the corresponding adjacent color array into the adjacent color array, for example, in the 24 color arrays, the adjacent color array of the "yellow" color array is the color array corresponding to "yellow with green" and "yellow with red", and a adjacent color array can be formed by the color arrays corresponding to the "yellow", "yellow with green" and "yellow with red", because each color array in the 24 color arrays corresponds to an adjacent color array, so that 24 adjacent color arrays can be obtained, the color arrays of the image data can be classified, and convenience and accuracy of searching the color key information are improved.
Referring to fig. 5, which shows a schematic diagram of generating a proximity color array according to an embodiment of the present invention, as shown in fig. 5, a plurality of color arrays of pixilated image data may be obtained, the plurality of color arrays may be subjected to induction sorting according to 24 color facies rings to obtain 24 color arrays, finally, adjacent color arrays are extracted, a proximity color array is composed of the color arrays and the corresponding adjacent color arrays, and the proximity color array is sorted according to a proximity color ratio parameter; wherein, 1 represents a color array of 'yellow' in the 24 color array, 2 represents a color array of 'greenish yellow' in the 24 color array, 3 represents a color array of 'yellow green' in the 24 color array, and 4 represents a color array of 'green' in the 24 color array; and "1, 24, 2" represents the adjacent color array composed of "yellow", "greenish yellow" and "reddish yellow", and "2, 1, 3" represents the adjacent color array composed of "greenish yellow", "yellow green", and "3, 2, 4" represents the adjacent color array composed of "yellow green", "greenish yellow" and "greenish yellow", and "4, 3, 5" represents the adjacent color array composed of "green", "greenish yellow" and "yellow green".
Step 406, determining the adjacent color array with the maximum adjacent color proportion parameter as a target adjacent color array;
it should be noted that each neighboring color array includes neighboring color values and a neighboring color proportion parameter corresponding to the neighboring color values, the neighboring color values are color value ranges of every three adjacent color arrays in the 24 color array, such as the color value ranges of the color arrays corresponding to the above-mentioned "yellow", "greenish yellow" and "reddish yellow", and the neighboring color proportion parameter is a sum of color proportion parameters of every three adjacent color arrays in the 24 color array (i.e. a sum of area proportions of pixel blocks of the three color arrays), such as a sum of color proportion parameters of the color arrays corresponding to the above-mentioned "yellow", "greenish yellow" and "reddish yellow".
In this embodiment of the present invention, the mobile terminal may determine that the neighboring color array with the largest neighboring color ratio parameter is the target neighboring color array, and specifically, the mobile terminal may further traverse the neighboring color array and determine that the neighboring color array with the largest neighboring color ratio parameter is the target neighboring color array.
Step 407, acquiring prestored color tone information corresponding to the target adjacent color array;
in practical application, the mobile terminal may search the corresponding color key information in the preset database according to the target adjacent color array, the preset database stores a mapping relationship between the adjacent color array and the color key information in advance, and the target adjacent color array may be used to query the corresponding color key information according to the mapping relationship, for example, when the target adjacent color array is an adjacent color array composed of color arrays corresponding to "green", "yellowish green", and "bluish" the target adjacent color array may be queried according to the mapping relationship that the color key information corresponding to the target adjacent color array is: the product is fresh and natural.
Step 408, displaying the color tone information;
further, the mobile terminal may further include a display device, and after obtaining the color key information, the mobile terminal may display the color key information in the display device; and searching color tone information corresponding to the target adjacent color array according to a preset database: "fresh and natural", the color tone information is displayed on the preview image data.
Step 409, identifying clothing color values of target objects in the preview image data;
specifically, the specific way in which the mobile terminal identifies the color value of the clothing in the preview image data is as follows: firstly, a portrait area is segmented by combining HOG (Histogram of Oriented Gradient) and Grabcut algorithms, upper and lower clothing of the portrait area are separated through an appearance segmentation model, pixel blocks with fixed sizes are respectively taken from the upper and lower clothing areas for segmentation, a KNN (K-nearest neighbor) classifier is used for carrying out color recognition on each pixel block to obtain a color label, and finally the color of the upper and lower clothing (namely the color value of the clothing in the preview image data) is determined in a mode of voting by all the pixel blocks.
Here, the HOG (histogram of oriented gradients) feature is a feature descriptor used for object detection in computer vision and image processing. The HOG features form features by calculating and counting a gradient direction histogram of a local region of the image; the Grabcut algorithm mainly realizes energy function minimum convergence through color data modeling and iteration to obtain a segmentation result;
in the embodiment of the invention, the mobile terminal can identify a foreground frame in rough preview image data by adopting an HOG characteristic combined with an SVM (support vector machine) classifier, and then accurately segment the foreground frame by adopting a Grabcut algorithm to obtain a portrait area;
further, the mobile terminal can divide the portrait area into an upper body clothing area and a lower body clothing area by adopting an appearance division model; specifically, a color change gradient map is obtained from RGB components corresponding to the portrait area, and then the color change gradient map is subjected to transverse projection analysis to obtain an upper and lower body clothing dividing line, and the portrait area is divided into an upper body clothing area and a lower body clothing area.
Finally, dividing the upper body clothing region and the lower body clothing region into a plurality of pixel blocks, obtaining the average value of RGB components of the pixel blocks, taking the average value of the RGB components as the color feature of the pixel blocks, identifying the color label of each pixel block by using a KNN classifier, taking each pixel block as a voter, taking each color label as a color candidate, counting the votes of the pixel blocks of the whole portrait region, voting, and taking the maximum votes of the color candidates as the color labels of the upper body clothing region and the lower body clothing region; the color value corresponding to the color label can be used as the clothing color value by the mobile terminal.
When a plurality of target objects in the preview image data exist, the mobile terminal can identify the areas occupied by the upper body clothing area and the lower body clothing area of each target object and sort the areas according to the areas, and when the areas of the plurality of target objects are not greatly different, the preview image data can be considered as a plurality of persons to be combined and the clothing color values of the plurality of target objects in the preview image data are identified; when the area occupied by a certain target object is greatly different from the area occupied by other target objects, the preview image data can be taken together by a single person, and the clothing color value of the target object with the largest occupied area is extracted.
It should be noted that, the above method for identifying a clothing color value of a target object in preview image data is only an example of the embodiment of the present invention, and the clothing color value in the preview image data may also be obtained through other algorithms or a combination of algorithms, which is not limited in particular by the embodiment of the present invention.
Step 410, outputting a matching result under the condition that the clothing color value is matched with the color key information;
further, the mobile terminal may determine whether the clothing color value matches the color key information; specifically, it can be determined whether the color value of the garment and the color value corresponding to the color key information are adjacent colors, or whether the color value of the garment and the color value corresponding to the color key information are complementary colors.
Note that, the adjacent color is a color value range corresponding to a hue within an arbitrary angle of 60 ° on a 24-hue circle; the complementary color refers to the color value ranges of two opposite hues of the 24-color hue ring, such as the color value ranges of two opposite hues of "purple" and "yellow-green" in fig. 2, so that the matching degree of the clothing of the character main body and the environment can be judged, and a basis is provided for matching suggestions.
In the embodiment of the present invention, when the color value of the clothing is matched with the color key information, a matching result is output, specifically, the matching result includes a first matching result, and the first matching result is used to indicate that the color value of the clothing matches with the color value corresponding to the color key information; and the matching result can also comprise a second matching result, and the second matching result is used for indicating that the color value of the clothes and the color value corresponding to the color tone information do not accord with the color collocation.
In a preferred embodiment of the present invention, when the color value of the clothing is matched with the color key information, the matching result is output, including the following substeps: under the condition that the color value of the clothes and the color value corresponding to the color tone information are adjacent colors, outputting a first matching result; or outputting a first matching result under the condition that the color value of the clothes and the color value corresponding to the color key information are mutually complementary colors.
If the mobile terminal outputs the first matching result, the fact that the clothing of the target object accords with a harmony principle with the shooting environment or the fact that the clothing of the target object accords with a collision color comparison principle with the shooting environment is indicated.
Step 411, displaying a preset color adjustment control under the condition that the matching result is a second matching result;
in a specific example of the embodiment of the present invention, the matching result includes a second matching result, and the second matching result is used to indicate that the color value of the clothing does not conform to the color matching with the color value corresponding to the color key information; displaying a preset color adjusting control under the condition that the matching result is a second matching result;
referring to fig. 6, which shows an adjustment schematic diagram of a color adjustment control according to an embodiment of the present invention, as shown in fig. 6, a color adjustment control 601 may be displayed on a preview frame, a lower body clothing region or an upper body clothing region clicked by a user is received, a clothing color value of the lower body clothing region is adjusted by using the color adjustment control 601, a "confirm" sub-button is clicked, preview image data of the adjusted clothing color value is saved, and if a "restore" sub-button is clicked, an operation of adjusting the clothing color value is withdrawn, so that operation is convenient and use convenience of the user is improved.
Step 412, receiving a target color input by a user on the color adjustment control;
in practical application to the embodiment of the present invention, the mobile terminal receives the target color input by the user on the color adjustment control, for example, the mobile terminal receives the target color "blue" selected by the user click. It should be noted that the target color displayed on the color adjustment control may be a color recommended in the preset database according to the mapping relationship between the adjacent color array and the color key information.
Step 413, adjusting the color value of the clothing according to the target color;
further, the mobile terminal may adjust the clothing color value according to the target color, for example, the mobile terminal may adjust the clothing color value of the upper body area to the target color "blue".
Step 414, displaying a preset filter identifier when the matching result is the second matching result;
further, under the condition that the matching result is the second matching result, the mobile terminal can display a preset filter identifier, namely, a filter control is displayed in the preview frame, the filter identifier clicked by the user is received, different filters of the preview image data are added according to the filter identifier (namely, different image special effects are added), the 'confirm' sub-button is clicked, the preview image data is stored, and if the 'restore' sub-button is clicked, the operation of adding the filters is withdrawn, so that the operation is convenient, and the use convenience of the user is improved.
Step 415, receiving a target filter selected by a user in the preset filter identification;
specifically, the mobile terminal may receive a target filter selected by the user among the preset filter identifications.
Step 416, performing image processing on the preview image data according to the target filter.
As a preferred example of the embodiment of the present invention, the mobile terminal may perform image processing on the preview image data according to the target filter.
In the embodiment of the invention, preview image data acquired by a camera is acquired; performing pixelization processing on the preview image data; extracting N color arrays of the previewed image data after pixelation; traversing the color values of the color array to obtain a 24-color array; extracting 24 adjacent color arrays in the 24 color arrays; determining the adjacent color array with the maximum adjacent color proportion parameter as a target adjacent color array; acquiring pre-stored color tone information corresponding to the target adjacent color array; identifying a clothing color value of a target object in the preview image data; under the condition that the clothing color value is matched with the color tone information, outputting a matching result; displaying a preset color adjusting control under the condition that the matching result is a second matching result; receiving a target color input by a user on the color adjustment control; adjusting the color value of the clothing according to the target color; displaying a preset filter identification under the condition that the matching result is a second matching result; receiving a target filter selected by a user in the preset filter identification; performing image processing on the preview image data according to the target filter; the real-time display of the color basic tone information is realized, so that a user can adjust the shooting scene more quickly and timely, the technical effect of shooting the image which accords with the expected color basic tone is achieved, whether the color value of the clothes and the color basic tone information accord with the harmonious principle or the contrast principle of color collision can be accurately judged, the user can be accurately guided to replace the clothes with proper colors according to the color basic tone information, and the color matching degree of the image is improved.
Fig. 7 is a block diagram of a mobile terminal according to an embodiment of the present invention, where the mobile terminal 300 shown in fig. 7 includes a preview image data obtaining module 301, a color array extracting module 302, an adjacent color array generating module 303, a color key information determining module 304, and a color key information displaying module 305;
a preview image data obtaining module 301, configured to obtain preview image data acquired by a camera;
a color array extraction module 302, configured to extract N color arrays of the preview image data;
a proximity color array generating module 303, configured to generate N proximity color arrays according to the N color arrays;
a color key information determining module 304, configured to determine color key information according to the N adjacent color arrays;
and a color key information display module 305, configured to display the color key information.
Referring to fig. 8, a color array extraction module 302 according to an embodiment of the present invention is shown, where the color array extraction module 302 includes:
a pixelation sub-module 3021 configured to perform pixelation on the preview image data;
a color array extraction submodule 3022 configured to extract N color arrays of the preview image data after the pixelation;
the color array comprises color values and color proportion parameters corresponding to the color values.
Referring to fig. 9, a proximity color array generating module 303 according to an embodiment of the present invention is shown, where the proximity color array generating module 303 includes:
the traversal submodule 3031 is used for traversing the color values of the color array to obtain a 24-color array;
and the adjacent color array extraction sub-module 3032 is used for extracting 24 adjacent color arrays in the 24 color arrays.
Referring to fig. 10, a color key information determining module 304 according to an embodiment of the present invention is shown, where the adjacent color array includes at least 1 adjacent color value and an adjacent color proportion parameter corresponding to each adjacent color value, and the color key information determining module 304 includes:
a determining submodule 3041, configured to determine the neighboring color array with the largest neighboring color proportion parameter as a target neighboring color array;
a color key information obtaining sub-module 3042, configured to obtain pre-stored color key information corresponding to the target adjacent color array.
Referring to fig. 11, another mobile terminal 300 according to an embodiment of the present invention is shown, where the mobile terminal 300 further includes:
a clothing color value identification module 306, configured to identify a clothing color value of a target object in the preview image data;
and a matching result output module 307, configured to output a matching result when the clothing color value matches the color key information.
Referring to fig. 12, a matching result output module 307 in the embodiment of the present invention is shown, where the matching result includes a first matching result, and the first matching result is used to indicate that a color value of the clothing matches a color matching with a color value corresponding to the color key information;
the matching result output module 307 includes:
the first output submodule 3071, configured to output a first matching result when the color value of the garment and the color value corresponding to the color key information are adjacent colors;
or, the second output sub-module 3072 is configured to output the first matching result when the color value of the garment and the color value corresponding to the color key information are complementary colors.
Referring to fig. 13, another mobile terminal 300 according to the embodiment of the present invention is shown, where the matching result includes a second matching result, and the second matching result is used to indicate that a color value of the clothing does not conform to a color matching with a color value corresponding to the color key information;
the mobile terminal 300 further includes:
a color adjustment control display module 308, configured to display a preset color adjustment control if the matching result is the second matching result;
a target color receiving module 309, configured to receive a target color input by a user on the color adjustment control;
and a clothing color value adjusting module 310, configured to adjust the clothing color value according to the target color.
Referring to fig. 14, another mobile terminal 300 according to an embodiment of the present invention is shown, where the mobile terminal 300 further includes:
a filter identifier display module 311, configured to display a preset filter identifier when the matching result is the second matching result;
a target filter receiving module 312, configured to receive a target filter selected by a user from the preset filter identifier;
and an image processing module 313, configured to perform image processing on the preview image data according to the target filter.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
In the embodiment of the invention, preview image data acquired by a camera is acquired; extracting N color arrays of the preview image data; generating N adjacent color arrays according to the N color arrays; determining color tone information according to the N adjacent color arrays; displaying the color key information; in the embodiment of the invention, the color tone information of the image data can be identified, and the user can be reminded to adjust the shooting scene in time to achieve the expected shooting effect.
Figure 15 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 1500 includes, but is not limited to: a radio frequency unit 1501, a network module 1502, an audio output unit 1503, an input unit 1504, a sensor 1505, a display unit 1506, a user input unit 1507, an interface unit 1508, a memory 1509, a processor 1510, and a power supply 1511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 15 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 1510 is configured to obtain preview image data acquired by a camera; extracting N color arrays of the preview image data; generating N adjacent color arrays according to the N color arrays; determining color tone information according to the N adjacent color arrays; and displaying the color tone information.
In the embodiment of the invention, preview image data acquired by a camera is acquired; extracting N color arrays of the preview image data; generating N adjacent color arrays according to the N color arrays; determining color tone information according to the N adjacent color arrays; displaying the color key information; in the embodiment of the invention, the color tone information of the image data can be identified, and the user can be reminded to adjust the shooting scene in time to achieve the expected shooting effect.
It should be understood that, in the embodiment of the present invention, the rf unit 1501 may be configured to receive and transmit signals during a message transmission or a call, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 1510; in addition, the uplink data is transmitted to the base station. In general, the radio frequency unit 1501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 1501 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides wireless broadband internet access to the user through the network module 1502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 1503 may convert audio data received by the radio frequency unit 1501 or the network module 1502 or stored in the memory 1509 into an audio signal and output as sound. Also, the audio output unit 1503 may provide audio output related to a specific function performed by the mobile terminal 1500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1504 is used to receive audio or video signals. The input Unit 1504 may include a Graphics Processing Unit (GPU) 15044 and a microphone 15042, and the Graphics processor 15041 processes image data of still pictures or videos obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1506. The image frames processed by the graphic processor 15041 may be stored in the memory 1509 (or other storage medium) or transmitted via the radio frequency unit 1501 or the network module 1502. The microphone 15042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1501 in the case of the phone call mode.
The mobile terminal 1500 also includes at least one sensor 1505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 15061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 15061 and/or a backlight when the mobile terminal 1500 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); sensors 1505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 1506 is used to display information input by the user or information provided to the user. The Display unit 1506 may include a Display panel 15061, and the Display panel 15061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 1507 includes a touch panel 15071 and other input devices 15072. The touch panel 15071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 15071 (e.g., operations by a user on or near the touch panel 15071 using a finger, a stylus, or any suitable object or accessory). The touch panel 15071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1510 to receive and execute commands sent by the processor 1510. In addition, the touch panel 15071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 15071, the user input unit 1507 may include other input devices 15072. In particular, other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 15071 may be overlaid on the display panel 15061, and when the touch panel 15071 detects a touch operation thereon or nearby, the touch panel 15071 transmits the touch operation to the processor 1510 to determine the type of the touch event, and then the processor 1510 provides a corresponding visual output on the display panel 15061 according to the type of the touch event. Although in fig. 15, the touch panel 15071 and the display panel 15061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 15071 and the display panel 15061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 1508 is an interface for connecting external devices to the mobile terminal 1500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 1500 or may be used to transmit data between the mobile terminal 1500 and external devices.
The memory 1509 may be used to store software programs as well as various data. The memory 1509 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1509 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 1509 and calling data stored in the memory 1509, thereby monitoring the entire mobile terminal. Processor 1510 may include one or more processing units; preferably, the processor 1510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1510.
The mobile terminal 1500 may also include a power supply 1511 (such as a battery) for powering the various components, and the power supply 1511 may be logically coupled to the processor 1510 via a power management system that may be configured to manage charging, discharging, and power consumption.
In addition, the mobile terminal 1500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 1510, a memory 1509, and a computer program stored in the memory 1509 and capable of running on the processor 1510, where the computer program, when executed by the processor 1510, implements each process of the above-mentioned method for detecting image color, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the embodiment of the method for detecting image color, and can achieve the same technical effects, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A method for detecting color of an image, the method comprising:
acquiring preview image data acquired by a camera;
extracting N color arrays of the preview image data;
generating N adjacent color arrays according to the N color arrays;
determining color tone information according to the N adjacent color arrays;
displaying the color key information;
the N adjacent color arrays comprise 24 adjacent color arrays, and each adjacent color array comprises an adjacent color array corresponding to the color array;
generating N adjacent color arrays according to the N color arrays comprises:
traversing the color values of the color array to obtain a 24-color array;
extracting 24 adjacent color arrays in the 24 color arrays; the adjacent color array consists of the color array and a corresponding adjacent color array;
the adjacent color array comprises at least 1 adjacent color value and an adjacent color proportion parameter corresponding to each adjacent color value;
determining color key information according to the N adjacent color arrays comprises the following steps:
determining the adjacent color array with the maximum adjacent color proportion parameter as a target adjacent color array;
acquiring pre-stored color tone information corresponding to the target adjacent color array;
wherein, after the displaying the color key information, further comprising:
identifying a clothing color value of a target object in the preview image data;
under the condition that the clothing color value is matched with the color tone information, outputting a matching result;
the matching result comprises a first matching result, and the first matching result is used for indicating that the color value of the clothes and the color value corresponding to the color tone information accord with color matching;
under the circumstances that dress colour value and colour key information assorted, output matching result includes:
under the condition that the color value of the clothes and the color value corresponding to the color tone information are adjacent colors, outputting a first matching result;
or outputting a first matching result under the condition that the color value of the clothes and the color value corresponding to the color key information are mutually complementary colors.
2. The method of claim 1, wherein the extracting the N color arrays of the preview image data comprises:
performing pixelization processing on the preview image data;
extracting N color arrays of the previewed image data after pixelation;
the color array comprises color values and color proportion parameters corresponding to the color values.
3. The method of claim 1, wherein the matching result comprises a second matching result indicating that the color value of the apparel does not conform to the color matching with the color value corresponding to the color key information;
after the outputting the matching result, the method further comprises:
displaying a preset color adjusting control under the condition that the matching result is a second matching result;
receiving a target color input by a user on the color adjustment control;
and adjusting the color value of the clothes according to the target color.
4. The method of claim 3, wherein after outputting the matching result, the method further comprises:
displaying a preset filter identification under the condition that the matching result is a second matching result;
receiving a target filter selected by a user in the preset filter identification;
and according to the target filter, performing image processing on the preview image data.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the preview image data acquisition module is used for acquiring preview image data acquired by the camera;
the color array extraction module is used for extracting N color arrays of the preview image data;
the adjacent color array generating module is used for generating N adjacent color arrays according to the N color arrays;
the color basic tone information determining module is used for determining color basic tone information according to the N adjacent color arrays;
the color basic tone information display module is used for displaying the color basic tone information;
wherein, N near color array includes 24 near color array, near color array includes the adjacent color array that the color array corresponds, near color array generation module includes:
the traversing submodule is used for traversing the color values of the color array to obtain a 24-color array;
the adjacent color array extraction sub-module is used for extracting 24 adjacent color arrays in the 24 color arrays; the adjacent color array consists of the color array and a corresponding adjacent color array;
the adjacent color array comprises at least 1 adjacent color value and an adjacent color proportion parameter corresponding to each adjacent color value, and the color key information determining module comprises:
the determining submodule is used for determining the adjacent color array with the maximum adjacent color proportion parameter as a target adjacent color array;
the color basic tone information acquisition submodule is used for acquiring pre-stored color basic tone information corresponding to the target adjacent color array;
wherein the mobile terminal further comprises:
the clothing color value identification module is used for identifying clothing color values of the target objects in the preview image data;
the matching result output module is used for outputting a matching result under the condition that the clothing color value is matched with the color tone information;
the matching result comprises a first matching result, and the first matching result is used for indicating that the color value of the clothes and the color value corresponding to the color tone information accord with color matching;
the matching result output module includes:
the first output sub-module is used for outputting a first matching result under the condition that the color values corresponding to the clothing color value and the color key information are adjacent colors;
or, the second output sub-module is configured to output the first matching result when the color value of the clothing and the color value corresponding to the color key information are complementary colors.
6. The mobile terminal of claim 5, wherein the color array extraction module comprises:
the pixelation processing submodule is used for performing pixelation processing on the preview image data;
the color array extraction submodule is used for extracting N color arrays of the previewed image data after the pixelation;
the color array comprises color values and color proportion parameters corresponding to the color values.
7. The mobile terminal of claim 5, wherein the matching result comprises a second matching result, and the second matching result is used to indicate that the color value of the clothing does not conform to the color matching with the color value corresponding to the color key information;
the mobile terminal further includes:
the color adjusting control display module is used for displaying a preset color adjusting control under the condition that the matching result is a second matching result;
the target color receiving module is used for receiving a target color input on the color adjusting control by a user;
and the clothing color value adjusting module is used for adjusting the clothing color value according to the target color.
8. The mobile terminal of claim 7, wherein the mobile terminal further comprises:
the filter identification display module is used for displaying a preset filter identification under the condition that the matching result is a second matching result;
the target filter receiving module is used for receiving a target filter selected by a user in the preset filter identification;
and the image processing module is used for carrying out image processing on the preview image data according to the target filter.
CN201810070119.4A 2018-01-24 2018-01-24 Image color detection method and mobile terminal Active CN108259746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810070119.4A CN108259746B (en) 2018-01-24 2018-01-24 Image color detection method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810070119.4A CN108259746B (en) 2018-01-24 2018-01-24 Image color detection method and mobile terminal

Publications (2)

Publication Number Publication Date
CN108259746A CN108259746A (en) 2018-07-06
CN108259746B true CN108259746B (en) 2021-02-02

Family

ID=62743066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810070119.4A Active CN108259746B (en) 2018-01-24 2018-01-24 Image color detection method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108259746B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040602B (en) * 2018-09-20 2021-02-19 维沃移动通信有限公司 Image processing method and mobile terminal
CN110555393A (en) * 2019-08-16 2019-12-10 北京慧辰资道资讯股份有限公司 method and device for analyzing pedestrian wearing characteristics from video data
CN112116676A (en) * 2020-09-18 2020-12-22 广东小天才科技有限公司 Pixelized image generation method and system
CN112217989A (en) * 2020-09-25 2021-01-12 北京小米移动软件有限公司 Image display method and device
CN112489143A (en) * 2020-11-30 2021-03-12 济南博观智能科技有限公司 Color identification method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183755A (en) * 2015-07-17 2015-12-23 小米科技有限责任公司 Picture display method and apparatus
CN105551011A (en) * 2014-10-29 2016-05-04 阿里巴巴集团控股有限公司 Method and apparatus for setting dominant tone
CN106101547A (en) * 2016-07-06 2016-11-09 北京奇虎科技有限公司 The processing method of a kind of view data, device and mobile terminal
CN106506975A (en) * 2016-12-29 2017-03-15 深圳市金立通信设备有限公司 A kind of image pickup method and terminal
CN106603928A (en) * 2017-01-20 2017-04-26 维沃移动通信有限公司 Shooting method and mobile terminal
CN107302662A (en) * 2017-07-06 2017-10-27 维沃移动通信有限公司 A kind of method, device and mobile terminal taken pictures

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105551011A (en) * 2014-10-29 2016-05-04 阿里巴巴集团控股有限公司 Method and apparatus for setting dominant tone
CN105183755A (en) * 2015-07-17 2015-12-23 小米科技有限责任公司 Picture display method and apparatus
CN106101547A (en) * 2016-07-06 2016-11-09 北京奇虎科技有限公司 The processing method of a kind of view data, device and mobile terminal
CN106506975A (en) * 2016-12-29 2017-03-15 深圳市金立通信设备有限公司 A kind of image pickup method and terminal
CN106603928A (en) * 2017-01-20 2017-04-26 维沃移动通信有限公司 Shooting method and mobile terminal
CN107302662A (en) * 2017-07-06 2017-10-27 维沃移动通信有限公司 A kind of method, device and mobile terminal taken pictures

Also Published As

Publication number Publication date
CN108259746A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN108259746B (en) Image color detection method and mobile terminal
CN109191410B (en) Face image fusion method and device and storage medium
CN111476780B (en) Image detection method and device, electronic equipment and storage medium
CN110163806B (en) Image processing method, device and storage medium
CN107038681B (en) Image blurring method and device, computer readable storage medium and computer device
CN108712603B (en) Image processing method and mobile terminal
WO2019052329A1 (en) Facial recognition method and related product
CN107644396B (en) Lip color adjusting method and device
CN113507558B (en) Method, device, terminal equipment and storage medium for removing image glare
CN113132704B (en) Image processing method, device, terminal and storage medium
CN111461097A (en) Method, apparatus, electronic device and medium for recognizing image information
JP7467667B2 (en) Detection result output method, electronic device and medium
CN108038431A (en) Image processing method, device, computer equipment and computer-readable recording medium
CN110263729A (en) A kind of method of shot boundary detector, model training method and relevant apparatus
CN112699849A (en) Gesture recognition method and device, electronic equipment, readable storage medium and chip
CN110827195A (en) Virtual article adding method and device, electronic equipment and storage medium
CN112463275A (en) Data processing method, terminal and storage medium
CN110825897A (en) Image screening method and device and mobile terminal
CN109840476B (en) Face shape detection method and terminal equipment
CN109544445B (en) Image processing method and device and mobile terminal
CN109639981B (en) Image shooting method and mobile terminal
CN110944163A (en) Image processing method and electronic equipment
CN108038889A (en) The processing method and mobile terminal of a kind of image color cast
CN111161133B (en) Picture processing method and electronic equipment
CN113676663B (en) Camera white balance adjustment method and device, storage medium and terminal equipment

Legal Events

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