CN107566753A - Method, photo taking and mobile terminal - Google Patents

Method, photo taking and mobile terminal Download PDF

Info

Publication number
CN107566753A
CN107566753A CN201710904270.9A CN201710904270A CN107566753A CN 107566753 A CN107566753 A CN 107566753A CN 201710904270 A CN201710904270 A CN 201710904270A CN 107566753 A CN107566753 A CN 107566753A
Authority
CN
China
Prior art keywords
information
photograph
photo
infrared
dark area
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
Application number
CN201710904270.9A
Other languages
Chinese (zh)
Inventor
吴智聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710904270.9A priority Critical patent/CN107566753A/en
Publication of CN107566753A publication Critical patent/CN107566753A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of mobile terminal, and it includes memory, processor and is stored in the photograph taking program that can be run on the memory and on the processor, and photograph taking program realizes following steps when being executed by processor:When detecting shooting instruction, while open infrared imaging function and visual light imaging function is taken pictures to obtain infrared photograph and visible radiograph;Obtain the scene outline information in infrared photograph;Obtain the colouring information and relative luminance information in the visible radiograph;Scene outline information in the infrared photograph and the colouring information in the visible radiograph and relative luminance information synthesize new photo and the current photo corresponding as the shooting instruction.Compared with prior art, the advantages of current photo that the present invention generates has merged infrared imaging and visual light imaging each, it has more preferable contrast, and becomes apparent from, and solves the bad technical problem of effect of being taken pictures in the case of dim light and bad weather.

Description

Method, photo taking and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of method, photo taking and mobile terminal.
Background technology
The portability of mobile phone make it that its usage scenario is more and more extensive, simultaneously because its portability causes the work(of taking pictures of mobile phone The relative camera of energy is more popular.Determine it in dim light (such as night, dark however, the sensitive chip size of mobile phone is smaller The scenes such as spacious interior) and bad weather (such as rainy days, haze sky) in the case of imaging capability deficiency, although can To carry out light filling by the flash lamp of setting, but flash lamp range of exposures is limited and the brightness irregularities of irradiated object, Easily overexposure on hand, a long way off luminance shortage, the effect that causes to take pictures are bad.
Therefore, it is necessary to a kind of method, photo taking and mobile terminal are provided to solve above-mentioned technical problem.
The content of the invention
It is a primary object of the present invention to propose a kind of photo method and mobile terminal, it is intended to solve existing mobile terminal Method, photo taking is taken pictures the bad technical problem of effect in the case of dim light and bad weather.
First, to achieve the above object, the present invention provides a kind of mobile terminal, and the mobile terminal includes memory, place Manage device and be stored in the photograph taking program that can be run on the memory and on the processor, the photograph taking program Following steps are realized during by the computing device:
When detecting shooting instruction, at the same open infrared imaging function and visual light imaging function taken pictures it is red to obtain Outer photo and visible radiograph;
Obtain the scene outline information in the infrared photograph;
Obtain the colouring information and relative luminance information in the visible radiograph;
Scene outline information in the infrared photograph and the colouring information in the visible radiograph and relative Monochrome information synthesizes new photo and the current photo corresponding as the shooting instruction.
Alternatively, the scene outline information in the infrared photograph and the color in the visible radiograph After the step of information and relative luminance information synthesize new photo, the processor is additionally operable to perform the photograph taking journey Sequence, to realize following steps:
Scene outline information in the infrared photograph carries out edge sharpening to the scenery in the current photo.
Alternatively, the scene outline information in the infrared photograph and the color in the visible radiograph After the step of information and relative luminance information synthesize new photo, the processor is additionally operable to perform the photograph taking journey Sequence, to realize following steps:
Detect the dark area in the current photo;
Obtain the scene outline residing for region corresponding with the dark area in the infrared photograph;
Obtain its in the visible radiograph in region corresponding with the scene outline in addition to the dark area The colouring information in his region;
Color filling is carried out to the dark area in the current photo according to the colouring information in other regions.
Alternatively, the step of colouring information in other regions described in the basis carries out color filling to the dark area Afterwards, the processor is additionally operable to perform the photograph taking program, to realize following steps:
Obtain the relative luminance information in region corresponding with the dark area in the infrared photograph;
The bright of the dark area in the current photo is adjusted by the relative luminance information in the infrared photograph Degree.
Meanwhile the present invention also provides a kind of method, photo taking, applied to mobile terminal, the method, photo taking includes Following steps:
When detecting shooting instruction, at the same open infrared imaging function and visual light imaging function taken pictures it is red to obtain Outer photo and visible radiograph;
Obtain the scene outline information in the infrared photograph;
Obtain the colouring information and relative luminance information in the visible radiograph;
Scene outline information in the infrared photograph and the colouring information in the visible radiograph and relative Monochrome information synthesizes new photo and the current photo corresponding as the shooting instruction.
Alternatively, the scene outline information in the infrared photograph and the color in the visible radiograph Also include after the step of information and relative luminance information synthesize new photo:
Scene outline information in the infrared photograph carries out edge sharpening to the scenery in the current photo.
Alternatively, the scene outline information in the infrared photograph and the color in the visible radiograph Also include after the step of information and relative luminance information synthesize new photo:
Detect the dark area in the current photo;
Obtain the scene outline residing for region corresponding with the dark area in the infrared photograph;
Obtain its in the visible radiograph in region corresponding with the scene outline in addition to the dark area The colouring information in his region;
Color filling is carried out to the dark area in the current photo according to the colouring information in other regions.
Alternatively, the step of colouring information in other regions described in the basis carries out color filling to the dark area Also include afterwards:
Obtain the relative luminance information in region corresponding with the dark area in the infrared photograph;
The bright of the dark area in the current photo is adjusted by the relative luminance information in the infrared photograph Degree.
Alternatively, it is described while open infrared imaging function and visual light imaging function is taken pictures to obtain infrared photograph Also include before the step of piece and visible radiograph:
Detect environmental light brightness;
Judge whether the environmental light brightness is more than predetermined luminance threshold value;
If the determination result is YES, then visual light imaging function is opened to be taken pictures and make the visible radiograph for taking pictures to obtain For current photo;
If judged result is no, opens infrared imaging function simultaneously described in execution and visual light imaging function is clapped According to the step of.
In addition, to achieve the above object, the present invention also provides a kind of computer-readable recording medium, described computer-readable Photograph taking program is stored with storage medium, such as above-mentioned photograph taking is realized when the photograph taking program is executed by processor The step of method.
Compared to prior art, method, photo taking proposed by the invention, mobile terminal and computer-readable storage medium Matter, when detecting shooting instruction, while open infrared imaging function and visual light imaging function taken pictures it is infrared to obtain Photo and visible radiograph, the scene outline information in the infrared photograph and the face in the visible radiograph are obtained afterwards Color information and relative luminance information, finally in the scene outline information in the infrared photograph and the visible radiograph Colouring information and relative luminance information synthesize new photo and the current photo corresponding as the shooting instruction, due to ought The advantages of preceding photo has merged infrared imaging and visual light imaging each, it has more preferable contrast, and becomes apparent from, and solves Existing mobile terminal is taken pictures effect bad technical problem in the case of dim light and bad weather.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the high-level schematic functional block diagram of photograph taking program first embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of photograph taking program second embodiment of the present invention;
Fig. 5 is the implementation process diagram of method, photo taking first embodiment of the present invention;
Fig. 6 is the implementation process diagram of method, photo taking second embodiment of the present invention;
Fig. 7 is the schematic diagram for the obtained embodiments of infrared photograph A mono- taken pictures by infrared imaging function to flag;
Fig. 8 is that the obtained visible embodiments of radiograph B mono- taken pictures to flag by visual light imaging function are shown It is intended to;
Fig. 9 is the schematic diagram for the embodiments of current photo C mono- for synthesizing to obtain according to infrared photograph A, visible radiograph B;
Figure 10 is the photo to being obtained after the dark area progress color filling in current photo C shown in Fig. 9.
Reference:
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also 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 transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include 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 Voice data, phone directory etc.) etc..In addition, memory 109 can 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 mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and ChargingRules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on the above-mentioned hardware configuration of mobile terminal 100 and communications network system, each embodiment of the inventive method is proposed.
First, the present invention proposes a kind of mobile terminal, and the mobile terminal includes memory, processor and is stored in described On memory and the photograph taking program 400 that can run on the processor.
As shown in figure 3, it is the high-level schematic functional block diagram of the first embodiment of photograph taking program 400 of the present invention.In this implementation In example, the photograph taking program 400 can be divided into one or more modules, and one or more of modules are stored in institute In the memory 109 for stating mobile terminal 100, and by one or more processors (being the controller 110 in the present embodiment) institute Perform, to complete the present invention.For example, in figure 3, the photograph taking program 400 can be divided into taking module 401, One acquisition module 402, the second acquisition module 403 and synthesis module 404.Module alleged by the present invention refers to that one kind can be completed A series of acquisition machine programmed instruction sections of specific function, than obtaining machine program more suitable for description software in the mobile terminal Implementation procedure in 100.Just above-mentioned each functional module 401-404 concrete function is described in detail below.Wherein:
The taking module 401, for detect shooting instruction when, while open infrared imaging function and visible ray into As function is taken pictures to obtain infrared photograph and visible radiograph.In order to realize method, photo taking of the present invention, it is necessary to moving Dynamic terminal is improved, and sets up infrared imaging function on mobile terminals.Specifically, infrared imaging work(is realized on mobile terminals The method of energy has a variety of.For example, a kind of method is:Individually increase an infrared camera on mobile terminals;Or:To existing Mobile terminal on imaging sensor used in visual light imaging (COMS or ccd image sensor) be improved, thereon Infrared pixel is felt in increase, makes it in addition to it can sense tri- kinds of colors of R, G, B, additionally it is possible to infrared light is sensed, specifically, logical Cross and set the wave-length coverage of filter plate that sensing infrared light can be achieved, and feel the size of infrared pixel and specific arrangement It can be determined according to the camera lens and imaging wavelength range of reality.It should be noted that infrared imaging function is used in the present invention Infrared light be electromagnetic wave that wave-length coverage is 780nm-1000 μm.And in the present invention, infrared imaging function and visual light imaging Taken pictures when function is taken pictures with same visual angle, i.e., infrared photograph and visible radiograph are that identical scenery is carried out Take pictures what is obtained.In addition, the present invention mainly solves existing mobile terminal in dim light (such as night, dark spacious interior Etc. scene) and bad weather (such as rainy days, haze sky) in the case of imaging capability deficiency the problem of, it is and bright in environment It is without using method, photo taking of the present invention in the case of bright, need to be only used in the case of ambient bright existing common Exposal model (is defaulted as visual light imaging).Therefore, clapped to realize in common exposal model and the photo of the present invention Take the photograph between method and automatically switched, following steps can be performed when detecting shooting instruction:(1) environmental light brightness is detected; (2) judge whether the environmental light brightness is more than predetermined luminance threshold value;(3) if the determination result is YES, then visual light imaging is opened Function is taken pictures and using the visible radiograph for taking pictures to obtain as current photo, if judged result is no, is performed described same The step of Shi Kaiqi infrared imagings function and visual light imaging function are taken pictures.It is automatically according to environmental light brightness judgement Photograph taking function corresponding to no unlatching method, photo taking of the present invention, which obviates user's manual switching, provides the user More preferable Consumer's Experience.
First acquisition module 402, for obtaining the scene outline information in the infrared photograph.Using infrared imaging In the infrared photograph that principle obtains, because the infra-red radiation of different objects is different, therefore can clearly it distinguish in photo not Same object, it has higher contrast compared to visible radiograph, therefore can be obtained after carrying out image procossing to infrared photograph The profile information of its each scenery included, is designated as scene outline information.Simultaneously as the infrared photograph obtained in the present embodiment Piece is black-and-white photograph, and it can not reflect colouring information, therefore reflects the effective information master of current shooting scenery in infrared photograph To be scene outline information.
Second acquisition module 403, for obtaining colouring information and relative luminance information in the visible radiograph. Visible image capturing head has higher resolution capability to color, in the visible radiograph obtained using visual light imaging principle, tool Have than more rich colouring information and relative luminance information, but in the visible radiograph each scenery profile information compared to infrared Photo is poor, therefore the effective information in visible radiograph is mainly colouring information and relative luminance information.
The synthesis module 404, shone for the scene outline information in the infrared photograph and the visible ray Colouring information and relative luminance information in piece synthesize new photo and the current photo corresponding as the shooting instruction.This It is to utilize infrared photograph and visible radiograph when synthesizing new photo using infrared photograph and visible radiograph in embodiment In effective information synthesized, that is, utilize the scene outline information in infrared photograph and color in visible radiograph letter Breath and relative luminance information synthesize new photo.The current photo synthesized using this kind of mode, has merged infrared imaging and can The advantages of seeing photoimaging, resulting photo has higher contrast compared to visible radiograph, and becomes apparent from.Specifically, When synthesizing current photo, because infrared photograph has higher brightness and contrast, the scene outline letter in infrared photograph Infrared photograph is compared breath with visible radiograph, can obtain the characteristic point in infrared photograph and visible radiograph, the spy Sign point includes similar region of the larger edge of the profile in clear zone, contrast, shape etc..Afterwards, can be according to the spy got Sign point distinguishes scenery different in visible radiograph, then carries out color correct to different objects according to colouring information, you can To current photo.In addition, possibly can not clearly differentiate the edge of each scenery in visible radiograph, its contrast is not high, because This can utilize the scene outline information in infrared photograph, and during current photo is synthesized, the profile of different scenery is entered Row edge sharpening etc. operates, and can make it that the scenery discrimination in current photo is higher, so as to obtain in dim light or bad weather In the case of picture rich in detail;On the other hand the stereovision of current photo can also be improved, is more nearly human eye finding scene.
By above-mentioned module 401-404, photograph taking program of the present invention is opened infrared when detecting shooting instruction Imaging function and visual light imaging function are taken pictures to obtain infrared photograph and visible radiograph, obtain the infrared photograph afterwards Scene outline information in piece and colouring information and relative luminance information in the visible radiograph, finally according to described red Scene outline information in outer photo and the colouring information in the visible radiograph and relative luminance information synthesize new photograph The piece simultaneously current photo corresponding as the shooting instruction, because current photo has merged infrared imaging and visual light imaging is each From the advantages of, it has more preferable contrast, and becomes apparent from, and solves existing mobile terminal in dim light and bad weather In the case of take pictures the bad technical problem of effect.
Further, the first embodiment based on the invention described above photograph taking program 400, proposes photograph taking of the present invention The second embodiment of program 400.Fig. 4 is refer to, Fig. 4 is the functional module of the second embodiment of photograph taking program 400 of the present invention Schematic diagram, compared with first embodiment, in the present embodiment, photograph taking program 400 also includes sharpening module 405, color filling Module 406, luminance adjustment module 407 and judge module 408.In the present embodiment, each functional module is described as follows:
The sharpening module 405, for the scene outline information in the infrared photograph in the current photo Scenery carry out edge sharpening.
The color filling module 406, for detecting the dark area in the current photo;Obtain the infrared photograph In scene outline residing for the region corresponding with the dark area;Obtain in the visible radiograph with the scene outline The colouring information in other regions in corresponding region in addition to the dark area;According to the colouring information in other regions Color filling is carried out to the dark area in the current photo.Specifically, pass through visual light imaging under low light environment When function is taken pictures, the dark area that can not be differentiated completely is there may exist in obtained visible radiograph, it is visible obtaining During colouring information in radiograph, the colouring information that can only get the dark area is black, and can not get the dark The true colors of current shooting scenery corresponding to region, so as to can also have dark area in obtained current photo is synthesized, This also results in current photo and still suffers from unsharp region.For this reason, it may be necessary to color is carried out to the dark area in current photo Amendment.Firstly, it is necessary to the dark area in current photo is detected, because the brightness value of dark area would generally be very low, therefore The present embodiment can detect whether that brightness value be present is less than certain threshold value when whether there is dark area in detecting current photo Pixel region, if in the presence of judging the region for dark area.In the present embodiment, color correct is being carried out to dark area When, it is to be carried out using the colouring information in the scene outline information of infrared photograph and visible radiograph.Specifically, when detection After dark area into current photo, the scenery wheel residing for region corresponding with dark area in infrared photograph is obtained first Exterior feature, the process are to differentiate the principle of different objects using infrared photograph, find the scenery corresponding to dark area, The color in other regions of the scenery is facilitated the use to be modified to the color of dark area.Specifically, shone from visible ray The colouring information in other regions in region corresponding with the scene outline in addition to dark area is obtained in piece, then utilizing should Colouring information is modified to dark area.Refer to Fig. 7 to Fig. 9, Fig. 7 to Fig. 9 for flag is taken pictures under dim light for What example illustrated, wherein Fig. 7 is the obtained embodiments of infrared photograph A mono- taken pictures by infrared imaging function to flag Schematic diagram, Fig. 8 is that the obtained visible embodiments of radiograph B mono- taken pictures to flag by visual light imaging function are shown Be intended to, Fig. 9 is to synthesize the obtained schematic diagram of the embodiments of current photo C mono- according to infrared photograph A, visible radiograph B, Fig. 7 and Star overstriking represents it relative to having more preferable profile information in Fig. 8 in Fig. 9, the filling pattern in Fig. 8 and Fig. 9 in red flag (point) is used for the colouring information for representing red flag.As shown in Figure 8, it is assumed that exist in the visible radiograph B for taking pictures to obtain a part of black Dark areas X2, due to dark area X2 colouring information can not be extracted, therefore synthesize in obtained current photo C corresponding Opening position still suffers from dark area X3, when being modified to dark area X3, acquisition and dark region first from infrared photograph A The scene outline in region (i.e. X1) corresponding domain X3, it is red flag profile to obtain scene outline in infrared photograph A, afterwards from The colouring information in other regions in region corresponding with scene outline in addition to dark area (i.e. X2) is obtained in radiograph B, The colouring information for obtaining other regions is red.Wherein, X1, X2, X3 are used to represent infrared photograph A, visible radiograph B and worked as Correspond to the same area for the dark area that can not be differentiated on preceding photo C.Afterwards, with the visible radiograph B that gets with scape The colouring information (i.e. red information) in other regions in region corresponding to thing profile in addition to dark area is in current photo Dark area carry out color filling (filling result as shown in Figure 10), so as to solve the photo for taking pictures to obtain under low light condition In the problem of dark area be present.It should be noted that embodiment illustrated in fig. 7 describes the colouring information pair according to same object Dark area carries out the process of color correct;The application scenarios of this method can also be:According to the green of trees nearby to remote The trees color at place is suitably filled with etc.;In addition, for the scene of same color background but different objects, only according to face Color is difficult to differentiate object, can also now utilize the scene outline information of infrared photograph, and the edge progress contrast to object carries Height, realize and preferably differentiate object.
The luminance adjustment module 407, for obtaining region corresponding with the dark area in the infrared photograph Relative luminance information;And the dark in the current photo is adjusted by the relative luminance information in the infrared photograph The brightness in region.Meanwhile also utilize the relative luminance information regulation of dark area X1 in infrared photograph A is current to shine in the present embodiment The brightness of dark area in piece C, current photo C brightness and contrast is lifted whereby.In addition, in order to ensure current photo black True effect seen in dark situation, usual dark area need to be maintained at relatively low brightness value.In addition, in synthesis current photo Afterwards, debugging optimization can also be carried out according to the brightness and saturation degree of the relative luminance information of infrared photograph to current photo etc., with The photo become apparent from.
The judge module 408, for detecting environmental light brightness;Judge whether the environmental light brightness is more than predetermined luminance Threshold value;If the determination result is YES, then open visual light imaging function taken pictures and will take pictures obtained visible radiograph as Current photo, if judged result is no, execution is described to open infrared imaging function and the progress of visual light imaging function simultaneously The step of taking pictures.Judge whether to open photograph taking work(corresponding to method, photo taking of the present invention automatically according to environmental light brightness Can, user's manual switching is which obviated, has provided the user more preferable Consumer's Experience.
By above-mentioned module 401-408, current photo that photograph taking program proposed by the invention obtains has merged red Outer the advantages of being imaged with visual light imaging each, it has more preferable contrast, and becomes apparent from, and solves existing mobile whole Hold the bad technical problem of effect of being taken pictures in the case of dim light and bad weather;In addition, after current photo is synthesized, can examine Survey current photo in whether there is dark area, if in the presence of, utilize infrared photograph scene outline information and visible ray photograph Colouring information in piece carries out color correct to the dark area in current photo, while is believed using the relative luminance of infrared photograph Cease the brightness to dark area to be adjusted so that it has more preferable brightness and contrast.
Further it is proposed that a kind of method, photo taking, the method, photo taking is applied to move shown in Fig. 1 to Fig. 2 Terminal, the mobile terminal include memory and processor.
As shown in figure 5, it is the implementing procedure figure of method, photo taking first embodiment of the present invention.In the present embodiment, root According to different demands, the execution sequence of the step in flow chart shown in Fig. 5 can change, and some steps can be omitted.It is described Method, photo taking includes:
Step S501, when detecting shooting instruction, while open infrared imaging function and visual light imaging function is clapped According to obtain infrared photograph and visible radiograph.
In order to realize method, photo taking of the present invention, it is necessary to be improved to mobile terminal, set up on mobile terminals red Outer imaging function.Specifically, realize on mobile terminals infrared imaging function method have it is a variety of.For example, a kind of method is: Individually increase an infrared camera on mobile terminal;Or:To figure used in visual light imaging on existing mobile terminal Picture sensor (COMS or ccd image sensor) is improved, and is felt infrared pixel in increase thereon, is made it except that can feel Answer outside tri- kinds of colors of R, G, B, additionally it is possible to infrared light is sensed, specifically, by setting the wave-length coverage of filter plate that sense can be achieved Answer infrared light, and feel the size of infrared pixel and specific arrangement can be true according to the camera lens and imaging wavelength range of reality It is fixed.It should be noted that it is 780nm-1000 μm that the infrared light that infrared imaging function is used in the present invention, which is wave-length coverage, Electromagnetic wave.And in the present invention, infrared imaging function and visual light imaging function when being taken pictures are clapped with same visual angle According to, i.e. infrared photograph and visible radiograph is taken pictures to obtain to identical scenery.It should be noted that the present embodiment For the infrared imaging function of middle mobile terminal except the method, photo taking for the present invention, it can be also used for night vision, increase phase Machine playability and feature, such as shoot black-and-white photograph and infrared photograph, under low light condition or are not suitable in the environment using light Strengthen human eye vision etc..
In addition, the present invention mainly solves existing mobile terminal in dim light (such as the field such as night, dark spacious interior Scape) and bad weather (such as rainy days, haze sky) in the case of imaging capability deficiency the problem of, and in ambient bright In the case of be without using method, photo taking of the present invention, need to only use and existing commonly take pictures in the case of ambient bright Pattern (is defaulted as visual light imaging).Therefore, in order to realize common exposal model and the present invention photograph taking side Automatically switched between method, following steps can be performed when detecting shooting instruction:(1) environmental light brightness is detected;(2) sentence Whether the environmental light brightness of breaking is more than predetermined luminance threshold value;(3) if the determination result is YES, then visual light imaging function is opened to enter Row is taken pictures and using the visible radiograph for taking pictures to obtain as current photo, if judged result is no, is opened simultaneously described in execution The step of infrared imaging function and visual light imaging function are taken pictures.Judge whether to open automatically according to environmental light brightness Photograph taking function corresponding to method, photo taking of the present invention, which obviates user's manual switching, has provided the user preferably Consumer's Experience.
Step S502, obtain the scene outline information in the infrared photograph.
In the infrared photograph obtained using infrared imaging principle, because the infra-red radiation of different objects is different, therefore can The different objects in photo are clearly distinguished, it has higher contrast compared to visible radiograph, therefore infrared photograph is entered The profile information of its each scenery included can be obtained after row image procossing, is designated as scene outline information.Simultaneously as this The infrared photograph obtained in embodiment is black-and-white photograph, and it can not reflect colouring information, therefore is reflected in infrared photograph current The effective information of photographed is mainly scene outline information.
Step S503, obtain colouring information and relative luminance information in the visible radiograph.
Visible image capturing head has higher resolution capability to color, and the visible ray obtained using visual light imaging principle is shone In piece, have than more rich colouring information and relative luminance information, but in the visible radiograph each scenery profile information It is poor compared to infrared photograph, therefore the effective information in visible radiograph is mainly colouring information and relative luminance information.
Step S504, the color letter in the scene outline information and the visible radiograph in the infrared photograph Breath and relative luminance information synthesize new photo and the current photo corresponding as the shooting instruction.
In the present embodiment, when synthesizing new photo using infrared photograph and visible radiograph, be using infrared photograph and It can be seen that what the effective information in radiograph was synthesized, that is, utilize the scene outline information in infrared photograph and visible radiograph In colouring information and relative luminance information synthesize new photo.The current photo synthesized using this kind of mode, merge infrared The advantages of imaging and visual light imaging, resulting photo have higher contrast compared to visible radiograph, and more clear It is clear.Specifically, during synthesis current photo, because infrared photograph has higher brightness and contrast, according in infrared photograph Infrared photograph is compared scene outline information with visible radiograph, can obtain the spy in infrared photograph and visible radiograph Point is levied, this feature point includes similar region of the larger edge of the profile in clear zone, contrast, shape etc..Afterwards, can be according to obtaining The characteristic point got distinguishes scenery different in visible radiograph, and then carrying out color to different objects according to colouring information repaiies Just, you can obtain current photo.In addition, possibly can not clearly differentiate the edge of each scenery in visible radiograph, it is contrasted Degree is not high, therefore can utilize the scene outline information in infrared photograph, during current photo is synthesized, to different scenery Profile carry out the operation such as edge sharpening, can make it that the scenery discrimination in current photo is higher, so as to obtaining in dim light or Picture rich in detail in the case of bad weather;On the other hand the stereovision of current photo can also be improved, is more nearly human eye finding Scene.
By above-mentioned steps S501-S504, method, photo taking of the present invention is opened red when detecting shooting instruction Outer imaging function and visual light imaging function is taken pictures to obtain infrared photograph and visible radiograph, is obtained afterwards described infrared Scene outline information in photo and colouring information and relative luminance information in the visible radiograph, it is last according to Scene outline information in infrared photograph and the colouring information in the visible radiograph and relative luminance information synthesize new Photo and the current photo corresponding as the shooting instruction, because current photo has merged infrared imaging and visual light imaging The advantages of respective, it has more preferable contrast, and becomes apparent from, and solves existing mobile terminal in dim light and weather not Taken pictures in the case of good the bad technical problem of effect.
Further, based on above-mentioned first embodiment, the second embodiment of method, photo taking of the present invention is proposed.Such as Fig. 6 It is shown, it is the implementing procedure figure of method, photo taking second embodiment of the present invention.In the present embodiment, according to different demands, The execution sequence of the step in flow chart shown in Fig. 6 can change, and some steps can be omitted.The method, photo taking bag Include:
Step S601, when detecting shooting instruction, detect environmental light brightness.
Step S602, judges whether the environmental light brightness is more than predetermined luminance threshold value, if the determination result is YES, then performs Step S603, conversely, performing step S604.
Step S603, open visual light imaging function and taken pictures and shone using the visible radiograph for taking pictures to obtain as current Piece.
Step S604, while open infrared imaging function and visual light imaging function is taken pictures to obtain infrared photograph With visible radiograph.
Step S605, obtain scene outline information, relative luminance information and the visible ray in the infrared photograph Colouring information and relative luminance information in photo.
Step S606, the color letter in the scene outline information and the visible radiograph in the infrared photograph Breath and relative luminance information synthesize new photo and the current photo corresponding as the shooting instruction.
Step S607, detect the dark area in the current photo.
When being taken pictures under low light environment by visual light imaging function, it there may exist in obtained visible radiograph The dark area that can not be differentiated completely, in the colouring information in obtaining visible radiograph, the dark area can only be got Colouring information is black, and can not get the true colors of current shooting scenery corresponding to the dark area, so as to synthesize Also there can be dark area in obtained current photo, this also results in current photo and still suffers from unsharp region.Therefore, need Color correct is carried out to the dark area in current photo.Firstly, it is necessary to the dark area in current photo is detected, due to black The brightness value of dark areas would generally be very low, therefore the present embodiment is when whether there is dark area in detecting current photo, can To detect whether to exist the pixel region that brightness value is less than certain threshold value, if in the presence of judging the region for dark area.
Step S608, the scene outline residing for region corresponding with the dark area in the infrared photograph is obtained, And other regions in the visible radiograph in region corresponding with the scene outline in addition to the dark area Colouring information.
In the present embodiment, to dark area carry out color correct when, be using infrared photograph scene outline information with And the colouring information progress in visible radiograph.Specifically, after the dark area in current photo is detected, obtain first Scene outline in infrared photograph residing for the region corresponding with dark area, the process are to be divided using infrared photograph The principle of different objects is distinguished, finds the scenery corresponding to dark area, facilitates the use the color in other regions of the scenery To be modified to the color of dark area.Specifically, obtained from visible radiograph in region corresponding with the scene outline The colouring information in other regions in addition to dark area, then dark area is modified using the colouring information.It please join Examine Fig. 7 to Fig. 9, Fig. 7 to Fig. 9 is illustrated exemplified by being taken pictures under dim light to flag, wherein Fig. 7 be by it is infrared into As the schematic diagram for the obtained embodiments of infrared photograph A mono- that function is taken pictures to flag, Fig. 8 is to pass through visual light imaging function The schematic diagram for the obtained visible embodiments of radiograph B mono- taken pictures to flag, Fig. 9 are to be shone according to infrared photograph A, visible ray Piece B synthesizes the schematic diagram of the obtained embodiments of current photo C mono-, in Fig. 7 and Fig. 9 star overstriking represent it relative to having in Fig. 8 There is a more preferable profile information, the filling pattern (point) in Fig. 8 and Fig. 9 in red flag is used for the colouring information for representing red flag.Such as Fig. 8 institutes Show, it is assumed that a part of dark area X2 be present in the visible radiograph B for taking pictures to obtain, due to dark area X2 can not be extracted Colouring information, therefore dark area X3 is still suffered from corresponding position in the obtained current photo C of synthesis, to the dark area When X3 is modified, the scene outline in the region (i.e. X1) corresponding with dark area X3 is obtained first from infrared photograph A, is obtained Into infrared photograph A, scene outline is red flag profile, is obtained afterwards from visible radiograph B in region corresponding with scene outline The colouring information in other regions in addition to dark area (i.e. X2), the colouring information for obtaining other regions are red.Wherein, X1, X2, X3 are used to represent to correspond to the dark area that can not be differentiated on infrared photograph A, visible radiograph B and current photo C Same area.
Step S609, the dark area in the current photo is carried out according to the colouring information in other regions Color filling, and the dark area in the current photo is adjusted by the relative luminance information in the infrared photograph Brightness.
Continuation illustrates by taking Fig. 7 to embodiment illustrated in fig. 9 as an example, and step S609 is the visible radiograph to get The colouring information (i.e. red information) in other regions in B in region corresponding with scene outline in addition to dark area is to current Dark area in photo carries out color filling (filling result is as shown in Figure 10), takes pictures to obtain under low light condition so as to solve Photo in the problem of dark area be present.Meanwhile in the present embodiment also utilize infrared photograph A in dark area X1 it is relatively bright The brightness of dark area in information regulation current photo C is spent, lifts current photo C brightness and contrast whereby.In addition, in order to Ensure true effect of the current photo seen in dark surrounds, usual dark area needs to be maintained at relatively low brightness value.This Outside, can also be according to brightness and saturation degree of the relative luminance information of infrared photograph to current photo after current photo is synthesized Etc. debugging optimization is carried out, with the photo become apparent from.
It should be noted that Fig. 7 describes the colouring information according to same object to dark area to embodiment illustrated in fig. 9 Carry out the process of color correct;The application scenarios of this method can also be:Trees according to the green of trees nearby to distant place Color is suitably filled with etc.;In addition, for the scene of same color background but different objects, it is difficult to point only according to color Object is distinguished, can also now utilize the scene outline information of infrared photograph, contrast raising is carried out to the edge of object, realized more Good resolution object.
By above-mentioned steps S601 to S609, the current photo that method, photo taking of the present invention obtains has merged infrared imaging The advantages of with visual light imaging each, it has more preferable contrast, and becomes apparent from, and solves existing mobile terminal weak The bad technical problem of effect of being taken pictures in the case of light and bad weather;In addition, after current photo is synthesized, can detect current It whether there is dark area in photo, if in the presence of using in the scene outline information of infrared photograph and visible radiograph Colouring information carries out color correct to the dark area in current photo, while utilizes the relative luminance information of infrared photograph to black The brightness of dark areas is adjusted so that it has more preferable brightness and contrast.
In addition, the present invention also provides a kind of computer-readable recording medium, stored on the computer-readable recording medium There is photograph taking program, the photograph taking program realizes the method, photo taking described in Fig. 5 to Fig. 6 when being executed by processor Step.
It should be noted that herein, term " comprising ", "comprising" 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 not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
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 such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of mobile terminal, it is characterised in that the mobile terminal includes memory, processor and is stored in the memory Photograph taking program that is upper and can running on the processor, is realized when the photograph taking program is by the computing device Following steps:
When detecting shooting instruction, while open infrared imaging function and visual light imaging function is taken pictures to obtain infrared photograph Piece and visible radiograph;
Obtain the scene outline information in the infrared photograph;
Obtain the colouring information and relative luminance information in the visible radiograph;
The colouring information and relative luminance in scene outline information and the visible radiograph in the infrared photograph Information synthesizes new photo and the current photo corresponding as the shooting instruction.
2. mobile terminal as claimed in claim 1, it is characterised in that the scene outline letter in the infrared photograph After the step of breath and the colouring information in the visible radiograph and relative luminance information synthesize new photo, the processing Device is additionally operable to perform the photograph taking program, to realize following steps:
Scene outline information in the infrared photograph carries out edge sharpening to the scenery in the current photo.
3. mobile terminal as claimed in claim 1, it is characterised in that the scene outline letter in the infrared photograph After the step of breath and the colouring information in the visible radiograph and relative luminance information synthesize new photo, the processing Device is additionally operable to perform the photograph taking program, to realize following steps:
Detect the dark area in the current photo;
Obtain the scene outline residing for region corresponding with the dark area in the infrared photograph;
Obtain other areas in region corresponding with the scene outline in addition to the dark area in the visible radiograph The colouring information in domain;
Color filling is carried out to the dark area in the current photo according to the colouring information in other regions.
4. the terminal moved as claimed in claim 3, it is characterised in that the colouring information pair in other regions described in the basis After the dark area carries out the step of color filling, the processor is additionally operable to perform the photograph taking program, with reality Existing following steps:
Obtain the relative luminance information in region corresponding with the dark area in the infrared photograph;
The brightness of the dark area in the current photo is adjusted by the relative luminance information in the infrared photograph.
5. a kind of method, photo taking, applied to mobile terminal, it is characterised in that the method, photo taking includes following step Suddenly:
When detecting shooting instruction, while open infrared imaging function and visual light imaging function is taken pictures to obtain infrared photograph Piece and visible radiograph;
Obtain the scene outline information in the infrared photograph;
Obtain the colouring information and relative luminance information in the visible radiograph;
The colouring information and relative luminance in scene outline information and the visible radiograph in the infrared photograph Information synthesizes new photo and the current photo corresponding as the shooting instruction.
6. method, photo taking as claimed in claim 5, it is characterised in that the scenery wheel in the infrared photograph Also wrapped after the step of wide information and colouring information in the visible radiograph and relative luminance information synthesize new photo Include:
Scene outline information in the infrared photograph carries out edge sharpening to the scenery in the current photo.
7. method, photo taking as claimed in claim 5, it is characterised in that the scenery wheel in the infrared photograph Also wrapped after the step of wide information and colouring information in the visible radiograph and relative luminance information synthesize new photo Include:
Detect the dark area in the current photo;
Obtain the scene outline residing for region corresponding with the dark area in the infrared photograph;
Obtain other areas in region corresponding with the scene outline in addition to the dark area in the visible radiograph The colouring information in domain;
Color filling is carried out to the dark area in the current photo according to the colouring information in other regions.
8. method, photo taking as claimed in claim 7, it is characterised in that the colouring information in other regions described in the basis Also include after the step of carrying out color filling to the dark area:
Obtain the relative luminance information in region corresponding with the dark area in the infrared photograph;
The brightness of the dark area in the current photo is adjusted by the relative luminance information in the infrared photograph.
9. method, photo taking as claimed in claim 5, it is characterised in that described while open infrared imaging function and visible Also include before the step of photoimaging function is taken pictures to obtain infrared photograph and visible radiograph:
Detect environmental light brightness;
Judge whether the environmental light brightness is more than predetermined luminance threshold value;
If the determination result is YES, then visual light imaging function is opened to be taken pictures and obtained visible radiograph will be taken pictures as ought Preceding photo;
If judged result is no, performs and described open infrared imaging function simultaneously and visual light imaging function taken pictures Step.
10. a kind of computer-readable recording medium, it is characterised in that photo bat is stored with the computer-readable recording medium Program is taken the photograph, the photograph taking as any one of claim 5 to 9 is realized when the photograph taking program is executed by processor The step of method.
CN201710904270.9A 2017-09-29 2017-09-29 Method, photo taking and mobile terminal Pending CN107566753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710904270.9A CN107566753A (en) 2017-09-29 2017-09-29 Method, photo taking and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710904270.9A CN107566753A (en) 2017-09-29 2017-09-29 Method, photo taking and mobile terminal

Publications (1)

Publication Number Publication Date
CN107566753A true CN107566753A (en) 2018-01-09

Family

ID=60984241

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710904270.9A Pending CN107566753A (en) 2017-09-29 2017-09-29 Method, photo taking and mobile terminal

Country Status (1)

Country Link
CN (1) CN107566753A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117725A (en) * 2018-07-09 2019-01-01 深圳市科脉技术股份有限公司 Face identification method and device
CN109146904A (en) * 2018-08-13 2019-01-04 合肥英睿系统技术有限公司 The method and apparatus of infrared image object profile is shown in visible images
CN109241908A (en) * 2018-09-04 2019-01-18 深圳市宇墨科技有限公司 Face identification method and relevant apparatus
CN110572583A (en) * 2018-05-18 2019-12-13 杭州海康威视数字技术股份有限公司 method for shooting image and camera
WO2020063219A1 (en) * 2018-09-25 2020-04-02 天地融科技股份有限公司 Video data anti-forgery method and system, and terminal
CN112529987A (en) * 2020-09-14 2021-03-19 武汉高德智感科技有限公司 Method and system for fusing infrared image and visible light image of mobile phone terminal
CN112654924A (en) * 2018-09-04 2021-04-13 谷歌有限责任公司 Taking pictures with stereo camera
WO2021208789A1 (en) * 2020-04-14 2021-10-21 华为技术有限公司 Photographing method and electronic device
CN114637099A (en) * 2022-05-07 2022-06-17 荣耀终端有限公司 Lens of terminal equipment, terminal equipment and control method of terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102695064A (en) * 2011-03-25 2012-09-26 中华大学 Real-time stereoscopic image generation device and method
CN105430359A (en) * 2015-12-18 2016-03-23 广东欧珀移动通信有限公司 Imaging method, image sensor, imaging device and electronic device
CN105898159A (en) * 2016-05-31 2016-08-24 努比亚技术有限公司 Image processing method and terminal
US20160364871A1 (en) * 2015-06-12 2016-12-15 Google Inc. Using a Depth Map of a Monitored Scene to Identify Floors, Walls, and Ceilings
CN106952245A (en) * 2017-03-07 2017-07-14 深圳职业技术学院 A kind of processing method and system for visible images of taking photo by plane

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102695064A (en) * 2011-03-25 2012-09-26 中华大学 Real-time stereoscopic image generation device and method
US20160364871A1 (en) * 2015-06-12 2016-12-15 Google Inc. Using a Depth Map of a Monitored Scene to Identify Floors, Walls, and Ceilings
CN105430359A (en) * 2015-12-18 2016-03-23 广东欧珀移动通信有限公司 Imaging method, image sensor, imaging device and electronic device
CN105898159A (en) * 2016-05-31 2016-08-24 努比亚技术有限公司 Image processing method and terminal
CN106952245A (en) * 2017-03-07 2017-07-14 深圳职业技术学院 A kind of processing method and system for visible images of taking photo by plane

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572583A (en) * 2018-05-18 2019-12-13 杭州海康威视数字技术股份有限公司 method for shooting image and camera
CN109117725A (en) * 2018-07-09 2019-01-01 深圳市科脉技术股份有限公司 Face identification method and device
CN109146904A (en) * 2018-08-13 2019-01-04 合肥英睿系统技术有限公司 The method and apparatus of infrared image object profile is shown in visible images
CN109241908A (en) * 2018-09-04 2019-01-18 深圳市宇墨科技有限公司 Face identification method and relevant apparatus
CN112654924A (en) * 2018-09-04 2021-04-13 谷歌有限责任公司 Taking pictures with stereo camera
US11490070B2 (en) 2018-09-04 2022-11-01 Google Llc Dark flash photography with a stereo camera
CN112654924B (en) * 2018-09-04 2023-01-13 谷歌有限责任公司 Taking pictures with a stereo camera using a dark flash lamp
WO2020063219A1 (en) * 2018-09-25 2020-04-02 天地融科技股份有限公司 Video data anti-forgery method and system, and terminal
WO2021208789A1 (en) * 2020-04-14 2021-10-21 华为技术有限公司 Photographing method and electronic device
CN112529987A (en) * 2020-09-14 2021-03-19 武汉高德智感科技有限公司 Method and system for fusing infrared image and visible light image of mobile phone terminal
CN112529987B (en) * 2020-09-14 2023-05-26 武汉高德智感科技有限公司 Method and system for fusing infrared image and visible light image of mobile phone terminal
CN114637099A (en) * 2022-05-07 2022-06-17 荣耀终端有限公司 Lens of terminal equipment, terminal equipment and control method of terminal equipment

Similar Documents

Publication Publication Date Title
CN107566753A (en) Method, photo taking and mobile terminal
CN107302663A (en) A kind of brightness of image method of adjustment, terminal and computer-readable recording medium
CN107592451A (en) A kind of multi-mode auxiliary photo-taking method, apparatus and computer-readable recording medium
CN107093418A (en) A kind of screen display method, computer equipment and storage medium
CN107302632A (en) A kind of mobile terminal image pickup method, mobile terminal and computer-readable recording medium
CN107172364A (en) A kind of image exposure compensation method, device and computer-readable recording medium
CN107820016A (en) Shooting display methods, double screen terminal and the computer-readable storage medium of double screen terminal
CN108108704A (en) Face identification method and mobile terminal
CN107133939A (en) A kind of picture synthesis method, equipment and computer-readable recording medium
CN107438163A (en) A kind of photographic method, terminal and computer-readable recording medium
CN108269230A (en) Certificate photo generation method, mobile terminal and computer readable storage medium
CN107317963A (en) A kind of double-camera mobile terminal control method, mobile terminal and storage medium
CN107194963A (en) A kind of dual camera image processing method and terminal
CN107343064A (en) A kind of mobile terminal of two-freedom rotating camera
CN107566752A (en) A kind of image pickup method, terminal and computer-readable storage medium
CN107239205A (en) A kind of photographic method, mobile terminal and storage medium
CN107465881A (en) A kind of dual camera focusing method, mobile terminal and computer-readable recording medium
CN108900780A (en) A kind of screen light compensation method, mobile terminal and storage medium
CN107231470A (en) Image processing method, mobile terminal and computer-readable recording medium
CN107846554A (en) A kind of image processing method, terminal and computer-readable recording medium
CN107040723A (en) A kind of imaging method based on dual camera, mobile terminal and storage medium
CN109639996A (en) High dynamic scene imaging method, mobile terminal and computer readable storage medium
CN107240072A (en) A kind of screen luminance adjustment method, terminal and computer-readable recording medium
CN107404618A (en) A kind of image pickup method and terminal
CN107705247A (en) A kind of method of adjustment of image saturation, terminal and storage medium

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: 20180109