CN106303154B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN106303154B
CN106303154B CN201510325291.6A CN201510325291A CN106303154B CN 106303154 B CN106303154 B CN 106303154B CN 201510325291 A CN201510325291 A CN 201510325291A CN 106303154 B CN106303154 B CN 106303154B
Authority
CN
China
Prior art keywords
pixel
data
eigenvalue
adjustment
value
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
CN201510325291.6A
Other languages
Chinese (zh)
Other versions
CN106303154A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510325291.6A priority Critical patent/CN106303154B/en
Publication of CN106303154A publication Critical patent/CN106303154A/en
Application granted granted Critical
Publication of CN106303154B publication Critical patent/CN106303154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of information processing method and electronic equipments, wherein the described method includes: extracting the pixel for meeting the first pre-defined rule in the first image when getting the first image, obtaining the first pixel;Determine corresponding first data of the first pixel, the first data characterization is the first attribute of pixel;Determine the First Eigenvalue of the first data;According to the First Eigenvalue, the first adjustment is carried out to the first data.It can simply and effectively realize adjustment of the image-signal processor ISP to image brightness, saturation degree, tone etc..

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to the information processing technologies, and in particular to a kind of information processing method and electronic equipment.
Background technique
To reach the better display effect of image, in field of image processing, it will usually by the specified portions in image into The adjustment of row brightness, saturation degree, tone etc..For example, being by the enhancing that the face part in a figure painting carries out tone Face is allowed to become more ruddy;The color on meadow is allowed to become greener the enhancing that meadow in a width landscape painting carries out saturation degree. Currently, common method of adjustment is based primarily upon mahalanobis distance method, that is, pass through the colour difference signal of the parts of images pixel and reference The distance between sample is adjusted the colour difference signal of the parts of images pixel, to reach adjustment purpose.Wherein, geneva away from It is more complex from formula, it is more demanding to the operation of image-signal processor ISP (Image Signal Processor).It is how simple Single effective realize is adjusted to for technical problem urgently to be resolved image brightness, saturation degree, tone etc..
Summary of the invention
To solve existing technical problem, the embodiment of the present invention is to provide a kind of information processing method and electronics is set It is standby, it can simply and effectively realize adjustment of the ISP to image brightness, saturation degree, tone etc..
The technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of information processing method, it is applied in an electronic equipment, when getting the first figure When picture, which comprises
The pixel for meeting the first pre-defined rule in the first image is extracted, the first pixel is obtained;
Determine corresponding first data of the first pixel, the first data characterization is the first attribute of pixel;
Determine the First Eigenvalue of the first data;
According to the First Eigenvalue, the first adjustment is carried out to the first data.
It is described to extract the pixel for meeting the first pre-defined rule in the first image in above scheme, the first pixel is obtained, Include:
Determine corresponding first data of each pixel in the first image;
Extract the pixel that the first data are located in the first preset range;
Determining that the first data extracted are located at the pixel in the first preset range is first pixel.
In above scheme, first data are indicated by the first predetermined figure,
Correspondingly, the First Eigenvalue of first data of determination, comprising:
First data are changed, third data are obtained, third data are indicated by the second predetermined figure, and first is predetermined Digit is different from the second predetermined figure;
In the first predetermined relationship, the first information corresponding with the third data is determined;
In the second predetermined relationship, the second information corresponding with the first information is determined;
Determine that second information representation is the First Eigenvalue.
It is described according to the First Eigenvalue in above scheme, the first adjustment is carried out to the first data, comprising:
First data include at least the first subdata and the second subdata;
The First Eigenvalue includes at least the first subsystem number, the second subsystem number, third subsystem number and the 4th subsystem number;
First subdata is subjected to the first operation with the first subsystem number, third subsystem number respectively, obtains the first sub- result, the Three sub- results;
Second subdata is subjected to the first operation with the second subsystem number, the 4th subsystem number respectively, obtains the second sub- result, the Four sub- results;
Determine that the sum of the first sub- result and the second sub- result are the adjustment result to the first subdata;
Determine that the sum of the sub- result of third and the 4th sub- result are the adjustment result to the second subdata.
In above scheme, the method also includes:
Determine corresponding second data of the first pixel, the second data characterization is the second attribute of pixel;Determine second The First Eigenvalue of data;According to the First Eigenvalue, second adjustment is carried out to the second data;Alternatively,
The pixel for meeting the second pre-defined rule is extracted in the first pixel, obtains the second pixel;Obtain second Corresponding second data of pixel, the second data characterization are the second attribute of pixel;Determine the First Eigenvalue of the second data; According to the First Eigenvalue, second adjustment is carried out to the second data;
Wherein, first attribute is the color of pixel;Second attribute is the brightness of pixel.
It is described that the pixel for meeting the second pre-defined rule is extracted in the first pixel in above scheme, obtain second Pixel, comprising:
Extract the first pixel that the second data are located in the second preset range;
Determine that the first pixel that extracted second data are located in the second preset range is the second pixel.
The embodiment of the invention also provides a kind of electronic equipment, the electronic equipment includes:
First extraction unit, for extracting in the first image and meeting the first pre-defined rule when getting the first image Pixel obtains the first pixel;
First determination unit, for determining corresponding first data of the first pixel, the first data characterization is pixel First attribute;
Second determination unit, for determining the First Eigenvalue of the first data;
The first adjustment unit, for carrying out the first adjustment to the first data according to the First Eigenvalue.
In above scheme, first extraction unit is used for: determining that each pixel corresponding first counts in the first image According to;
Extract the pixel that the first data are located in the first preset range;
Determining that the first data extracted are located at the pixel in the first preset range is first pixel.
In above scheme, second determination unit is used for: first data indicate by the first predetermined figure,
First data are changed, third data are obtained, third data are indicated by the second predetermined figure, and first is predetermined Digit is different from the second predetermined figure;
In the first predetermined relationship, the first information corresponding with the third data is determined;
In the second predetermined relationship, the second information corresponding with the first information is determined;
Determine that second information representation is the First Eigenvalue.
In above scheme, the first adjustment unit is also used to:
First data include at least the first subdata and the second subdata;
The First Eigenvalue includes at least the first subsystem number, the second subsystem number, third subsystem number and the 4th subsystem number;
First subdata is subjected to the first operation with the first subsystem number, third subsystem number respectively, obtains the first sub- result, the Three sub- results;
Second subdata is subjected to the first operation with the second subsystem number, the 4th subsystem number respectively, obtains the second sub- result, the Four sub- results;
Determine that the sum of the first sub- result and the second sub- result are the adjustment result to the first subdata;
Determine that the sum of the sub- result of third and the 4th sub- result are the adjustment result to the second subdata.
In above scheme, the first adjustment unit is also used to:
Determine corresponding second data of the first pixel, the second data characterization is the second attribute of pixel;Determine second The First Eigenvalue of data;According to the First Eigenvalue, second adjustment is carried out to the second data;Alternatively,
The pixel for meeting the second pre-defined rule is extracted in the first pixel, obtains the second pixel;Obtain second Corresponding second data of pixel, the second data characterization are the second attribute of pixel;Determine the First Eigenvalue of the second data; According to the First Eigenvalue, second adjustment is carried out to the second data;
Wherein, first attribute is the color of pixel;Second attribute is the brightness of pixel.
In above scheme, the first adjustment unit is also used to:
Extract the first pixel that the second data are located in the second preset range;
Determine that the first pixel that extracted second data are located in the second preset range is the second pixel.
Information processing method and electronic equipment provided in an embodiment of the present invention, which comprises when getting the first figure When picture, the pixel for meeting the first pre-defined rule in the first image is extracted, the first pixel is obtained;Determine that the first pixel is corresponding The first data, the first data characterization be pixel the first attribute;Determine the First Eigenvalue of the first data;It is special according to first Value indicative carries out the first adjustment to the first data.It can simply and effectively realize ISP to the side such as image brightness, saturation degree, tone The adjustment in face.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram of the first embodiment of information processing method provided by the invention;
Fig. 2 is the implementation process schematic diagram of the second embodiment of information processing method provided by the invention;
Fig. 3 is the schematic diagram of UV colour gamut provided by the invention;
Fig. 4 is the schematic diagram provided by the invention that pixel tone is adjusted in UV colour gamut;
Fig. 5 is the composed structure schematic diagram of the first embodiment of electronic equipment provided by the invention;
Fig. 6 is the composed structure schematic diagram of the second embodiment of electronic equipment provided by the invention.
Specific embodiment
Below in conjunction with attached drawing to a preferred embodiment of the present invention will be described in detail, it should be understood that described below is excellent Select embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
In information processing method provided by the invention and the following embodiment of electronic equipment, related electronic equipment packet It includes but is not limited to: the various types such as industrial control computer, personal computer computer, integral computer, tablet computer, hand Mechanical, electrical sub- reader etc..The object of the preferred electronic equipment of the embodiment of the present invention is industrial control computer or personal computer.
Embodiment one
The first embodiment of information processing method provided by the invention is applied in an electronic equipment, the electronic equipment Have the function of ISP or includes ISP.In ISP, color enhancement Color Enhancement is a significant components, passes through this One component can realize the enhancing to image brightness, saturation degree, tone etc. in terms of at least one.Wherein, saturation degree is adjusted To deepen current color or desalination current color;Tone is adjusted to for current color to be adjusted towards another color.
Fig. 1 is the implementation process schematic diagram of the first embodiment of information processing method provided by the invention;As shown in Figure 1, The described method includes:
Step 101: when getting the first image, extracting the pixel for meeting the first pre-defined rule in the first image, obtain To the first pixel;
Here, the first image can be for by the acquisition unit such as camera acquired image of electronic equipment, can also be with It can also be electronic equipment in local pre-stored image for the image that electronic equipment is received by network;Certainly, may be used also By by it is other it is conceivable that in a manner of obtain, be not specifically limited herein.For piece image, need to certain in image A region carries out the adjustment in terms of at least one such as brightness, saturation degree, tone as enhanced, for other regions without adjusting It is whole.For example, for a width facial image, the enhancing for carrying out saturation degree to the face area in facial image is needed to deepen Face color, and other regions in the image are not made any adjustments then.In this step, meet the pixel of the first pre-defined rule Point is to need to be adjusted pixel, the pixel that the first pixel as needs to be adjusted in the first image.Certainly, originally Embodiment also includes the case where being adjusted all pixels point of whole image.
Step 102: determining corresponding first data of the first pixel, the first data characterization is the first attribute of pixel;
In ISP, image can be used YUV color coding mode and be encoded, wherein Y value indicates brightness, namely ash Rank value;And U value and the expression of V value are colorations, effect is the color and saturation degree for describing image, for characterizing the color of pixel. Here, when the first attribute is the color of image, the first data are U value and V value corresponding to image slices vegetarian refreshments.When the first category Property be image brightness when, the first data are Y value corresponding to image slices vegetarian refreshments.About specifically retouching for YUV color coding It states and refers to existing related description, do not repeat herein.
Step 103: determining the First Eigenvalue of the first data;
Here, the First Eigenvalue is the adjustment range value of the first data corresponding to pixel.Using the first data as image For U value and V value corresponding to pixel, the First Eigenvalue includes the range value A to U value adjustment and the width to the adjustment of V value Angle value D, such as A=10, D=2.
Step 104: according to the First Eigenvalue, the first adjustment being carried out to the first data.
Here, the first data are adjusted with the adjustment range value determined.For example, corresponding to pixel U value and V value are U1, V1, for A=10, D=2, UE=A*U1=10U1, VE=D*V1=2V1;UEAfter pixel adjustment U value, VEFor pixel V value adjusted, the adjustment to the saturation degree of the pixel is so just completed.It needs to illustrate Be, those skilled in the art should and know, an only concrete example, does not represent all situations of the present embodiment herein.
In aforementioned schemes, the pixel for needing to adjust in the first image is first determined, then be determined to characterize the pixel face First data of color and/or the first attribute of brightness determine the adjustment range value of the first data, according to the range value to first Data are adjusted, and obtain the adjusted pixel in terms of color and/or brightness.With mahalanobis distance method in the related technology It compares, this programme only needs to determine the adjustment range value of the first data, and according to the range value to the color of pixel and/or bright Brightness adjusts, and is not necessarily to complex calculation, can simply and effectively realize ISP to image brightness, saturation degree, tone etc. The adjustment of aspect.
Embodiment two
The second embodiment of information processing method provided by the invention is applied in an electronic equipment, the electronic equipment Have the function of ISP or includes ISP.In ISP, color enhancement Color Enhancement is a significant components, passes through this One component can realize the enhancing to image brightness, saturation degree, tone etc. in terms of at least one.Wherein, saturation degree is adjusted Deepen current color or desalination current color;Tone is adjusted to adjust current color towards the direction of another color It is whole.
Fig. 2 is the implementation process schematic diagram of the second embodiment of information processing method provided by the invention;As shown in Fig. 2, The described method includes:
Step 201: when getting the first image, determining corresponding first data of each pixel in the first image, mention The pixel that the first data are located in the first preset range is taken out, determines that the first data extracted are located in the first preset range Pixel be first pixel.
This step extracts the pixel for meeting the first pre-defined rule in the first image as electronic equipment, obtains the first pixel The further explanation of point.Wherein, the first image can be the acquisition unit such as camera acquired image by electronic equipment, Or the image that electronic equipment is received by network, it can also be electronic equipment in local pre-stored image;When So, can also it is other it is conceivable that by way of obtain, be not specifically limited herein.For piece image, need pair Some region carries out the adjustment of brightness, saturation degree, tone etc. in terms of at least one as enhanced, not for other regions in image It is adjusted.
In the field ISP, due to carrying out the enhancing of saturation degree to the human face region in character image, to allow human face region to become It is relatively conventional to obtain this more ruddy application scenarios, so, in facial image in this step and subsequent technology scheme Human face region carry out saturation degree enhancing for.Image is encoded using YUV color coding mode, and each pixel is corresponding U, V value represents the color of the pixel.Specifically, electronic equipment first detects corresponding U, V value of each pixel in present image (the first data), to obtain the color (the first attribute) of each pixel, by taking the face of yellow as an example, the face face of yellow Color value (the first preset range), 80~130 between 80~160 are typical value, extract color in all pixels point It extracts U, V value for the pixel of yellow and can represent the pixel of yellow, and as the first pixel.
Here, due to being related to U, V value of each pixel, in YUV coding, U, V value are colour difference signal, it is necessary to are situated between Continue lower UV colour gamut.Fig. 3 is the schematic diagram of UV colour gamut provided by the invention;As shown in figure 3, the square of outermost represents UV color The boundary in domain, boundary the inside includes can in different colors, such as red orange red malachite royal purple, whitewash, rhodo practical application The color expected, different gray areas represent the different color in UV colour gamut.In UV colour gamut, with rectangular central point (two cornerwise intersection points) is coordinate origin, establishes UV coordinate system;In a coordinate system, one group of U, V (are also the expression of (U, V)) value A kind of color.The face color of yellow is located in the fan-shaped region in Fig. 3, positioned at the second quadrant of UV coordinate system.In ISP Such as 0 and 1 or -1 and 1 etc digital signal is used, so, U, V value in colour gamut are all made of number 0 and 1 and combine Mode indicate a kind of color, as U=00001010, V=00001001 this class value indicates A color.In the related technology, often make U, V value are respectively indicated with 8bit, color list item is just full list item, is 2 in such UV colour gamut8*28=256*256=65536 List item.But list item big in this way, that is, U, V value is all made of 8bit for ISP hardware realization, need it is biggish operation and Memory space is a challenge for hardware resource.Therefore, in the present embodiment, to reduce the occupancy to memory space, U, V are reduced The bit of value, is empirically worth, and each U, V value is indicated using 6bit, can either represent the color representated by it and also can Save hardware resource.In ISP hardware realization, the bit value of each pixel corresponding U, V are detected, due to face colour bits The second quadrant in UV coordinate system extracts U that the highest-order bit is 0 and the highest-order bit is so in every group of U, V 1 V, the pixel with extracted U, V value is pixel i.e. the first pixel being located in the first preset range, preceding It states process also and can be considered the process for filtering out from all pixels point of present image and needing the pixel being adjusted.First number According to corresponding U, V value of as the first pixel, the first data is adjusted, actually corresponding U, V value is adjusted It is whole.First pixel is to need to carry out the saturation degree i.e. pixel of U, V adjustment on present image.
Step 202: determining corresponding first data of the first pixel, the first data characterization is the first attribute of pixel;
In ISP, image can be used YUV color coding mode and be encoded, wherein Y value indicates brightness, namely ash Rank value;And U value and the expression of V value are colorations, effect is the color and saturation degree for describing image, for characterizing the color of pixel. Here, when the first attribute is the color of image, determine that the first data are U value and V value corresponding to image slices vegetarian refreshments.About The specific descriptions of YUV color coding refer to existing related description, do not repeat herein.
Step 203: the first data are changed, third data are obtained, third data are indicated by the second predetermined figure, First predetermined figure is different from the second predetermined figure;In the first predetermined relationship, determine and the third data corresponding first Information;In the second predetermined relationship, the second information corresponding with the first information is determined;Determine that second information representation is described The First Eigenvalue.
Here, the first predetermined figure is 6bit, and the second predetermined figure is 5bit.Most by U, V (the first data) of 6bit A high position is removed, and U, the V (third data) indicated with 5bit is obtained, and the variation is the highest-order bit for removing this group of U, V.Tool Body, after filtering out the pixel for needing to be adjusted, pixel corresponding U, V that these needs are adjusted are in former 6bit On the basis of remove highest order bit, obtain U, V value being indicated with 5bit, U, V value respectively indicated using 5bit using one group is rope Draw, in the first predetermined relationship, searches enhancing strength information corresponding with this group of U, V value, be provided in first predetermined relationship Corresponding relationship between every group of U, V value and its strength information for needing to enhance, such as this group of UV value of U=00010, V=10011 Its enhancing intensity of corresponding pixel should be highest level level-one, also such as this group of UV value pair of U=11110, V=10011 Its enhancing intensity of the pixel answered should be N grades of lowest level (N is positive integer).Getting the corresponding pixel of every group of U, V value Enhancing strength information after, in the second predetermined relationship, with the enhancing strength information be index, search with the enhancing strength information Corresponding the First Eigenvalue is previously provided with the corresponding relationship of enhancing strength information and the First Eigenvalue in the second predetermined relationship, The First Eigenvalue is including at least the range value A adjusted to the U value and to the range value D of V value adjustment;Enhance intensity such as the superlative degree Other pixel its A=100, D=200, also for example enhancing intensity is the pixel of lowest level its A=1, D=2 etc..Its In, the first information is the enhancing strength information.
Step 204: according to the First Eigenvalue, the first adjustment being carried out to the first data.
Here, the first data are adjusted with the adjustment range value determined.For example, corresponding to pixel U value and V value are U1, V1, for A=100, D=200, UE=A*U1=100U1, VE=D*V1=200V1;UEFor the pixel U value adjusted, VEFor pixel V value adjusted, the adjustment to the saturation degree of the pixel is so just completed.It needs Illustrate, those skilled in the art should and know, an only concrete example herein, the institute for not representing the present embodiment is in love Condition.
In citing above-mentioned, U, V are adjusted in certain proportion, and enhancing intensity is previously provided in the second predetermined relationship Corresponding relationship between the adjustment range value D of adjustment range value A, V of information and U;In addition to this it is possible to utilize formula UE= A*U1+B*V1、VE=C*U1+D*V1 is adjusted the UV value of pixel, is exactly when the First Eigenvalue in this case Including at least the first subsystem number, the second subsystem number, third subsystem number and the 4th subsystem number;First subdata is sub with first respectively Coefficient, third subsystem number carry out the first operation, obtain the first sub- result, the sub- result of third;By the second subdata respectively with second Subsystem number, the 4th subsystem number carry out the first operation, obtain the second sub- result, the 4th sub- result;Determine the first sub- result and second The sum of sub- result is the adjustment result to the first subdata;Determine that the sum of the sub- result of third and the 4th sub- result are to the second subnumber According to adjustment result.Wherein, the first subsystem number be A, the second subsystem number in aforementioned formula be B, third subsystem number is C, the 4th Subsystem number is D.First subdata is pixel U value i.e. U1 before adjustment, the second subdata is the V of the pixel before adjustment Value is V1.First operation is multiplication operation.When the First Eigenvalue includes aforementioned four sub- coefficients, in the second predetermined relationship in advance The corresponding relationship being provided between the adjustment range value A of enhancing strength information and U and adjustment the range value C and D of B, V.
In a preferred embodiment of the invention, while adjusting certain pixel saturation degrees, it is also necessary to adjust this The brightness of a little pixels is realized by the following method: determining corresponding second data of the first pixel, the second data characterization For the second attribute of pixel;Determine the First Eigenvalue of the second data;According to the First Eigenvalue, second is carried out to the second data Adjustment;First attribute is the color of pixel;Second attribute is the brightness of pixel.In YUV color coding mode In, the second data are to indicate the Y value of brightness, are being provided with every group of U, V value and it needs to enhance in the first predetermined relationship Strength information between corresponding relationship while, be additionally provided with the corresponding Y value of this group of U, V value its needs enhance intensity letter Breath, if the enhancing intensity of its U, V, Y of the pixel that value is U=00010, V=10011, Y=00011 are highest level Level-one.In the second predetermined relationship, it to be also provided with the enhancing strength information and its First Eigenvalue E (tune of Y of Y value accordingly Whole picture angle value) between corresponding relationship, and utilize YE=Y1+E*Y1 carries out the enhancing of brightness to the Y1 value of current pixel point, Y1 is the Y value of the pixel before enhancing, YEThe Y value of the pixel after enhancing.Aforementioned schemes, which can be considered, carries out the to the second data The process of two adjustment is the process being adjusted to brightness.
It, can also be to this while adjusting certain pixel saturation degrees in presently preferred embodiment The insufficient pixel of brightness carries out the adjustment of brightness in a little pixels, to the pixel of brightness foot in these pixels It without the adjustment of brightness, realizes by the following method: extracting in the first pixel and to meet the second pre-defined rule Pixel obtains the second pixel;Corresponding second data of the second pixel are obtained, the second data characterization is the second of pixel Attribute;Determine the First Eigenvalue of the second data;According to the First Eigenvalue, second adjustment is carried out to the second data;Described first Attribute is the color of pixel;Second attribute is the brightness of pixel.Wherein, described to be extracted in the first pixel completely The pixel of the second pre-defined rule of foot, obtains the second pixel, comprising: extracts the second data are located in the second preset range the One pixel;Determine that the first pixel that extracted second data are located in the second preset range is the second pixel.It is described Second pre-defined rule are as follows: it is predetermined whether the brightness i.e. Y value for the pixel that judgement has each carried out saturation degree adjustment is located at second In range, if be located at, then it is assumed that it is not bright enough, need to carry out the adjustment of brightness;If be not located at, then it is assumed that bright enough It is bright, the adjustment for carrying out brightness is not needed, also is needed to adjust the pixel (the second pixel) of brightness.It is needed learning After the Y value for carrying out the pixel of brightness adjustment, in the first predetermined relationship, the enhancing strength information of the Y value is determined, In two predetermined relationships, according to the enhancing strength information, its First Eigenvalue E is determined, and utilize YE=Y1+E*Y1 is to current pixel The Y1 value of point carries out the enhancing of brightness.Wherein, the second preset range can be 90~120, can also take other certainly rationally Value, this time do not limit.
In another preferred embodiment of the invention, while adjusting pixel saturation degree, it is also necessary to adjust these The tone of pixel, as shown in figure 4, in UV coordinate system, know the former i.e. U1 of U, V value for wanting the pixel of adjustment tone, When V1, it is also necessary to which (its coordinate is (U to color in UV colour gamut after knowing former U, V value and adjustmentE、VE)) between angle β;It is obtaining After knowing these data, formula U is utilizedE=U1×cosβ+V1×(-sinβ)、VE=V1×cosβ+U1Color can be obtained in × sin β Adjust U, V value of enhanced pixel.
Those skilled in the art should and know, aforementioned schemes are the explanations done using adjusting saturation degree as main contents, in addition, can also To be illustrated using adjusting brightness or tone as main contents, realizes that process is similar with aforementioned schemes, do not repeat this time.This Outside, these three aspects of saturation degree, brightness and tone can also be adjusted simultaneously, so that image display effect is more preferable.
In aforementioned schemes, the pixel for needing to carry out saturation degree adjustment in the first image is first determined, obtain for characterizing this U, V value of pixel color determine enhancing strength information corresponding with U, V value in the first predetermined relationship, and second is predetermined It in relationship, determines the enhancing range value for enhancing range value and V of U corresponding with the enhancing strength information, utilizes and determined Enhance range value, which is enhanced accordingly.It is also possible to utilize the determining Y with pixel of the first predetermined relationship It is worth corresponding enhancing strength information, in the second predetermined relationship, the corresponding enhancing range value of the enhancing strength information is determined, with reality Now to the enhancing of pixel brightness.Further, it is also possible to realize the enhancing to tone.With mahalanobis distance method phase in the related technology Compare, can simply and effectively realize adjustment of the ISP to image brightness saturation degree, brightness and tone etc., it is simple and easy, The storage and operation resource of hardware can effectively be saved.
Embodiment three
The first embodiment of information processing method provided by the invention is applied in an electronic equipment, the electronic equipment Have the function of ISP or includes ISP.In ISP, color enhancement Color Enhancement is a significant components, passes through this One component can realize the enhancing to image brightness, saturation degree, tone etc. in terms of at least one.Wherein, saturation degree is adjusted To deepen current color or desalination current color;Tone is adjusted to for current color to be adjusted towards another color.
Fig. 5 is the composed structure schematic diagram of the first embodiment of electronic equipment provided by the invention;As shown in figure 5, described Electronic equipment further include: the first extraction unit 501, the first determination unit 502, the second determination unit 503 and the first adjustment unit 504;Wherein,
First extraction unit 501, for extracting in the first image and meeting the first pre-defined rule when getting the first image Pixel, obtain the first pixel;
Here, the first image can be the electronic equipment, specifically the first extraction unit 501 adopting by electronic equipment Collect unit such as camera acquired image, or the image that electronic equipment is received by network can also be electronics Equipment is in local pre-stored image;It is, of course, also possible to it is other it is conceivable that by way of obtain, do not do specific limit herein It is fixed.For piece image, need to carry out some region in image at least one aspect such as brightness, saturation degree, tone Adjustment as enhance, for other regions without adjustment.For example, it for a width facial image, needs to facial image In face area carry out the enhancing of saturation degree and deepen face color, and any tune is not done to other regions in the image then It is whole.The electronic equipment is specifically that the first extraction unit 501 determines that meeting the pixel of the first pre-defined rule is the first image In need to be adjusted pixel, the pixel that the first pixel as needs to be adjusted.Certainly, the present embodiment also includes pair The case where all pixels point of whole image is adjusted.
First determination unit 502, for determining corresponding first data of the first pixel, the first data characterization is pixel The first attribute;
In ISP, image can be used YUV color coding mode and be encoded, wherein Y value indicates brightness, namely ash Rank value;And U value and the expression of V value are colorations, effect is the color and saturation degree for describing image, for characterizing the color of pixel. Here, when the first attribute is the color of image, the electronic equipment is specifically that 502 first data of the first determination unit are U value and V value corresponding to image slices vegetarian refreshments.When the first attribute is the brightness of image, the electronic equipment is specifically first 502 first data of determination unit are Y value corresponding to image slices vegetarian refreshments.Specific descriptions about YUV color coding refer to Existing related description, does not repeat herein.
Second determination unit 503, for determining the First Eigenvalue of the first data;
Here, the First Eigenvalue is the adjustment range value of the first data corresponding to pixel.Using the first data as image For U value and V value corresponding to pixel, the electronic equipment is specifically that the second determination unit 503 determines the First Eigenvalue packet The range value A to the U value adjustment and range value D to the adjustment of V value is included, such as A=10, D=2.
The first adjustment unit 504, for carrying out the first adjustment to the first data according to the First Eigenvalue.
Here, the electronic equipment, be specifically the adjustment determined with the second determination unit 503 of the first adjustment unit 504 Range value is adjusted the first data.It for example, is U1, V1, A=10, D=2 with U value corresponding to pixel and V value For, UE=A*U1=10U1, VE=D*V1=2V1;UEFor pixel U value adjusted, VEIt is adjusted for the pixel V value so just completes the adjustment to the saturation degree of the pixel.It should be noted that those skilled in the art should and know, herein An only concrete example, does not represent all situations of the present embodiment.
In aforementioned schemes, the pixel for needing to adjust in the first image is first determined, then be determined to characterize the pixel face First data of color and/or the first attribute of brightness determine the adjustment range value of the first data, according to the range value to first Data are adjusted, and obtain the adjusted pixel in terms of color and/or brightness.With mahalanobis distance method in the related technology It compares, this programme only needs to determine the adjustment range value of the first data, and according to the range value to the color of pixel and/or bright Brightness adjusts, and is not necessarily to complex calculation, can simply and effectively realize ISP to image brightness, saturation degree, tone etc. The adjustment of aspect.
Example IV
The first embodiment of information processing method provided by the invention is applied in an electronic equipment, the electronic equipment Have the function of ISP or includes ISP.In ISP, color enhancement Color Enhancement is a significant components, passes through this One component can realize the enhancing to image brightness, saturation degree, tone etc. in terms of at least one.Wherein, saturation degree is adjusted To deepen current color or desalination current color;Tone is adjusted to for current color to be adjusted towards another color.
Fig. 6 is the composed structure schematic diagram of the second embodiment of electronic equipment provided by the invention;As shown in fig. 6, described Electronic equipment further include: the first extraction unit 601, the first determination unit 602, the second determination unit 603 and the first adjustment unit 604;Wherein,
First extraction unit 601 determines each pixel corresponding first in the first image when getting the first image Data extract the pixel that the first data are located in the first preset range, and it is pre- to determine that the first data extracted are located at first Determining the pixel in range is first pixel.
Electronic equipment, be specifically the first extraction unit 601 aforementioned function as its be able to carry out extract the first image in The pixel for meeting the first pre-defined rule obtains the further explanation of first pixel this function.Wherein, the first image can be with Pass through the acquisition unit such as camera acquired image of electronic equipment for the first extraction unit 601, or electronic equipment The image received by network can also be electronic equipment in local pre-stored image;It is, of course, also possible to pass through other It is conceivable that mode obtain, be not specifically limited herein.For piece image, need to carry out some region in image The adjustment in terms of at least one such as brightness, saturation degree, tone is as enhanced, for other regions without adjustment.
In the field ISP, due to carrying out the enhancing of saturation degree to the human face region in character image, to allow human face region to become This more ruddy application scenarios are relatively conventional, so, in facial image herein and in subsequent technology scheme Human face region carries out for saturation degree enhancing.Image is encoded using YUV color coding mode, the corresponding U of each pixel, V value represents the color of the pixel.Specifically, electronic equipment, specifically the first extraction unit 601 first detect in present image often Corresponding U, V value (the first data) of a pixel, to obtain the color (the first attribute) of each pixel, with the face of yellow For, the face color value of yellow (the first preset range), 80~130 between 80~160 are typical value, all It extracts the pixel that color is yellow in pixel to extract U, V value and can represent the pixel of yellow, and as first Pixel.
Here, due to being related to U, V value of each pixel, in YUV coding, U, V value are colour difference signal, it is necessary to are situated between Continue lower UV colour gamut.Fig. 3 is the schematic diagram of UV colour gamut provided by the invention;As shown in figure 3, the square of outermost represents UV color The boundary in domain, boundary the inside includes can in different colors, such as red orange red malachite royal purple, whitewash, rhodo practical application The color expected, different gray areas represent the different color in UV colour gamut.In UV colour gamut, with rectangular central point (two cornerwise intersection points) is coordinate origin, establishes UV coordinate system;In a coordinate system, one group of U, V (are also the expression of (U, V)) value A kind of color.The face color of yellow is located in the fan-shaped region in Fig. 3, positioned at the second quadrant of UV coordinate system.In ISP Such as 0 and 1 or -1 and 1 etc digital signal is used, so, U, V value in colour gamut are all made of number 0 and 1 and combine Mode indicate a kind of color, as U=00001010, V=00001001 this class value indicates A color.In the related technology, often make U, V value are respectively indicated with 8bit, color list item is just full list item, is 2 in such UV colour gamut8*28=256*256=65536 List item.But list item big in this way, that is, U, V value is all made of 8bit for ISP hardware realization, need it is biggish operation and Memory space is a challenge for hardware resource.Therefore, in the present embodiment, to reduce the occupancy to memory space, U, V are reduced The bit of value, is empirically worth, and each U, V value is indicated using 6bit, can either represent the color representated by it and also can Save hardware resource.In ISP hardware realization, it is corresponding that electronic equipment, specifically the first extraction unit 601 detect each pixel U, V bit value, since face color is located at the second quadrant in UV coordinate system, so being extracted most in every group of U, V The V that the U and the highest-order bit that higher bit position is 0 are 1, the pixel with extracted U, V value are to be located at first in advance Determine pixel i.e. the first pixel in range, aforementioned process, which also can be considered to filter out from all pixels point of present image, to be needed The process for the pixel to be adjusted.First data are corresponding U, V value of the first pixel, are adjusted to the first data Actually corresponding U, V value is adjusted.First pixel is to need to carry out saturation degree i.e. U, V tune on present image Whole pixel.
First determination unit 602, for determining corresponding first data of the first pixel, the first data characterization is pixel The first attribute;
In ISP, image can be used YUV color coding mode and be encoded, wherein Y value indicates brightness, namely ash Rank value;And U value and the expression of V value are colorations, effect is the color and saturation degree for describing image, for characterizing the color of pixel. Here, when the first attribute is the color of image, the electronic equipment is specifically that 602 first data of the first determination unit are U value and V value corresponding to image slices vegetarian refreshments.Specific descriptions about YUV color coding refer to existing related description, herein not It repeats.
Second determination unit 603, is used for: first data are indicated by the first predetermined figure, to the first data It is changed, obtains third data, third data are indicated by the second predetermined figure, the first predetermined figure and the second predetermined figure It is different;In the first predetermined relationship, the first information corresponding with the third data is determined;In the second predetermined relationship, determine The second information corresponding with the first information;Determine that second information representation is the First Eigenvalue.
Here, the first predetermined figure is 6bit, and the second predetermined figure is 5bit.Second determination unit 603 is by U, V of 6bit The highest order of (the first data) is removed, and U, the V (third data) indicated with 5bit is obtained, and the variation is to remove this group of U, V The highest-order bit.Specifically, these are needed after the first extraction unit 601 filters out the pixel for needing to be adjusted The pixel to be adjusted corresponding U, V remove highest order bit on the basis of former 6bit, and the second determination unit 603 is obtained with 5bit U, V value being indicated are respectively index with U, V value that 5bit is indicated with one group, in the first predetermined relationship, search and the group U, the corresponding enhancing strength information of V value is provided with the strength information that every group of U, V value needs to enhance with it in first predetermined relationship Between corresponding relationship, as the corresponding pixel of this group of UV value of U=00010, V=10011 its enhance intensity should be highest Rank level-one, also such as its enhancing intensity of the corresponding pixel of this group of UV value of U=11110, V=10011 should be lowermost level N grades other (N is positive integer).After the enhancing strength information for getting the corresponding pixel of every group of U, V value, in the second predetermined relationship In, it is index with the enhancing strength information, searches corresponding with enhancing strength information the First Eigenvalue, in the second predetermined relationship It is previously provided with the corresponding relationship of enhancing strength information and the First Eigenvalue, the First Eigenvalue is included at least and adjusted to the U value The range value A and range value D that V value is adjusted;Such as enhancing intensity is the pixel of highest level its A=100, D=200, also example Such as enhancing intensity is the pixel of lowest level its A=1, D=2.Wherein, the first information is the enhancing intensity letter Breath.
The first adjustment unit 604, for carrying out the first adjustment to the first data according to the First Eigenvalue.
Here, the first adjustment unit 604 carries out the first data with the adjustment range value that the first determination unit 603 is determined Adjustment.It for example, is U1, V1 with U value corresponding to pixel and V value, for A=100, D=200, the first adjustment unit 604 utilize UE=A*U1=100U1, VE=D*V1=200V1 is adjusted U, V value;UEFor pixel U value adjusted, VEFor pixel V value adjusted, the adjustment to the saturation degree of the pixel is so just completed.It should be noted that this Field personnel should and know, an only concrete example, does not represent all situations of the present embodiment herein.
In citing above-mentioned, U, V are adjusted in certain proportion, and enhancing intensity is previously provided in the second predetermined relationship Corresponding relationship between the adjustment range value D of adjustment range value A, V of information and U;In addition to this, the first adjustment unit 604 is gone back It can use formula UE=A*U1+B*V1, VE=C*U1+D*V1 is adjusted the UV value of pixel, in this case, is exactly When the First Eigenvalue includes at least the first subsystem number, the second subsystem number, third subsystem number and the 4th subsystem number;The first adjustment Unit 604 is used to the first subdata carrying out the first operation with the first subsystem number, third subsystem number respectively, obtains the first son knot The sub- result of fruit, third;Second subdata is subjected to the first operation with the second subsystem number, the 4th subsystem number respectively, obtains the second son As a result, the 4th sub- result;Determine that the sum of the first sub- result and the second sub- result are the adjustment result to the first subdata;Determine The sum of three sub- results and the 4th sub- result are the adjustment result to the second subdata.Wherein, the first subsystem number is in aforementioned formula A, the second subsystem number be B, third subsystem number is C, the 4th subsystem number is D.First subdata is the U value of pixel before adjustment That is U1, the second subdata are the V value, that is, V1 of the pixel before adjustment.First operation is multiplication operation.In the First Eigenvalue packet When including aforementioned four sub- coefficients, the adjustment range value A and B, V of enhancing strength information and U are previously provided in the second predetermined relationship Adjustment range value C and D between corresponding relationship.
In a preferred embodiment of the invention, the first adjustment unit 604 is also used to adjusting certain pixels While saturation degree, it is also necessary to adjust the brightness of these pixels, realize by the following method: the first adjustment unit 604 Determine corresponding second data of the first pixel, the second data characterization is the second attribute of pixel;Determine the of the second data One characteristic value;According to the First Eigenvalue, second adjustment is carried out to the second data;First attribute is the color of pixel;Institute State the brightness that the second attribute is pixel.In YUV color coding mode, the second data are to indicate the Y value of brightness, the In one predetermined relationship while the corresponding relationship being provided between every group of U, V value and its strength information for needing to enhance, also set Being equipped with the corresponding Y value of this group of U, V value, it needs the strength information that enhances, if value is U=00010, V=10011, Y=00011 The enhancing intensity of its U, V, Y of pixel be highest level level-one.In the second predetermined relationship, to be also provided with accordingly Corresponding relationship between the enhancing strength information and its First Eigenvalue E (the adjustment range value of Y) of Y value, and utilize YE=Y1+E* Y1 carries out the enhancing of brightness to the Y1 value of current pixel point, and Y1 is the Y value of the pixel before enhancing, YEThe pixel after enhancing Y value.Aforementioned schemes can be considered the process that the process for carrying out second adjustment to the second data is adjusted brightness.
In presently preferred embodiment, the first adjustment unit 604 is also used to full in the certain pixels of adjustment While with spending, the adjustment of brightness can also be carried out to the insufficient pixel of brightness in these pixels, to these pixels The adjustment without brightness of the pixel of brightness foot in point is realized by the following method: being mentioned in the first pixel The pixel for meeting the second pre-defined rule is taken out, the second pixel is obtained;The first adjustment unit 604 is for obtaining the second pixel Corresponding second data, the second data characterization are the second attribute of pixel;Determine the First Eigenvalue of the second data;According to the One characteristic value carries out second adjustment to the second data;First attribute is the color of pixel;Second attribute is pixel The brightness of point.Wherein, described that the pixel for meeting the second pre-defined rule is extracted in the first pixel, obtain the second pixel Point, comprising: extract the second data and be located at the first pixel in the second preset range;Determine that extracted second data are located at the The first pixel in two preset ranges is the second pixel.Second pre-defined rule are as follows: the first adjustment unit 604 judges often Whether the brightness i.e. Y value of a pixel for having carried out saturation degree adjustment is located in the second preset range, if be located at, then it is assumed that It is not bright enough, need to carry out the adjustment of brightness;If be not located at, then it is assumed that it is bright enough, do not need the tune for carrying out brightness It is whole, also needed to adjust the pixel (the second pixel) of brightness.Learning the pixel for needing to carry out brightness adjustment After the Y value of point, in the first predetermined relationship, the enhancing strength information of the Y value is determined, in the second predetermined relationship, according to the increasing Strong strength information determines that its First Eigenvalue E, the first adjustment unit 604 simultaneously utilize YEY1 of=the Y1+E*Y1 to current pixel point Value carries out the enhancing of brightness.Wherein, the second preset range can be 90~120, other can also be taken reasonably to be worth certainly, this It is secondary not limit.
In another preferred embodiment of the invention, the first adjustment unit 604 is also used in adjustment pixel saturation degree While, it is also necessary to the tone of these pixels is adjusted, as shown in figure 4, wanting adjustment tone knowing in UV coordinate system When former U, V value of pixel, that is, U1, V1, it is also necessary to which (its coordinate is (U to color in UV colour gamut after knowing former U, V value and adjustmentE、 VE)) between angle β;After knowing these data, formula U is utilizedE=U1×cosβ+V1×(-sinβ)、VE=V1×cos β+U1U, V value of the enhanced pixel of tone can be obtained in × sin β.
Those skilled in the art should and know, aforementioned schemes are the explanations done using adjusting saturation degree as main contents, in addition, can also To be illustrated using adjusting brightness or tone as main contents, realizes that process is similar with aforementioned schemes, do not repeat this time.This Outside, these three aspects of saturation degree, brightness and tone can also be adjusted simultaneously, so that image display effect is more preferable.
In aforementioned schemes, the pixel for needing to carry out saturation degree adjustment in the first image is first determined, obtain for characterizing this U, V value of pixel color determine enhancing strength information corresponding with U, V value in the first predetermined relationship, and second is predetermined It in relationship, determines the enhancing range value for enhancing range value and V of U corresponding with the enhancing strength information, utilizes and determined Enhance range value, which is enhanced accordingly.It is also possible to utilize the determining Y with pixel of the first predetermined relationship It is worth corresponding enhancing strength information, in the second predetermined relationship, the corresponding enhancing range value of the enhancing strength information is determined, with reality Now to the enhancing of pixel brightness.Further, it is also possible to realize the enhancing to tone.With mahalanobis distance method phase in the related technology Compare, can simply and effectively realize adjustment of the ISP to image brightness saturation degree, brightness and tone etc., it is simple and easy, The storage and operation resource of hardware can effectively be saved.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only The various media that can store program code such as memory (ROM, Read-Only Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (12)

1. a kind of information processing method is applied in an electronic equipment, when getting the first image, which comprises
The pixel for meeting the first pre-defined rule in the first image is extracted, the first pixel is obtained;
Determine corresponding first data of the first pixel, the first data characterization is the first attribute of pixel;
Determine the First Eigenvalue of the first data;
According to the First Eigenvalue, the first adjustment is carried out to the first data;
Wherein, first data are indicated by the first predetermined figure,
Correspondingly, the First Eigenvalue of first data of determination, comprising:
First data are changed, third data are obtained, third data are indicated by the second predetermined figure, the first predetermined figure It is different from the second predetermined figure;The third data indicate the index of the first data;
According to the First Eigenvalue described in the third data search.
2. the method according to claim 1, wherein meeting the first pre-defined rule in the first image of the extraction Pixel obtains the first pixel, comprising:
Determine corresponding first data of each pixel in the first image;
Extract the pixel that the first data are located in the first preset range;
Determining that the first data extracted are located at the pixel in the first preset range is first pixel.
3. method according to claim 1 or 2, which is characterized in that the First Eigenvalue of first data of determination also wraps It includes:
In the first predetermined relationship, the first information corresponding with the third data is determined;
In the second predetermined relationship, the second information corresponding with the first information is determined;
Determine that second information representation is the First Eigenvalue.
4. the method according to claim 1, wherein described according to the First Eigenvalue, the is carried out to the first data One adjustment, comprising:
First data include at least the first subdata and the second subdata;
The First Eigenvalue includes at least the first subsystem number, the second subsystem number, third subsystem number and the 4th subsystem number;
First subdata is subjected to the first operation with the first subsystem number, third subsystem number respectively, obtains the first sub- result, third As a result;
Second subdata is subjected to the first operation with the second subsystem number, the 4th subsystem number respectively, obtains the second sub- result, the 4th son As a result;
Determine that the sum of the first sub- result and the second sub- result are the adjustment result to the first subdata;
Determine that the sum of the sub- result of third and the 4th sub- result are the adjustment result to the second subdata.
5. the method according to claim 1, wherein the method also includes:
Determine corresponding second data of the first pixel, the second data characterization is the second attribute of pixel;Determine the second data The First Eigenvalue;According to the First Eigenvalue, second adjustment is carried out to the second data;Alternatively,
The pixel for meeting the second pre-defined rule is extracted in the first pixel, obtains the second pixel;Obtain the second pixel Corresponding second data of point, the second data characterization are the second attribute of pixel;Determine the First Eigenvalue of the second data;Foundation The First Eigenvalue carries out second adjustment to the second data;
Wherein, first attribute is the color of pixel;Second attribute is the brightness of pixel.
6. according to the method described in claim 5, it is characterized in that, the satisfaction second that extracts in the first pixel makes a reservation for The pixel of rule, obtains the second pixel, comprising:
Extract the first pixel that the second data are located in the second preset range;
Determine that the first pixel that extracted second data are located in the second preset range is the second pixel.
7. a kind of electronic equipment, the electronic equipment include:
First extraction unit, for extracting the pixel for meeting the first pre-defined rule in the first image when getting the first image Point obtains the first pixel;
First determination unit, for determining corresponding first data of the first pixel, the first data characterization is the first of pixel Attribute;
Second determination unit, for determining the First Eigenvalue of the first data;
The first adjustment unit, for carrying out the first adjustment to the first data according to the First Eigenvalue;
Wherein, first data are indicated by the first predetermined figure,
Second determination unit, is used for: being changed to the first data, obtains third data, third data are made a reservation for by second Digit indicates that the first predetermined figure is different from the second predetermined figure;The third data indicate the index of the first data;
Second determination unit is also used to determine the First Eigenvalue according to the third data.
8. electronic equipment according to claim 7, which is characterized in that first extraction unit is used for: determining the first figure Corresponding first data of each pixel as in;
Extract the pixel that the first data are located in the first preset range;
Determining that the first data extracted are located at the pixel in the first preset range is first pixel.
9. electronic equipment according to claim 7 or 8, which is characterized in that second determination unit is also used to:
In the first predetermined relationship, the first information corresponding with the third data is determined;
In the second predetermined relationship, the second information corresponding with the first information is determined;
Determine that second information representation is the First Eigenvalue.
10. electronic equipment according to claim 7, which is characterized in that the first adjustment unit is also used to:
First data include at least the first subdata and the second subdata;
The First Eigenvalue includes at least the first subsystem number, the second subsystem number, third subsystem number and the 4th subsystem number;
First subdata is subjected to the first operation with the first subsystem number, third subsystem number respectively, obtains the first sub- result, third As a result;
Second subdata is subjected to the first operation with the second subsystem number, the 4th subsystem number respectively, obtains the second sub- result, the 4th son As a result;
Determine that the sum of the first sub- result and the second sub- result are the adjustment result to the first subdata;
Determine that the sum of the sub- result of third and the 4th sub- result are the adjustment result to the second subdata.
11. electronic equipment according to claim 7, which is characterized in that the first adjustment unit is also used to:
Determine corresponding second data of the first pixel, the second data characterization is the second attribute of pixel;Determine the second data The First Eigenvalue;According to the First Eigenvalue, second adjustment is carried out to the second data;Alternatively,
The pixel for meeting the second pre-defined rule is extracted in the first pixel, obtains the second pixel;Obtain the second pixel Corresponding second data of point, the second data characterization are the second attribute of pixel;Determine the First Eigenvalue of the second data;Foundation The First Eigenvalue carries out second adjustment to the second data;
Wherein, first attribute is the color of pixel;Second attribute is the brightness of pixel.
12. electronic equipment according to claim 11, which is characterized in that the first adjustment unit is also used to:
Extract the first pixel that the second data are located in the second preset range;
Determine that the first pixel that extracted second data are located in the second preset range is the second pixel.
CN201510325291.6A 2015-06-12 2015-06-12 A kind of information processing method and electronic equipment Active CN106303154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510325291.6A CN106303154B (en) 2015-06-12 2015-06-12 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510325291.6A CN106303154B (en) 2015-06-12 2015-06-12 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106303154A CN106303154A (en) 2017-01-04
CN106303154B true CN106303154B (en) 2019-08-27

Family

ID=57650795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510325291.6A Active CN106303154B (en) 2015-06-12 2015-06-12 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106303154B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968723B (en) * 2018-09-29 2023-05-12 深圳云天励飞技术有限公司 Image characteristic value searching method and device and electronic equipment
CN113254690A (en) * 2020-02-10 2021-08-13 华为技术有限公司 Thumbnail display method and equipment
CN113436126B (en) * 2021-07-13 2022-06-10 上海艾为电子技术股份有限公司 Image saturation enhancement method and system and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1419781A (en) * 2000-03-24 2003-05-21 亮屋科技有限公司 Selected data compression for digital pictorial information
CN1874526A (en) * 2005-05-05 2006-12-06 创世纪微芯片公司 Apparatus for detecting, correcting attenuation and processing in hue, saturation and luminance directions
CN101964874A (en) * 2009-07-23 2011-02-02 卡西欧计算机株式会社 Image processing apparatus and image processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1419781A (en) * 2000-03-24 2003-05-21 亮屋科技有限公司 Selected data compression for digital pictorial information
CN1874526A (en) * 2005-05-05 2006-12-06 创世纪微芯片公司 Apparatus for detecting, correcting attenuation and processing in hue, saturation and luminance directions
CN101964874A (en) * 2009-07-23 2011-02-02 卡西欧计算机株式会社 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
CN106303154A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
Wen et al. COVERAGE—A novel database for copy-move forgery detection
Kaur et al. Comparison between YCbCr color space and CIELab color space for skin color segmentation
CN106303154B (en) A kind of information processing method and electronic equipment
CN101181154B (en) Skin detection system and method
CN106951869B (en) A kind of living body verification method and equipment
US20090067721A1 (en) Image processing apparatus and method and a computer readable medium having computer executable instructions stored thereon for performing the method
CN106791655B (en) A kind of method for processing video frequency and device
KR101619287B1 (en) Method and wireless handheld device for determining image hue
WO2017116604A1 (en) Techniques for optical wireless communication
CN108304839A (en) A kind of image processing method and device
JP2008521117A (en) Image processing apparatus and method
CN108024105A (en) Image color adjusting method, device, electronic equipment and storage medium
CN106981044A (en) A kind of image weakening method and system
CN110503704A (en) Building method, device and the electronic equipment of three components
CN108053393A (en) A kind of gradient similarity graph image quality evaluation method and device
Zangana et al. A new algorithm for human face detection using skin color tone
CN104735295B (en) Message processing device and information processing method
KR20190080732A (en) Estimation of illumination chromaticity in automatic white balancing
Zhou et al. Computing the color complexity of images
Hussein et al. The efficiency of Color Models layers at Color Images as Cover in text hiding
CN102955947B (en) A kind of device and method thereof for being used to determine image definition
CN100452884C (en) Method for detecting GIF infomration hidden
CN105761282B (en) The detection method and device of image color cast
Hou et al. Hue modification estimation using sensor pattern noise
KR101002675B1 (en) System and method for detecting pornographic contents

Legal Events

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