CN108810323A - A kind of image processing method and terminal device - Google Patents
A kind of image processing method and terminal device Download PDFInfo
- Publication number
- CN108810323A CN108810323A CN201810555785.7A CN201810555785A CN108810323A CN 108810323 A CN108810323 A CN 108810323A CN 201810555785 A CN201810555785 A CN 201810555785A CN 108810323 A CN108810323 A CN 108810323A
- Authority
- CN
- China
- Prior art keywords
- gain parameter
- temperature
- target
- terminal device
- camera
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/81—Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
Abstract
A kind of image processing method of offer of the embodiment of the present invention and terminal device, are applied to terminal device technical field, can improve the relatively low problem of the image quality of camera under the high temperature conditions.This method is applied to the terminal device with camera, and this method includes:In response to the first input of the user received, optical imagery is acquired, and obtain the temperature of camera;According to temperature, target gain parameter corresponding with temperature is obtained, target gain parameter is used to adjust the noise of optical imagery;Using target gain parameter regulation optical imagery, target image is obtained.During this method is applied particularly to the camera imaging in terminal device.
Description
Technical field
The present embodiments relate to terminal device technical field more particularly to a kind of image processing methods and terminal device.
Background technology
Mobile terminal device camera function facing to many use environments and scene, such as the higher use environment of temperature or
The scene etc. that person continuously takes pictures for a long time, these use environments and scene can lead to the camera temperature liter in mobile terminal device
Height, the i.e. temperature of photosensitive element in camera increase.For example, the photosensitive element in camera can be Complimentary Metal-Oxide
Semiconductor (Complementary Metal-Oxide Semiconductor, CMOS).
Wherein, temperature is higher, and the mean kinetic energy of electronics is bigger, uncertain during the conversion transfer and output of optical charge
Property is higher, this also results in the imaging noise of the photosensitive element in camera more.And since photoelectric effect is temperature independent,
Therefore the signal strength of photosensitive element (such as CMOS) can't enhance with the raising of temperature.In this way, photosensitive element (such as coms)
Received signal to noise ratio can with temperature increase and drastically decline, i.e., the noise in photosensitive element received signal increases.So that
Under hot conditions, the noise of camera is relatively low, i.e. the image quality of camera is relatively low.
In the prior art, mainly by increasing cooling system, such as thermally conductive gel, heat dissipation copper foil to camera, to solve
High temperature influences the problem of image quality of camera.But the problem is that, with the increase of usage time, if these
Heat sink material ageing failure, then under the high temperature conditions, however it remains the relatively low problem of the image quality of camera.
Invention content
The embodiment of the present invention provides a kind of image processing method and terminal device, to improve camera under the high temperature conditions
The relatively low problem of image quality.
In order to solve the above-mentioned technical problem, the embodiment of the present invention is realized in:
In a first aspect, the embodiment of the present invention provides a kind of image processing method, it is applied to the terminal device with camera,
This method includes:In response to the first input of the user received, optical imagery is acquired, and obtain the temperature of camera;According to
Temperature, obtains target gain parameter corresponding with temperature, and target gain parameter is used to adjust the noise of optical imagery;Using target
Gain parameter adjusts optical imagery, obtains target image.
Second aspect, the embodiment of the present invention additionally provide a kind of terminal device, which has camera, including:
Acquisition module and adjustment module;Acquisition module acquires optical imagery for the first input of the user in response to receiving, and
Obtain the temperature of camera;According to temperature, target gain parameter corresponding with temperature is obtained, target gain parameter is for adjusting light
Learn the noise of image;Adjustment module, the optical imagery for being obtained using target gain parameter regulation acquisition module, obtains target
Image.
The third aspect an embodiment of the present invention provides a kind of terminal device, including processor, memory and is stored in this and deposits
On reservoir and the computer program that can run on the processor, such as first is realized when which is executed by the processor
The step of image processing method described in aspect.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage mediums
Computer program is stored in matter, and image processing method as described in relation to the first aspect is realized when which is executed by processor
The step of.
In embodiments of the present invention, due to the corresponding target gain ginseng of the temperature for being previously stored with camera in terminal device
Number, and the target gain parameter is imaged the less gain parameter of noise when to be the camera debugged of user be in the temperature,
Therefore the optical imagery that camera can be collected by the target gain parameter regulation, obtains the less target figure of noise
As to get to the higher target image of quality.It is asked in this way, the image quality that can improve camera under hot conditions is lower
Topic.
Description of the drawings
Fig. 1 is a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of image processing method provided in an embodiment of the present invention;
Fig. 3 is the position view of the thermistor in a kind of terminal device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of possible terminal device provided in an embodiment of the present invention;
Fig. 5 is a kind of hardware architecture diagram of terminal device provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
It should be noted that "/" herein indicate or the meaning, for example, A/B can indicate A or B;Herein
"and/or" is only a kind of incidence relation of description affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, it can
To indicate:Individualism A exists simultaneously A and B, these three situations of individualism B." multiple " refer to two or more.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating
Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer
It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used
Such as " word is intended to that related notion is presented in specific ways.
Term " first " and " second " in description and claims of this specification etc. are for distinguishing different pairs
As, rather than for the particular order of description object.For example, the first digital signal and the second digital signal etc. are for distinguishing not
Same input, rather than the particular order for describing digital signal.
Image processing method and terminal device provided in an embodiment of the present invention are previously stored with camera in terminal device
The corresponding target gain parameter of target temperature so that the optics that camera can be collected by the target gain parameter regulation
Image obtains the less target image of noise to get to the higher target image of quality.
It should be noted that image processing method provided in an embodiment of the present invention, executive agent can be the terminal device,
Alternatively, the use in the central processing unit (Central Processing Unit, CPU) of the terminal device or the terminal device
In the control module for executing image processing method.In the embodiment of the present invention by taking terminal device executes image processing method as an example, say
Bright image processing method provided in an embodiment of the present invention.
Terminal device in the embodiment of the present invention can be the terminal device with operating system.The operating system can be
Android (Android) operating system can be ios operating systems, can also be other possible operating systems, and the present invention is implemented
Example is not especially limited.
Below by taking Android operation system as an example, introduce what image processing method provided in an embodiment of the present invention was applied
Software environment.
As shown in Figure 1, being a kind of configuration diagram of possible Android operation system provided in an embodiment of the present invention.Scheming
In 1, the framework of Android operation system includes 4 layers, respectively:Application layer, application framework layer, system operation library layer and
Inner nuclear layer (is specifically as follows Linux inner core).
Wherein, application layer includes each application program (including system application and in Android operation system
Tripartite's application program).
Application framework layer is the frame of application program, and developer can be in the exploitation of the frame in accordance with application program
In the case of principle, some application programs are developed based on application framework layer.For example, system setting application, system chat are answered
With with system camera application etc. application programs.Third party is arranged application, third party's camera applications and third party's chat application etc. and answers
Use program.
System operation library layer includes library (also referred to as system library) and Android operation system running environment.Library is mainly Android behaviour
All kinds of resources needed for it are provided as system.Android operation system running environment is used to provide software loop for Android operation system
Border.
Inner nuclear layer is the operating system layer of Android operation system, belongs to the bottom of Android operation system software level.It is interior
Stratum nucleare provides core system service and hardware-related driver based on linux kernel for Android operation system.
By taking Android operation system as an example, in the embodiment of the present invention, developer can be based on above-mentioned Android as shown in Figure 1
The software program of image processing method provided in an embodiment of the present invention is realized in the system architecture of operating system, exploitation, so that
The image processing method can be run based on Android operation system as shown in Figure 1.I.e. processor or terminal device can lead to
It crosses and runs software program realization image processing method provided in an embodiment of the present invention in Android operation system.
With reference to the flow chart of image processing method shown in Fig. 2 to image processing method provided in an embodiment of the present invention
It is described in detail.Wherein, although showing patrolling for image processing method provided in an embodiment of the present invention in method flow diagram
Sequence is collected, but in some cases, it can be with the steps shown or described are performed in an order that is different from the one herein.For example, Fig. 2
Shown in image processing method may include S201-S203:
S201, the first input in response to the user received, terminal device acquires optical imagery, and obtains camera
Temperature.
Specifically, terminal device provided in an embodiment of the present invention can be the terminal device with camera.Wherein, terminal
Equipment can generate optical imagery by the camera lens in camera.
Wherein, the temperature of camera is influenced by the temperature and/or camera continue working duration of use environment.
Optionally, temperature provided in an embodiment of the present invention can be relatively high temperature, such as 52 degrees Celsius.
Optionally, image processing method provided in an embodiment of the present invention, the camera in terminal device may operate in height
Under the conditions of temperature, as hot conditions can indicate the temperature more than 40 degrees Celsius.
It can be understood that, image processing method in the embodiment of the present invention, terminal device may be used also before above-mentioned S201
To receive the first input of user.Wherein, the first input can be used for the temperature that triggering terminal equipment obtains camera in real time.
Wherein, terminal device can provide some application programs (being denoted as triggering application) or function choosing-item (is denoted as triggering
Option), it is used for triggering terminal opening of device camera, that is, triggers camera work.
It should be noted that can be provided for triggering terminal opening of device in terminal device provided in an embodiment of the present invention
The system camera of camera is applied or third party's camera applications.Alternatively, it includes triggering option that terminal device, which can provide some,
Third-party application such as includes the communication applications of the triggering option of triggering terminal opening of device camera.
Optionally, the first input provided in an embodiment of the present invention can be user to camera applications (such as system camera or the
Tripartite's camera applications) icon input or user in camera applications for trigger take pictures trigger option input, or
Input of the person user to the triggering option for triggering shooting video in camera applications.Alternatively, the first input can be user couple
The input of triggering option in third-party application.
It is emphasized that image processing method provided in an embodiment of the present invention, can be applied to terminal device by taking the photograph
In scene in the scene taken pictures as head, or applied to terminal device by camera shooting video.
It should be noted that temperature provided in an embodiment of the present invention can receive the first input of user for terminal device
When, the temperature of the camera in terminal device.
S202, terminal device obtain target gain parameter corresponding with temperature, target gain parameter is for adjusting according to temperature
Save the noise of optical imagery.
In addition, noise can also be generated during the photosensitive element that above-mentioned optical imagery passes through in camera.
It should be noted that the photosensitive element heat dissipation under hot conditions in camera can cause thermal noise, use at this time
Excessive gain parameter is the main reason for causing to be imaged noise.Specifically, gain parameter is bigger, camera gets over weak signal
Sensitive, signal-to-noise ratio reduces, and noise is more.
Wherein, noise (noise) is also referred to as noise, noise, is primarily referred to as photosensitive element and is connect using light as signal is received
Coarse part during receiving and exporting in generated image also refers to the external pixel that should not occur in image, usually by
Electronic interferences generate.
Optionally, the photosensitive element (also referred to as imaging sensor) provided in the embodiment of the present invention can be cmos sensor.
It is emphasized that the target gain parameter provided in the embodiment of the present invention can be to be prestored in terminal device
's.Specifically, pre-stored target gain parameter can be user debugs foundation in advance for the imaging effect of camera
The corresponding gain parameter of temperature of camera.
It is understood that target gain parameter provided in an embodiment of the present invention, what can be debugged for user makes
When camera is in Current Temperatures, the noise for the optical imagery generation that camera collects is less, i.e. the imaging of camera is made an uproar
The less gain parameter of point.
It should be noted that the value of target gain parameter is not especially limited in the embodiment of the present invention, it can basis
Practical application scene is chosen.
S203, terminal device use target gain parameter regulation optical imagery, obtain target image.
Specifically, when target gain parameter provided in an embodiment of the present invention can make camera be in temperature, camera
The noise that the optical imagery collected generates is less, so that the noise for the target image that terminal device obtains is less.Its
In, the noise for the image that terminal device obtains is fewer, and quality is higher namely the image quality of camera is higher.
It should be noted that image processing method provided in an embodiment of the present invention, due to being previously stored in terminal device
The corresponding target gain parameter of temperature of camera, and the target gain parameter is in the temperature for the camera that user debugs
The less gain parameter of noise, therefore the optics that camera can be collected by the target gain parameter regulation are imaged when spending
Image obtains the less target image of noise to get to the higher target image of quality.In this way, can improve under hot conditions
The relatively low problem of the image quality of camera.
In one possible implementation, image processing method provided in an embodiment of the present invention, above-mentioned S202 can be wrapped
Include S202a, S202b and S202c:
Each temperature range in S202a, terminal device reduced temperature and pre-stored at least one temperature range.
Wherein, a temperature range corresponds to one group of gain parameter.
Illustratively, above-mentioned at least one temperature range may include temperature range W1, temperature range W2, temperature range
W3, temperature range W4, temperature range W5 and temperature range W6.
Wherein, temperature range W1 corresponds to gain parameter 1, temperature range W2 corresponds to gain parameter 2, temperature range W3 is corresponded to and increased
Beneficial parameter 3, temperature range W4 correspond to gain parameter 4, temperature range W5 corresponds to gain parameter 5 and temperature range W6 corresponds to gain
Parameter 6.
For example, it can be [45,50] degree Celsius, temperature that temperature range W1, which can be [40,45] degree Celsius, temperature range W2,
Range W3 can be [50,55] degree Celsius, temperature range W4 can be [55,60] degree Celsius, temperature range W5 can be [60,
70] degree Celsius and temperature range W6 can be [70,100] degree Celsius.
Optionally, above-mentioned pre-stored at least one temperature range, and the corresponding gain parameter of each temperature range
It can be stored in above-mentioned terminal device, or be stored in the device in addition to above-mentioned terminal device (such as server).
Specifically, the embodiment of the present invention can provide a database, at least one temperature model is stored in the database
It encloses, and the corresponding gain parameter of each temperature range.
Wherein, terminal device gets a pre-stored temperature range, namely has got temperature range correspondence
Gain parameter.
It should be noted that in the embodiment of the present invention, terminal device can be reversed the pre-stored at least one temperature of traversal
Range is spent, realizes the temperature for the camera that comparison obtains in real time and pre-stored at least one temperature range.
S202b, in the case where temperature is in the first temperature range at least one temperature range, terminal device obtain
Corresponding first gain parameter of first temperature range.
Illustratively, when temperature is 52 degrees Celsius, which is in above-mentioned temperature range 3.At this point, temperature range 3
For above-mentioned first temperature range.
S202c, terminal device determine that the first gain parameter is target gain parameter.
Illustratively, corresponding first gain parameter of the first temperature range is above-mentioned gain parameter 3, i.e., terminal device will
Gain parameter 3 is determined as target gain parameter.
It should be noted that image processing method provided in an embodiment of the present invention, can be prestored in terminal device to
A few temperature range.To which even if working as the temperature change residing for preceding camera, terminal device can also be from least one temperature
The corresponding gain parameter of temperature of the variation is contrasted in range.In turn, terminal device can be by the gain parameter that acquires
(i.e. target gain parameter) adjusts the optical imagery collected, obtains the less target image of noise to get higher to quality
Target image.In this way, the problem that the image quality that can further improve camera under hot conditions is relatively low.
In one possible implementation, image processing method provided in an embodiment of the present invention, a temperature range pair
The gain parameter answered may include an analog gain parameter and a digital gain parameter.
Specifically, the S202c provided in above-described embodiment could alternatively be S202c ':
S202c ', terminal device determine that the first analog gain parameter is target simulation gain parameter, and determine the first number
Gain parameter is target number gain parameter.
Wherein, the first gain parameter includes the first analog gain parameter and the first digital gain parameter, target gain parameter
Including target simulation gain parameter and target number gain parameter.
It is understood that the corresponding gain parameter of a temperature range can be analog gain parameter sum number that it includes
The summation of word gain parameter.
Wherein, in camera may include amplifier (operational amplifier, OPA), for signal into line number
The amplifying circuit that student movement is calculated.
It should be noted that analog gain parameter, for increasing amplifier multiple, passing through by the amplification of analog gain parameter should
While the useful signal of amplifier, it is also exaggerated the noise of amplifier itself.And while digital gain parameter amplification useful signal,
Noise will not be amplified.In this way, in the case where the summation of the corresponding gain parameter of a temperature range is constant, simulation can be reduced
Gain parameter increases digital gain parameter, to realize the imaging noise for reducing camera.Specifically, the first analog gain parameter
Reduce with the increase of temperature, the first digital gain parameter increases with the increase of temperature.
It should be noted that the method for image procossing provided in an embodiment of the present invention, can be directed to pre-stored temperature
Analog gain parameter and digital gain parameter that the corresponding gain parameter of the temperature range includes is arranged in range, is subtracted with realizing
The imaging noise of small camera.It is thus possible to improve terminal device according to the corresponding gain parameter of pre-stored temperature range
The reliability for adjusting optical imagery is conducive to the relatively low problem of the image quality of camera under further improvement hot conditions.
In one possible implementation, image processing method provided in an embodiment of the present invention, above-mentioned S203 can be wrapped
Include S203a-S203e:
Optical imagery is converted to the first analog electrical signal by S203a, terminal device.
Specifically, the optical imagery collected can be converted to by terminal device by the photosensitive element in camera
One analog electrical signal.
S203b, terminal device handle the first analog electrical signal with target simulation gain parameter, obtain the second analog telecommunications
Number.
Specifically, terminal device can amplify amplifier, first simulation of the amplification Jing Guo amplifier with target simulation gain parameter
Electric signal obtains the second analog electrical signal.
Second analog electrical signal is converted to the first digital signal by S203c, terminal device.
Wherein, may include analog to digital conversion circuit in the camera of terminal device, terminal device makes the second analog telecommunications
Number process analog to digital conversion circuit, is converted to the first digital signal.
S203d, terminal device handle the first digital signal with target number gain parameter, obtain the second digital signal.
Wherein, it in terminal device may include Digital Signal Processing (Digital Signal Processing, DSP).Eventually
End equipment can handle the first digital signal by DSP with target number gain parameter, obtain the second digital signal.
Second digital signal is converted to target image by S203e, terminal device.
Illustratively, the second digital signal can be converted to target image by terminal device by DSP, which can
To be shown in the display screen of terminal device.
It should be noted that can also include D/A converting circuit in the camera of terminal device.
Optionally, terminal device is handling the first digital signal with target number gain parameter, obtains the second digital signal
Later, the second digital signal can also be converted to third analog electrical signal by D/A converting circuit.Then, terminal device
Third analog electrical signal can be converted to third digital signal by analog to digital conversion circuit.
Similar, the S203e in above-described embodiment could alternatively be that " third digital signal is converted to target by terminal device
Image ".
It is understood that during the first digital signal is amplified to the second digital signal by terminal device, Bu Huizeng
Big noise;Then, after the second digital signal is converted to third analog electrical signal by terminal device, then third analog electrical signal put
Greatly the 4th analog electrical signal.In this way, the noise in the third digital signal that third analog electrical signal is converted to is smaller.
It should be noted that image processing method provided in an embodiment of the present invention, terminal device can flexibly adjust reality
When the corresponding target gain parameter of temperature of camera that obtains.It is thus possible to improve terminal device according to pre-stored temperature
Spend the flexibility that the corresponding gain parameter of range adjusts optical imagery, be conducive to further improve camera under hot conditions at
As the relatively low problem of quality.
In one possible implementation, image processing method provided in an embodiment of the present invention, terminal device further include
The thermistor being arranged in the target area outside camera.
Specifically, above-mentioned " terminal device obtains the temperature of camera " could alternatively be terminal device and be obtained by thermistor
Take the temperature of camera.
Optionally, can be in the target area outside camera, according to calorifics emulation determine most close to camera it is true
The region of real temperature.For example, target area can be the region in camera where photosensitive element.
Illustratively, as shown in figure 3, being the position of the thermistor in a kind of terminal device provided in an embodiment of the present invention
Schematic diagram.Wherein, the thermistor 301 shown in Fig. 3 is located at the lower left corner of camera 302.
It should be noted that image processing method provided in an embodiment of the present invention, the temperature-sensitive for including due to terminal device
Resistance can determine the accurate temperature of camera, i.e., the current temperature that terminal device obtains is more accurate, so that
Terminal device is better according to the effect of the corresponding target gain parameter regulation optical imagery of the temperature.To be conducive to further
Improve the relatively low problem of the image quality of camera under hot conditions.
In one possible implementation, as shown in figure 4, being a kind of terminal device 40 provided in an embodiment of the present invention
Structural schematic diagram.Wherein, the terminal device 40 shown in Fig. 4 has camera, including:Acquisition module 401 and adjustment module 402;
Acquisition module 401 acquires optical imagery, and obtain the temperature of camera for the first input of the user in response to receiving;
According to temperature, target gain parameter corresponding with temperature is obtained, target gain parameter is used to adjust the noise of optical imagery generation;
Adjustment module 402, the optical imagery for being obtained using target gain parameter regulation acquisition module 401, obtains target image.
Optionally, acquisition module 401 are specifically used for every in reduced temperature and pre-stored at least one temperature range
A temperature range a, wherein temperature range corresponds to one group of gain parameter;It is at least one temperature range in temperature
In the case of one temperature range, corresponding first gain parameter of the first temperature range is obtained;Determine that the first gain parameter is target
Gain parameter.
Optionally, the first gain parameter includes the first analog gain parameter and the first digital gain parameter, target gain ginseng
Number includes target simulation gain parameter and target number gain parameter;Acquisition module 401 is specifically used for determining the first analog gain
Parameter is target simulation gain parameter, and determines that the first digital gain parameter is target number gain parameter;Wherein, the first simulation
Gain parameter reduces with the increase of temperature, and the first digital gain parameter increases with the increase of temperature.
Optionally, adjustment module 402 are converted to the first simulation specifically for the optical imagery for obtaining acquisition module 401
Electric signal;The first analog electrical signal is handled with target simulation gain parameter, obtains the second analog electrical signal;By the second analog telecommunications
Number be converted to the first digital signal;The first digital signal is handled with target number gain parameter, obtains the second digital signal;By
Two digital signal is converted to target image.
Optionally, terminal device 40 further includes the thermistor in the target area being arranged in outside camera;Acquisition module
401, it is specifically used for obtaining the temperature of camera by thermistor.
It should be noted that terminal device provided in an embodiment of the present invention, due to being previously stored with camera shooting in terminal device
The corresponding target gain parameter of temperature of head, and when the target gain parameter to be the camera debugged of user be in temperature at
As the less gain parameter of noise, therefore the optical imagery that camera can be collected by the target gain parameter regulation,
The less target image of noise is obtained to get to the higher target image of quality.In this way, camera under hot conditions can be improved
The relatively low problem of image quality.
Terminal device 40 provided in an embodiment of the present invention can realize that terminal device is realized each in above method embodiment
A process, to avoid repeating, which is not described herein again.
Fig. 5 is a kind of hardware architecture diagram of terminal device provided in an embodiment of the present invention, which includes
But it is not limited to:Radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display are single
The components such as member 106, user input unit 107, interface unit 108, memory 109, processor 110 and power supply 111.Ability
Field technique personnel are appreciated that terminal device structure shown in Fig. 5 does not constitute the restriction to terminal device, and terminal device can
To include either combining certain components or different components arrangement than illustrating more or fewer components.Implement in the present invention
In example, terminal device includes but not limited to mobile phone, tablet computer, laptop, palm PC, vehicle-mounted terminal equipment, can wear
Wear equipment and pedometer etc..
Wherein, processor 110 acquire optical imagery, and obtain and take the photograph for the first input of the user in response to receiving
As the temperature of head;According to temperature, target gain parameter corresponding with temperature is obtained, target gain parameter is for adjusting optical imagery
The noise of generation;Using target gain parameter regulation optical imagery, target image is obtained.
It should be noted that terminal device provided in an embodiment of the present invention, due to being previously stored with camera shooting in terminal device
The corresponding target gain parameter of temperature of head, and the target gain parameter is to debug imaging when obtained camera is in temperature to make an uproar
The less gain parameter of point, therefore the optical imagery that camera can be collected by the target gain parameter regulation, obtain
The less target image of noise is to get to the higher target image of quality.In this way, can improve camera under hot conditions at
As the relatively low problem of quality.
It should be understood that the embodiment of the present invention in, radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 110 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 101 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by radio communication system and network and other set
Standby communication.
Terminal device has provided wireless broadband internet to the user by network module 102 and has accessed, and such as user is helped to receive
Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 103 can receive radio frequency unit 101 or network module 102 or in memory 109
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 103 can also provide and end
The relevant audio output of specific function that end equipment 100 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 103 includes loud speaker, buzzer and receiver etc..
Input unit 104 is for receiving audio or video signal.Input unit 104 may include graphics processor
(GraphicsProcessing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or network module 102.Mike
Wind 1042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output of mobile communication base station can be sent to via radio frequency unit 101 by being converted in the case of telephone calling model.
Terminal device 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when terminal device 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (OrganicLight-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with terminal device
Family is arranged and the related key signals input of function control.Specifically, user input unit 107 include touch panel 1071 and
Other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation).Touch panel 1071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 110, receiving area
It manages the order that device 110 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch panel 1071.In addition to touch panel 1071, user input unit 107 can also include other input equipments
1072.Specifically, other input equipments 1072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 1071 can be covered on display panel 1061, when touch panel 1071 is detected at it
On or near touch operation after, send processor 110 to determine the type of touch event, be followed by subsequent processing device 110 according to touch
The type for touching event provides corresponding visual output on display panel 1061.Although in Figure 5, touch panel 1071 and display
Panel 1061 is to realize the function that outputs and inputs of terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 1071 and display panel 1061 and realize the function that outputs and inputs of terminal device, it is specific this
Place does not limit.
Interface unit 108 is the interface that external device (ED) is connect with terminal device 100.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 108 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 100 or can be used in 100 He of terminal device
Transmission data between external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Terminal device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 100 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 110, and memory 109 is stored in
On memory 109 and the computer program that can be run on the processor 110, the computer program are executed by processor 110
Each process of Shi Shixian above method embodiments, and identical technique effect can be reached, it is no longer superfluous here to avoid repeating
It states.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, realizes each process of above method embodiment when which is executed by processor, and can reach identical
Technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as read-only memory
(Read-OnlyMemory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD
Deng.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within the protection of the present invention.
Claims (10)
1. a kind of image processing method, which is characterized in that it is applied to the terminal device with camera, including:
In response to the first input of the user received, optical imagery is acquired, and obtain the temperature of the camera;
According to the temperature, target gain parameter corresponding with the temperature is obtained, the target gain parameter is for adjusting institute
State the noise of optical imagery;
Using optical imagery described in the target gain parameter regulation, target image is obtained.
2. according to the method described in claim 1, it is characterized in that, described according to the temperature, acquisition is corresponding with the temperature
Target gain parameter, including:
Compare each temperature range in the temperature and pre-stored at least one temperature range, wherein a temperature model
Enclose corresponding one group of gain parameter;
In the case where the temperature is in the first temperature range at least one temperature range, first temperature is obtained
Spend corresponding first gain parameter of range;
Determine that first gain parameter is the target gain parameter.
3. according to the method described in claim 2, it is characterized in that, first gain parameter includes the first analog gain parameter
With the first digital gain parameter, the target gain parameter includes target simulation gain parameter and target number gain parameter;
Determination first gain parameter is the target gain parameter, including:
It determines that the first analog gain parameter is target simulation gain parameter, and determines that first digital gain parameter is mesh
Mark digital gain parameter;
Wherein, the first analog gain parameter reduces as temperature increases, and first digital gain parameter is with temperature
Increase and increases.
4. according to the method described in claim 3, it is characterized in that, described using optics described in the target gain parameter regulation
Image obtains target image, including:
The optical imagery is converted into the first analog electrical signal;
First analog electrical signal is handled with the target simulation gain parameter, obtains the second analog electrical signal;
Second analog electrical signal is converted into the first digital signal;
First digital signal is handled with the target number gain parameter, obtains the second digital signal;
Second digital signal is converted into the target image.
5. method according to claim 1 to 4, which is characterized in that the terminal device further includes being arranged in
The thermistor in target area outside the camera;
The temperature for obtaining the camera, including:
The temperature of the camera is obtained by the thermistor.
6. a kind of terminal device, which is characterized in that there is camera, including:Acquisition module and adjustment module;
The acquisition module acquires optical imagery, and obtain the camera shooting for the first input of the user in response to receiving
The temperature of head;According to the temperature, target gain parameter corresponding with the temperature is obtained, the target gain parameter is for adjusting
Save the noise of the optical imagery;
The adjustment module, the optical imagery for being obtained using acquisition module described in the target gain parameter regulation,
Obtain target image.
7. terminal device according to claim 6, which is characterized in that
The acquisition module is specifically used for comparing each temperature in the temperature and pre-stored at least one temperature range
Range a, wherein temperature range corresponds to one group of gain parameter;It is at least one temperature range in the temperature
In the case of first temperature range, corresponding first gain parameter of first temperature range is obtained;Determine first gain
Parameter is the target gain parameter.
8. terminal device according to claim 7, which is characterized in that first gain parameter includes the first analog gain
Parameter and the first digital gain parameter, the target gain parameter include target simulation gain parameter and target number gain ginseng
Number;
The acquisition module is specifically used for determining that the first analog gain parameter is target simulation gain parameter, and determines institute
It is target number gain parameter to state the first digital gain parameter;
Wherein, the first analog gain parameter reduces with the increase of temperature, and first digital gain parameter is with temperature
The increase of degree and increase.
9. terminal device according to claim 8, which is characterized in that
The adjustment module is converted to the first analog telecommunications specifically for the optical imagery for obtaining the acquisition module
Number;First analog electrical signal is handled with the target simulation gain parameter, obtains the second analog electrical signal;By described second
Analog electrical signal is converted to the first digital signal;First digital signal is handled with the target number gain parameter, is obtained
Second digital signal;Second digital signal is converted into the target image.
10. the terminal device according to any one of claim 6 to 9, which is characterized in that the terminal device further includes cloth
The thermistor being placed in the target area outside the camera;
The acquisition module, specifically for obtaining the temperature of the camera by the thermistor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810555785.7A CN108810323A (en) | 2018-05-31 | 2018-05-31 | A kind of image processing method and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810555785.7A CN108810323A (en) | 2018-05-31 | 2018-05-31 | A kind of image processing method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108810323A true CN108810323A (en) | 2018-11-13 |
Family
ID=64089953
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810555785.7A Pending CN108810323A (en) | 2018-05-31 | 2018-05-31 | A kind of image processing method and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108810323A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006319852A (en) * | 2005-05-16 | 2006-11-24 | Canon Inc | Imaging apparatus |
JP2008034902A (en) * | 2006-07-26 | 2008-02-14 | Sanyo Electric Co Ltd | Electronic camera |
JP2013207610A (en) * | 2012-03-29 | 2013-10-07 | Nikon Corp | Image pickup device and program |
JP2013251872A (en) * | 2012-06-04 | 2013-12-12 | Canon Inc | Imaging device |
CN104023218A (en) * | 2013-02-28 | 2014-09-03 | 株式会社日立制作所 | Imaging device and image signal processor |
-
2018
- 2018-05-31 CN CN201810555785.7A patent/CN108810323A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006319852A (en) * | 2005-05-16 | 2006-11-24 | Canon Inc | Imaging apparatus |
JP2008034902A (en) * | 2006-07-26 | 2008-02-14 | Sanyo Electric Co Ltd | Electronic camera |
JP2013207610A (en) * | 2012-03-29 | 2013-10-07 | Nikon Corp | Image pickup device and program |
JP2013251872A (en) * | 2012-06-04 | 2013-12-12 | Canon Inc | Imaging device |
CN104023218A (en) * | 2013-02-28 | 2014-09-03 | 株式会社日立制作所 | Imaging device and image signal processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108446085A (en) | A kind of throwing screen display methods and mobile terminal | |
CN107566748A (en) | A kind of image processing method, mobile terminal and computer-readable recording medium | |
CN108307109A (en) | A kind of high dynamic range images method for previewing and terminal device | |
CN109743498A (en) | A kind of shooting parameter adjustment method and terminal device | |
CN109688322A (en) | A kind of method, device and mobile terminal generating high dynamic range images | |
CN107450841B (en) | Interactive object control method and device | |
CN110058836A (en) | A kind of output method and terminal device of audio signal | |
CN108494030A (en) | A kind of wireless charging method, terminal and transmitting end equipment | |
CN108173993A (en) | A kind of camera module, control method and mobile terminal | |
CN108156393A (en) | Image capturing method, mobile terminal and computer readable storage medium | |
CN109600297A (en) | A kind of mark sweep-out method and terminal device | |
CN108391123A (en) | A kind of method and terminal generating video | |
CN107884157A (en) | A kind of method for detecting abnormality of diffractive-optical element, mobile terminal | |
CN109257463A (en) | A kind of terminal device and its control method | |
CN109005355A (en) | A kind of image pickup method and mobile terminal | |
CN108733993A (en) | A kind of method for information display and terminal | |
CN108317992A (en) | A kind of object distance measurement method and terminal device | |
CN110381200A (en) | It goes out and shields control method and mobile terminal | |
CN110505279A (en) | The method and apparatus of delay is set | |
CN109831582A (en) | Non- response events processing method and terminal | |
CN108366171A (en) | A kind of temperature rise control method and mobile terminal | |
CN109358913A (en) | A kind of the starting method and terminal device of application program | |
CN107770449A (en) | continuous shooting method, electronic equipment and storage medium | |
CN108196699A (en) | A kind of method and apparatus of page layout switch | |
CN109582174A (en) | A kind of touch-control input response method and terminal device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |