CN106060402A - Image data processing method and device, and mobile terminal - Google Patents
Image data processing method and device, and mobile terminal Download PDFInfo
- Publication number
- CN106060402A CN106060402A CN201610530153.6A CN201610530153A CN106060402A CN 106060402 A CN106060402 A CN 106060402A CN 201610530153 A CN201610530153 A CN 201610530153A CN 106060402 A CN106060402 A CN 106060402A
- Authority
- CN
- China
- Prior art keywords
- colour
- skin
- color value
- view data
- image data
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Image Processing (AREA)
Abstract
The embodiment of the invention provides an image data processing method and device, and a mobile terminal. The method comprises the steps of obtaining original image data collected by a camera; identifying skin color image data in the original image data; and normalizing the skin color image data according to a preset target skin color value, thereby obtaining target image data. According to the embodiment of the method, the device and the mobile terminal, an input skin color is enabled to trend to or even reach the target skin color; the problem that the skin color is expressed differently in various environments due to the fact that the integrated stability of the skin color is low under the control of image processing is solved; the stable and consistent skin color is output; and moreover, the image processing debugging period is shortened.
Description
Technical field
The present invention relates to the technical field of communication, particularly relate to the processing method of a kind of view data, a kind of picture number
According to processing means and a kind of mobile terminal.
Background technology
Along with the fast development of mobile communication technology, the such as mobile terminal such as mobile phone, panel computer have been widely used in
Practise, entertain, the aspect such as work, daily life plays the most important role.
It is commonly configured with photographic head in the terminal, and owing to mobile terminal is relative to photographing unit, has easy to carry
Etc. characteristic, therefore, many user habits use mobile terminal to take pictures.
Such as autodyning, under the sight such as group photo, people can be taken pictures by user, various owing to can carry out during taking pictures
Image procossing, the debugging cycle of these image procossing is long, and meanwhile, the colour of skin is also controlled by image procossing, and stability in the large is poor,
Cause the colour of skin under circumstances, show different.
Summary of the invention
In view of the above problems, it is proposed that the present invention in case provide one overcome the problems referred to above or at least in part solve on
State processing method and the processing means of corresponding a kind of view data, a kind of mobile terminal of a kind of view data of problem.
First aspect, embodiments provides the processing method of a kind of view data, including:
Obtain the raw image data of camera collection;
Colour of skin view data is identified in described raw image data;
According to default target colour of skin color value, described colour of skin view data is normalized, it is thus achieved that target image
Data.
Second aspect, the embodiment of the invention also discloses the processing means of a kind of view data, including:
Raw image data acquisition module, for obtaining the raw image data of camera collection;
Broca scale is as data identification module, for identifying colour of skin view data in described raw image data;
Normalized module, for carrying out normalizing according to the target colour of skin color value preset to described colour of skin view data
Change processes, it is thus achieved that destination image data.
The third aspect, embodiments provides a kind of mobile terminal, and this mobile terminal has and realizes above-mentioned first party
The function processing behavior of view data in face.Described function can be realized by hardware, it is also possible to performed corresponding by hardware
Software realize.Described hardware or software include one or more module corresponding with above-mentioned functions.
In a possible design, the structure of mobile terminal includes that processor and memorizer, described memorizer are used for
Storage supports that R-T unit performs the program of said method, and described processor is configurable for performing to store in described memorizer
Program.Described mobile terminal can also include communication interface, for mobile terminal and other equipment or communication.
Wherein, described memorizer is for storing the instruction of the raw image data obtaining camera collection, described original
View data identifies the instruction of colour of skin view data, according to default target colour of skin color value, described colour of skin view data is entered
Row normalized, it is thus achieved that the instruction of destination image data;
Described processor is used for:
According to the instruction of the raw image data of described acquisition camera collection, obtain the original image number of camera collection
According to;
According to the described instruction identifying colour of skin view data in described raw image data, at described raw image data
Middle identification colour of skin view data;
Described colour of skin view data is normalized by the target colour of skin color value preset according to described basis, it is thus achieved that
The instruction of destination image data, is normalized described colour of skin view data according to default target colour of skin color value,
Obtain destination image data.
The scheme that the present invention provides, user can use mobile terminal, obtains the raw image data of camera collection, from
Raw image data identifies colour of skin view data, according to default target colour of skin color value, colour of skin view data is carried out normalizing
Change processes, it is thus achieved that destination image data so that the colour of skin of input can tend to, be even up to the target colour of skin, solves the colour of skin and is subject to
The control of image procossing, stability in the large is poor, causes the colour of skin under circumstances, shows different problem, exports stable, consistent
The colour of skin, meanwhile, shorten image procossing debugging cycle.
The aspects of the invention or other aspects be meeting more straightforward in the following description.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit common for this area
Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as the present invention
Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Fig. 1 shows the steps flow chart of the processing method embodiment of a kind of view data
Figure;
Fig. 2 shows the step stream of the processing method embodiment of another kind of according to an embodiment of the invention view data
Cheng Tu;
Fig. 3 shows the structural frames of the processing means embodiment of a kind of view data
Figure;
Fig. 4 shows the structural frames of the processing means embodiment of another kind of according to an embodiment of the invention view data
Figure;And
Fig. 5 shows the block diagram of the part-structure of mobile phone relevant to mobile terminal according to an embodiment of the invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here
Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
With reference to Fig. 1, it is shown that the step of the processing method embodiment of a kind of view data
Rapid flow chart, specifically may include steps of:
Step 101, obtains the raw image data of camera collection.
In implementing, the embodiment of the present invention can be applied in the terminal, such as, mobile phone, panel computer, individual
Personal digital assistant, wearable device (such as glasses, wrist-watch etc.) etc..
The operating system of these mobile terminals can include Android (Android), IOS, Windows Phone, Windows
Etc..
In embodiments of the present invention, photographic head camera can be configured in the terminal.
These photographic head can be only fitted to the front portion (also known as front-facing camera) of mobile terminal, it is also possible to is arranged in mobile whole
End back (also known as post-positioned pick-up head), additionally, the quantity of this photographic head can be single, can also be two or two with
On, such as dual camera, etc., this is not any limitation as by the embodiment of the present invention.
In one example, photographic head can include camera lens Lens, pedestal Holder, infrared filter IR, image sensing
The parts such as processor Sensor, circuit board.
Wherein, image sensing processor Sensor is a kind of semiconductor chip, and its surface includes hundreds of thousands to millions of
The photodiode not waited, when photodiode receives light irradiation, can produce electric charge.
Image sensing processor Sensor can convert light into the signal of telecommunication, then is turned by internal DA (digital-to-analogue conversion)
It is changed to digital signal, the imaging plane that plane is view data at image sensing processor Sensor place.
In actual applications, the optical imagery that scenery (SCENE) is generated by the camera lens Lens of photographic head projects image
On sensing processor Sensor surface, then turn to the signal of telecommunication, after A/D (analog digital conversion) changes, become digital picture letter
Number, by data image signal is compressed and is converted into specific image literary composition by digital signal processing chip DSP or code database
Part form, is located by the processor (Central Processing Unit, CPU) of data bus transmission to mobile terminal
Reason, then can show at the screen of mobile terminal.
Step 102, identifies colour of skin view data in described raw image data.
In embodiments of the present invention, colour of skin view data can be identified by Face Detection from raw image data.
So-called Face Detection, is to choose the process corresponding to human skin pixels in view data.
According to either with or without relating to imaging process, Face Detection can mark off the following two kinds type:
1, Face Detection based on statistics
The key step of Face Detection based on statistics includes color notation conversion space and skin color modeling.
Color space is selected inherently to select the most basic character representation of Face Detection.Skin color modeling is to know about the colour of skin
The computer representation known, generally sets up complexion model by training sample set and carries out Face Detection, can be by according to different application
Skin color modeling is divided into static and dynamic two classes.
Wherein, for color space, the colour of skin is quite concentrated in the distribution of color space, but can by illumination with ethnic group very
Big impact, is affected by intensity of illumination to reduce the colour of skin, and color space is generally converted into brightness and colourity classification certain from RGB
Individual color space, such as YCbCr or HSV, then abandon brightness.
For static skin color modeling, the sides such as skin color range, Gaussian density function estimation and statistics with histogram can be passed through
Formula sets up complexion model, the most corresponding thresholding of this three, parametrization and the method for imparametrization.
For dynamic skin color modeling, can by complexion model parameter is adjusted to adapt to certain width still image, or,
For sequence image, adapt to the image-forming condition mode such as over time and set up complexion model.
2, Face Detection based on physics
Under complicated lighting condition, in such as image, the colour of skin is in specular or shadow region, in order to from imaging mechanism on gram
Take illumination and image paid no attention to impact, when Face Detection, it is considered to the interaction of light and skin, it is considered to skin POP is special
Property, this Face Detection technology referred to as Face Detection based on physics considering electromagnetic radiation and the mutual physical action of skin.
In a kind of Face Detection mode based on physics, colour of skin inspection can be carried out by the physical model of skin reflex
Surveying, such as, dichromatic reflection model can simulate opaque non-uniform dielectric thing according to the reflection characteristic of non-uniform dielectric
Body reflection process, to carry out Face Detection.
In an example of the embodiment of the present invention, owing to taking pictures people, especially autodyning, face is composition
One of pith, therefore, it can carry out Face datection in raw image data, it is thus achieved that face image data, at this face
View data identifies colour of skin view data.
So-called Face datection, can refer to calibrate the positions and dimensions of face from view data.
In Android, it is provided that a method directly carrying out face detection on bitmap, the two API
(Application Programming Interface, application programming interface) is respectively
Android.media.FaceDetector and android.media.FaceDetector.Face.
Specifically, extend base class ImageView, become MyImageView, and carry out the bitmap comprising face detected
File is usually 565 forms, to ensure that API normally works.
The face being detected needs a confidence measure (confidence measure), and this measure is defined on
android.media.FaceDetector.Face.CONFIDENCE_THRESHOLD。
Wherein, FaceDetector object-instantiated can be called findFaces by setFace () simultaneously, and result is deposited
In faces, MyImageView is transferred at the midpoint of face.
It follows that add setDisplayPoints () method in MyImageView, it is used at the face being detected
Upper labelling renders.
And API returns the information that other are useful, such as, such as eyesDistance, pose can be returned simultaneously, and
Confidence, then can position the center of eyes by eyesDistance.
Certainly, above-mentioned Face Detection is intended only as example, when implementing the embodiment of the present invention, can set according to practical situation
Putting other Face Detection, this is not any limitation as by the embodiment of the present invention.It addition, in addition to above-mentioned Face Detection, art technology
Personnel can also use other Face Detection according to actual needs, and this is not any limitation as by the embodiment of the present invention.
Step 103, is normalized described colour of skin view data according to default target colour of skin color value, it is thus achieved that
Destination image data.
In implementing, if detecting and raw image data existing colour of skin view data, then can extract default
Target colour of skin color value, this target colour of skin color value can be system default, it is also possible to be user setup, and the present invention implements
This is not any limitation as by example.
As a example by RGB color, in target colour of skin color value, R (red) value is generally higher than G (green) value, and G (green) value is general
More than B (blue) value, such as (215,177,141), (249,217,204), (253,227,204) etc..
Be normalized with colour of skin view data by target colour of skin color value, can allow input colour of skin picture number
According to the colour of skin tend to, even up to target colour of skin color value, the colour of skin that output is stable, consistent.
In actual applications, Eigen Skin color image can be selected in colour of skin view data by certain selection rule
Data, are normalized Eigen Skin color view data according to default target colour of skin color value, it is thus achieved that target image number
According to.
For example, it is possible to select Eigen Skin color view data according to brightness and/or exposure, screen out some brightness irregularities,
The colour of skin view data of overexposure, retains brightness uniformity, does not has the colour of skin view data of overexposure.
Specifically, brightness and/or the exposure of colour of skin view data can be added up by modes such as statistics with histogram.
From colour of skin view data, choose brightness be less than, in default brightness section and/or exposure, the threshold exposure preset
View data, as Eigen Skin color view data.
Certainly, it is normalized except selected part colour of skin view data, it is also possible to whole colour of skin view data
Being normalized, this is not any limitation as by the embodiment of the present invention.
In one embodiment of the invention, step 103 can include following sub-step:
Sub-step S11, adds up the original colour of skin color value in described colour of skin view data;
In implementing, the pixel color value of each pixel in colour of skin view data can be obtained, such as rgb value, calculate
The meansigma methods of pixel color value, as original colour of skin color value.
Sub-step S12, uses described original colour of skin color value to calculate normalization coefficient with the target colour of skin color value preset;
In implementing, normalization coefficient can be calculated based on calculating target colour of skin color value, adjust original skin with this
Color color value.
In an example of the embodiment of the present invention, sub-step S12 can include following sub-step:
Sub-step S121, calculates the ratio between target colour of skin color value and the original colour of skin color value preset, it is thus achieved that face
The whole ratio of tone;
As a example by RGB color, it is assumed that target colour of skin color value is (Rsample, Gsample, Bsample), photographic head inputs
The original colour of skin color value of colour of skin view data be (Rinput, Ginput, Binput), then, it is (R that color adjusts ratioratio,
Gratio, Bratio):
Rratio=Rsample/Rinput
Gratio=Gsample/Ginput
Bratio=Bsample/Binput
Sub-step S122, is multiplied by adjustment ratio by the pixel color value of pixel each in colour of skin view data, it is thus achieved that pixel
Color value set.
Sub-step S123, chooses object pixel color value from pixel color value set.
In implementing, can be from pixel color value set, the pixel color value that selected value is maximum, as target
Pixel color value.
Certainly, in addition to the pixel color value of selected value maximum, it is also possible to choose other pixel color value as target
Pixel color value, this is not any limitation as by the embodiment of the present invention.
As a example by RGB color, it is assumed that adjustment ratio is (Rratio, Gratio, Bratio), then, by (Rratio, Gratio,
Bratio) carry out product with each pixel of colour of skin view data, obtain R(0,1,2,...,n), G(0,1,2,..,.n),
B(0,1,2,...,n), wherein n is integer.
Statistics R (0,1,2 ... n), G (0,1,2 ... n), B (0,1,2 ... maximum RGB in n)maxAs target picture
Element color value.
Sub-step S124, uses color to adjust ratio and described object pixel color value calculates normalization coefficient.
In implementing, the ratio between default color threshold and object pixel color value can be calculated, as picture
Element color-ratio, calculates color and adjusts the product between ratio and pixel color ratio, it is thus achieved that normalization coefficient.
As a example by RGB color, it is assumed that adjustment ratio is (Rratio, Gratio, Bratio), object pixel color value is
RGBmax, then normalization coefficient is:
Rratio*255/RGBmax
Gratio*255/RGBmax
Bratio*255/RGBmax
Sub-step S13, is adjusted with described normalization coefficient, it is thus achieved that return on the basis of described original colour of skin color value
One changes colour of skin color value;
Sub-step S14, adjusts described colour of skin view data with described normalization colour of skin color value, it is thus achieved that target image number
According to.
In embodiments of the present invention, can be adjusted according to normalization coefficient on the basis of original colour of skin color value,
Output normalization colour of skin color value.
As a example by RGB color, it is assumed that original colour of skin color value is (Rinput, Ginput, Binput), normalization coefficient be
(Rratio*255/RGBmax, Gratio*255/RGBmax, Bratio*255/RGBmax), then the normalization colour of skin color value exported
(Rfinal, Gfinal, Bfinal) it is:
Rfinal=Rinput*Rratio*255/RGBmax;
Gfinal=Ginput*Gratio*255/RGBmax;
Bfinal=Binput*Bratio*255/RGBmax;
At present, in the camera module of mobile terminal, can AEC (Automatic Exposure Control, automatically
Spectrum assignment) and AWB (Automatic white balance, AWB) stable after, indexed by the exposure of AEC
(index) value, and the color temperature value (CCT) of AWB output, remove the color rendition (color that dynamic calculation current scene should use
And saturation (color enhancement) parameter correction).
The most just create problem, such as, in different angles, different exposures, and different AWB output, even if AWB
Difference little, the color rendition of final utilization and saturation parameters can be inconsistent, and the image colour of skin causing out is inconsistent,
Even same person is tested, in different angles, in the case of different light sources, colour of skin difference is the biggest.
Meanwhile, the screen of the mobile terminal of different-colour (warm colour screen, cool colour screen etc.) shows that form is each especially
Different.
Therefore, Consumer's Experience is the most bad, the most existing adjustable parameter, and adjustment method, and debugging cycle is the longest, and
And it is extremely difficult to expected effect.
The scheme that the present invention provides, user can use mobile terminal, obtains the raw image data of camera collection, from
Raw image data identifies colour of skin view data, according to default target colour of skin color value, colour of skin view data is carried out normalizing
Change processes, it is thus achieved that destination image data so that the colour of skin of input can tend to, be even up to the target colour of skin, solves the colour of skin and is subject to
The control of image procossing, stability in the large is poor, causes the colour of skin under circumstances, shows different problem, exports stable, consistent
The colour of skin, meanwhile, shorten image procossing debugging cycle.
With reference to Fig. 2, it is shown that the processing method embodiment of another kind of according to an embodiment of the invention view data
Flow chart of steps, specifically may include steps of:
Step 201, obtains the raw image data of camera collection.
Step 202, carries out image procossing to described raw image data.
In embodiments of the present invention, if camera collection is to view data, then can carry out ISP (Image Signal
Processing, image signal processing) process.
Wherein, image procossing includes following at least one:
1, auto-exposure control
Exposure is used to calculate the physical quantity of the luminous flux size arriving camera from scenery.Imageing sensor is only just obtaining
True exposure, just can obtain high-quality photo.Over-exposed, image seems the brightest under-exposure, then image seems too
Secretly.The size of the luminous flux arriving sensor is mainly determined by two aspect factors: the length of time of exposure and the size of aperture.
Utilize aperture to carry out automatic exposure, mainly control aperture size according to captured scene so that light-inletting quantity is tieed up
Hold within the specific limits.The cost being exposed controlling by aperture is higher.
Auto-exposure control algorithmic method generally has two kinds:
A kind of method is to use with reference to brightness value, and image uniform is divided into the subimage of many, each piece of subimage bright
Degree is used to arrange with reference to brightness value, and this brightness value can be obtained by the speed arranging shutter.
Another method is, is exposed by the relation between brightness and the exposure value under research different illumination conditions
Photocontrol.
2, blank level adjustment
White balance is it can be appreciated that under the conditions of any colour temperature, the reference white captured by photographic head is through the tune of oversampling circuit
Whole, remain as white after being allowed to imaging.
AWB be based on the assumption that the meansigma methods of the color of scene fall specific at one in the range of, if measured
Deviateing this scope to result, then adjust corresponding parameter, correction is until its average falls into appointment scope.This processing procedure is potentially based on
Yuv space, it is also possible to carry out based on rgb space.For Sensor, common processing mode is to be increased by correction R/B
Benefit so that UV value falls in the range of an appointment.Thus realize AWB.
3, color rendition processes
The human eye identification to color, is, based on human eye, light is existed three kinds of different sensing units, different sensing lists
There is the principle of different response curves in unit to the light of different-waveband, is obtained the perception of color by the synthesis of brain.In general,
The concept by RGB three primary colours that can be popular understands decomposition and the synthesis of color.
In theory, if human eye and the sensor (sensor) response to the coloured light of spectrum, embodiment spectrally
Words, the substantially response to three coloured light, will not make a difference each other, there is no so-called cross effect.But, practical situation
The most preferable, the trichroism induction system of the human eye response condition to spectrum, is that the response of RGB is not to be completely independent
's.
On each component of RGB the most devious to the response of spectrum with human eye, be certainly accomplished by it is corrected.
The most just in cross effect, the response intensity of each to color equally component is also required to correction, it is common practice to by one
Color is once corrected by color correction matrix.
The computing of this colour correction is typically integrated by sensor module or rear end ISP and completes, and posts by amendment is relevant
Storage obtains correct correction result.Wherein, also it is the conversion by a 3*3 due to color space conversion from RGB to YUV
Matrix realizes, so sometimes the two matrix can combine during ISP processes, is transported by a matrix
Calculate and operated the correction of color and the conversion of color space.
4, color enhancement processes
In implementing, the color representation of view data can be strengthened by modes such as regulation saturations.
So-called saturation, refer to is the purity of color in fact, and purity is the highest, shows the distinctest, and purity is relatively low, and performance is then
Dulller.
Owing to each pixel of liquid crystal is made up of red, green, blue (RGB) sub-pixel, backlight is by relying on RGB picture after liquid crystal molecule
Element is combined into random color light.If RGB three primary colors is the most bright-coloured, then the color gamut that display can represent is the widest.As
Really display three primary colors is the most bright-coloured, and the color gamut that this display can show is the most narrow, because it cannot show ratio
Three primary colors more chromatic colour.Therefore, the method improving color saturation is to improve backlight spectra and trichromatic purity.
5, denoising
In the collection and transmission of view data, image data quality be often subject to various effect of noise and under
Fall.
Such as, the sound pollution when imageing sensor obtains view data, owing to data volume at this time is less, noise
Directly affect interpolation algorithm below, and make the details of image to embody, both affected the interpolation of image, also affected people's
Visual experience.
Therefore in image procossing, the removal of noise is a very important link.
The mode of denoising, it is common that the point of surrounding taking average to substitute original value, this way does not increase
Quantity of information, is similar to a fuzzy algorithmic approach.
When detection, comprehensively can judge noise as standard by brightness and color, use interpolation algorithm to compensate,
For the bad point that sensor is intrinsic, noise, the mode of shielding is used to abandon its data etc..
Certainly, above-mentioned image procossing is intended only as example, when implementing the embodiment of the present invention, can set according to practical situation
Putting other image procossing, as stroboscopic suppresses, this is not any limitation as by the embodiment of the present invention.It addition, in addition to above-mentioned image procossing,
Those skilled in the art can also use other image procossing according to actual needs, and this is not limited by the embodiment of the present invention
System.
Step 203, identifies colour of skin view data in described raw image data.
Step 204, is normalized described colour of skin view data according to default target colour of skin color value, it is thus achieved that
Destination image data.
In embodiments of the present invention, colour of skin view data can be identified from the raw image data after image procossing,
And according to default target colour of skin color value, colour of skin view data after image procossing is normalized, it is thus achieved that target figure
As data.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but this area
Technical staff should know, the embodiment of the present invention is not limited by described sequence of movement, because implementing according to the present invention
Example, some step can use other orders or carry out simultaneously.Secondly, those skilled in the art also should know, description
Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 3, it is shown that the knot of the processing means embodiment of a kind of view data
Structure block diagram, specifically can include such as lower module:
Raw image data acquisition module 301, for obtaining the raw image data of camera collection;
Broca scale is as data identification module 302, for identifying colour of skin view data in described raw image data;
Normalized module 303, for carrying out described colour of skin view data according to the target colour of skin color value preset
Normalized, it is thus achieved that destination image data.
In one embodiment of the invention, described normalized module 303 can be also used for:
Eigen Skin color view data is selected in described colour of skin view data;
According to default target colour of skin color value, described Eigen Skin color view data is normalized, it is thus achieved that target
View data.
In one embodiment of the invention, described normalized module 303 can be also used for:
Add up brightness and/or the exposure of described colour of skin view data;
From described colour of skin view data, choose brightness be less than, in default brightness section and/or exposure, the exposure preset
The view data of threshold value, as Eigen Skin color view data.
In one embodiment of the invention, described normalized module 303 can be also used for:
Add up the original colour of skin color value in described colour of skin view data;
Described original colour of skin color value is used to calculate normalization coefficient with the target colour of skin color value preset;
It is adjusted with described normalization coefficient on the basis of described original colour of skin color value, it is thus achieved that normalization colour of skin face
Colour;
Described colour of skin view data is adjusted, it is thus achieved that destination image data with described normalization colour of skin color value.
In one embodiment of the invention, described normalized module 303 can be also used for:
Obtain the pixel color value of each pixel in described colour of skin view data;
Calculate the meansigma methods of described pixel color value, as original colour of skin color value.
In one embodiment of the invention, described normalized module 303 can be also used for:
Calculate the ratio between target colour of skin color value and the described original colour of skin color value preset, it is thus achieved that color adjusts ratio
Example;
The pixel color value of each pixel in described colour of skin view data is multiplied by described adjustment ratio, it is thus achieved that pixel color
Value set;
Object pixel color value is chosen from described pixel color value set;
Use described color to adjust ratio and described object pixel color value calculates normalization coefficient.
In one embodiment of the invention, described normalized module 303 can be also used for:
From described pixel color value set, the pixel color value that selected value is maximum, as object pixel color value.
In one embodiment of the invention, described normalized module 303 can be also used for:
Calculate the ratio between color threshold and the described object pixel color value preset, as pixel color ratio;
Calculate described color and adjust the product between ratio and described pixel color ratio, it is thus achieved that normalization coefficient.
With reference to Fig. 4, it is shown that the processing means embodiment of another kind of according to an embodiment of the invention view data
Structured flowchart, specifically can include such as lower module:
Raw image data acquisition module 401, for obtaining the raw image data of camera collection;
Image processing module 402, for carrying out image procossing to described raw image data;
Broca scale is as data identification module 403, for identifying colour of skin view data in described raw image data;
Normalized module 404, for carrying out described colour of skin view data according to the target colour of skin color value preset
Normalized, it is thus achieved that destination image data.
In implementing, described image procossing includes following at least one:
Auto-exposure control, blank level adjustment, color rendition process, color enhancement process, denoising.
For device embodiment, due to itself and embodiment of the method basic simlarity, so describe is fairly simple, relevant
Part sees the part of embodiment of the method and illustrates.
The embodiment of the present invention additionally provides mobile terminal, as it is shown in figure 5, for convenience of description, illustrate only and the present invention
The part that embodiment is relevant, concrete ins and outs do not disclose, and refer to embodiment of the present invention method part.This terminal can be
Including mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of
Sales, point-of-sale terminal), the arbitrarily terminal unit such as vehicle-mounted computer, as a example by terminal is as mobile phone:
Fig. 5 is illustrated that the block diagram of the part-structure of the mobile phone relevant to the terminal of embodiment of the present invention offer.With reference to figure
5, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 510, memorizer 520, input block 530, display unit 540,
Sensor 550, voicefrequency circuit 560, Wireless Fidelity (wireless fidelity, WiFi) module 570, processor 580 and
Power supply 590 parts such as grade.It will be understood by those skilled in the art that the handset structure shown in Fig. 5 is not intended that the restriction to mobile phone,
Can include that ratio illustrates more or less of parts, or combine some parts, or different parts are arranged.
Below in conjunction with Fig. 5 each component parts of mobile phone carried out concrete introduction:
RF circuit 510 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, by base station
After downlink information receives, process to processor 580;It addition, be sent to base station by designing up data.Generally, RF circuit 510
Include but not limited to antenna, at least one amplifier, transceiver, bonder, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..Additionally, RF circuit 510 can also be communicated with network and other equipment by radio communication.
Above-mentioned radio communication can use arbitrary communication standard or agreement, includes but not limited to global system for mobile communications (Global
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA
(Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution,
LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memorizer 520 can be used for storing software program and module, and processor 580 is stored in memorizer 520 by operation
Software program and module, thus perform mobile phone various functions application and data process.Memorizer 520 can mainly include
Storage program area and storage data field, wherein, storage program area can store the application journey needed for operating system, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can store what the use according to mobile phone was created
Data (such as voice data, phone directory etc.) etc..Additionally, memorizer 520 can include high-speed random access memory, it is also possible to
Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state
Part.
Input block 530 can be used for receiving numeral or the character information of input, and produce with the user setup of mobile phone with
And function controls relevant key signals input.Specifically, input block 530 can include that contact panel 531 and other inputs set
Standby 532.Contact panel 531, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user uses
Any applicable object such as finger, stylus or adnexa operation on contact panel 531 or near contact panel 531), and root
Corresponding attachment means is driven according to formula set in advance.Optionally, contact panel 531 can include touch detecting apparatus and touch
Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching
Point coordinates, then give processor 580, and order that processor 580 sends can be received and performed.Furthermore, it is possible to use electricity
The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 531.Except contact panel 531, input
Unit 530 can also include other input equipments 532.Specifically, other input equipments 532 can include but not limited to secondary or physical bond
One or more in dish, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 540 can be used for the various of the information that inputted by user of display or the information being supplied to user and mobile phone
Menu.Display unit 540 can include display floater 541, optionally, can use liquid crystal display (Liquid Crystal
Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) configure aobvious
Show panel 541.Further, contact panel 531 can cover display floater 541, when contact panel 531 detects thereon or attached
After near touch operation, send processor 580 to determine the type of touch event, with preprocessor 580 according to touch event
Type corresponding visual output is provided on display floater 541.Although in Figure 5, contact panel 531 and display floater 541
It is to realize input and the input function of mobile phone as two independent parts, but in some embodiments it is possible to by touch-control
Panel 531 is integrated with display floater 541 and realizes input and the output function of mobile phone.
Mobile phone may also include at least one sensor 550, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light
Light and shade regulate the brightness of display floater 541, proximity transducer can cut out display floater 541 when mobile phone moves in one's ear
And/or backlight.As the one of motion sensor, accelerometer sensor can detect (generally three axles) acceleration in all directions
Size, can detect that size and the direction of gravity time static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Also may be used as mobile phone
Other sensors such as the gyroscope of configuration, barometer, drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 560, speaker 561, microphone 562 can provide the audio interface between user and mobile phone.Audio-frequency electric
The signal of telecommunication after the voice data conversion that road 560 can will receive, is transferred to speaker 561, speaker 561 is converted to sound
Signal exports;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 562, voicefrequency circuit 560 after receiving
Be converted to voice data, then after voice data output processor 580 is processed, through RF circuit 510 to be sent to such as another hands
Machine, or voice data is exported to memorizer 520 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 570
Part, browsing webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 5 shows
WiFi module 570, but it is understood that, it is also not belonging to must be configured into of mobile phone, can not change as required completely
Omit in the scope of the essence becoming invention.
Processor 580 is the control centre of mobile phone, utilizes various interface and the various piece of the whole mobile phone of connection, logical
Cross operation or perform to be stored in the software program in memorizer 520 and/or module, and calling and be stored in memorizer 520
Data, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 580 can wrap
Include one or more processing unit;Preferably, processor 580 can integrated application processor and modem processor, wherein, should
Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated in processor 580.
Mobile phone also includes the power supply 590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system is logically contiguous with processor 580, thus realizes management charging, electric discharge and power managed by power-supply management system
Etc. function.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., does not repeats them here.
In embodiments of the present invention, the processor 580 included by this terminal also has a following functions:
Obtain the raw image data of camera collection;
Colour of skin view data is identified in described raw image data;
According to default target colour of skin color value, described colour of skin view data is normalized, it is thus achieved that target image
Data.
Alternatively, the processor 580 included by this terminal also has a following functions:
Eigen Skin color view data is selected in described colour of skin view data;
According to default target colour of skin color value, described Eigen Skin color view data is normalized, it is thus achieved that target
View data.
Alternatively, the processor 580 included by this terminal also has a following functions:
Add up brightness and/or the exposure of described colour of skin view data;
From described colour of skin view data, choose brightness be less than, in default brightness section and/or exposure, the exposure preset
The view data of threshold value, as Eigen Skin color view data.
Alternatively, the processor 580 included by this terminal also has a following functions:
Add up the original colour of skin color value in described colour of skin view data;
Described original colour of skin color value is used to calculate normalization coefficient with the target colour of skin color value preset;
It is adjusted with described normalization coefficient on the basis of described original colour of skin color value, it is thus achieved that normalization colour of skin face
Colour;
Described colour of skin view data is adjusted, it is thus achieved that destination image data with described normalization colour of skin color value.
Alternatively, the processor 580 included by this terminal also has a following functions:
Obtain the pixel color value of each pixel in described colour of skin view data;
Calculate the meansigma methods of described pixel color value, as original colour of skin color value.
Alternatively, the processor 580 included by this terminal also has a following functions:
Calculate the ratio between target colour of skin color value and the described original colour of skin color value preset, it is thus achieved that color adjusts ratio
Example;
The pixel color value of each pixel in described colour of skin view data is multiplied by described adjustment ratio, it is thus achieved that pixel color
Value set;
Object pixel color value is chosen from described pixel color value set;
Use described color to adjust ratio and described object pixel color value calculates normalization coefficient.
Alternatively, the processor 580 included by this terminal also has a following functions:
From described pixel color value set, the pixel color value that selected value is maximum, as object pixel color value.
Alternatively, the processor 580 included by this terminal also has a following functions:
Calculate the ratio between color threshold and the described object pixel color value preset, as pixel color ratio;
Calculate described color and adjust the product between ratio and described pixel color ratio, it is thus achieved that normalization coefficient.
Alternatively, the processor 580 included by this terminal also has a following functions:
Described raw image data is carried out image procossing;
Wherein, described image procossing includes following at least one:
Auto-exposure control, blank level adjustment, color rendition process, color enhancement process, denoising.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the system of foregoing description,
The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method are permissible
Realize by another way.Such as, device embodiment described above is only schematically, such as, and described unit
Dividing, be only a kind of logic function and divide, actual can have other dividing mode, the most multiple unit or assembly when realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list
Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage
Medium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is permissible
Instructing relevant hardware by program to complete, described program can be stored in a kind of computer-readable recording medium, on
Stating the storage medium mentioned can be read only memory, disk or CD etc..
Above a kind of mobile terminal provided by the present invention is described in detail, for the general technology people of this area
Member, according to the thought of the embodiment of the present invention, the most all will change, in sum,
This specification content should not be construed as limitation of the present invention.
The embodiment of the invention discloses A1, the processing method of a kind of view data, including:
Obtain the raw image data of camera collection;
Colour of skin view data is identified in described raw image data;
According to default target colour of skin color value, described colour of skin view data is normalized, it is thus achieved that target image
Data.
A2, method as described in A1, described colour of skin view data is carried out by the target colour of skin color value that described basis is preset
Normalized, it is thus achieved that the step of destination image data includes:
Eigen Skin color view data is selected in described colour of skin view data;
According to default target colour of skin color value, described Eigen Skin color view data is normalized, it is thus achieved that target
View data.
A3, method as described in A2, the described step selecting Eigen Skin color view data in described colour of skin view data
Including:
Add up brightness and/or the exposure of described colour of skin view data;
From described colour of skin view data, choose brightness be less than, in default brightness section and/or exposure, the exposure preset
The view data of threshold value, as Eigen Skin color view data.
A4, method as described in A1 or A2 or A3, the target colour of skin color value that described basis is preset is to described broca scale picture
Data are normalized, it is thus achieved that the step of destination image data includes:
Add up the original colour of skin color value in described colour of skin view data;
Described original colour of skin color value is used to calculate normalization coefficient with the target colour of skin color value preset;
It is adjusted with described normalization coefficient on the basis of described original colour of skin color value, it is thus achieved that normalization colour of skin face
Colour;
Described colour of skin view data is adjusted, it is thus achieved that destination image data with described normalization colour of skin color value.
A5, method as described in A4, the step bag of the original colour of skin color value in described statistics described colour of skin view data
Include:
Obtain the pixel color value of each pixel in described colour of skin view data;
Calculate the meansigma methods of described pixel color value, as original colour of skin color value.
A6, method as described in A4, the described original colour of skin color value of described employing and the target colour of skin color value meter preset
The step calculating normalization coefficient includes:
Calculate the ratio between target colour of skin color value and the described original colour of skin color value preset, it is thus achieved that color adjusts ratio
Example;
The pixel color value of each pixel in described colour of skin view data is multiplied by described adjustment ratio, it is thus achieved that pixel color
Value set;
Object pixel color value is chosen from described pixel color value set;
Use described color to adjust ratio and described object pixel color value calculates normalization coefficient.
A7, method as described in A6, the described step choosing object pixel color value from described pixel color value set
Including:
From described pixel color value set, the pixel color value that selected value is maximum, as object pixel color value.
A8, method as described in A6, the described color of described employing adjusts ratio and described object pixel color value calculates and returns
One step changing coefficient includes:
Calculate the ratio between color threshold and the described object pixel color value preset, as pixel color ratio;
Calculate described color and adjust the product between ratio and described pixel color ratio, it is thus achieved that normalization coefficient.
A9, method as described in any one of A1-A8, identify colour of skin view data described in described raw image data
Step before, described method also includes:
Described raw image data is carried out image procossing;
Wherein, described image procossing includes following at least one:
Auto-exposure control, blank level adjustment, color rendition process, color enhancement process, denoising.
The embodiment of the invention also discloses B10, the processing means of a kind of view data, including:
Raw image data acquisition module, for obtaining the raw image data of camera collection;
Broca scale is as data identification module, for identifying colour of skin view data in described raw image data;
Normalized module, for carrying out normalizing according to the target colour of skin color value preset to described colour of skin view data
Change processes, it is thus achieved that destination image data.
B11, device as described in B10, described normalized module is additionally operable to:
Eigen Skin color view data is selected in described colour of skin view data;
According to default target colour of skin color value, described Eigen Skin color view data is normalized, it is thus achieved that target
View data.
B12, device as described in B10, described normalized module is additionally operable to:
Add up brightness and/or the exposure of described colour of skin view data;
From described colour of skin view data, choose brightness be less than, in default brightness section and/or exposure, the exposure preset
The view data of threshold value, as Eigen Skin color view data.
B13, device as described in B10 or B11 or B12, described normalized module is additionally operable to:
Add up the original colour of skin color value in described colour of skin view data;
Described original colour of skin color value is used to calculate normalization coefficient with the target colour of skin color value preset;
It is adjusted with described normalization coefficient on the basis of described original colour of skin color value, it is thus achieved that normalization colour of skin face
Colour;
Described colour of skin view data is adjusted, it is thus achieved that destination image data with described normalization colour of skin color value.
B14, device as described in B13, described normalized module is additionally operable to:
Obtain the pixel color value of each pixel in described colour of skin view data;
Calculate the meansigma methods of described pixel color value, as original colour of skin color value.
B15, device as described in B13, described normalized module is additionally operable to:
Calculate the ratio between target colour of skin color value and the described original colour of skin color value preset, it is thus achieved that color adjusts ratio
Example;
The pixel color value of each pixel in described colour of skin view data is multiplied by described adjustment ratio, it is thus achieved that pixel color
Value set;
Object pixel color value is chosen from described pixel color value set;
Use described color to adjust ratio and described object pixel color value calculates normalization coefficient.
B16, device as described in B15, described normalized module is additionally operable to:
From described pixel color value set, the pixel color value that selected value is maximum, as object pixel color value.
B17, device as described in B15, described normalized module is additionally operable to:
Calculate the ratio between color threshold and the described object pixel color value preset, as pixel color ratio;
Calculate described color and adjust the product between ratio and described pixel color ratio, it is thus achieved that normalization coefficient.
B18, device as described in any one of B10-B17, also include:
Image processing module, for carrying out image procossing to described raw image data;
Wherein, described image procossing includes following at least one:
Auto-exposure control, blank level adjustment, color rendition process, color enhancement process, denoising.
The embodiment of the invention also discloses C19, a kind of mobile terminal, including:
Memorizer and processor;
Wherein, described memorizer is for storing the instruction of the raw image data obtaining camera collection, described original
View data identifies the instruction of colour of skin view data, according to default target colour of skin color value, described colour of skin view data is entered
Row normalized, it is thus achieved that the instruction of destination image data;
Described processor is used for:
According to the instruction of the raw image data of described acquisition camera collection, obtain the original image number of camera collection
According to;
According to the described instruction identifying colour of skin view data in described raw image data, at described raw image data
Middle identification colour of skin view data;
Described colour of skin view data is normalized by the target colour of skin color value preset according to described basis, it is thus achieved that
The instruction of destination image data, is normalized described colour of skin view data according to default target colour of skin color value,
Obtain destination image data.
C20, mobile terminal as described in C19, described processor is additionally operable to:
Eigen Skin color view data is selected in described colour of skin view data;
According to default target colour of skin color value, described Eigen Skin color view data is normalized, it is thus achieved that target
View data.
C21, mobile terminal as described in C20, described processor is additionally operable to:
Add up brightness and/or the exposure of described colour of skin view data;
From described colour of skin view data, choose brightness be less than, in default brightness section and/or exposure, the exposure preset
The view data of threshold value, as Eigen Skin color view data.
C22, mobile terminal as described in C19 or C20 or C21, described processor is additionally operable to:
Add up the original colour of skin color value in described colour of skin view data;
Described original colour of skin color value is used to calculate normalization coefficient with the target colour of skin color value preset;
It is adjusted with described normalization coefficient on the basis of described original colour of skin color value, it is thus achieved that normalization colour of skin face
Colour;
Described colour of skin view data is adjusted, it is thus achieved that destination image data with described normalization colour of skin color value.
C23, mobile terminal as described in C22, described processor is additionally operable to:
Obtain the pixel color value of each pixel in described colour of skin view data;
Calculate the meansigma methods of described pixel color value, as original colour of skin color value.
C24, mobile terminal as described in C22, described processor is additionally operable to:
Calculate the ratio between target colour of skin color value and the described original colour of skin color value preset, it is thus achieved that color adjusts ratio
Example;
The pixel color value of each pixel in described colour of skin view data is multiplied by described adjustment ratio, it is thus achieved that pixel color
Value set;
Object pixel color value is chosen from described pixel color value set;
Use described color to adjust ratio and described object pixel color value calculates normalization coefficient.
C25, mobile terminal as described in C24, described processor is additionally operable to:
From described pixel color value set, the pixel color value that selected value is maximum, as object pixel color value.
C26, mobile terminal as described in C24, described processor is additionally operable to:
Calculate the ratio between color threshold and the described object pixel color value preset, as pixel color ratio;
Calculate described color and adjust the product between ratio and described pixel color ratio, it is thus achieved that normalization coefficient.
C27, mobile terminal as described in any one of C19-C26,
Described memorizer is additionally operable to storage and described raw image data carries out the instruction of image procossing;
Described processor is additionally operable to:
According to the described instruction that described raw image data is carried out image procossing, described raw image data is carried out figure
As processing;
Wherein, described image procossing includes following at least one:
Auto-exposure control, blank level adjustment, color rendition process, color enhancement process, denoising.
Claims (10)
1. a processing method for view data, including:
Obtain the raw image data of camera collection;
Colour of skin view data is identified in described raw image data;
According to default target colour of skin color value, described colour of skin view data is normalized, it is thus achieved that target image number
According to.
2. the method for claim 1, it is characterised in that the target colour of skin color value that described basis is preset is to the described colour of skin
View data is normalized, it is thus achieved that the step of destination image data includes:
Eigen Skin color view data is selected in described colour of skin view data;
According to default target colour of skin color value, described Eigen Skin color view data is normalized, it is thus achieved that target image
Data.
3. method as claimed in claim 2, it is characterised in that described selection Eigen Skin color figure in described colour of skin view data
As the step of data includes:
Add up brightness and/or the exposure of described colour of skin view data;
From described colour of skin view data, choose brightness be less than, in default brightness section and/or exposure, the threshold exposure preset
View data, as Eigen Skin color view data.
4. the method as described in claim 1 or 2 or 3, it is characterised in that the target colour of skin color value that described basis is preset is to institute
State colour of skin view data to be normalized, it is thus achieved that the step of destination image data includes:
Add up the original colour of skin color value in described colour of skin view data;
Described original colour of skin color value is used to calculate normalization coefficient with the target colour of skin color value preset;
It is adjusted with described normalization coefficient on the basis of described original colour of skin color value, it is thus achieved that normalization colour of skin color
Value;
Described colour of skin view data is adjusted, it is thus achieved that destination image data with described normalization colour of skin color value.
5. method as claimed in claim 4, it is characterised in that the original colour of skin face in described statistics described colour of skin view data
The step of colour includes:
Obtain the pixel color value of each pixel in described colour of skin view data;
Calculate the meansigma methods of described pixel color value, as original colour of skin color value.
6. method as claimed in claim 4, it is characterised in that the described original colour of skin color value of described employing and the target preset
Colour of skin color value calculates the step of normalization coefficient and includes:
Calculate the ratio between target colour of skin color value and the described original colour of skin color value preset, it is thus achieved that color adjusts ratio;
The pixel color value of each pixel in described colour of skin view data is multiplied by described adjustment ratio, it is thus achieved that pixel color value collection
Close;
Object pixel color value is chosen from described pixel color value set;
Use described color to adjust ratio and described object pixel color value calculates normalization coefficient.
7. method as claimed in claim 6, it is characterised in that described choose object pixel from described pixel color value set
The step of color value includes:
From described pixel color value set, the pixel color value that selected value is maximum, as object pixel color value.
8. method as claimed in claim 6, it is characterised in that the described color of described employing adjusts ratio and described object pixel
Color value calculates the step of normalization coefficient and includes:
Calculate the ratio between color threshold and the described object pixel color value preset, as pixel color ratio;
Calculate described color and adjust the product between ratio and described pixel color ratio, it is thus achieved that normalization coefficient.
9. a processing means for view data, including:
Raw image data acquisition module, for obtaining the raw image data of camera collection;
Broca scale is as data identification module, for identifying colour of skin view data in described raw image data;
Normalized module, for being normalized place according to the target colour of skin color value preset to described colour of skin view data
Reason, it is thus achieved that destination image data.
10. a mobile terminal, including:
Memorizer and processor;
Wherein, described memorizer is for storing the instruction of the raw image data obtaining camera collection, at described original image
Data identify the instruction of colour of skin view data, according to default target colour of skin color value, described colour of skin view data is returned
One change processes, it is thus achieved that the instruction of destination image data;
Described processor is used for:
According to the instruction of the raw image data of described acquisition camera collection, obtain the raw image data of camera collection;
According to the described instruction identifying colour of skin view data in described raw image data, know in described raw image data
Other colour of skin view data;
Described colour of skin view data is normalized by the target colour of skin color value preset according to described basis, it is thus achieved that target
The instruction of view data, is normalized described colour of skin view data according to default target colour of skin color value, it is thus achieved that
Destination image data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610530153.6A CN106060402A (en) | 2016-07-06 | 2016-07-06 | Image data processing method and device, and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610530153.6A CN106060402A (en) | 2016-07-06 | 2016-07-06 | Image data processing method and device, and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106060402A true CN106060402A (en) | 2016-10-26 |
Family
ID=57185014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610530153.6A Pending CN106060402A (en) | 2016-07-06 | 2016-07-06 | Image data processing method and device, and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106060402A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107038715A (en) * | 2017-03-21 | 2017-08-11 | 腾讯科技(深圳)有限公司 | A kind of image processing method and device |
CN107248183A (en) * | 2017-05-09 | 2017-10-13 | 深圳市金立通信设备有限公司 | A kind of method and terminal for adjusting edit object color |
CN107592517A (en) * | 2017-09-21 | 2018-01-16 | 青岛海信电器股份有限公司 | A kind of method and device of colour of skin processing |
CN108038889A (en) * | 2017-11-10 | 2018-05-15 | 维沃移动通信有限公司 | The processing method and mobile terminal of a kind of image color cast |
CN108614657A (en) * | 2018-04-20 | 2018-10-02 | 惠州学院 | Image combining method, device, equipment and its image-carrier |
CN109300164A (en) * | 2017-07-25 | 2019-02-01 | 丽宝大数据股份有限公司 | Basal tone judgment method and electronic device |
CN113077378A (en) * | 2021-03-31 | 2021-07-06 | 重庆长安汽车股份有限公司 | Image processing and target identification method based on vehicle-mounted camera |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964874A (en) * | 2009-07-23 | 2011-02-02 | 卡西欧计算机株式会社 | Image processing apparatus and image processing method |
EP2509047A1 (en) * | 2011-04-09 | 2012-10-10 | Samsung Electronics Co., Ltd. | Colour conversion apparatus and method thereof |
CN103985098A (en) * | 2014-05-27 | 2014-08-13 | 广州商景网络科技有限公司 | Method and system for removing highlight of certificate image |
CN104156915A (en) * | 2014-07-23 | 2014-11-19 | 小米科技有限责任公司 | Skin color adjusting method and device |
CN104796683A (en) * | 2014-01-22 | 2015-07-22 | 中兴通讯股份有限公司 | Image color calibration method and system |
-
2016
- 2016-07-06 CN CN201610530153.6A patent/CN106060402A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964874A (en) * | 2009-07-23 | 2011-02-02 | 卡西欧计算机株式会社 | Image processing apparatus and image processing method |
EP2509047A1 (en) * | 2011-04-09 | 2012-10-10 | Samsung Electronics Co., Ltd. | Colour conversion apparatus and method thereof |
CN104796683A (en) * | 2014-01-22 | 2015-07-22 | 中兴通讯股份有限公司 | Image color calibration method and system |
CN103985098A (en) * | 2014-05-27 | 2014-08-13 | 广州商景网络科技有限公司 | Method and system for removing highlight of certificate image |
CN104156915A (en) * | 2014-07-23 | 2014-11-19 | 小米科技有限责任公司 | Skin color adjusting method and device |
Non-Patent Citations (1)
Title |
---|
赵明华等: "基于肤色分割、数学形态学和几何方法的人脸检测", 《四川大学学报(自然科学版)》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107038715A (en) * | 2017-03-21 | 2017-08-11 | 腾讯科技(深圳)有限公司 | A kind of image processing method and device |
WO2018171493A1 (en) * | 2017-03-21 | 2018-09-27 | 腾讯科技(深圳)有限公司 | Image processing method and device, and storage medium |
CN107038715B (en) * | 2017-03-21 | 2022-03-08 | 腾讯科技(深圳)有限公司 | Image processing method and device |
CN107248183A (en) * | 2017-05-09 | 2017-10-13 | 深圳市金立通信设备有限公司 | A kind of method and terminal for adjusting edit object color |
CN109300164A (en) * | 2017-07-25 | 2019-02-01 | 丽宝大数据股份有限公司 | Basal tone judgment method and electronic device |
CN107592517A (en) * | 2017-09-21 | 2018-01-16 | 青岛海信电器股份有限公司 | A kind of method and device of colour of skin processing |
CN107592517B (en) * | 2017-09-21 | 2020-03-24 | 青岛海信电器股份有限公司 | Skin color processing method and device |
CN108038889A (en) * | 2017-11-10 | 2018-05-15 | 维沃移动通信有限公司 | The processing method and mobile terminal of a kind of image color cast |
CN108614657A (en) * | 2018-04-20 | 2018-10-02 | 惠州学院 | Image combining method, device, equipment and its image-carrier |
CN108614657B (en) * | 2018-04-20 | 2021-02-19 | 惠州学院 | Image synthesis method, device and equipment and image carrier thereof |
CN113077378A (en) * | 2021-03-31 | 2021-07-06 | 重庆长安汽车股份有限公司 | Image processing and target identification method based on vehicle-mounted camera |
CN113077378B (en) * | 2021-03-31 | 2024-02-09 | 重庆长安汽车股份有限公司 | Image processing and target identification method based on vehicle-mounted camera |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106101547A (en) | The processing method of a kind of view data, device and mobile terminal | |
CN106096588A (en) | The processing method of a kind of view data, device and mobile terminal | |
CN106060402A (en) | Image data processing method and device, and mobile terminal | |
CN106210517A (en) | The processing method of a kind of view data, device and mobile terminal | |
CN104869320B (en) | Electronic equipment and controlling electronic devices operating method | |
CN108270966A (en) | A kind of method, mobile terminal and storage medium for adjusting light filling brightness | |
CN108307125B (en) | Image acquisition method, device and storage medium | |
JP5786254B2 (en) | Method and apparatus for controlling light emitting devices in a terminal device, and terminal device | |
CN103634580B (en) | A kind of colour gamut method of adjustment and device of coloured image | |
TWI658433B (en) | Method and device of image blurring, computer reading storage medium and computer equipment | |
CN107332981B (en) | Image processing method and Related product | |
CN105872373B (en) | A kind of automatic defogging photographic method, device and equipment | |
CN107438163B (en) | Photographing method, terminal and computer readable storage medium | |
CN108510955A (en) | Adjust the method and Related product of brightness of display screen | |
CN109191410A (en) | A kind of facial image fusion method, device and storage medium | |
CN108172199B (en) | Display methods, display device, electronic equipment and computer readable storage medium | |
CN105809647A (en) | Automatic defogging photographing method, device and equipment | |
CN108494974A (en) | Adjusting method, mobile terminal and the storage medium of display brightness | |
CN107038715A (en) | A kind of image processing method and device | |
CN107302663A (en) | A kind of brightness of image method of adjustment, terminal and computer-readable recording medium | |
US20170111623A1 (en) | Auto white balance using infrared and/or ultraviolet signals | |
CN108711402A (en) | Brightness of display screen method of adjustment and Related product | |
CN109729281A (en) | Image processing method, device, storage medium and terminal | |
CN108156393A (en) | Image capturing method, mobile terminal and computer readable storage medium | |
CN105915815A (en) | Method and device for shooting based on mobile device, and mobile device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161026 |