CN108600736A - Terminal light sensation calibration method, device, terminal and storage medium - Google Patents
Terminal light sensation calibration method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN108600736A CN108600736A CN201810172130.1A CN201810172130A CN108600736A CN 108600736 A CN108600736 A CN 108600736A CN 201810172130 A CN201810172130 A CN 201810172130A CN 108600736 A CN108600736 A CN 108600736A
- Authority
- CN
- China
- Prior art keywords
- optical sensor
- luminance information
- image
- light
- 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
Links
- 230000035807 sensation Effects 0.000 title claims abstract description 70
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000003860 storage Methods 0.000 title claims abstract description 18
- 230000003287 optical effect Effects 0.000 claims abstract description 145
- 238000009434 installation Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims 1
- 238000001514 detection method Methods 0.000 abstract description 12
- 238000010586 diagram Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 4
- 230000033228 biological regulation Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000003384 imaging method Methods 0.000 description 2
- 230000023077 detection of light stimulus Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the present application discloses a kind of terminal light sensation calibration method, device, terminal and storage medium, a kind of terminal light sensation calibration method, including:Obtain the collected light intensity numerical value of optical sensor;Pass through the camera collection image with optical sensor homonymy;The full luminance information of the luminance information and image of optical sensor photosensitive region is calculated according to image;Light sensation calibration factor is calculated according to the ratio of the full luminance information of the luminance information of optical sensor photosensitive region and image;The light intensity numerical value after calibration is determined according to light intensity numerical value and light sensation calibration factor.Terminal light sensation calibration method, device, terminal and storage medium provided by the present application, the accuracy in detection for carrying optical sensor.
Description
Technical field
The invention relates to terminal technology more particularly to a kind of terminal light sensation calibration method, device, terminal and storages
Medium.
Background technology
In order to adapt to the demand that user uses under various circumstances, the display screen of terminal device all has brightness regulation energy
Power could be such that user sees clearly on display screen in the stronger place of ambient light in use, the display brightness for showing screen is turned up
Shown content, and at the dark place of ambient light, the display brightness of display screen is turned down, just screen will not be made excessively bright
Stimulation is generated to the eyes of user.
In current terminal device, generally ambient light intensity is detected using optical sensor, also referred to as light sensation detects,
And the light intensity detected according to optical sensor is to showing that the brightness of screen carries out dynamic regulation.But terminal device is typically all
Using lightening design, optical sensor is embedded in terminal device.And since the daylighting element of optical sensor is located at light sensing
Device chip interior, therefore the light angle of optical sensor is restricted, there may be errors for the light intensity numerical value of optical sensor, thus
It may influence detection accuracy degree of the optical sensor to light intensity.
Invention content
A kind of terminal light sensation calibration method of the application offer, device, terminal and storage medium, for improving optical sensor
Accuracy in detection.
In a first aspect, the embodiment of the present application provides a kind of terminal light sensation calibration method, it is applied to terminal device, including:
Obtain the collected light intensity numerical value of optical sensor;
Pass through the camera collection image with optical sensor homonymy;
The full luminance information of the luminance information and image of optical sensor photosensitive region is calculated according to image;
Light sensation calibration is calculated according to the ratio of the full luminance information of the luminance information of optical sensor photosensitive region and image
Coefficient;
The light intensity numerical value after calibration is determined according to light intensity numerical value and light sensation calibration factor.
Second aspect, the embodiment of the present application provide a kind of terminal light sensation calibrating installation, including:
Light intensity numerical value acquisition module, for obtaining the collected light intensity numerical value of optical sensor;
Image capture module, for passing through the camera collection image with optical sensor homonymy;
Luminance information computing module, for according to image calculate optical sensor photosensitive region luminance information and image it is complete
Whole luminance information;
Light sensation calibration factor computing module, for according to the complete bright of the luminance information of optical sensor photosensitive region and image
The ratio for spending information calculates light sensation calibration factor;
Light intensity numerical value calibration module, for determining the light intensity numerical value after calibration according to light intensity numerical value and light sensation calibration factor.
The third aspect, the embodiment of the present application provide a kind of terminal, including:
Optical sensor, camera and one or more processors;
Storage device, for storing one or more programs,
When one or more programs are executed by one or more processors so that one or more processors realize such as first
The terminal light sensation calibration method of aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey
Sequence realizes the terminal light sensation calibration method such as first aspect when the program is executed by processor.
Terminal light sensation calibration method, device, terminal and storage medium provided by the embodiments of the present application, pass by using with light
Then the camera collection image of sensor homonymy calculates the luminance information and image of optical sensor photosensitive region according to the image
Full luminance information simultaneously calculates light according to the ratio of the full luminance information of the luminance information of optical sensor photosensitive region and image
Feel calibration factor, to determine the light intensity numerical value after calibration according to the light intensity numerical value and light sensation calibration factor of optical sensor acquisition,
The Luminance Distribution for considering camera shooting area avoids the light angle due to optical sensor limited, causes to be located at light sensing
The influence of point light source except device photosensitive region to the accuracy in detection of optical sensor, the detection for improving optical sensor are accurate
Degree.
Description of the drawings
Fig. 1 is the flow chart of method for switching network embodiment one provided by the embodiments of the present application;
Fig. 2 is that optical sensor and camera are located at the positive schematic diagram of terminal device;
Fig. 3 is a kind of light angle schematic diagram of optical sensor in terminal;
Fig. 4 is another light angle schematic diagram of optical sensor in terminal;
Fig. 5 is the schematic diagram that camera shoots image;
Fig. 6 is the structural schematic diagram of network switching device embodiment one provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of network switching device embodiment two provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the application, rather than the restriction to the application.It also should be noted that in order to just
It is illustrated only in description, attached drawing and the relevant part of the application rather than entire infrastructure.
Fig. 1 is the flow chart of terminal light sensation calibration method embodiment one provided by the embodiments of the present application, as shown in Figure 1, this
Embodiment provide method include:
Step 101, the collected light intensity numerical value of optical sensor is obtained.
Method provided in this embodiment is applied to terminal device, which is the terminal at least one camera
Equipment.Wherein, the camera of terminal device is located at the front or the back side of terminal device, and the peace of the camera in terminal device
Holding position homonymy is additionally provided with optical sensor close to the position of camera.Optical sensor is used to carry out the detection of light intensity numerical value,
The light intensity numerical value detected is sent to the processor of camera or terminal device.Camera is detected according to optical sensor
The completion of light intensity Numerical Control exposure parameter is taken pictures or is imaged;The light intensity number that the processor of terminal device is detected according to optical sensor
The brightness etc. of the backlight illumination, display image screen of value control screen.It is being located at terminal device just with optical sensor and camera
For face, as shown in Fig. 2, Fig. 2, which is optical sensor and camera, is located at the positive schematic diagram of terminal device, wherein camera 21
With optical sensor 22 be respectively positioned on terminal device front, and and above display screen 23, the same side of receiver 24.Camera 21 and light
The distance of sensor 22 is close, from the point of observation other than terminal device, it is believed that camera 21 and optical sensor 22
In same position.
Wherein, optical sensor is integrated light collection, analysis and the integrated chip of processing, by being carried out to light in environment
Acquisition, to analyze the intensity of light.Since the daylighting element that optical sensor is used to carry out light acquisition is located at chip interior,
And optical sensor is installed on terminal inner, therefore the light angle of optical sensor may be restricted.
As shown in figure 3, Fig. 3 is a kind of light angle schematic diagram of optical sensor in terminal.It can be seen from the figure that angle
α is the light angle of optical sensor, and angle beta is the shooting angle (i.e. the light angle of camera) of camera, and angle [alpha] is less than angle
Spend β.And if light source be positioned at A points point light source, then optical sensor will be unable to collect the point light source of A points, if user at this time
Using terminal equipment, then since optical sensor does not collect the point light source of A points, terminal device is by the tune without automatic backlight
Section, shows that the backlight of screen secretly may cause user can not normal use excessively.Again as shown in figure 4, Fig. 4 is optical sensor in terminal
Another light angle schematic diagram.It can be seen from the figure that angle [alpha] is the light angle of optical sensor, angle beta is camera
Shooting angle, angle [alpha] be less than angle beta.And if light source be the point light source positioned at A points and the point light source positioned at B points, then light pass
Sensor will be only capable of collecting the point light source of B points and the point light source that can not collect A points, to the acquisition of light intensity numerical value there may be compared with
Big error needs to be carried out backlight adjusting using light intensity numerical value, brightness of image is adjusted or adjusted exposure parameter of taking pictures in terminal device
When equally possible have an impact.
In the present embodiment, first, or the collected light intensity numerical value of optical sensor is obtained, and in a subsequent step,
By analyzing the image that camera is shot, the collected light intensity numerical value of optical sensor is calibrated.
Step 102, pass through the camera collection image with optical sensor homonymy.
Since terminal device is configured with one or more camera, different cameras and optical sensor detect
Light source may be different, only on the terminal device be located at homonymy optical sensor and the detectable light source of camera be phase
With.Therefore, it when the light intensity numerical value to optical sensor is calibrated, needs by being located at terminal device homonymy with optical sensor
Camera calibrates optical sensor.
From figure 3, it can be seen that the angle of camera shooting is more than the light angle of optical sensor, shot from camera
In luminance information in image, the distribution of light sources situation of different location can be analyzed.It can so be shot using camera
Image the light intensity numerical value that optical sensor acquires is calibrated.It is therefore desirable to pass through the camera with optical sensor homonymy
Image is acquired, due to having not determined accurate light intensity numerical value at this time, camera can use preset light intensity numerical value to carry out
Imaging.
It, can be according to being detected in shooting area in fact, part camera itself also has light sensation detectability
Exposure parameter used in light intensity adjustment imaging, but the light sensation detection of camera itself is simply possible to use in and takes pictures, and nothing
Method is used to show screen to terminal device or shows the brightness regulation of content, also, the light sensation detectability of camera is generally
It is weaker than the light sensation detectability of optical sensor.But in the present embodiment, be using camera shoot image in luminance information
The detection of the light sensation of optical sensor is calibrated, therefore, is taken the photograph as long as the luminance information in image captured by camera reflects
As the Luminance Distribution in head shooting area, you can realize the calibration of the light sensation detection to optical sensor.
Step 103, the full luminance information of the luminance information and image of optical sensor photosensitive region is calculated according to image.
As can be seen that the light angle of optical sensor from the light angle schematic diagram of Fig. 3 or shown in Fig. 4 optical sensors
α is less than the shooting angle β of camera.So, the light angle of optical sensor is mapped in the region of camera shooting, it can be with
Obtain photosensitive region of the optical sensor in the image that camera is shot.As shown in figure 5, Fig. 5, which is camera, shoots showing for image
It is intended to, in Figure 5, region X is the image of camera shooting, and region Y is the photosensitive region of camera, and region Z is optical sensor
Photosensitive region, it is seen then that the photosensitive region of optical sensor be camera shoot image in a part of region, the sense of optical sensor
Light region is less than the photosensitive region of camera.Optical sensor is actually only capable of collecting the light intensity in photosensitive region, and if
Light source is located at the position other than photosensitive region, and light source is point light source, then the collected light intensity of optical sensor will be less than
Collected light intensity is actually answered, obtained light intensity numerical value will be relatively low.
And in the image of camera shooting, each pixel includes the information such as color, brightness, and wherein luminance information also characterizes
The light intensity of each pixel, thus can use the light intensity numerical value that the image that camera is shot acquires optical sensor into
Row calibration.Specifically, in needing to obtain full luminance information and the image of the image of camera acquisition respectively, light sensing
The luminance information of device photosensitive region.
It, can be according in image in the full luminance information of the luminance information and image that obtain optical sensor photosensitive region
The average luminance information of each pixel in the photosensitive region image of optical sensor determines the brightness letter of optical sensor photosensitive region
Breath;According to the average luminance information of each pixel in image, the full luminance information of image is determined.It is of course also possible to use its
His mode obtains above two luminance information, for example obtains the average bright of the pixel after sampling after being sampled to pixel again
Spend information etc..
It should be noted that since optical sensor and camera are all fixedly installed in terminal device, optical sensor
Relative position relation with camera is fixed, then the shooting area of the photosensitive region of optical sensor relative to camera
Relationship is also fixed.Therefore, in the full luminance for the luminance information and image for calculating optical sensor photosensitive region according to image
Before information, the photosensitive region figure of optical sensor in image according to the position relationship of camera and optical sensor, can also be determined
Picture.Namely determine the relative position relation of region X, region Y and region Z in Fig. 5.
Step 104, it is calculated according to the ratio of the full luminance information of the luminance information of optical sensor photosensitive region and image
Light sensation calibration factor.
The luminance information of optical sensor photosensitive region and the full luminance information of image characterize respectively optical sensor by
The light intensity in light intensity and camera shooting area in light region.The relationship of the two luminance informations, also with regard to table
Show the relationship between the optical sensor light intensity numerical value acquired in light area and the light intensity numerical value of camera shooting area.That
Pass through the ratio between the two luminance informations, so that it may to calculate the light sensation calibration system for being calibrated to light intensity numerical value
Number.Usually, the full luminance information of image divided by the luminance information of optical sensor photosensitive region can be obtained light sensation calibration
Coefficient.
Step 105, the light intensity numerical value after calibration is determined according to light intensity numerical value and light sensation calibration factor.
After calculating light sensation calibration factor, you can carried out to the photosensitive coefficient that optical sensor measures using light sensation calibration factor
Calibration, the light intensity numerical value after being calibrated.Specifically, light intensity numerical value is exactly multiplied by light sensation calibration factor, you can calibrated
Light intensity numerical value afterwards.Since the light intensity numerical value after calibration is that the image shot by camera is calibrated, and camera is shot
The image range arrived is wider, avoids in optical sensor sensitive volume there are when point light source, the light intensity number of optical sensor detection
There is large error in value.
After the light intensity numerical value after being calibrated, it is sent to give the camera of optical sensor homonymy, camera
The exposure parameter of camera is adjusted using the light intensity numerical value after calibration, since the light sensation detectability of optical sensor is higher than
The light sensation detectability of camera is imaged using the light intensity numerical value after calibration, the image quality of camera can be made to obtain
To improve.
Or terminal device can also carry out the backlight of terminal device according to it after the light intensity numerical value after being calibrated
Adjust automatically, or the brightness of the image of the display of terminal device is adjusted.In this way, when occurring as shown in Figure 3 or Figure 4
When situation, if can equally obtain correct light intensity numerical value there are when point light source outside optical sensor photosensitive region.Due to terminal
The display screen of equipment is located at terminal device front, therefore, backlight is carried out certainly according to the light intensity numerical value after calibration in terminal device
When the image adjust automatically of dynamic adjustment or display, need according to the light intensity after the corresponding calibration of the positive optical sensor of terminal device
Numerical value is adjusted.
Due to being calibrated to the light intensity numerical value that optical sensor acquires using the image of camera shooting, it is contemplated that camera shooting
The Luminance Distribution of head shooting area, avoids the light angle due to optical sensor limited, causes to be located at optical sensor photosensitive region
Except influence of the point light source to optical sensor accuracy in detection.
Terminal light sensation calibration method provided by the embodiments of the present application is acquired by using with the camera of optical sensor homonymy
Image, then according to the full luminance information of the luminance information of image calculating optical sensor photosensitive region and image and according to light
The ratio of the luminance information in sensor photosensitive region and the full luminance information of image calculates light sensation calibration factor, to according to light
The light intensity numerical value and light sensation calibration factor of sensor acquisition determine the light intensity numerical value after calibration, it is contemplated that camera shooting area
Luminance Distribution avoids the light angle due to optical sensor limited, causes to be located at the point light source except optical sensor photosensitive region
Influence to the accuracy in detection of optical sensor improves the accuracy in detection of optical sensor.
Fig. 6 is the structural schematic diagram of terminal light sensation calibrating installation embodiment one provided by the embodiments of the present application, such as Fig. 6 institutes
Showing, terminal light sensation calibrating installation provided in this embodiment is set in wireless terminal, including:
Light intensity numerical value acquisition module 61, for obtaining the collected light intensity numerical value of optical sensor.
Image capture module 62, for passing through the camera collection image with optical sensor homonymy.
Luminance information computing module 63, luminance information and image for calculating optical sensor photosensitive region according to image
Full luminance information.
Light sensation calibration factor computing module 64, for according to the complete of the luminance information of optical sensor photosensitive region and image
The ratio of luminance information calculates light sensation calibration factor.
Light intensity numerical value calibration module 65, for determining the light intensity number after calibration according to light intensity numerical value and light sensation calibration factor
Value.
The terminal light sensation calibrating installation that the embodiment of the present application is provided can perform the terminal light that embodiment illustrated in fig. 1 is provided
Feel calibration method, has the corresponding function module of execution method and advantageous effect.
Fig. 7 is the structural schematic diagram of terminal light sensation calibrating installation embodiment two provided by the embodiments of the present application, such as Fig. 7 institutes
Show, terminal light sensation calibrating installation provided in this embodiment further includes on the basis of Fig. 6:
Image determining module 66 determines optical sensor in image for the position relationship according to camera and optical sensor
Photosensitive region image.
Further, on the basis of Fig. 6 or embodiment illustrated in fig. 7, luminance information computing module 63 is specifically used for basis
In image in the photosensitive region image of optical sensor each pixel average luminance information, determine the bright of optical sensor photosensitive region
Spend information;According to the average luminance information of each pixel in image, the full luminance information of image is determined.
Further, on the basis of Fig. 6 or embodiment illustrated in fig. 7, light sensation calibration factor computing module 64 is specifically used for
By the full luminance information of image divided by the luminance information of optical sensor photosensitive region, light sensation calibration factor is obtained.
Fig. 8 is a kind of structural schematic diagram of terminal provided by the embodiments of the present application, as shown in figure 8, the terminal includes processing
Device 81, memory 82, optical sensor 83, camera 84;The quantity of processor 81 can be one or more in terminal, in Fig. 8
By taking a processor 81 as an example;Processor 81, memory 82, optical sensor 83, camera 84 in terminal can pass through bus
Or other modes connect, in Fig. 8 for being connected by bus.
Memory 82 is used as a kind of computer readable storage medium, can be used for storing software program, computer can perform journey
Sequence and module, if the corresponding program instruction/module of terminal light sensation calibration method in the application Fig. 1 embodiments is (for example, terminal
Position light intensity numerical value acquisition module 61, image capture module 62, luminance information computing module 63, light sensation in light sensation calibrating installation
Calibration factor computing module 64, light intensity numerical value calibration module 65, image determining module 66).Processor 81 is stored in by operation
Software program, instruction in memory 82 and module, the various function application to terminal and data processing are realized
The terminal light sensation calibration method stated.
Memory 82 can include mainly storing program area and storage data field, wherein storing program area can store operation system
Application program needed for system, at least one function;Storage data field can be stored uses created data etc. according to terminal.This
Outside, memory 82 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic
Disk storage device, flush memory device or other non-volatile solid state memory parts.
Optical sensor 83 and camera 84 are respectively used to carry out sensitometry and image taking, can be existing any
Kind optical sensor and camera.
The embodiment of the present application also provides a kind of storage medium including computer executable instructions, and the computer is executable
When being executed by computer processor for executing a kind of terminal light sensation calibration method, this method includes for instruction:
Obtain the collected light intensity numerical value of optical sensor;
Pass through the camera collection image with optical sensor homonymy;
The full luminance information of the luminance information and image of optical sensor photosensitive region is calculated according to image;
Light sensation calibration is calculated according to the ratio of the full luminance information of the luminance information of optical sensor photosensitive region and image
Coefficient;
The light intensity numerical value after calibration is determined according to light intensity numerical value and light sensation calibration factor.
Certainly, a kind of storage medium including computer executable instructions that the embodiment of the present application is provided, computer
The method operation that executable instruction is not limited to the described above, can also be performed the network switching that the application any embodiment is provided
Relevant operation in method
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the application
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases
Good embodiment.Based on this understanding, the technical solution of the application substantially in other words contributes to the prior art
Part can be expressed in the form of software products, which can be stored in computer readable storage medium
In, such as the floppy disk of computer, read-only memory (Read-Only Memory, ROM), random access memory (Random
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server or the network equipment etc.) executes the method described in each embodiment of the application.
It is worth noting that, in the embodiment of above-mentioned searcher, included each unit and module are only according to work(
Energy logic is divided, but is not limited to above-mentioned division, as long as corresponding function can be realized;In addition, each work(
The specific name of energy unit is also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.
Note that above are only preferred embodiment and the institute's application technology principle of the application.It will be appreciated by those skilled in the art that
The application is not limited to specific embodiment described here, can carry out for a person skilled in the art it is various it is apparent variation,
The protection domain readjusted and substituted without departing from the application.Therefore, although being carried out to the application by above example
It is described in further detail, but the application is not limited only to above example, in the case where not departing from the application design, also
May include other more equivalent embodiments, and scope of the present application is determined by scope of the appended claims.
Claims (10)
1. a kind of terminal light sensation calibration method is applied to terminal device, which is characterized in that including:
Obtain the collected light intensity numerical value of optical sensor;
Pass through the camera collection image with the optical sensor homonymy;
The full luminance information of the luminance information and described image of the optical sensor photosensitive region is calculated according to described image;
Light sensation is calculated according to the ratio of the luminance information of the optical sensor photosensitive region and the full luminance information of described image
Calibration factor;
The light intensity numerical value after calibration is determined according to the light intensity numerical value and the light sensation calibration factor.
2. according to the method described in claim 1, it is characterized in that, described photosensitive according to the described image calculating optical sensor
Before the luminance information in region and the full luminance information of described image, the method further includes:
According to the position relationship of the camera and the optical sensor, the photosensitive area of optical sensor described in described image is determined
Area image.
3. according to the method described in claim 2, it is characterized in that, described photosensitive according to the described image calculating optical sensor
The luminance information in region and the full luminance information of described image, including:
According to the average luminance information of each pixel in the photosensitive region image of optical sensor described in described image, determine described in
The luminance information of optical sensor photosensitive region;According to the average luminance information of each pixel in described image, described image is determined
Full luminance information.
4. according to claims 1 to 3 any one of them method, which is characterized in that described according to the optical sensor photosensitive area
The ratio of the luminance information in domain and the full luminance information of described image calculates light sensation calibration factor, including:
By the full luminance information of described image divided by the luminance information of the optical sensor photosensitive region, the light sensation school is obtained
Quasi- coefficient.
5. a kind of terminal light sensation calibrating installation, which is characterized in that including:
Light intensity numerical value acquisition module, for obtaining the collected light intensity numerical value of optical sensor;
Image capture module, for passing through the camera collection image with the optical sensor homonymy;
Luminance information computing module, luminance information for calculating the optical sensor photosensitive region according to described image and described
The full luminance information of image;
Light sensation calibration factor computing module, for according to the complete of the luminance information of the optical sensor photosensitive region and described image
The ratio of whole luminance information calculates light sensation calibration factor;
Light intensity numerical value calibration module, for determining the light intensity number after calibration according to the light intensity numerical value and the light sensation calibration factor
Value.
6. device according to claim 5, which is characterized in that further include:Image determining module, for according to the camera shooting
The position relationship of head and the optical sensor, determines the photosensitive region image of optical sensor described in described image.
7. device according to claim 6, which is characterized in that the luminance information computing module is specifically used for according to institute
The average luminance information for stating each pixel in the photosensitive region image of optical sensor described in image determines the optical sensor sense
The luminance information in light region;According to the average luminance information of each pixel in described image, the full luminance of described image is determined
Information.
8. according to claim 5~7 any one of them device, which is characterized in that the light sensation calibration factor computing module, tool
Body is used to, by the luminance information of the full luminance information of described image divided by the optical sensor photosensitive region, obtain the light sensation
Calibration factor.
9. a kind of terminal, which is characterized in that including:
Optical sensor, camera and one or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors so that one or more of processors are real
The now terminal light sensation calibration method as described in any in Claims 1 to 4.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The terminal light sensation calibration method as described in any in Claims 1 to 4 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810172130.1A CN108600736B (en) | 2018-03-01 | 2018-03-01 | Terminal light sensation calibration method and device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810172130.1A CN108600736B (en) | 2018-03-01 | 2018-03-01 | Terminal light sensation calibration method and device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108600736A true CN108600736A (en) | 2018-09-28 |
CN108600736B CN108600736B (en) | 2020-04-17 |
Family
ID=63625542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810172130.1A Expired - Fee Related CN108600736B (en) | 2018-03-01 | 2018-03-01 | Terminal light sensation calibration method and device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108600736B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109819088A (en) * | 2019-01-03 | 2019-05-28 | Oppo广东移动通信有限公司 | Light sensation calibration method and relevant apparatus |
CN110660087A (en) * | 2019-08-16 | 2020-01-07 | 深圳市万普拉斯科技有限公司 | Light sensation correction method and device, electronic equipment and storage medium |
CN111107199A (en) * | 2019-12-25 | 2020-05-05 | 惠州Tcl移动通信有限公司 | Illumination value reporting method and device, storage medium and mobile terminal |
CN111337906A (en) * | 2018-12-18 | 2020-06-26 | 株式会社电装 | Sensor calibration method and sensor calibration apparatus |
CN114420046A (en) * | 2020-10-28 | 2022-04-29 | Oppo广东移动通信有限公司 | Luminance detection method, luminance detection device, and storage medium |
CN114615440A (en) * | 2022-03-08 | 2022-06-10 | 维沃移动通信有限公司 | Photographing method, photographing apparatus, electronic device, and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102265707A (en) * | 2011-04-29 | 2011-11-30 | 华为终端有限公司 | Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment |
CN103035221A (en) * | 2011-10-04 | 2013-04-10 | 纬创资通股份有限公司 | Display adjusting device and display adjusting method |
CN105651381A (en) * | 2015-12-24 | 2016-06-08 | 小米科技有限责任公司 | Light sensor calibration method and device |
CN106302912A (en) * | 2016-08-17 | 2017-01-04 | 青岛海信移动通信技术股份有限公司 | The characteristic method of mobile terminal alignment light sensation and mobile terminal |
CN106802183A (en) * | 2016-11-30 | 2017-06-06 | 努比亚技术有限公司 | A kind of photosensitive sensors calibration method and terminal |
CN106941551A (en) * | 2017-02-28 | 2017-07-11 | 努比亚技术有限公司 | Mobile terminal, mobile terminal light sensation calibrating installation, method and system |
-
2018
- 2018-03-01 CN CN201810172130.1A patent/CN108600736B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102265707A (en) * | 2011-04-29 | 2011-11-30 | 华为终端有限公司 | Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment |
CN103035221A (en) * | 2011-10-04 | 2013-04-10 | 纬创资通股份有限公司 | Display adjusting device and display adjusting method |
CN105651381A (en) * | 2015-12-24 | 2016-06-08 | 小米科技有限责任公司 | Light sensor calibration method and device |
CN106302912A (en) * | 2016-08-17 | 2017-01-04 | 青岛海信移动通信技术股份有限公司 | The characteristic method of mobile terminal alignment light sensation and mobile terminal |
CN106802183A (en) * | 2016-11-30 | 2017-06-06 | 努比亚技术有限公司 | A kind of photosensitive sensors calibration method and terminal |
CN106941551A (en) * | 2017-02-28 | 2017-07-11 | 努比亚技术有限公司 | Mobile terminal, mobile terminal light sensation calibrating installation, method and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111337906A (en) * | 2018-12-18 | 2020-06-26 | 株式会社电装 | Sensor calibration method and sensor calibration apparatus |
CN111337906B (en) * | 2018-12-18 | 2024-06-11 | 株式会社电装 | Sensor calibration method and sensor calibration device |
CN109819088A (en) * | 2019-01-03 | 2019-05-28 | Oppo广东移动通信有限公司 | Light sensation calibration method and relevant apparatus |
CN110660087A (en) * | 2019-08-16 | 2020-01-07 | 深圳市万普拉斯科技有限公司 | Light sensation correction method and device, electronic equipment and storage medium |
WO2021032034A1 (en) * | 2019-08-16 | 2021-02-25 | 深圳市万普拉斯科技有限公司 | Light sensing calibration method, device, electronic apparatus, and storage medium |
CN110660087B (en) * | 2019-08-16 | 2022-05-13 | 深圳市万普拉斯科技有限公司 | Light sensation correction method and device, electronic equipment and storage medium |
CN111107199A (en) * | 2019-12-25 | 2020-05-05 | 惠州Tcl移动通信有限公司 | Illumination value reporting method and device, storage medium and mobile terminal |
CN114420046A (en) * | 2020-10-28 | 2022-04-29 | Oppo广东移动通信有限公司 | Luminance detection method, luminance detection device, and storage medium |
CN114615440A (en) * | 2022-03-08 | 2022-06-10 | 维沃移动通信有限公司 | Photographing method, photographing apparatus, electronic device, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108600736B (en) | 2020-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108600736A (en) | Terminal light sensation calibration method, device, terminal and storage medium | |
Pierson et al. | Tutorial: luminance maps for daylighting studies from high dynamic range photography | |
CN104853109B (en) | A kind of method and camera terminal for automatically adjusting flash of light | |
EP1933694B1 (en) | Eye tracker having an extended span of operating distances | |
CN107368239B (en) | Screen display parameter adjusting method and electronic equipment | |
CN103591894B (en) | The method and apparatus of object length is measured by camera | |
CN108900782A (en) | Exposal control method, device and electronic equipment | |
CN107592453B (en) | A kind of image pickup method and mobile terminal | |
CN109218628A (en) | Image processing method, device, electronic equipment and storage medium | |
Jakubiec et al. | Accurate measurement of daylit interior scenes using high dynamic range photography | |
CN104604214B (en) | Method and apparatus for producing shooting image | |
CN105227857B (en) | A kind of method and apparatus of automatic exposure | |
CN102818555A (en) | System and method for measuring a distance to an object | |
CN106506909A (en) | According to the method and device that optical condition adjusts portable electron device | |
CN109068058A (en) | Filming control method, device and electronic equipment under super night scene mode | |
CN109361853B (en) | Image processing method, image processing device, electronic equipment and storage medium | |
Ismail et al. | Development of a webcam based lux meter | |
CN109151333A (en) | Exposal control method, device and electronic equipment | |
TWI468658B (en) | Lens test device and method | |
EP3671111A1 (en) | Method for calibrating a 3d camera for patient thickness measurements | |
US20130321687A1 (en) | Light metering in cameras for backlit scenes | |
KR101072945B1 (en) | Apparatus for balancing flashed image color using depth estimation and method therefor | |
CN109756680A (en) | Image composition method, device, electronic equipment and readable storage medium storing program for executing | |
GB2593829A (en) | Information processing apparatus, information processing method and information processing program | |
CN108289170A (en) | The camera arrangement and method of metering region can be detected |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200417 |