CN106302912A - The characteristic method of mobile terminal alignment light sensation and mobile terminal - Google Patents

The characteristic method of mobile terminal alignment light sensation and mobile terminal Download PDF

Info

Publication number
CN106302912A
CN106302912A CN201610682850.3A CN201610682850A CN106302912A CN 106302912 A CN106302912 A CN 106302912A CN 201610682850 A CN201610682850 A CN 201610682850A CN 106302912 A CN106302912 A CN 106302912A
Authority
CN
China
Prior art keywords
mobile terminal
view data
brightness value
readings
light sensation
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
CN201610682850.3A
Other languages
Chinese (zh)
Other versions
CN106302912B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610682850.3A priority Critical patent/CN106302912B/en
Publication of CN106302912A publication Critical patent/CN106302912A/en
Application granted granted Critical
Publication of CN106302912B publication Critical patent/CN106302912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0693Calibration of display systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

The disclosure discloses a kind of mobile terminal characteristic method and device of alignment light sensation.Described method comprises determining that the readings of light sensor in mobile terminal, and obtain the view data corresponding with described readings by the front-facing camera of described mobile terminal, described view data is processed the brightness value obtaining described view data, the calibration factor that light sensation characteristic curve according to described readings, the brightness value of described view data and described mobile terminal obtains, calibrates described light sensation characteristic curve according to described calibration factor.The above-mentioned mobile terminal characteristic method of alignment light sensation and mobile terminal can be according to the brightness calibration light sensation characteristic curves of view data in front-facing camera in mobile terminal, to enable the brightness reflecting mobile terminal local environment exactly.

Description

The characteristic method of mobile terminal alignment light sensation and mobile terminal
Technical field
It relates to light sensation process field, particularly to a kind of mobile terminal characteristic method of alignment light sensation and Mobile terminal.
Background technology
Along with user is more and more higher to the performance requirement of mobile terminal, flying power and the screen intensity of mobile terminal are more come More paid close attention to by user.Mobile terminal is typically provided with light sensor, mobile terminal under the effect of light sensor Brightness regulation screen intensity according to local environment, makes to improve the screen intensity of mobile terminal in bright luminous environment, Dark environment reduces the screen intensity of mobile terminal.On the one hand can ensure that the definition of screen, the eyes of protection user; On the other hand can save energy content of battery consumption, improve the flying power of mobile terminal.
But in the actual application of mobile terminal, the detection angles of light sensor is less, causes passing through light level Brightness and the brightness of mobile terminal local environment that device detects there are differences.
And mobile terminal can produce PCB (Printed Circuit Board, printed circuit at paster and assembling process Plate) contour tolerance, paster tolerance, sensor gum cover tolerance, touch screen cover plate contour tolerance, cover plate loophole positions and dimensions tolerance And many errors such as light transmittance, in turn result in the complete machine obtained by assembling and there is the biggest error.Further, since thing The existence of the factors such as the batch of material and structure design so that be lack of consistency between mobile terminal, particularly cannot ensure light The concordance of line sensor detection brightness.Even if under same environment, the brightness that different mobile terminals detects also is Incomplete same.Therefore unify preset light sensation characteristic curve and can not meet the demand of each Product Terminal.
If the sharp poundings such as mobile terminal falling in use also result in the position skew of sensor gum cover, The brightness that light sensor is detected changes.Now, if performing according to original light sensation characteristic curve, can produce Raw bigger error, it is impossible to meet the demand of Product Terminal.
It follows that the fixing light sensation characteristic curve arranged in mobile terminal is when there is deviation in the hardware of mobile terminal There is luminance errors, and the brightness of mobile terminal local environment cannot be accurately reflected.
Summary of the invention
In order to solve in correlation technique when the hardware of mobile terminal exists deviation, fixing light sensation characteristic curve cannot be accurate The really problem of the brightness of reflection mobile terminal local environment, present disclose provides a kind of mobile terminal alignment light sensation characteristic bent The method of line and mobile terminal.
A kind of mobile terminal characteristic method of alignment light sensation, it is characterised in that including:
Determine the readings of light sensor in mobile terminal, and obtained and institute by the front-facing camera of described mobile terminal State the view data that readings is corresponding;
Described view data is processed the brightness value obtaining described view data;
Light sensation characteristic curve according to described readings, the brightness value of described view data and described mobile terminal obtains described The characteristic calibration factor of light sensation;
Described light sensation characteristic curve is calibrated according to described calibration factor.
A kind of mobile terminal, it is characterised in that including:
Data acquisition module, for determining the readings of light sensor in mobile terminal, and by described mobile terminal Front-facing camera obtains the view data corresponding with described readings;
Brightness of image acquisition module, for processing the brightness value obtaining described view data to described view data;
Calibration factor acquisition module, for according to described readings, the brightness value of described view data and described mobile terminal Light sensation characteristic curve obtain the characteristic calibration factor of described light sensation;
Calibration module, for calibrating described light sensation characteristic curve according to described calibration factor.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
To when light sensation characteristic curve is calibrated in mobile terminal, determine the readings of light sensor in mobile terminal, and Obtain the view data corresponding with readings by the front-facing camera of mobile terminal, view data is carried out process and obtains picture number According to brightness value, obtain light sensation characteristic curve according to the light sensation characteristic curve of readings, the brightness value of view data and mobile terminal Calibration factor, according to calibration factor calibrate light sensation characteristic curve, owing to front-facing camera and light sensor are respectively positioned on movement The same side of terminal, therefore front-facing camera is consistent with the environmental light brightness of light sensor, thus after ensure that according to calibration Light sensation characteristic curve can accurately reflect the brightness of local environment, improve the standard of the brightness of mobile terminal perception environment Really property.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not be limited this Open.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the present invention Example, and in description together for explaining the principle of the present invention.
Fig. 1 is according to a kind of mobile terminal characteristic method flow of alignment light sensation shown in an exemplary embodiment Figure;
Fig. 2 is the flow process that view data processes the brightness value step obtaining view data of Fig. 1 correspondence embodiment Figure;
Fig. 3 be Fig. 1 correspondence embodiment according to readings, the brightness value of view data and the light sensation characteristic curve of mobile terminal Obtain the flow chart of light sensation characteristic calibration factor step;
Fig. 4 is the block diagram according to a kind of mobile terminal shown in an exemplary embodiment;
Fig. 5 is the block diagram of the brightness of image acquisition module shown in Fig. 4 correspondence embodiment;
Fig. 6 is the block diagram of the calibration factor acquisition module shown in Fig. 4 correspondence embodiment.
Detailed description of the invention
Here in detail exemplary embodiment will be performed explanation, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the present invention are consistent.
Fig. 1 is according to a kind of mobile terminal characteristic method flow of alignment light sensation shown in an exemplary embodiment Figure.As it is shown in figure 1, this mobile terminal characteristic method of alignment light sensation may comprise steps of.
In step s 110, determine the readings of light sensor in mobile terminal, and by the preposition shooting of mobile terminal Head obtains the view data corresponding with readings.
Mobile terminal is the computer equipment that can use in movement, such as smart mobile phone, panel computer.
Mobile terminal is generally equiped with light sensor, and light sensor is for detecting the light of mobile terminal local environment Degree.
The readings of light sensor is the value of electrical signals that the brightness detected obtains after conversion, the reading of light sensor Value is mapped with specific brightness values mutually by light sensation characteristic curve, thus the readings of light sensor characterizes light sensor inspection Brightness values obtained by survey.Light sensation characteristic curve is being calibrated, to be applied to the process of the scenes such as screen intensity regulation In, the light sensor in mobile terminal is run, and with the brightness of perception place environment, and then exports corresponding readings.
Wherein it should be noted that when in mobile terminal, the readings of light sensor is multiple, acquired readings is Refer to several readings of light sensor Sequential output, such as, several readings exported according to certain time interval.
The detection angles of light sensor is less, and due to the error caused during paster and assembling, and use During enter the reason such as dust, cause brightness and the actual light of mobile terminal local environment that light sensor detects Degree has certain deviation.Accordingly, it would be desirable to realize light in mobile terminal by obtaining the readings of light sensor in mobile terminal Feel characteristic calibration.
Mobile terminal is also equiped with front-facing camera.Front-facing camera and light sensor are respectively positioned on the same face of mobile phone, Therefore the ambient light conditions that both face is consistent;Generally, front-facing camera and light sensor are just being respectively positioned on mobile phone Face, generally, in major part mobile phone, front-facing camera and light sensor are positioned at the top in mobile phone front simultaneously, because of The ambient light conditions faced both this is nearly identical.But front-facing camera detects characteristic due to its Radix Rumicis, and preposition takes the photograph As head has Seal Design, therefore, in front-facing camera, light sensor after the brightness ratio hardware deviation of image detects bright Spend the actual light brightness closer to mobile terminal local environment.
The acquisition order of the readings of light sensor and the view data of front-facing camera can be simultaneously.Obtaining certain Under one environment while light sensor readings, obtain the view data of front-facing camera;The predetermined time interval of process After, more automatically obtain readings and the view data of front-facing camera of light sensor under next environment.
The acquisition order of the readings of light sensor and the view data of front-facing camera can also have sequencing. Concrete, after the readings obtaining light sensor terminates, the predetermined time interval of process obtains the figure of front-facing camera again As data.The acquisition order of light sensor readings and front-facing camera view data is not defined at this.
Such as, at a time, obtain readings A1 of mobile terminal light sensor, obtain the figure of front-facing camera simultaneously As data B1;After predetermined time interval, obtain readings A2 of mobile terminal light sensor, obtain preposition shooting simultaneously View data B2 of head.
The most such as, at a time, obtain readings A1 of mobile terminal light sensor, obtain mobile terminal the most successively Readings A2 of light sensor, A3;After predetermined time interval, obtain the view data of front-facing camera in mobile terminal B1, obtains view data B2 of front-facing camera, B3 in mobile terminal the most successively.
In the step s 120, view data is processed obtain the brightness value of view data.
For each view data, the brightness value of each pixel in view data can be extracted, and then calculate all The meansigma methods of the brightness value of pixel, this meansigma methods is the brightness value of this view data;Can also extract in front-facing camera The view data that the predefined size region, centre position of image is corresponding, and then obtain the brightness value in this particular size region, it is The brightness value of this view data;Can also is that other method obtains the brightness value of view data.
In the image of front-facing camera, the edge of image is relatively poor because of photosensitive effect, and the brightness of image may be with movement The brightness of terminal local environment has certain deviation.And the photosensitive effect of position, image middle is more preferable, it is more nearly movement The brightness of terminal local environment, the brightness values therefore characterized is the most accurate.
In step s 130, light is obtained according to the light sensation characteristic curve of readings, the brightness value of view data and mobile terminal Feel characteristic calibration factor.
Light sensation characteristic curve is the mapping between brightness value and the readings of light sensor that light sensor readings characterizes Relation curve.
Calibration factor is the brightness value mapped mutually with the readings of light sensor according to light sensation characteristic curve and preposition shooting Average proportions coefficient between the brightness of head perception.
Owing to the brightness of front-facing camera perception is the most to greatest extent close to the actual light brightness of local environment, because of This, will carry out the calculating of calibration factor, so that the calibration factor obtained to be applied to the characteristic calibration of light sensation.
When readings and brightness value only one of which respectively, by light sensation characteristic curve, find the reading with light sensor The brightness value that value maps mutually, and then calculate between the brightness value of the brightness value mapped mutually with this readings and correspondence image data Proportionality coefficient, is calibration factor.
When readings and brightness value are respectively present multiple, by light sensation characteristic curve, find with light sensor is every The brightness value that one readings maps mutually, calculates these brightness value sums, and the brightness value of multiple view data of correspondence it With, and then calculate the proportionality coefficient of the two sum, it is calibration factor;Can also be by light sensation characteristic curve, find After the multiple brightness values mapped mutually with each readings of light sensor, to the brightness value mapped mutually with each readings and right The brightness value answering view data carries out scale operation, obtains multiple proportionality coefficient, then seeks the meansigma methods of these multiple proportionality coefficients, i.e. For calibration factor;The characteristic calibration factor of light sensation can also be obtained by other method.
In step S140, calibrate light sensation characteristic curve according to calibration factor.
Relatively large deviation is there is in the brightness value characterized due to light sensor readings with the brightness value of mobile terminal local environment, The brightness values of mobile terminal local environment can not be obtained accurately, therefore by the light sensation characteristic curve that mobile terminal is intrinsic The light sensation characteristic curve that mobile terminal is intrinsic need to be calibrated, so that can accurately be obtained by the light sensation characteristic curve after calibration Know the brightness of mobile terminal local environment.
According to the relation between brightness value and the brightness value of correspondence image data that light sensor readings characterizes, obtain school After quasi-coefficient, with this calibration factor, mapping relations between readings and the brightness value of light sensor in light sensation characteristic curve are entered Row sum-equal matrix, thus calibrate light sensation characteristic curve.That is, use calibration factor that existing light sensation characteristic curve is calibrated.Pass through Light sensation characteristic curve after calibration, mobile terminal can obtain the brightness values of local environment accurately.In follow-up use, root According to the light sensation characteristic curve after calibration, the readings of light sensor is calibrated, and then the screen being adjusted mobile terminal is bright The application such as degree.
By method as above, owing to the Radix Rumicis of front-facing camera detects characteristic, ring residing for mobile terminal detected Accurate brightness values in border, and the brightness value that detects according to front-facing camera and the readings of light sensor, obtain The characteristic calibration factor of light sensation, and then calibration light sensation characteristic curve, during the use of subsequent movement terminal, according to school Light sensation characteristic curve after standard and the readings of light sensor can obtain the brightness of mobile terminal local environment accurately.
Fig. 2 is the description according to the details to step S120 shown in an exemplary embodiment.This step S120 can be wrapped Include following steps.
In step S121, in view data, carry out brightness value acquires the brightness of each pixel in view data Value.
Pixel is the elementary cell of image.For each view data, extract all pixels in view data, and to institute There is pixel to carry out the acquisition of brightness value, obtain the brightness value of all pixels in view data.
Obtaining the brightness value of each pixel in view data can be the color-values obtaining pixel, obtains picture by color conversion The brightness value of element;The brightness value of pixel can also be extracted from view data;Can also is that other method obtains each pixel Brightness value.
In step S122, brightness value is averaged and processes the brightness value obtaining view data.
In each view data, the brightness value of all pixels is averaged, obtains the average of each view data Brightness value.
Such as, view data B1 has 10000 pixels, extracts brightness value b1, b2, b3 of these 10000 pixels ... B10000, and to b1, b2, b3 ... b10000 averages process, obtains average brightness value b0, then b0 is view data B1 Brightness value.
Preferably, before in view data, the luminance signal of each pixel averages process, the most inclined to brightness The bigger pixel of difference is deleted, it is to avoid some bright spot in view data and stain affect the brightness value of view data.
Concrete, in the brightness value of all pixels of a view data, delete the maximum part of brightness value and bright The part that angle value is minimum, then calculates meansigma methods to remaining brightness value after deleting;Can also is that and delete and all pixels Average brightness value deviation larger portion brightness value, and then more remaining brightness value after deleting is calculated meansigma methods.
Such as, view data B1 has 10000 pixels, extracts brightness value b1, b2, b3 of these 10000 pixels ... These 10000 brightness values are sized by b10000,1000 brightness of deletion brightness maximum and 1000 of brightness minimum Brightness value, and then calculate the meansigma methods of remaining 8000 brightness values;The most such as, view data B1 has 10000 pixels, meter The average brightness value calculating these 10000 pixels is 100, deletes the deviation average brightness value 100 brightness value more than more than 5%, I.e. delete the brightness value brightness value more than 105 with less than 95, and then more remaining brightness value after deleting is calculated meansigma methods.
By method as above, by extracting all pixels in view data, and calculate all pixel brightness values Meansigma methods, obtain the brightness value of view data, so that the brightness value of view data is closer to the brightness of external environment Value, improves the accuracy of the calibration factor of light sensor.
Fig. 3 is the description according to the details to step S130 shown in an exemplary embodiment.This step S130 can be wrapped Include following steps.
In step S131, according to the brightness of the mobile terminal that the light sensation characteristic curve of readings and light sensor obtains Value.
Because light sensation characteristic curve is between brightness value and the readings of light sensor that light sensor readings characterizes Mapping relations curve.Therefore by light sensation characteristic curve, each readings of light sensor all has brightness corresponding thereto Value.
In step S132, obtain proportionality coefficient according to the brightness value of light sensor and the brightness value of view data.
Proportionality coefficient is the brightness value mapped mutually with light sensor readings by light sensation characteristic curve and respective image number According to brightness value between proportionality coefficient.
Such as, the readings of light sensor has 3, and the readings of light sensor is A1, A2, A3, with readings A1, A2, The brightness value of the view data that A3 is corresponding respectively is B1, B2, B3, by light sensation characteristic curve, with readings A1 of light sensor, The brightness value that A2, A3 phase maps is respectively a1, a2, a3, carries out scale operation and obtains proportionality coefficient C1=B1/a1, proportionality coefficient C2=B2/a2, proportionality coefficient C3=B3/a3.
In step S133, obtain the characteristic calibration factor of light sensation according to proportionality coefficient.
During proportionality coefficient only one of which, using this proportionality coefficient as the characteristic calibration factor of light sensation;Work as proportionality coefficient When existing multiple, these proportionality coefficients are averaged process, obtain the meansigma methods of these proportionality coefficients, this meansigma methods is made For the characteristic calibration factor of light sensation.
During actual design, produce PCB contour tolerance, paster tolerance, sensor gum cover tolerance during paster and assembling, touch The situations such as screen cover plate contour tolerance, cover plate loophole positions and dimensions tolerance and light transmittance, and the error that these situations are brought is only The characteristic linearity of light sensation can be affected, therefore, for a specific mobile terminal, each different size of light Also it is linearly to the decay of brightness under degree environment, according to readings, the light sensation characteristic curve of light sensor and schemes accordingly The multiple proportionality coefficients obtained as the brightness value of data should be equal.But the actual readings obtaining light sensor and corresponding figure During the brightness value of data, some errors of existence more or less, cause the multiple proportionality coefficients obtained to there is also one Fixed error.And error excessive time, it will affect the accuracy of calibration factor, and then affect the accurate of light sensation characteristic curve calibration Property.
Based on this, when proportionality coefficient exists multiple, it is necessary to before to these multiple proportionality coefficient handling averagelies, row Except abnormal proportionality coefficient.This mobile terminal characteristic method of alignment light sensation is further comprising the steps of.
In step S151, comparative example coefficient carries out the eliminating of unnatural proportions coefficient.
Unnatural proportions coefficient is the proportionality coefficient that all of proportionality coefficient large deviations is excessive.
When getting rid of unnatural proportions coefficient, can get rid of, according to default exclusion standard, the proportionality coefficient that deviation is excessive.
The exclusion standard preset can be to get rid of maximum proportionality coefficient and minimum proportionality coefficient, it is also possible to is to get rid of partially From the proportionality coefficient that the meansigma methods of all proportions coefficient is bigger, it is also possible to be other exclusion standard.
Such as, have 6 according to being calculated proportionality coefficient, be respectively as follows: 1.24,1.21,1.27,1.18,1.14, 1.19, the exclusion standard preset is to get rid of maximum proportionality coefficient and minimum proportionality coefficient.Thus be excluded that proportionality coefficient 1.14 With 1.27, and then to calculate average proportions coefficient be 1.205.
The most such as, have 6 according to being calculated proportionality coefficient, be respectively as follows: 1.24,1.21,1.27,1.18,1.14, 1.19, the exclusion standard preset is the proportionality coefficient that the meansigma methods got rid of and deviate all proportions coefficient reaches 5%.By calculating, The meansigma methods of all proportions coefficient is 1.205, therefore, gets rid of proportionality coefficient 1.27 and 1.14, and then calculates proportionality coefficient Meansigma methods is 1.205.
By method as above, according to readings, light sensation characteristic curve and the respective image data of light sensor After brightness value obtains proportionality coefficient, the proportionality coefficient using same procedure to calculate is averaged process, thus avoids Certain scale factor errors is excessive and affects the situation of calibration factor accuracy, and is processing multiple proportionality coefficients Before calibration factor, get rid of the bigger unnatural proportions coefficient of deviation so as to get calibration factor more accurate, improve calibration The characteristic accuracy of light sensation.
Optionally, according to a kind of mobile terminal alignment light sensation characteristic method stream shown in an exemplary embodiment Cheng Tu.The method can also comprise the following steps.
In step S210, it determines mobile terminal whether horizontal positioned, if it has, then perform step S110, if it has not, then Continue to differentiate mobile terminal whether horizontal positioned.
Mobile terminal is also equiped with acceleration transducer.Acceleration transducer is used for differentiating mobile terminal whether put by level Put, differentiating after horizontal positioned, then carry out in readings and the front-facing camera of light sensor in acquisition mobile terminal View data.If differentiating there is no horizontal positioned to mobile terminal, then continue to differentiate mobile terminal whether horizontal positioned, until differentiation After mobile terminal horizontal positioned, just obtain the picture number in the readings of light sensor in mobile terminal and front-facing camera According to.
By method as above, obtain light biography in mobile terminal again differentiating after mobile terminal horizontal positioned The readings of sensor, makes the readings of light sensor obtain under horizontal positioned state at mobile terminal, horizontal positioned state It is the state being easiest to keep, and the ambient light that under horizontal positioned state, light sensor gets is more uniform, detects Ambient light value more accurate, and then the calibration factor obtained is the most accurate, makes the light sensation characteristic curve after calibration the most more Accurately.
Following for disclosure mobile terminal embodiment, may be used for performing this above-mentioned mobile terminal alignment light sensation characteristic bent The embodiment of the method for line.For the details not disclosed in disclosure mobile terminal embodiment, refer in disclosure mobile terminal The calibration characteristic embodiment of the method for light sensation.
Fig. 4 is the block diagram according to a kind of mobile terminal shown in an exemplary embodiment, and this mobile terminal includes but do not limits In: readings acquisition module 110, brightness of image acquisition module 120, calibration factor acquisition module 130 and calibration module 140.
Data acquisition module 110, for determining the readings of light sensor in mobile terminal, and by before mobile terminal Put photographic head and obtain the view data corresponding with readings;
Brightness of image acquisition module 120, for processing the brightness value obtaining view data to view data;
Calibration factor acquisition module 130, for according to readings, the brightness value of view data and the light sensation characteristic of mobile terminal Curve obtains the characteristic calibration factor of light sensation;
Calibration module 140, for calibrating light sensation characteristic curve according to calibration factor.
In above-mentioned mobile terminal, the function of modules and the process that realizes of effect specifically refer to above-mentioned mobile terminal lieutenant colonel In the characteristic method of quasi-optical sense corresponding step realize process, do not repeat them here.
Optionally, as it is shown in figure 5, brightness of image acquisition module 120 includes but not limited to: pixel intensity obtains submodule 121 and luminance acquisition submodule 122.
Pixel intensity obtains submodule 121, in view data, carries out acquiring in view data of brightness value The brightness value of each pixel;
Luminance acquisition submodule 122, obtains the brightness value of view data for brightness value averages process.
Optionally, as shown in Figure 6, calibration factor acquisition module 130 includes but not limited to: light sensation luminance acquisition submodule 131, proportionality coefficient obtains submodule 132 and calibration factor obtains submodule 133.
Light sensation luminance acquisition submodule 131;Obtain light for the light sensation characteristic curve according to readings and mobile terminal to pass The brightness value of sensor;
Proportionality coefficient obtains submodule 132, for obtaining according to the brightness value of light sensor and the brightness value of view data To proportionality coefficient;
Calibration factor obtains submodule 133, for obtaining the characteristic calibration factor of light sensation according to proportionality coefficient.
Optionally, when proportionality coefficient is multiple, mobile terminal also includes Abnormality remove submodule, this Abnormality remove submodule For the proportionality coefficient obtained by comparison operation being carried out the eliminating of unnatural proportions coefficient.
Optionally, the disclosure also provides for a kind of mobile terminal, and this mobile terminal also includes discrimination module.
Discrimination module is used for differentiating mobile terminal whether horizontal positioned, if it has, then obtain light level in mobile terminal The readings of device, if it has not, then continue to differentiate mobile terminal whether horizontal positioned.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can performed without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (10)

1. the mobile terminal characteristic method of alignment light sensation, it is characterised in that including:
Determine the readings of light sensor in mobile terminal, and obtained and described reading by the front-facing camera of described mobile terminal The view data that value is corresponding;
Described view data is processed the brightness value obtaining described view data;
Light sensation characteristic curve according to described readings, the brightness value of described view data and described mobile terminal obtains described light sensation Characteristic calibration factor;
Described light sensation characteristic curve is calibrated according to described calibration factor.
Method the most according to claim 1, it is characterised in that described described view data is carried out process obtain described figure As the step of the brightness value of data includes:
In described view data, carry out brightness value acquires the brightness value of each pixel in view data;
Described brightness value is averaged and processes the brightness value obtaining described view data.
Method the most according to claim 1, it is characterised in that described according to described readings, the brightness of described view data The light sensation characteristic curve of value and described mobile terminal obtains the step of the characteristic calibration factor of described light sensation and includes:
The brightness value of the described light sensor that the light sensation characteristic curve according to described readings and described mobile terminal obtains;
Brightness value and the brightness value of described view data according to described light sensor obtain proportionality coefficient;
The characteristic calibration factor of described light sensation is obtained according to described proportionality coefficient.
Method the most according to claim 3, it is characterised in that when described proportionality coefficient is multiple, described according to described ratio Before example coefficient obtains the step of the characteristic calibration factor of described light sensation, described method also includes:
Described proportionality coefficient is carried out the eliminating of unnatural proportions coefficient.
Method the most according to claim 1, it is characterised in that described method also includes:
Differentiate described mobile terminal whether horizontal positioned, if it has, then
Perform described to determine the readings of light sensor in mobile terminal, and obtained by the front-facing camera of described mobile terminal The step of the view data corresponding with described readings.
6. a mobile terminal, it is characterised in that including:
Data acquisition module, for determining the readings of light sensor in mobile terminal, and passes through the preposition of described mobile terminal Photographic head obtains the view data corresponding with described readings;
Brightness of image acquisition module, for processing the brightness value obtaining described view data to described view data;
Calibration factor acquisition module, for according to described readings, the brightness value of described view data and the light of described mobile terminal Sense characteristic curve obtains the characteristic calibration factor of described light sensation;
Calibration module, for calibrating described light sensation characteristic curve according to described calibration factor.
Mobile terminal the most according to claim 6, it is characterised in that described brightness of image acquisition module includes:
Pixel intensity obtains submodule, in described view data, carries out acquiring in view data of brightness value each The brightness value of pixel;
Luminance acquisition submodule, obtains the brightness value of described view data for described brightness value averages process.
Mobile terminal the most according to claim 6, it is characterised in that described calibration factor acquisition module includes:
Light sensation luminance acquisition submodule, described in obtaining according to the light sensation characteristic curve of described readings and described mobile terminal The brightness value of light sensor;
Proportionality coefficient obtains submodule, for obtaining according to the brightness value of described light sensor and the brightness value of described view data To proportionality coefficient;
Calibration factor obtains submodule, for obtaining the characteristic calibration factor of described light sensation according to described proportionality coefficient.
Mobile terminal the most according to claim 8, it is characterised in that when described proportionality coefficient exists multiple, described movement Terminal also includes:
Abnormality remove submodule, for carrying out the eliminating of unnatural proportions coefficient to described proportionality coefficient.
Mobile terminal the most according to claim 6, it is characterised in that described mobile terminal also includes:
Discrimination module, is used for differentiating described mobile terminal whether horizontal positioned.
CN201610682850.3A 2016-08-17 2016-08-17 The characteristic method of mobile terminal alignment light sensation and mobile terminal Active CN106302912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610682850.3A CN106302912B (en) 2016-08-17 2016-08-17 The characteristic method of mobile terminal alignment light sensation and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610682850.3A CN106302912B (en) 2016-08-17 2016-08-17 The characteristic method of mobile terminal alignment light sensation and mobile terminal

Publications (2)

Publication Number Publication Date
CN106302912A true CN106302912A (en) 2017-01-04
CN106302912B CN106302912B (en) 2019-06-04

Family

ID=57679753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610682850.3A Active CN106302912B (en) 2016-08-17 2016-08-17 The characteristic method of mobile terminal alignment light sensation and mobile terminal

Country Status (1)

Country Link
CN (1) CN106302912B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600736A (en) * 2018-03-01 2018-09-28 广东欧珀移动通信有限公司 Terminal light sensation calibration method, device, terminal and storage medium
CN110660087A (en) * 2019-08-16 2020-01-07 深圳市万普拉斯科技有限公司 Light sensation correction method and device, electronic equipment and storage medium
CN111292703A (en) * 2019-12-20 2020-06-16 深圳光启空间技术有限公司 Screen brightness adjusting method and device
CN113447064A (en) * 2021-06-30 2021-09-28 东莞市小精灵教育软件有限公司 Calibration method and electronic equipment
WO2023272603A1 (en) * 2021-06-30 2023-01-05 东莞市小精灵教育软件有限公司 Calibration method and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1381037A (en) * 2000-05-25 2002-11-20 精工爱普生株式会社 Image display system of environment-adaptive type, image processing method and program
JP2005181602A (en) * 2003-12-18 2005-07-07 Nec Corp Mobile terminal with twin cameras
CN101540157A (en) * 2008-03-19 2009-09-23 索尼株式会社 Display device and method for luminance adjustment of display device
CN101827222A (en) * 2009-03-06 2010-09-08 夏普株式会社 Means for correcting, bearing calibration and image-input device
CN102265707A (en) * 2011-04-29 2011-11-30 华为终端有限公司 Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment
CN102546916A (en) * 2010-12-29 2012-07-04 富泰华工业(深圳)有限公司 Electronic device with function for detecting ambient brightness and method for detecting ambient brightness
CN104754134A (en) * 2015-03-31 2015-07-01 酷派软件技术(深圳)有限公司 Screen brightness adjusting method and screen brightness adjusting system
CN105049602A (en) * 2015-06-05 2015-11-11 广东小天才科技有限公司 Method and device for calibrating mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1381037A (en) * 2000-05-25 2002-11-20 精工爱普生株式会社 Image display system of environment-adaptive type, image processing method and program
JP2005181602A (en) * 2003-12-18 2005-07-07 Nec Corp Mobile terminal with twin cameras
CN101540157A (en) * 2008-03-19 2009-09-23 索尼株式会社 Display device and method for luminance adjustment of display device
CN101827222A (en) * 2009-03-06 2010-09-08 夏普株式会社 Means for correcting, bearing calibration and image-input device
CN102546916A (en) * 2010-12-29 2012-07-04 富泰华工业(深圳)有限公司 Electronic device with function for detecting ambient brightness and method for detecting ambient brightness
CN102265707A (en) * 2011-04-29 2011-11-30 华为终端有限公司 Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment
CN104754134A (en) * 2015-03-31 2015-07-01 酷派软件技术(深圳)有限公司 Screen brightness adjusting method and screen brightness adjusting system
CN105049602A (en) * 2015-06-05 2015-11-11 广东小天才科技有限公司 Method and device for calibrating mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108600736A (en) * 2018-03-01 2018-09-28 广东欧珀移动通信有限公司 Terminal light sensation calibration method, device, terminal and storage medium
CN108600736B (en) * 2018-03-01 2020-04-17 Oppo广东移动通信有限公司 Terminal light sensation calibration method and device, terminal and storage medium
CN110660087A (en) * 2019-08-16 2020-01-07 深圳市万普拉斯科技有限公司 Light sensation correction method and device, electronic equipment and storage medium
CN110660087B (en) * 2019-08-16 2022-05-13 深圳市万普拉斯科技有限公司 Light sensation correction method and device, electronic equipment and storage medium
CN111292703A (en) * 2019-12-20 2020-06-16 深圳光启空间技术有限公司 Screen brightness adjusting method and device
CN113447064A (en) * 2021-06-30 2021-09-28 东莞市小精灵教育软件有限公司 Calibration method and electronic equipment
WO2023272603A1 (en) * 2021-06-30 2023-01-05 东莞市小精灵教育软件有限公司 Calibration method and electronic device

Also Published As

Publication number Publication date
CN106302912B (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN106302912A (en) The characteristic method of mobile terminal alignment light sensation and mobile terminal
US10924729B2 (en) Method and device for calibration
CN111308448B (en) External parameter determining method and device for image acquisition equipment and radar
US9883178B2 (en) Method for measuring performance parameters and detecting bad pixels of an infrared focal plane array module
EP1540948B1 (en) Method and system for determining correspondence between locations on display surface having arbitrary shape and pixels in output image of projector
US20190096091A1 (en) Systems and methods to improve camera intrinsic parameter calibration
CN108737815B (en) Quality detection method and system of image sensor
US11398055B2 (en) Color evaluation device, color evaluation method, and indication object used in color evaluation method
WO2021008052A1 (en) Lens accuracy calibration method, apparatus and device for 3d photographic module
KR100939079B1 (en) System for mesurement of the snowfall and method for mesurement of the snowfall
CN113450418A (en) Improved method, device and system for underwater calibration based on complex distortion model
CN111311671B (en) Workpiece measuring method and device, electronic equipment and storage medium
US20140218477A1 (en) Method and system for creating a three dimensional representation of an object
CN115409814A (en) Photovoltaic module hot spot detection method and system based on fusion image
TW201326776A (en) Lens test device and method
JP2021092439A (en) Illumination optimization method, control device, and program
CN115830131A (en) Method, device and equipment for determining fixed phase deviation
US20080144923A1 (en) Test apparatus and method for testing contact finger
CN109040724B (en) Light spot distortion detection method and device of structured light projector and readable storage medium
TWI310084B (en) Automatic inspecting method for inspecting the polar direction of the polar element
CN116908185A (en) Method and device for detecting appearance defects of article, electronic equipment and storage medium
CN111815552A (en) Workpiece detection method and device, readable storage medium and terminal equipment
CN116993654A (en) Camera module defect detection method, device, equipment, storage medium and product
CN115479891A (en) Automatic detection system and method for circuit board mounted components based on image recognition
CN2911673Y (en) Scan imaging device for checking printed circuit boards

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
CP03 Change of name, title or address

Address after: Shandong City, Qingdao Province, Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Country or region after: China

Address before: Shandong City, Qingdao Province, Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address