CN106303154A - 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
CN106303154A
CN106303154A CN201510325291.6A CN201510325291A CN106303154A CN 106303154 A CN106303154 A CN 106303154A CN 201510325291 A CN201510325291 A CN 201510325291A CN 106303154 A CN106303154 A CN 106303154A
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.)
Granted
Application number
CN201510325291.6A
Other languages
Chinese (zh)
Other versions
CN106303154B (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 equipment, wherein, described method includes: when getting the first image, extracts the pixel meeting the first pre-defined rule in the first image, obtains the first pixel;Determining the first data that the first pixel is corresponding, 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 data are carried out the first adjustment.Simple and effective can realize the image-signal processor ISP adjustment to aspects such as image lightness, saturation, tones.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to the information processing technology, be specifically related to a kind of information processing method and electronic equipment.
Background technology
For reaching the more preferable display effect of image, in image processing field, it will usually by the appointment in image Part carries out the adjustment of the aspects such as lightness, saturation, tone.Such as, by the face in a figure painting The enhancing carrying out tone is divided i.e. to allow face become more ruddy;Meadow in one width landscape painting is carried out saturation Strengthening i.e. allows the color on meadow become greener.At present, conventional method of adjustment is based primarily upon mahalanobis distance method, I.e. by the distance between colour difference signal and the sample for reference of this parts of images pixel to this parts of images pixel The colour difference signal of point is adjusted, to reach to adjust purpose.Wherein, mahalanobis distance formula is more complicated, to figure The computing of image signal processor ISP (Image Signal Processor) requires higher.The most simple and effective Realize being adjusted to aspects such as image lightness, saturation, tones for technical problem urgently to be resolved hurrily.
Summary of the invention
For solving the technical problem of existing existence, the embodiment of the present invention be to provide a kind of information processing method and Electronic equipment, it is possible to simple and effective realize the ISP tune to aspects such as image lightness, saturation, tones Whole.
The technical scheme of the embodiment of the present invention is achieved in that
Embodiments provide a kind of information processing method, be applied in an electronic equipment, when getting During the first image, described method includes:
Extract the pixel meeting the first pre-defined rule in the first image, obtain the first pixel;
Determining the first data that the first pixel is corresponding, 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 data are carried out the first adjustment.
In such scheme, described extraction the first image meets the pixel of the first pre-defined rule, obtains first Pixel, including:
Determine the first data that in the first image, each pixel is corresponding;
Extract the first data and be positioned at the pixel of the first preset range;
Determining that the first data extracted are positioned at the pixel of the first preset range is described first pixel.
In such scheme, described first data are represented by the first predetermined figure,
Accordingly, the described the First Eigenvalue determining the first data, including:
Being changed the first data, obtain the 3rd data, the 3rd data are represented by the second predetermined figure, First predetermined figure and the second predetermined figure are different;
In the first predetermined relationship, determine the first information corresponding with described 3rd data;
In the second predetermined relationship, determine second information corresponding with the first information;
Determine that described second information representation is described the First Eigenvalue.
In such scheme, described foundation the First Eigenvalue, the first data are carried out the first adjustment, including:
Described first data at least include the first subdata and the second subdata;
Described the First Eigenvalue at least includes the first subsystem number, the second subsystem number, the 3rd subsystem number and the 4th son Coefficient;
First subdata is carried out the first computing with the first subsystem number, the 3rd subsystem number respectively, obtains the first son Result, the 3rd sub-result;
Second subdata is carried out the first computing with the second subsystem number, the 4th subsystem number respectively, obtains the second son Result, the 4th sub-result;
Determine that the first sub-result and the second sub-result sum are the adjustment result to the first subdata;
Determine that the 3rd sub-result and the 4th sub-result sum are the adjustment result to the second subdata.
In such scheme, described method also includes:
Determining the second data that the first pixel is corresponding, the second data characterization is the second attribute of pixel;Really The First Eigenvalue of fixed second data;According to the First Eigenvalue, the second data are carried out the second adjustment;Or,
In the first pixel, extract the pixel of satisfied second pre-defined rule, obtain the second pixel;Obtain Taking the second data that the second pixel is corresponding, the second data characterization is the second attribute of pixel;Determine second The First Eigenvalue of data;According to the First Eigenvalue, the second data are carried out the second adjustment;
Wherein, described first attribute is the color of pixel;Described second attribute is the brightness of pixel.
In such scheme, the described pixel extracting satisfied second pre-defined rule in the first pixel, To the second pixel, including:
Extract the second data and be positioned at the first pixel of the second preset range;
Determining that the second extracted data are positioned at the first pixel of the second preset range is the second pixel.
The embodiment of the present invention additionally provides a kind of electronic equipment, and described electronic equipment includes:
First extraction unit, for when getting the first image, extracts and meets first in the first image and make a reservation for The pixel of rule, obtains the first pixel;
First determines unit, and for determining the first data that the first pixel is corresponding, the first data characterization is picture First attribute of vegetarian refreshments;
Second determines unit, for determining the First Eigenvalue of the first data;
First adjustment unit, for according to the First Eigenvalue, carrying out the first adjustment to the first data.
In such scheme, described first extraction unit, it is used for: determine that in the first image, each pixel is corresponding The first data;
Extract the first data and be positioned at the pixel of the first preset range;
Determining that the first data extracted are positioned at the pixel of the first preset range is described first pixel.
In such scheme, described second determines unit, is used for: described first data are come by the first predetermined figure Represent,
Being changed the first data, obtain the 3rd data, the 3rd data are represented by the second predetermined figure, First predetermined figure and the second predetermined figure are different;
In the first predetermined relationship, determine the first information corresponding with described 3rd data;
In the second predetermined relationship, determine second information corresponding with the first information;
Determine that described second information representation is described the First Eigenvalue.
In such scheme, described first adjustment unit, it is additionally operable to:
Described first data at least include the first subdata and the second subdata;
Described the First Eigenvalue at least includes the first subsystem number, the second subsystem number, the 3rd subsystem number and the 4th son Coefficient;
First subdata is carried out the first computing with the first subsystem number, the 3rd subsystem number respectively, obtains the first son Result, the 3rd sub-result;
Second subdata is carried out the first computing with the second subsystem number, the 4th subsystem number respectively, obtains the second son Result, the 4th sub-result;
Determine that the first sub-result and the second sub-result sum are the adjustment result to the first subdata;
Determine that the 3rd sub-result and the 4th sub-result sum are the adjustment result to the second subdata.
In such scheme, described first adjustment unit, it is additionally operable to:
Determining the second data that the first pixel is corresponding, the second data characterization is the second attribute of pixel;Really The First Eigenvalue of fixed second data;According to the First Eigenvalue, the second data are carried out the second adjustment;Or,
In the first pixel, extract the pixel of satisfied second pre-defined rule, obtain the second pixel;Obtain Taking the second data that the second pixel is corresponding, the second data characterization is the second attribute of pixel;Determine second The First Eigenvalue of data;According to the First Eigenvalue, the second data are carried out the second adjustment;
Wherein, described first attribute is the color of pixel;Described second attribute is the brightness of pixel.
In such scheme, described first adjustment unit, it is additionally operable to:
Extract the second data and be positioned at the first pixel of the second preset range;
Determining that the second extracted data are positioned at the first pixel of the second preset range is the second pixel.
The information processing method of embodiment of the present invention offer and electronic equipment, described method includes: when getting During the first image, extract the pixel meeting the first pre-defined rule in the first image, obtain the first pixel; Determining the first data that the first pixel is corresponding, the first data characterization is the first attribute of pixel;Determine The First Eigenvalue of one data;According to the First Eigenvalue, the first data are carried out the first adjustment.Can be simple Effectively realize the ISP adjustment to aspects such as image lightness, saturation, tones.
Accompanying drawing explanation
The first embodiment of the information processing method that Fig. 1 provides for the present invention realize schematic flow sheet;
Second embodiment of the information processing method that Fig. 2 provides for the present invention realize schematic flow sheet;
The schematic diagram of the UV colour gamut that Fig. 3 provides for the present invention;
The schematic diagram adjusting pixel tone in UV colour gamut that Fig. 4 provides for the present invention;
The composition structural representation of the first embodiment of the electronic equipment that Fig. 5 provides for the present invention;
The composition structural representation of the second embodiment of the electronic equipment that Fig. 6 provides for the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail, it will be appreciated that described below Bright preferred embodiment is merely to illustrate and explains the present invention, is not intended to limit the present invention.
In the information processing method and the following embodiment of electronic equipment of present invention offer, involved electronics Equipment includes but not limited to: all kinds computer such as industrial control computer, personal computer, integral type Computer, panel computer, mobile phone, electronic reader etc..The object of the preferred electronic equipment of the embodiment of the present invention For industrial control computer or personal computer.
Embodiment one
The first embodiment of the information processing method that the present invention provides, is applied in an electronic equipment, described electricity Subset has ISP function or includes ISP.In ISP, color enhancement Color Enhancement is One significant components, by this assembly can realize to image lightness, saturation, tone etc. at least one The enhancing of aspect.Wherein, intensification current color or desalination current color are adjusted to for saturation;Tone It is adjusted to and current color is adjusted towards another kind of color.
The first embodiment of the information processing method that Fig. 1 provides for the present invention realize schematic flow sheet;Such as figure Shown in 1, described method includes:
Step 101: when getting the first image, extracts the picture meeting the first pre-defined rule in the first image Vegetarian refreshments, obtains the first pixel;
Here, the first image can be the image arrived by the collecting unit of electronic equipment such as camera collection, The image that can also be received by network for electronic equipment, it is also possible to prestore in this locality for electronic equipment Image;It is, of course, also possible to by other it is conceivable that by the way of obtain, be not specifically limited herein.Right For piece image, need certain region in image is carried out lightness, saturation, tone etc. at least The adjustment of individual aspect, as strengthened, is not adjusted for other regions.Give an example, for a width face figure Picture, needs the enhancing that the face area in facial image carries out saturation i.e. to deepen face color, and to this Other regions in image do not make any adjustments.In this step, meet the pixel of the first pre-defined rule i.e. Being to need to be adjusted pixel in the first image, the first pixel is the pixel needing to be adjusted. Certainly, the present embodiment also includes the situation being adjusted all pixels of whole image.
Step 102: determine the first data that the first pixel is corresponding, the first data characterization is the of pixel One attribute;
In ISP, image can use YUV color coded system to encode, and wherein, Y value represents bright Degree, namely grey decision-making;And U value and V-value represent it is colourity, effect is to describe the color of image and saturated Degree, for characterizing the color of pixel.Here, when the color that the first attribute is image, the first data are i.e. U value corresponding to image slices vegetarian refreshments and V-value.When the lightness that the first attribute is image, the first data It is the Y value corresponding to image slices vegetarian refreshments.Existing phase is referred to about the color-coded specific descriptions of YUV Close explanation, do not repeat.
Step 103: determine the First Eigenvalue of the first data;
Here, the First Eigenvalue is the adjustment range value of first data corresponding to pixel.With the first data As a example by U value corresponding to image slices vegetarian refreshments and V-value, the First Eigenvalue includes the width adjusting this U value Angle value A and the range value D adjusting V-value, such as A=10, D=2.
Step 104: according to the First Eigenvalue, the first data are carried out the first adjustment.
Here, with the adjustment range value determined, the first data are adjusted.Give an example, with pixel Corresponding U value and V-value are U1, V1, as a example by A=10, D=2, UE=A*U1=10U1, VE=D*V1=2 V1;UEU value after adjusting for this pixel, VEV-value after adjusting for this pixel, the most just completes Adjustment to the saturation of this pixel.It should be noted that those skilled in the art should and know, the most only It is a concrete example, does not represent all situations of the present embodiment.
In aforementioned schemes, first determine the pixel needing to adjust in the first image, then be determined to characterize this picture First data of the first attribute of vegetarian refreshments color and/or lightness, determine the adjustment range value of the first data, depend on According to this range value, the first data are adjusted, obtain adjusted pixel in terms of color and/or lightness Point.Compared with the mahalanobis distance method in correlation technique, this programme only needs to determine the adjustment amplitude of the first data Value, and according to this range value, color and/or the lightness of pixel are adjusted, it is not necessary to complex calculation, Simple and effective can realize the ISP adjustment to aspects such as image lightness, saturation, tones.
Embodiment two
Second embodiment of the information processing method that the present invention provides, is applied in an electronic equipment, described electricity Subset has ISP function or includes ISP.In ISP, color enhancement Color Enhancement is One significant components, by this assembly can realize to image lightness, saturation, tone etc. at least one The enhancing of aspect.Wherein, intensification current color or desalination current color are adjusted for saturation;The tune of tone It is whole for current color is adjusted towards the direction of another kind of color.
Second embodiment of the information processing method that Fig. 2 provides for the present invention realize schematic flow sheet;Such as figure Shown in 2, described method includes:
Step 201: when getting the first image, determine that in the first image, each pixel is corresponding first Data, extract the first data and are positioned at the pixel of the first preset range, determine the first data extracted The pixel being positioned at the first preset range is described first pixel.
This step extracts the pixel meeting the first pre-defined rule in the first image as electronic equipment, obtains the Further illustrating of one pixel.Wherein, the first image can be that the collecting unit by electronic equipment is such as taken the photograph The image collected as head, it is also possible to the image received by network for electronic equipment, it is also possible to for electronics The image that equipment prestores in this locality;It is, of course, also possible to by other it is conceivable that by the way of obtain, this Place is not specifically limited.For piece image, need certain region in image to carry out lightness, satisfies With the adjustment in terms of at least one such as degree, tone as strengthened, other regions are not adjusted.
In ISP field, owing to the human face region in character image to be carried out the enhancing of saturation, to allow people It is relatively conventional that face region becomes this application scenarios more ruddy, so, this step and subsequent technology scheme In all as a example by the human face region in facial image is carried out saturation enhancing.Image uses YUV color to compile Code mode encodes, and U that each pixel is corresponding, V-value represent the color of this pixel.Concrete, Electronic equipment first detects U, the V-value (the first data) that in present image, each pixel is corresponding, every to obtain The color (the first attribute) of individual pixel, as a example by the face of yellow, the face color value of yellow exists Between 80~160, (the first preset range), 80~130 are typical value, extract face in all pixels Color is that the pixel of yellow i.e. extracts U, V-value can represent the pixel of yellow, and as the first pixel Point.
Here, owing to relating to the U of each pixel, V-value, in YUV encodes, U, V-value are color Difference signal, it is necessary to introduce lower UV colour gamut.The schematic diagram of the UV colour gamut that Fig. 3 provides for the present invention;As Shown in Fig. 3, the square of outermost represents the border of UV colour gamut, includes different face inside border Color, in application as actual in red orange red Malachitum royal purple, whitewash, rhodo etc. it is conceivable that color, different ashes Different color in degree Regional Representative's UV colour gamut.In UV colour gamut, with rectangular central point (two Cornerwise intersection point) it is zero, set up UV coordinate system;In a coordinate system, one group of U, V are (also For (U, V)) value represents a kind of color.The sector region that the face color of yellow is positioned in Fig. 3, It is positioned at the second quadrant of UV coordinate system.Such as 0 and 1 or-1 and 1 etc is used in ISP Digital signal, so, the U in colour gamut, V-value all use numeral 0 and 1 combination mode represent one Plant color, as this class value of U=00001010, V=00001001 represents A color.In correlation technique, often make Represent U, V-value respectively with 8bit, in such UV colour gamut color list item just for full list item, be 28*28=256*256=65536 list item.But the biggest list item i.e. U, V-value all use 8bit position for For ISP hardware realizes, need bigger operation and memory space, be a challenge for hardware resource.Cause This, in the present embodiment, take memory space for reducing, reduce U, the bit of V-value, according to warp Testing value, each U, V-value use 6bit to represent, can either represent its representative color and also be able to save Hardware resource.On ISP hardware realizes, detect the bit value of each pixel corresponding U, V, by The second quadrant in face color is positioned at UV coordinate system, so often organizing in U, V, extracts the highest Bit be 0 U and the highest-order bit be the V of 1, there is extracted U, the pixel of V-value Being pixel that is first pixel being positioned at the first preset range, aforementioned process also can be considered from current figure All pixels of picture filter out the process of the pixel that needs are adjusted.First data are the first picture First data are adjusted actually carrying out corresponding U, V-value by U that vegetarian refreshments is corresponding, V-value Adjust.First pixel is to need to carry out the pixel that saturation i.e. U, V adjust on present image.
Step 202: determine the first data that the first pixel is corresponding, the first data characterization is the of pixel One attribute;
In ISP, image can use YUV color coded system to encode, and wherein, Y value represents bright Degree, namely grey decision-making;And U value and V-value represent it is colourity, effect is to describe the color of image and saturated Degree, for characterizing the color of pixel.Here, when the color that the first attribute is image, determine the first number According to the U value being corresponding to image slices vegetarian refreshments and V-value.Please join about the color-coded specific descriptions of YUV See existing related description, do not repeat.
Step 203: be changed the first data, obtains the 3rd data, and the 3rd data are by the second pre-determined bit Number represents, the first predetermined figure and the second predetermined figure are different;In the first predetermined relationship, determine and institute State the first information that the 3rd data are corresponding;In the second predetermined relationship, determine second corresponding with the first information Information;Determine that described second information representation is described the First Eigenvalue.
Here, the first predetermined figure is 6bit, and the second predetermined figure is 5bit.By U, V (first of 6bit Data) highest order remove, obtain U, the V (the 3rd data) represented with 5bit, described change is Fall the highest-order bit of this group U, V.Concrete, after filtering out the pixel needing to be adjusted, These need corresponding U, the V of pixel adjusted remove highest order bit on the basis of former 6bit, obtain with U that 5bit is indicated, V-value, the U each represented with 5bit with a group, V-value are for index, first In predetermined relationship, search and this group U, enhancing strength information that V-value is corresponding, this first predetermined relationship sets Be equipped with often organize U, V-value and its need strengthen strength information between corresponding relation, as U=00010, Pixel corresponding to this group UV value of V=10011 its strengthen intensity and should be highest level one-level, the most such as Pixel corresponding to this group UV value of U=11110, V=10011 its strengthen intensity and should be lowest level N Level (N is positive integer).Get often organize U, after the enhancing strength information of pixel that V-value is corresponding, In second predetermined relationship, with this enhancing strength information for index, search corresponding with this enhancing strength information the One eigenvalue, is previously provided with the corresponding relation strengthening strength information with the First Eigenvalue in the second predetermined relationship, The First Eigenvalue at least includes the range value A adjusting this U value and the range value D adjusting V-value;As Strengthening pixel its A=100, D=200 that intensity is highest level, the most such as strengthening intensity is lowest level Pixel its A=1, D=2 etc..Wherein, the first information is described enhancing strength information.
Step 204: according to the First Eigenvalue, the first data are carried out the first adjustment.
Here, with the adjustment range value determined, the first data are adjusted.Give an example, with pixel Corresponding U value and V-value are U1, V1, as a example by A=100, D=200, UE=A*U1=100U1, VE=D*V1=200V1;UEU value after adjusting for this pixel, VEV after adjusting for this pixel Value, the most just completes the adjustment of the saturation to this pixel.It should be noted that those skilled in the art should It is somebody's turn to do and knows, the most only one concrete example, do not represent all situations of the present embodiment.
In aforesaid citing, U, V are adjusted in certain proportion, pre-set in the second predetermined relationship There is the corresponding relation strengthened between strength information and the adjustment range value D adjusting range value A, V of U;Remove Outside this, it is also possible to utilize formula UE=A*U1+B*V1, VE=the C*U1+D*V1 UV to pixel Value is adjusted, in this case, it is simply that when described the First Eigenvalue at least include the first subsystem number, second Subsystem number, the 3rd subsystem number and the 4th subsystem number;By the first subdata respectively with the first subsystem number, the 3rd son Coefficient carries out the first computing, obtains the first sub-result, the 3rd sub-result;By the second subdata respectively with second Subsystem number, the 4th subsystem number carry out the first computing, obtain the second sub-result, the 4th sub-result;Determine first Sub-result and the second sub-result sum are the adjustment result to the first subdata;Determine the 3rd sub-result and the 4th Sub-result sum is the adjustment result to the second subdata.Wherein, the first subsystem number be the A in aforementioned formula, Second subsystem number is B, the 3rd subsystem number is C, the 4th subsystem number is D.First subdata is that pixel exists U value i.e. U1 before adjustment, the second subdata are this pixel i.e. V1 of V-value before adjustment.First computing For multiplication operation.When the First Eigenvalue includes aforementioned four sub-coefficients, the second predetermined relationship pre-sets There is strengthen between adjustment range value C and D of strength information and adjustment range value A and B of U, V right Should be related to.
In one preferred embodiment of the present invention, while adjusting some pixel saturation, in addition it is also necessary to Adjust the lightness of these pixels, realize by the following method: determine that the first pixel is corresponding second Data, the second data characterization is the second attribute of pixel;Determine the First Eigenvalue of the second data;Foundation Second data are carried out the second adjustment by the First Eigenvalue;Described first attribute is the color of pixel;Described Second attribute is the brightness of pixel.In YUV color coded system, it is bright that the second data are expression Degree Y value, in the first predetermined relationship be provided with often organize U, V-value need with it enhancing strength information Between corresponding relation while, it needs the intensity that strengthens to be additionally provided with Y value corresponding to this group U, V-value Information, such as the enhancing of its U, V, Y of pixel that value is U=00010, V=10011, Y=00011 Intensity is highest level one-level.In the second predetermined relationship, the enhancing being also provided with Y value accordingly is strong Corresponding relation between degree information and its First Eigenvalue E (the adjustment range value of Y), and utilize YE=Y1 + E*Y1 carries out the enhancing of lightness to the Y1 value of current pixel point, and Y1 is the Y strengthening this pixel front Value, YEThe Y value of this pixel after enhancing.Aforementioned schemes can be considered the mistake that the second data carry out the second adjustment The process that lightness is i.e. adjusted by journey.
In presently preferred embodiment, while adjusting some pixel saturation, also may be used The adjustment of lightness is carried out, to bright in these pixels with the pixel not enough to lightness in these pixels The adjustment not carrying out lightness of the pixel of sufficient brightness, realizes: by the following method at the first pixel In extract the pixel of satisfied second pre-defined rule, obtain the second pixel;Obtain the second pixel corresponding The second data, the second data characterization is the second attribute of pixel;Determine the First Eigenvalue of the second data; According to the First Eigenvalue, the second data are carried out the second adjustment;Described first attribute is the color of pixel; Described second attribute is the brightness of pixel.Wherein, described extract in the first pixel satisfied second pre- Set pattern pixel then, obtains the second pixel, including: extract the second data and be positioned at the second preset range The first pixel;Determining that the second extracted data are positioned at the first pixel of the second preset range is Two pixels.Described second pre-defined rule is: judge the bright of each pixel carrying out saturation adjustment Whether degree i.e. Y value is positioned at the second preset range, if located in, then it is assumed that the brightest, need to carry out bright The adjustment of brightness;If be not positioned at, then it is assumed that the brightest, it is not necessary to carry out the adjustment of lightness, obtain Also need to adjust the pixel (the second pixel) of lightness.Learning the picture needing to carry out lightness adjustment After the Y value of vegetarian refreshments, in the first predetermined relationship, determine the enhancing strength information of this Y value, make a reservation for second In relation, according to this enhancing strength information, determine its First Eigenvalue E, and utilize YE=Y1+E*Y1 Y1 value to current pixel point carries out the enhancing of lightness.Wherein, the second preset range can be 90~120, Certainly can also take other to be reasonably worth, this time not limit.
In another preferred embodiment of the present invention, while adjusting pixel saturation, in addition it is also necessary to adjust The tone of these pixels whole, as shown in Figure 4, in UV coordinate system, wants to adjust tone knowing When the former U of pixel, V-value i.e. U1, V1, in addition it is also necessary to know color after former U, V-value and adjustment ( In UV colour gamut, its coordinate is (UE、VE)) between angle β;After knowing these data, utilize public affairs Formula UE=U1×cosβ+V1×(-sinβ)、VE=V1×cosβ+U1× sin β i.e. can get the enhanced pixel of tone The U of point, V-value.
Those skilled in the art should and know, aforementioned schemes is to adjust the explanation that saturation is done for main contents, this Outward, it is also possible to illustrate for main contents adjusting lightness or tone, it is achieved process and aforementioned schemes Similar, this time do not repeat.Further, it is also possible to adjust saturation, lightness and tone these three aspect simultaneously, So that image display effect is more preferable.
In aforementioned schemes, first determining the pixel needing to carry out saturation adjustment in the first image, acquisition is used for Characterize the U of this pixel color, V-value, in the first predetermined relationship, determine corresponding with this U, V-value Enhancing strength information, in the second predetermined relationship, determine the enhancing width of the U corresponding with this enhancing strength information The enhancing range value of angle value and V, utilizes the enhancing range value determined, carries out this U, V-value accordingly Enhancing.It is also possible to utilize the first predetermined relationship to determine the enhancing intensity corresponding with the Y value of pixel Information, in the second predetermined relationship, determines the enhancing range value that this enhancing strength information is corresponding, right to realize The enhancing of pixel lightness.Further, it is also possible to realize the enhancing to tone.With the geneva in correlation technique Distance method compares, and simple and effective can realize ISP to image lightness saturation, lightness and tone etc. The adjustment of aspect, simple, can effectively save the storage of hardware and run resource.
Embodiment three
The first embodiment of the information processing method that the present invention provides, is applied in an electronic equipment, described electricity Subset has ISP function or includes ISP.In ISP, color enhancement Color Enhancement is One significant components, by this assembly can realize to image lightness, saturation, tone etc. at least one The enhancing of aspect.Wherein, intensification current color or desalination current color are adjusted to for saturation;Tone It is adjusted to and current color is adjusted towards another kind of color.
The composition structural representation of the first embodiment of the electronic equipment that Fig. 5 provides for the present invention;Such as Fig. 5 institute Showing, described electronic equipment also includes: the first extraction unit 501, first determines unit 502, second determine list Unit 503 and the first adjustment unit 504;Wherein,
First extraction unit 501, for when getting the first image, extracts and meets first in the first image The pixel of pre-defined rule, obtains the first pixel;
Here, the first image can be that described electronic equipment, the specifically first extraction unit 501 pass through electronics The image that the collecting unit of equipment such as camera collection arrives, it is also possible to received by network for electronic equipment Image, it is also possible to the image prestored in this locality for electronic equipment;It is, of course, also possible to can by other The mode expected obtains, and is not specifically limited herein.For piece image, need in image certain Region carries out the adjustment in terms of at least one such as lightness, saturation, tone as strengthened, for other regions It is not adjusted.Give an example, for a width facial image, need the face area in facial image is entered Face color is i.e. deepened in the enhancing of row saturation, does not makes any adjustments other regions in this image. Described electronic equipment, the specifically first extraction unit 501 determine that the pixel of satisfied first pre-defined rule is Needing to be adjusted pixel in first image, the first pixel is the pixel needing to be adjusted.When So, the present embodiment also includes the situation being adjusted all pixels of whole image.
First determines unit 502, for determining the first data that the first pixel is corresponding, the first data characterization The first attribute for pixel;
In ISP, image can use YUV color coded system to encode, and wherein, Y value represents bright Degree, namely grey decision-making;And U value and V-value represent it is colourity, effect is to describe the color of image and saturated Degree, for characterizing the color of pixel.Here, when the color that the first attribute is image, described electronics sets Standby, specifically first determine that unit 502 first data are the U value corresponding to image slices vegetarian refreshments and V-value. When the lightness that the first attribute is image, described electronic equipment, specifically first determine unit 502 first Data are the Y value corresponding to image slices vegetarian refreshments.Refer to existing about the color-coded specific descriptions of YUV There is related description, do not repeat.
Second determines unit 503, for determining the First Eigenvalue of the first data;
Here, the First Eigenvalue is the adjustment range value of first data corresponding to pixel.With the first data As a example by U value corresponding to image slices vegetarian refreshments and V-value, described electronic equipment, specifically second determine unit 503 determine the range value A that the First Eigenvalue includes adjusting this U value and the range value D adjusting V-value, Such as A=10, D=2.
First adjustment unit 504, for according to the First Eigenvalue, carrying out the first adjustment to the first data.
Here, with second, described electronic equipment, the specifically first adjustment unit 504 determine that unit 503 determines First data are adjusted by the adjustment range value gone out.Give an example, with the U value corresponding to pixel and V Value is U1, V1, as a example by A=10, D=2, UE=A*U1=10U1, VE=D*V1=2V1;UEFor this U value after pixel adjustment, VEV-value after adjusting for this pixel, the most just completes this pixel The adjustment of the saturation of point.It should be noted that those skilled in the art should and know, the most only one is concrete Citing, does not represent all situations of the present embodiment.
In aforementioned schemes, first determine the pixel needing to adjust in the first image, then be determined to characterize this picture First data of the first attribute of vegetarian refreshments color and/or lightness, determine the adjustment range value of the first data, depend on According to this range value, the first data are adjusted, obtain adjusted pixel in terms of color and/or lightness Point.Compared with the mahalanobis distance method in correlation technique, this programme only needs to determine the adjustment amplitude of the first data Value, and according to this range value, color and/or the lightness of pixel are adjusted, it is not necessary to complex calculation, Simple and effective can realize the ISP adjustment to aspects such as image lightness, saturation, tones.
Embodiment four
The first embodiment of the information processing method that the present invention provides, is applied in an electronic equipment, described electricity Subset has ISP function or includes ISP.In ISP, color enhancement Color Enhancement is One significant components, by this assembly can realize to image lightness, saturation, tone etc. at least one The enhancing of aspect.Wherein, intensification current color or desalination current color are adjusted to for saturation;Tone It is adjusted to and current color is adjusted towards another kind of color.
The composition structural representation of the second embodiment of the electronic equipment that Fig. 6 provides for the present invention;Such as Fig. 6 institute Showing, described electronic equipment also includes: the first extraction unit 601, first determines unit 602, second determine list Unit 603 and the first adjustment unit 604;Wherein,
First extraction unit 601, when getting the first image, determines each pixel pair in the first image The first data answered, extract the first data and be positioned at the pixel of the first preset range, determines and extracts It is described first pixel that first data are positioned at the pixel of the first preset range.
Electronic equipment, the aforementioned function of the specifically first extraction unit 601 are able to carry out extracting first as it Image meets the pixel of the first pre-defined rule, obtains further illustrating of first this function of pixel. Wherein, the first image can be that the first extraction unit 601 is adopted by the collecting unit of electronic equipment such as photographic head The image that collection arrives, it is also possible to the image received by network for electronic equipment, it is also possible to exist for electronic equipment The image that this locality prestores;It is, of course, also possible to by other it is conceivable that by the way of obtain, do not do Concrete restriction.For piece image, need certain region in image is carried out lightness, saturation, The adjustment in terms of at least one such as tone, as strengthened, is not adjusted for other regions.
In ISP field, owing to the human face region in character image to be carried out the enhancing of saturation, to allow people It is relatively conventional that face region becomes this application scenarios more ruddy, so, herein and in subsequent technology scheme All as a example by the human face region in facial image is carried out saturation enhancing.Image uses YUV color coding Mode encodes, and U that each pixel is corresponding, V-value represent the color of this pixel.Concrete, electricity Subset, the specifically first extraction unit 601 first detect U, V that in present image, each pixel is corresponding Value (the first data), to obtain the color (the first attribute) of each pixel, as a example by the face of yellow, The face color value of yellow (the first preset range), 80~130 between 80~160 are typical value, In all pixels, extract that the pixel that color is yellow i.e. extracts U, V-value can represent yellow Pixel, and as the first pixel.
Here, owing to relating to the U of each pixel, V-value, in YUV encodes, U, V-value are color Difference signal, it is necessary to introduce lower UV colour gamut.The schematic diagram of the UV colour gamut that Fig. 3 provides for the present invention;As Shown in Fig. 3, the square of outermost represents the border of UV colour gamut, includes different face inside border Color, in application as actual in red orange red Malachitum royal purple, whitewash, rhodo etc. it is conceivable that color, different ashes Different color in degree Regional Representative's UV colour gamut.In UV colour gamut, with rectangular central point (two Cornerwise intersection point) it is zero, set up UV coordinate system;In a coordinate system, one group of U, V are (also For (U, V)) value represents a kind of color.The sector region that the face color of yellow is positioned in Fig. 3, It is positioned at the second quadrant of UV coordinate system.Such as 0 and 1 or-1 and 1 etc is used in ISP Digital signal, so, the U in colour gamut, V-value all use numeral 0 and 1 combination mode represent one Plant color, as this class value of U=00001010, V=00001001 represents A color.In correlation technique, often make Represent U, V-value respectively with 8bit, in such UV colour gamut color list item just for full list item, be 28*28=256*256=65536 list item.But the biggest list item i.e. U, V-value all use 8bit position for For ISP hardware realizes, need bigger operation and memory space, be a challenge for hardware resource.Cause This, in the present embodiment, take memory space for reducing, reduce U, the bit of V-value, according to warp Testing value, each U, V-value use 6bit to represent, can either represent its representative color and also be able to save Hardware resource.On ISP hardware realizes, electronic equipment, the specifically first extraction unit 601 detect each The bit value of U, V that pixel is corresponding, the second quadrant being positioned in UV coordinate system due to face color, So often organizing in U, V, extracting U that the highest-order bit is 0 and the highest-order bit be the V of 1, Have extracted U, the pixel of V-value is pixel that is first picture being positioned at the first preset range Vegetarian refreshments, aforementioned process also can be considered and filters out the picture needing to be adjusted from all pixels of present image The process of vegetarian refreshments.First data are U corresponding to the first pixel, V-value, are adjusted the first data It is actually and corresponding U, V-value are adjusted.First pixel is to need to carry out on present image The pixel that saturation i.e. U, V adjust.
First determines unit 602, for determining the first data that the first pixel is corresponding, the first data characterization The first attribute for pixel;
In ISP, image can use YUV color coded system to encode, and wherein, Y value represents bright Degree, namely grey decision-making;And U value and V-value represent it is colourity, effect is to describe the color of image and saturated Degree, for characterizing the color of pixel.Here, when the color that the first attribute is image, described electronics sets Standby, specifically first determine that unit 602 first data are the U value corresponding to image slices vegetarian refreshments and V-value. Refer to existing related description about the color-coded specific descriptions of YUV, do not repeat.
Described second determines unit 603, is used for: described first data are represented by the first predetermined figure, right First data are changed, and obtain the 3rd data, and the 3rd data are represented by the second predetermined figure, and first is pre- Location number and the second predetermined figure are different;In the first predetermined relationship, determine corresponding with described 3rd data The first information;In the second predetermined relationship, determine second information corresponding with the first information;Determine described Two information representations are described the First Eigenvalue.
Here, the first predetermined figure is 6bit, and the second predetermined figure is 5bit.Second determines that unit 603 will The highest order of U, V (the first data) of 6bit is removed, and obtains U, the V (the 3rd data) represented with 5bit, Described change is the highest-order bit removing this group U, V.Concrete, sieve at the first extraction unit 601 After selecting the pixel needing to be adjusted, these need U, V that the pixel adjusted is corresponding former Highest order bit is removed on the basis of 6bit, U that second determines unit 603 to obtain with 5bit is indicated, V-value, The U, the V-value that each represent with 5bit with one group are index, in the first predetermined relationship, search with this group U, The enhancing strength information that V-value is corresponding, this first predetermined relationship is provided with often organize U, V-value need with it increase The strong corresponding relation between strength information is as corresponding in this group UV value of U=00010, V=10011 Its enhancing intensity of pixel should be this group UV of highest level one-level, the most such as U=11110, V=10011 Pixel corresponding to value its strengthen intensity and should be lowest level N level (N is positive integer).Every getting Group U, pixel that V-value is corresponding enhancing strength information after, in the second predetermined relationship, strong with this enhancing Degree information is index, searches the First Eigenvalue corresponding with this enhancing strength information, pre-in the second predetermined relationship First being provided with the corresponding relation strengthening strength information with the First Eigenvalue, the First Eigenvalue at least includes this U The range value A that value adjusts and the range value D to V-value adjustment;As strengthened the pixel that intensity is highest level Its A=100, D=200, the most such as, strengthen pixel its A=1, D=2 etc. that intensity is lowest level. Wherein, the first information is described enhancing strength information.
First adjustment unit 604, for according to the First Eigenvalue, carrying out the first adjustment to the first data.
Here, with first, the first adjustment unit 604 determines that unit 603 determines adjustment range value is to first Data are adjusted.Give an example, with the U value corresponding to pixel and V-value as U1, V1, A=100, As a example by D=200, the first adjustment unit 604 utilizes UE=A*U1=100U1, VE=D*V1=200V1 pair U, V-value are adjusted;UEU value after adjusting for this pixel, VEV after adjusting for this pixel Value, the most just completes the adjustment of the saturation to this pixel.It should be noted that those skilled in the art should It is somebody's turn to do and knows, the most only one concrete example, do not represent all situations of the present embodiment.
In aforesaid citing, U, V are adjusted in certain proportion, pre-set in the second predetermined relationship There is the corresponding relation strengthened between strength information and the adjustment range value D adjusting range value A, V of U;Remove Outside this, the first adjustment unit 604 can also utilize formula UE=A*U1+B*V1, VE=C*U1+D*V1 The UV value of pixel is adjusted, in this case, it is simply that when described the First Eigenvalue at least includes One subsystem number, the second subsystem number, the 3rd subsystem number and the 4th subsystem number;First adjustment unit 604 is used for will First subdata carries out the first computing with the first subsystem number, the 3rd subsystem number respectively, obtain the first sub-result, 3rd sub-result;Second subdata is carried out the first computing with the second subsystem number, the 4th subsystem number respectively, To the second sub-result, the 4th sub-result;Determine that the first sub-result and the second sub-result sum are to the first subnumber According to adjustment result;Determine that the 3rd sub-result and the 4th sub-result sum are the adjustment result to the second subdata. Wherein, the first subsystem number be the A in aforementioned formula, the second subsystem number be B, the 3rd subsystem number be C, Four subsystem numbers are D.First subdata is pixel U value i.e. U1 before adjustment, the second subdata was for should The pixel i.e. V1 of V-value before adjustment.First computing is multiplication operation.Include aforementioned at the First Eigenvalue During four sub-coefficients, the second predetermined relationship is previously provided with the adjustment range value A strengthening strength information with U And the corresponding relation between adjustment range value C and D of B, V.
In one preferred embodiment of the present invention, described first adjustment unit 604, it is additionally operable to adjusting certain While a little pixel saturations, in addition it is also necessary to adjust the lightness of these pixels, come real by the following method Existing: the first adjustment unit 604 determines the second data that the first pixel is corresponding, and the second data characterization is pixel Second attribute of point;Determine the First Eigenvalue of the second data;According to the First Eigenvalue, the second data are entered Row second adjusts;Described first attribute is the color of pixel;Described second attribute is the brightness of pixel. In YUV color coded system, the second data are the Y value representing lightness, at the first predetermined relationship In often organize U, V-value and while it needs the corresponding relation between the strength information strengthened, also being provided with It needs the strength information that strengthens to be provided with Y value corresponding to this group U, V-value, as value be U=00010, The enhancing intensity of its U, V, Y of the pixel of V=10011, Y=00011 is highest level one-level.? In second predetermined relationship, to be also provided with enhancing strength information and its First Eigenvalue E (Y of Y value accordingly Adjustment range value) between corresponding relation, and utilize YE=the Y1+E*Y1 Y1 to current pixel point Value carries out the enhancing of lightness, and Y1 is the Y value strengthening this pixel front, YEThe Y of this pixel after enhancing Value.Aforementioned schemes can be considered and the second data carry out the mistake that lightness is i.e. adjusted by the process of the second adjustment Journey.
In presently preferred embodiment, the first adjustment unit 604, it is additionally operable to adjusting some While pixel saturation, it is also possible to the pixel not enough to lightness in these pixels carries out lightness Adjustment, to the adjustment not carrying out lightness of pixel of lightness foot in these pixels, by as follows Method realizes: extracts the pixel of satisfied second pre-defined rule in the first pixel, obtains the second picture Vegetarian refreshments;First adjustment unit 604 is for obtaining the second data that the second pixel is corresponding, the second data characterization The second attribute for pixel;Determine the First Eigenvalue of the second data;According to the First Eigenvalue, to second Data carry out the second adjustment;Described first attribute is the color of pixel;Described second attribute is pixel Brightness.Wherein, the described pixel extracting satisfied second pre-defined rule in the first pixel, obtain Two pixels, including: extract the second data and be positioned at the first pixel of the second preset range;Determine and carried It is the second pixel that the second data taken are positioned at the first pixel of the second preset range.Described second makes a reservation for Rule is: the first adjustment unit 604 judges the lightness i.e. Y of each pixel carrying out saturation adjustment Whether value is positioned at the second preset range, if located in, then it is assumed that the brightest, need to carry out lightness Adjust;If be not positioned at, then it is assumed that the brightest, it is not necessary to carry out the adjustment of lightness, also needed to Adjust the pixel (the second pixel) of lightness.Learning the pixel that needs to carry out lightness adjustment After Y value, in the first predetermined relationship, determine the enhancing strength information of this Y value, in the second predetermined relationship, According to this enhancing strength information, determining its First Eigenvalue E, the first adjustment unit 604 also utilizes YE=Y1 + E*Y1 carries out the enhancing of lightness to the Y1 value of current pixel point.Wherein, the second preset range can be 90~120, certainly can also take other and reasonably be worth, this time not limit.
In another preferred embodiment of the present invention, the first adjustment unit 604 is additionally operable to adjusting pixel While saturation, in addition it is also necessary to adjust the tone of these pixels, as shown in Figure 4, in UV coordinate system, When knowing the former U of pixel, V-value i.e. U1, the V1 wanting to adjust tone, in addition it is also necessary to know former U, V After value and adjustment, (in UV colour gamut, its coordinate is (U to colorE、VE)) between angle β;Knowing this After several data, utilize formula UE=U1×cosβ+V1×(-sinβ)、VE=V1×cosβ+U1× sin β U, V-value to the enhanced pixel of tone.
Those skilled in the art should and know, aforementioned schemes is to adjust the explanation that saturation is done for main contents, this Outward, it is also possible to illustrate for main contents adjusting lightness or tone, it is achieved process and aforementioned schemes Similar, this time do not repeat.Further, it is also possible to adjust saturation, lightness and tone these three aspect simultaneously, So that image display effect is more preferable.
In aforementioned schemes, first determining the pixel needing to carry out saturation adjustment in the first image, acquisition is used for Characterize the U of this pixel color, V-value, in the first predetermined relationship, determine corresponding with this U, V-value Enhancing strength information, in the second predetermined relationship, determine the enhancing width of the U corresponding with this enhancing strength information The enhancing range value of angle value and V, utilizes the enhancing range value determined, carries out this U, V-value accordingly Enhancing.It is also possible to utilize the first predetermined relationship to determine the enhancing intensity corresponding with the Y value of pixel Information, in the second predetermined relationship, determines the enhancing range value that this enhancing strength information is corresponding, right to realize The enhancing of pixel lightness.Further, it is also possible to realize the enhancing to tone.With the geneva in correlation technique Distance method compares, and simple and effective can realize ISP to image lightness saturation, lightness and tone etc. The adjustment of aspect, simple, can effectively save the storage of hardware and run resource.
In several embodiments provided herein, it should be understood that disclosed equipment and method, can To realize by another way.Apparatus embodiments described above is only schematically, such as, and institute Stating the division of unit, be only a kind of logic function and divide, actual can have other dividing mode when realizing, As: multiple unit or assembly can be in conjunction with, or it is desirably integrated into another system, or some features can be neglected Slightly, or do not perform.It addition, the coupling each other of shown or discussed each ingredient or directly coupling Close or communication connection can be the INDIRECT COUPLING by some interfaces, equipment or unit or communication connection, can Be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, as The parts that unit shows can be or may not be physical location, i.e. may be located at a place, it is possible to To be distributed on multiple NE;Part or all of unit therein can be selected according to the actual needs Realize the purpose of the present embodiment scheme.
It addition, each functional unit in various embodiments of the present invention can be fully integrated in a processing unit, Can also be that each unit is individually as a unit, it is also possible to two or more unit are integrated in one In individual unit;Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ hardware adds soft The form of part functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can Completing with the hardware relevant by programmed instruction, aforesaid program can be stored in an embodied on computer readable and deposit In storage media, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage Medium includes: movable storage device, read only memory (ROM, Read-Only Memory), magnetic disc or The various media that can store program code such as person's CD.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art, in the technical scope that the invention discloses, can readily occur in Change or replacement, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should It is as the criterion with described scope of the claims.

Claims (12)

1. an information processing method, is applied in an electronic equipment, when getting the first image, described Method includes:
Extract the pixel meeting the first pre-defined rule in the first image, obtain the first pixel;
Determining the first data that the first pixel is corresponding, 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 data are carried out the first adjustment.
Method the most according to claim 1, it is characterised in that meet the in described extraction the first image The pixel of one pre-defined rule, obtains the first pixel, including:
Determine the first data that in the first image, each pixel is corresponding;
Extract the first data and be positioned at the pixel of the first preset range;
Determining that the first data extracted are positioned at the pixel of the first preset range is described first pixel.
Method the most according to claim 1 and 2, it is characterised in that described first data are pre-by first Location number represents,
Accordingly, the described the First Eigenvalue determining the first data, including:
Being changed the first data, obtain the 3rd data, the 3rd data are represented by the second predetermined figure, First predetermined figure and the second predetermined figure are different;
In the first predetermined relationship, determine the first information corresponding with described 3rd data;
In the second predetermined relationship, determine second information corresponding with the first information;
Determine that described second information representation is described the First Eigenvalue.
Method the most according to claim 1, it is characterised in that described according to the First Eigenvalue, to the One data carry out the first adjustment, including:
Described first data at least include the first subdata and the second subdata;
Described the First Eigenvalue at least includes the first subsystem number, the second subsystem number, the 3rd subsystem number and the 4th son Coefficient;
First subdata is carried out the first computing with the first subsystem number, the 3rd subsystem number respectively, obtains the first son Result, the 3rd sub-result;
Second subdata is carried out the first computing with the second subsystem number, the 4th subsystem number respectively, obtains the second son Result, the 4th sub-result;
Determine that the first sub-result and the second sub-result sum are the adjustment result to the first subdata;
Determine that the 3rd sub-result and the 4th sub-result sum are the adjustment result to the second subdata.
Method the most according to claim 1, it is characterised in that described method also includes:
Determining the second data that the first pixel is corresponding, the second data characterization is the second attribute of pixel;Really The First Eigenvalue of fixed second data;According to the First Eigenvalue, the second data are carried out the second adjustment;Or,
In the first pixel, extract the pixel of satisfied second pre-defined rule, obtain the second pixel;Obtain Taking the second data that the second pixel is corresponding, the second data characterization is the second attribute of pixel;Determine second The First Eigenvalue of data;According to the First Eigenvalue, the second data are carried out the second adjustment;
Wherein, described first attribute is the color of pixel;Described second attribute is the brightness of pixel.
Method the most according to claim 5, it is characterised in that described extract in the first pixel Meet the pixel of the second pre-defined rule, obtain the second pixel, including:
Extract the second data and be positioned at the first pixel of the second preset range;
Determining that the second extracted data are positioned at the first pixel of the second preset range is the second pixel.
7. an electronic equipment, described electronic equipment includes:
First extraction unit, for when getting the first image, extracts and meets first in the first image and make a reservation for The pixel of rule, obtains the first pixel;
First determines unit, and for determining the first data that the first pixel is corresponding, the first data characterization is picture First attribute of vegetarian refreshments;
Second determines unit, for determining the First Eigenvalue of the first data;
First adjustment unit, for according to the First Eigenvalue, carrying out the first adjustment to the first data.
Electronic equipment the most according to claim 7, it is characterised in that described first extraction unit, uses In: determine the first data that in the first image, each pixel is corresponding;
Extract the first data and be positioned at the pixel of the first preset range;
Determining that the first data extracted are positioned at the pixel of the first preset range is described first pixel.
9. according to the electronic equipment described in claim 7 or 8, it is characterised in that described second determines unit, For: described first data are represented by the first predetermined figure,
Being changed the first data, obtain the 3rd data, the 3rd data are represented by the second predetermined figure, First predetermined figure and the second predetermined figure are different;
In the first predetermined relationship, determine the first information corresponding with described 3rd data;
In the second predetermined relationship, determine second information corresponding with the first information;
Determine that described second information representation is described the First Eigenvalue.
Electronic equipment the most according to claim 7, it is characterised in that described first adjustment unit, It is additionally operable to:
Described first data at least include the first subdata and the second subdata;
Described the First Eigenvalue at least includes the first subsystem number, the second subsystem number, the 3rd subsystem number and the 4th son Coefficient;
First subdata is carried out the first computing with the first subsystem number, the 3rd subsystem number respectively, obtains the first son Result, the 3rd sub-result;
Second subdata is carried out the first computing with the second subsystem number, the 4th subsystem number respectively, obtains the second son Result, the 4th sub-result;
Determine that the first sub-result and the second sub-result sum are the adjustment result to the first subdata;
Determine that the 3rd sub-result and the 4th sub-result sum are the adjustment result to the second subdata.
11. electronic equipments according to claim 7, it is characterised in that described first adjustment unit, It is additionally operable to:
Determining the second data that the first pixel is corresponding, the second data characterization is the second attribute of pixel;Really The First Eigenvalue of fixed second data;According to the First Eigenvalue, the second data are carried out the second adjustment;Or,
In the first pixel, extract the pixel of satisfied second pre-defined rule, obtain the second pixel;Obtain Taking the second data that the second pixel is corresponding, the second data characterization is the second attribute of pixel;Determine second The First Eigenvalue of data;According to the First Eigenvalue, the second data are carried out the second adjustment;
Wherein, described first attribute is the color of pixel;Described second attribute is the brightness of pixel.
12. electronic equipments according to claim 11, it is characterised in that described first adjustment unit, It is additionally operable to:
Extract the second data and be positioned at the first pixel of the second preset range;
Determining that the second extracted data are positioned at the first pixel of 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 true CN106303154A (en) 2017-01-04
CN106303154B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968723A (en) * 2018-09-29 2020-04-07 深圳云天励飞技术有限公司 Image characteristic value searching method and device and electronic equipment
CN113254690A (en) * 2020-02-10 2021-08-13 华为技术有限公司 Thumbnail display method and equipment
CN113436126A (en) * 2021-07-13 2021-09-24 上海艾为电子技术股份有限公司 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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968723A (en) * 2018-09-29 2020-04-07 深圳云天励飞技术有限公司 Image characteristic value searching method and device and electronic equipment
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
CN113436126A (en) * 2021-07-13 2021-09-24 上海艾为电子技术股份有限公司 Image saturation enhancement method and system and electronic equipment
CN113436126B (en) * 2021-07-13 2022-06-10 上海艾为电子技术股份有限公司 Image saturation enhancement method and system and electronic equipment

Also Published As

Publication number Publication date
CN106303154B (en) 2019-08-27

Similar Documents

Publication Publication Date Title
Wen et al. COVERAGE—A novel database for copy-move forgery detection
CN101681506B (en) Noise reduced color image using panchromatic image
CN111709890B (en) Training method and device for image enhancement model and storage medium
CN104349045B (en) A kind of image-pickup method and electronic equipment
CN110189349A (en) Image processing method and device
CN105229697A (en) Multi-modal prospect background segmentation
CN105243371A (en) Human face beauty degree detection method and system and shooting terminal
CN109782989A (en) Safe verification method and relevant apparatus
CN104866755B (en) Setting method and device for background picture of application program unlocking interface and electronic equipment
RU2718423C2 (en) Method of determining depth map for image and device for implementation thereof
CN108024105A (en) Image color adjusting method, device, electronic equipment and storage medium
CN108304839A (en) A kind of image processing method and device
CN108053393A (en) A kind of gradient similarity graph image quality evaluation method and device
CN107454285A (en) Image noise estimation method and device and image extraction device
CN106303154A (en) A kind of information processing method and electronic equipment
JP2008521117A (en) Image processing apparatus and method
CN105260428A (en) Picture processing method and apparatus
CN104967786B (en) Image-selecting method and device
JP5939047B2 (en) Text enhancement method and apparatus, and text extraction method and apparatus
CN105912589A (en) Information processing method and electronic device
CN107784631A (en) Image deblurring method and device
CN110264413A (en) A kind of image processing method, device, electronic equipment and storage medium
CN110503704A (en) Building method, device and the electronic equipment of three components
CN110321892A (en) A kind of picture screening technique, device and electronic equipment
Zangana et al. A new algorithm for human face detection using skin color tone

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