Nothing Special   »   [go: up one dir, main page]

CN107197170A - A kind of exposal control method and mobile terminal - Google Patents

A kind of exposal control method and mobile terminal Download PDF

Info

Publication number
CN107197170A
CN107197170A CN201710575896.XA CN201710575896A CN107197170A CN 107197170 A CN107197170 A CN 107197170A CN 201710575896 A CN201710575896 A CN 201710575896A CN 107197170 A CN107197170 A CN 107197170A
Authority
CN
China
Prior art keywords
image
region
reference object
brightness value
target
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
CN201710575896.XA
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710575896.XA priority Critical patent/CN107197170A/en
Publication of CN107197170A publication Critical patent/CN107197170A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of exposal control method and mobile terminal, and this method includes:Preview image and infrared thermal imaging image that colour imagery shot and infrared thermal imaging camera are gathered to same target reference object are obtained respectively;Extract the profile information of target reference object described in the infrared thermal imaging image;According to the profile information, the object region where target reference object described in the preview image is determined;According to the object region, exposure parameter is determined;By the exposure parameter, the colour imagery shot is controlled to perform exposing operation.The exposal control method that the present invention is provided, the infrared thermal imaging image auxiliary gathered by infrared thermal imaging camera determines the object region in the preview image of colour imagery shot where target reference object, and exposure parameter is determined according to object region, so as to ensure that the image exposure of target reference object is relatively reasonable when shooting, image exposure effect is improved.

Description

A kind of exposal control method and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of exposal control method and mobile terminal.
Background technology
With continuing to develop for electronic technology and mobile Internet, people are liked by social network-i i-platform shooting Photo or video etc. are shared with friend, and this causes the focus that the shooting effect of filming apparatus is paid close attention into user.
During actual photographed, it is partially dark or partially bright that user is frequently found to shoot obtained photo, with intrinsic brilliance or It is it is expected that brightness is inconsistent.Especially in frontlighting or backlight, lightness is even more to be difficult to meet user's request.At present, shine Piece brightness is mainly controlled by automatic exposure (Automatic Exposure, referred to as AE), wherein, AE can basis Ambient brightness and illumination condition, the exposure parameter of adjust automatically filming apparatus, for example, time for exposure, aperture size, image sensing The analog gain and digital gain of device, the digital gain of image-signal processor etc..AE has a variety of metering modes, mainly there is center Light-metering, average metering and face recognition light-metering etc..But in actual conditions, photographed scene is varied, center light-metering and average Metering mode can not meet the demand of various photographed scenes, and under dark some photographed scenes of grade, face can not be identified, Also face recognition light-metering can not be carried out.
In the prior art, for due to reference object None- identified, causing the problem of image exposure effect is poor, at present Not yet propose effective solution.
The content of the invention
The embodiment of the present invention provides a kind of exposal control method and mobile terminal, to solve due under some photographed scenes, Due to reference object None- identified, cause the problem of image exposure effect is poor.
In a first aspect, the embodiments of the invention provide a kind of exposal control method, it is described mobile whole applied to mobile terminal End includes infrared thermal imaging camera and colour imagery shot, and this method includes:
The preview graph that colour imagery shot and infrared thermal imaging camera are gathered to same target reference object is obtained respectively Picture and infrared thermal imaging image;
Extract the profile information of target reference object described in the infrared thermal imaging image;
According to the profile information, the object-image region where target reference object described in the preview image is determined Domain;
According to the object region, exposure parameter is determined;
By the exposure parameter, the colour imagery shot is controlled to perform exposing operation.
Second aspect, the embodiment of the present invention also provides a kind of mobile terminal.The mobile terminal is imaged including infrared thermal imaging Head and colour imagery shot, the mobile terminal also include:
Acquisition module, for obtaining colour imagery shot and infrared thermal imaging camera respectively to same target reference object institute The preview image and infrared thermal imaging image of collection;
Extraction module, the profile information for extracting target reference object described in the infrared thermal imaging image;
First determining module, for according to the profile information, determining target reference object described in the preview image The object region at place;
Second determining module, for according to the object region, determining exposure parameter;
Control module, for by the exposure parameter, controlling the colour imagery shot to perform exposing operation.
The third aspect, the embodiment of the present invention also provides a kind of mobile terminal, including processor, memory, is stored in described On memory and the computer program that can run on the processor, the computer program is by real during the computing device The step of showing above-mentioned exposal control method.
Fourth aspect, the embodiment of the present invention also provides a kind of computer-readable recording medium, the computer-readable storage Be stored with computer program on medium, and the computer program realizes the step of above-mentioned exposal control method when being executed by processor Suddenly.
So, in the embodiment of the present invention, by obtaining colour imagery shot and infrared thermal imaging camera respectively to same mesh Preview image and infrared thermal imaging image that mark reference object is gathered;Extract the bat of target described in the infrared thermal imaging image Take the photograph the profile information of object;According to the profile information, the mesh where target reference object described in the preview image is determined Logo image region;According to the object region, exposure parameter is determined;By the exposure parameter, the colour is controlled to take the photograph As head performs exposing operation.The infrared thermal imaging image that the embodiment of the present invention is gathered by infrared thermal imaging camera aids in determining Object region in the preview image of colour imagery shot where target reference object, and determined according to object region Exposure parameter, reference object can be accurately identified when shooting, so that ensure that the image exposure of target reference object is relatively reasonable, Improve image exposure effect.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed for description of the embodiment of the present invention The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is one of flow chart of exposal control method provided in an embodiment of the present invention;
Fig. 2 is the two of the flow chart of exposal control method provided in an embodiment of the present invention;
Fig. 3 is dual camera Coordinate Conversion reference model figure provided in an embodiment of the present invention;
Fig. 4 is object region provided in an embodiment of the present invention and the schematic diagram of background image region;
Fig. 5 is one of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the two of the structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the three of the structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the four of the structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 9 is the five of the structure chart of mobile terminal provided in an embodiment of the present invention;
Figure 10 is the six of the structure chart of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
The embodiment of the present invention improves a kind of exposal control method, and applied to mobile terminal, the mobile terminal includes infrared Thermal imaging camera and colour imagery shot, the infrared thermal imaging camera and the colour imagery shot are in the mobile terminal Homonymy.It should be noted that the distance between the infrared thermal imaging camera and the colour imagery shot are the smaller the better.
Referring to Fig. 1, Fig. 1 is the flow chart of exposal control method provided in an embodiment of the present invention, as shown in figure 1, including with Lower step:
Step 101, respectively acquisition colour imagery shot and infrared thermal imaging camera are gathered to same target reference object Preview image and infrared thermal imaging image.
In the present embodiment, it can start infrared thermal imaging camera when receiving shooting instruction and colour imagery shot enter Row is shot.Infrared thermal imaging camera uses infrared thermal imaging technique, is, by gathering the infra-red radiation of object, and to be converted to number Word signal, forms pseudo- color thermal map.Specifically, infrared thermal imaging image is exactly to reflect the temperature of object onto figure, Mei Zhongwen Degree is all shown with a false colour, and these false colours are stitched together, the picture with regard to that can form a completion.Compared with visible ray, Infrared thermal imaging technique is not influenceed by ambient light power, therefore can also form under compared with dark situation clearly infrared heat Image.
Above-mentioned target reference object can be human body or other kinds of reference object, for example, animal, plant, Building etc..The present embodiment can be shot by colour imagery shot to target reference object, to obtain more clearly mesh The preview image of reference object is marked, the target reference object is shot by infrared thermal imaging camera, to obtain mesh Mark the infrared thermal imaging image of reference object.
Step 102, the profile information for extracting target reference object described in the infrared thermal imaging image.
In the present embodiment, because infrared thermal imaging image is that the infra-red radiation based on object is imaged, it therefore, it can root According to the profile information of target reference object in the temperature extraction infrared thermal imaging image of target reference object.It should be noted that The profile information of target reference object described in infrared thermal imaging image can refer to the corresponding image of target reference object red Profile information in outer graphic images.
Step 103, according to the profile information, determine the target where target reference object described in the preview image Image-region.
In the present embodiment, when the relative position of infrared thermal imaging camera and colour imagery shot is fixed, it can set in advance Coordinate transform amount is put, the profile information of target reference object in the infrared thermal imaging image is entered according to the coordinate transform amount Row coordinate transform, can obtain the profile information of target reference object in preview image, and the target shooting pair in preview image The profile information of elephant, determines the object region where target reference object in preview image.It should be noted that described pre- The object region look at where target reference object described in image can refer to the corresponding image of the target reference object The residing region in the preview image.
Optionally, the present embodiment can also carry out image registration to infrared thermal imaging image and preview image, due to image Infrared thermal imaging image and preview image after registration can be overlapped, so that target is clapped in the infrared thermal imaging image after image registration The profile information for taking the photograph object is corresponding with the profile information of target reference object in the preview image after image registration, so as to Determine the region residing for the image of target reference object in preview image, namely object region.
Step 104, according to the object region, determine exposure parameter.
For example, the brightness of object region can be obtained, exposure parameter is determined according to the brightness of object region, its In, exposure parameter can include time for exposure, aperture size, sensitivity etc..
Step 105, by the exposure parameter, control the colour imagery shot to perform exposing operation.
In the present embodiment, according to the exposure parameter of determination colour imagery shot can be controlled to perform exposing operation, so as to Reference object is accurately identified, so as to ensure that the image exposure of target reference object is relatively reasonable.
In the embodiment of the present invention, above-mentioned mobile terminal can be any movement for possessing infrared camera and colour imagery shot Terminal, for example:Camera, mobile phone, tablet personal computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA) or wearable device (Wearable Device) etc..
The exposal control method of the embodiment of the present invention, obtains colour imagery shot and infrared thermal imaging camera to same respectively Preview image and infrared thermal imaging image that target reference object is gathered;Extract target described in the infrared thermal imaging image The profile information of reference object;According to the profile information, determine described in the preview image where target reference object Object region;According to the object region, exposure parameter is determined;By the exposure parameter, the colour is controlled Camera performs exposing operation.The infrared thermal imaging image that the embodiment of the present invention is gathered by infrared thermal imaging camera aids in true The object region where target reference object in the preview image of colour imagery shot is scheduled on, and it is true according to object region Determine exposure parameter, reference object can be accurately identified when shooting, so as to ensure that the image exposure of target reference object is more closed Reason, improves image exposure effect.
Referring to Fig. 2, Fig. 2 is the flow chart of exposal control method provided in an embodiment of the present invention.The embodiment of the present invention with it is upper The difference of one embodiment is essentially consisted in described according to the object region, determines that exposure parameter is further limited. Specifically, during the present invention is implemented, it is described according to the object region, exposure parameter is determined, including:By the preview image In all image-regions in addition to the object region be defined as background image region;The target image is obtained respectively The brightness value of the brightness value in region and the background image region;According to the brightness value of the object region and the background The brightness value of image-region, determines the exposure parameter;Wherein, the weight of the brightness value of the object region is more than described The weight of the brightness value of background image region.
As shown in Fig. 2 the exposal control method that the present invention implements to provide comprises the following steps:
Step 201, respectively acquisition colour imagery shot and infrared thermal imaging camera are gathered to same target reference object Preview image and infrared thermal imaging image.
The step will not be repeated here with above-mentioned steps 101.
Step 202, the profile information for extracting target reference object described in the infrared thermal imaging image.
In the present embodiment, because infrared thermal imaging image is that the infra-red radiation based on object is imaged, it therefore, it can root According to the profile information of target reference object in the temperature extraction infrared thermal imaging image of target reference object.It should be noted that The profile information of target reference object described in infrared thermal imaging image can refer to the corresponding image of target reference object red Profile information in outer graphic images.
In the present embodiment, because the temperature of different reference objects is different, false colour in infrared thermal imaging image is reflected in not Together, thus can previously according to different reference objects temperature range, determine the corresponding pseudo- color range of different reference objects so that Can be according to where the corresponding false colour false colour interval of target reference object determines target reference object in infrared thermal imaging image Image-region.It should be noted that extracting the coordinate of the interval corresponding pixel of false colour corresponding with target reference object After information, the processing such as denoising can be carried out to extracting result, extract noise pixel point in result to remove (namely non-targeted is shot The pixel of the image of object) coordinate information.
It should be noted that the present embodiment can be by counting the temperature of different objects, so as to according to statistics in advance As a result different object correspondence false colours are preset interval.By taking human body as an example, the temperature range of human body be usually 36 DEG C~38 DEG C it Between, then the corresponding false colour of each temperature between can determining 36 DEG C to 38 DEG C is interval to obtain the corresponding false colour of human body.
Step 203, according to the profile information, determine the target where target reference object described in the preview image Image-region.
In the present embodiment, infrared thermal imaging camera and the distance between colour imagery shot are the smaller the better, and infrared heat Relative position between imaging camera head and colour imagery shot can be fixed.
Optionally, it is described according to the profile information, determine described in the preview image where target reference object Object region, including:Obtain the coordinate transform amount between the infrared thermal imaging image and the preview image;According to institute Coordinate transform amount is stated, line translation is entered to the profile information, the profile information after being converted;According to the profile letter after conversion Breath, determines the image-region residing for target reference object described in the preview image, obtains object region.
, can be pre- when the relative position between infrared thermal imaging camera and colour imagery shot is fixed in the present embodiment Coordinate transform amount is first set, so as to obtain default coordinate transform amount, and according to default coordinate transform amount to infrared heat The profile information of target reference object carries out coordinate transform in image, obtains the profile of target reference object in preview image Information, and the profile information of target reference object determines object region in preview image.
, can also be by extracting multiple characteristic points pair in infrared thermal imaging image and preview image, and root in the present embodiment Coordinate transform amount is determined according to multiple characteristic points pair, so that according to the coordinate transform amount to target shooting pair in infrared thermal imaging image The profile information of elephant carries out coordinate transform, can obtain the profile information of target reference object in preview image, and by preview graph The profile information of target reference object determines object region as described in.
Specifically, referring to Fig. 3, Fig. 3 is dual camera Coordinate Conversion reference model figure provided in an embodiment of the present invention.
If the focal length of the colour imagery shot and the infrared thermal imaging camera is f, the colour imagery shot and institute The distance between infrared thermal imaging camera is stated for T, the object distance of P points is Z, the preview graph that P points are gathered in the colour imagery shot The coordinate value in x directions is x as inL, P points x directions in the infrared thermal imaging image that the infrared thermal imaging camera is obtained Coordinate value is xR, wherein, P the points coordinate value in direction and point y in the infrared thermal imaging image in the preview image The coordinate value in direction is identical, therefore need to only obtain the coordinate transform in x directions in the preview image and the infrared thermal imaging image Amount.
According to Similar Principle of Triangle, it can obtain
It is fT/ (Z that the coordinate transform amount between the preview image and the infrared thermal imaging image is understood according to the formula +f)+xR
It should be noted that being in same vertical position for the colour imagery shot and the infrared thermal imaging camera Situation, the seat in P the points coordinate value in x directions and this x directions in the infrared thermal imaging image in the preview image Scale value is identical, now need to only obtain the coordinate transform amount in y directions in the preview image and the infrared thermal imaging image, The specific calculating process that derives is similar with the derivation calculating process in the citing, to avoid repeating, repeats no more here.
The embodiment of the present invention is entered by coordinate transform amount to the profile information of target reference object in infrared thermal imaging image Line translation, to determine the object region described in the preview image where target reference object, amount of calculation is small, speed compared with It hurry up.
Step 204, by all image-regions in the preview image in addition to the object region be defined as the back of the body Scape image-region.
In the present embodiment, background image region is the region in preview image in addition to object region, referring to Fig. 4, Preview image 1 includes object region 11 and background image region 12.
The brightness value of step 205, the brightness value that the object region is obtained respectively and the background image region.
Specifically, the brightness value of object region can count all pixels point in object region in preview image Average brightness value, be used as the brightness value or the brightness value by pixel in object region of object region It is weighted, as the brightness value of object region, the present embodiment is not limited this.Background image region in preview image Brightness value can count the average brightness value of all pixels point in background image region, be used as the brightness of background image region Value or the brightness value of pixel in background image region is weighted, is used as the brightness value of background image region, this Embodiment is not limited this.
The brightness value of step 206, the brightness value according to the object region and the background image region, determines institute State exposure parameter;Wherein, the weight of the brightness value of the object region is more than the brightness value of the background image region Weight.
Background image area in brightness value and preview image that the present embodiment passes through object region in comprehensive preview image The brightness value in domain determines exposure parameter, wherein, the weight of the brightness value of object region is more than the brightness of background image region The weight of value, it is ensured that exposure parameter is mainly determined by the brightness of object region, to ensure that object region exposes It is relatively reasonable.
For example, the present embodiment can obtain the target brightness value of preview image, wherein, target brightness value is expected to be default Brightness value, so as to the ratio R 1 and target brightness value of the brightness value that calculates target brightness value and object region respectively With the ratio R 2 of the brightness value of background image region, the weighted value for calculating R1 and R2 determines exposure target value, wherein, R1 weight Weight more than R2, for example, the weight that R1 weight is 0.85, R2 is 0.15.
It should be noted that the exposure parameter such as exposure target value and time for exposure, aperture size, sensitivity is corresponding, specifically , mobile terminal can according to exposure parameters such as exposure target value adjust automatically time for exposure, aperture size, sensitivity so that Exposure effect reaches exposure target value.
Optionally, the brightness value and the brightness value of the background image region according to the object region, really The fixed exposure parameter, including:Obtain the first brightness value and the first preset target brightness value of the object region;Obtain Second brightness value of the background image region and the second preset target brightness value;Calculate the first preset target brightness value and The ratio of first brightness value, obtains the first ratio;Calculate the second preset target brightness value and second brightness value Ratio, obtain the second ratio;First ratio and second ratio are weighted, exposure target value is obtained;According to The exposure target value determines exposure parameter;Wherein, the weight of first ratio is more than the weight of second ratio.
Can be respectively that object region and background image region preset different target brightness values in the present embodiment, That is the first preset target brightness value and the second preset target brightness value.Specifically, the present embodiment can start shoot after by with Family sets the first preset target brightness value and the second preset target brightness value or pre-sets the first preset target brightness Value and the second preset target brightness value.
Specifically, the first brightness value is the brightness value of object region, for example, it may be owning in object region The average brightness value of pixel, the second brightness value is the brightness value of background image region, for example, it may be in background image region The average brightness value of all pixels point.
The present embodiment is by calculating the ratio of the first preset target brightness value and the first brightness value, as the first ratio, with And the ratio of the second preset target brightness value and the second brightness value is calculated, compare as the second ratio, and to the first ratio and second Value is weighted summation, wherein, the weight of the first ratio is more than the weight of the second ratio, to ensure that exposure target value is main by mesh The brightness in logo image region is determined.
Specifically, the present embodiment can calculate exposure target value L using equation below:
L=(N/X*a+M/Y*b)/(a+b)
Wherein, L represents exposure target value, and X represents the first brightness value, and N represents first object brightness value, and Y represents that second is bright Angle value, M represents the second target brightness value, and a is the weight of the brightness value of object region, and b is the brightness of background image region The weight of value, and a>b.
Step 207, by the exposure parameter, control the colour imagery shot to perform exposing operation.
In the present embodiment, the exposure parameters such as time for exposure, aperture size, sensitivity can be determined according to exposure target value, And control colour imagery shot to be exposed shooting according to exposure parameters such as the time for exposure of determination, aperture size, sensitivity, so that Reference object can be accurately identified, so as to ensure that the image exposure of target reference object is relatively reasonable.Specifically, the present embodiment can To control colour imagery shot to use the exposure parameter determined according to exposure target value to enter the whole picture of finding a view of colour imagery shot Row exposes or carries out partial exposure to object region in picture of finding a view.
Optionally, before the infrared thermal imaging image for obtaining the infrared thermal imaging camera, methods described is also Including:Determine the reference object type of the target reference object;Accordingly, it is described to extract institute in the infrared thermal imaging image The profile information of target reference object is stated, including:Based on the reference object type, institute in the infrared thermal imaging image is extracted State the profile information of target reference object.
The present embodiment can preset a variety of reference object types and be selected for user, for example, people, plant, animal, building Deng, accordingly, can correspond in advance store different reference object types false colour it is interval.Specifically, can start shoot after, Reference object type is selected by user, so as to the reference object type selected according to user, from infrared thermal imaging image The middle profile information for extracting target reference object corresponding with selected reference object type.The present embodiment can improve exposure The flexibility of control, to realize the reasonable exposure to different types of reference object.
From the foregoing, it will be observed that the embodiment of the present invention ensure that the exposure brightness of human body or other object regions is more closed Reason, and without considering current ambient brightness, and position in picture of finding a view of human body or other object regions and Ratio.It should be noted that the exposal control method of the embodiment of the present invention can be used for video capture, HDR (i.e. HDR) in image taking.
Optionally, it is described to be based on the reference object type, extract target described in the infrared thermal imaging image and shoot The profile information of object, including:According to default reference object type and the interval corresponding relation of false colour, determine that the target is clapped The corresponding target false colour of reference object type for taking the photograph object is interval;False colour in the infrared thermal imaging image is pseudo- in the target Image in color interval is defined as the image-region where the target reference object;Where extracting the target reference object The profile information of image-region;Wherein, each pixel in profile of the profile information including the target reference object Coordinate.
In the present embodiment, because the temperature of different objects is different, the false colour being reflected in infrared thermal imaging image is different, because This can previously according to different objects temperature range, the corresponding pseudo- color range of different objects is determined, so as to according to target The corresponding false colour false colour interval of reference object determines the image-region in infrared thermal imaging image where target reference object.Need Illustrate, can be right after the coordinate information of the interval corresponding pixel of false colour corresponding with target reference object is extracted Extract result and carry out the processing such as denoising, (namely the image of non-targeted reference object of noise pixel point in result is extracted to remove Pixel) coordinate information.
It should be noted that the present embodiment can be by counting the temperature of different objects, so as to according to statistics in advance As a result different object correspondence false colours are preset interval.By taking human body as an example, the temperature range of human body be usually 36 DEG C~38 DEG C it Between, then the corresponding false colour of each temperature between can determining 36 DEG C to 38 DEG C is interval to obtain the corresponding false colour of human body.
Optionally, the present embodiment can be by the brightness of the pixel of the image of target reference object in infrared thermal imaging image Value is set to a certain predetermined luminance value, for example, 0 or 255 etc., clapped so as to target in reflection infrared thermal imaging image directly perceived Take the photograph region residing for the image of object.
The present embodiment extracts target shooting pair in infrared thermal imaging image according to the corresponding false colour interval of target reference object The profile information of elephant, is realized simple and quick.
The exposal control method of the embodiment of the present invention, by obtaining colour imagery shot and infrared thermal imaging camera pair respectively Preview image and infrared thermal imaging image that same target reference object is gathered;Extract described in the infrared thermal imaging image The profile information of target reference object;According to the profile information, target reference object institute described in the preview image is determined Object region;All image-regions in the preview image in addition to the object region are defined as the back of the body Scape image-region;The brightness value of the object region and the brightness value of the background image region are obtained respectively;According to institute The brightness value of object region and the brightness value of the background image region are stated, the exposure parameter is determined;Wherein, the mesh The weight of the brightness value in logo image region is more than the weight of the brightness value of the background image region;By the exposure parameter, The colour imagery shot is controlled to perform exposing operation.The brightness value and background image of combining target image-region of the embodiment of the present invention The brightness value in region determines exposure target value, and controls colour imagery shot to be exposed shooting according to the exposure target value, can be with So that shoot obtained image closer to intrinsic brilliance, in addition, it is determined that during exposure target value object region brightness The weight of value is more than the brightness value of background image region, thereby may be ensured that object region exposure is relatively reasonable.
Referring to Fig. 5, Fig. 5 is the structure chart for the mobile terminal that the present invention implements offer, and the mobile terminal includes infrared heat Imaging camera head and colour imagery shot.The mobile terminal can realize the exposal control method in the embodiment shown in Fig. 1 to Fig. 2 Details, and reach identical effect.As shown in figure 5, the mobile terminal 500 also includes acquisition module 501, extraction module 502nd, the first determining module 503, the second determining module 504 and control module 505, wherein:
Acquisition module 501, for obtaining colour imagery shot and infrared thermal imaging camera respectively to the shooting pair of same target As the preview image and infrared thermal imaging image that are gathered;
Extraction module 502, the profile information for extracting target reference object described in the infrared thermal imaging image;
First determining module 503, for according to the profile information, determining the shooting pair of target described in the preview image As the object region at place;
Second determining module 504, for according to the object region, determining exposure parameter;
Control module 505, for by the exposure parameter, controlling the colour imagery shot to perform exposing operation.
Optionally, referring to Fig. 6, second determining module 504 includes:First determining unit 5041, for will be described pre- All image-regions in image in addition to the object region of looking at are defined as background image region;First acquisition unit 5042, for obtaining the brightness value of the object region and the brightness value of the background image region respectively;Second determines Unit 5043, for the brightness value according to the object region and the brightness value of the background image region, it is determined that described Exposure parameter;Wherein, the weight of the brightness value of the object region is more than the power of the brightness value of the background image region Weight.
Optionally, second determining unit 5043 specifically for:Obtain the first brightness value of the object region With the first preset target brightness value;Obtain the second brightness value and the second preset target brightness value of the background image region;Meter The ratio of the first preset target brightness value and first brightness value is calculated, the first ratio is obtained;Described second is calculated to preset The ratio of target brightness value and second brightness value, obtains the second ratio;First ratio and second ratio are entered Row weighting, obtains exposure target value;Exposure parameter is determined according to the exposure target value;Wherein, the weight of first ratio More than the weight of second ratio.
Optionally, referring to Fig. 7, the mobile terminal 500 also includes:3rd determining module 506, for being obtained respectively described The preview image and infrared thermal imaging for taking colour imagery shot and infrared thermal imaging camera to gather same target reference object Before image, the reference object type of the target reference object is determined;
The extraction module 502 includes:First extraction unit 5021, for based on the reference object type, extracting institute State the profile information of target reference object described in infrared thermal imaging image.
Optionally, first extraction unit 5021 specifically for:It is interval according to default reference object type and false colour Corresponding relation, determine that the corresponding target false colour of reference object type of the target reference object is interval;By the infrared heat Image-region where image of the false colour in target false colour interval is defined as the target reference object in image; Extract the profile information of the image-region where the target reference object;Wherein, the profile information is clapped including the target Take the photograph the coordinate of each pixel in the profile of object.
Optionally, referring to Fig. 8, first determining module 503 includes:Second acquisition unit 5031, it is described for obtaining Coordinate transform amount between infrared thermal imaging image and the preview image;Converter unit 5032, for being become according to the coordinate The amount of changing, line translation is entered to the profile information, the profile information after being converted;3rd determining unit 5033, for according to change Profile information after changing, determines the image-region residing for target reference object described in the preview image, obtains target image Region.
Mobile terminal 500 can realize each process that mobile terminal is realized in Fig. 1 to Fig. 2 embodiment of the method, to keep away Exempt to repeat, repeat no more here.
The mobile terminal 500 of the embodiment of the present invention, obtained respectively by acquisition module 501 colour imagery shot and it is infrared heat into The preview image and infrared thermal imaging image gathered as camera to same target reference object;Extraction module 502 extracts institute State the profile information of target reference object described in infrared thermal imaging image;First determining module 503 according to the profile information, Determine the object region where target reference object described in the preview image;Second determining module 504 is according to described Object region, determines exposure parameter;Control module 505 controls the colour imagery shot to perform by the exposure parameter Exposing operation.The infrared thermal imaging image auxiliary that the embodiment of the present invention is gathered by infrared thermal imaging camera determines to take the photograph in colour Object region as where target reference object in the preview image of head, and exposure ginseng is determined according to object region Number, can accurately identify reference object when shooting, so as to ensure that the image exposure of target reference object is relatively reasonable, improve Image exposure effect.
The embodiment of the present invention also provides a kind of mobile terminal, including processor, memory, is stored on the memory simultaneously The computer program that can be run on the processor, realizes above-mentioned exposure when the computer program is by the computing device Each process of control method, and identical technique effect can be reached, to avoid repeating, repeat no more here.
The embodiment of the present invention is also provided and stored on a kind of computer-readable recording medium, the computer-readable recording medium There is computer program, the computer program realizes each process of above-mentioned exposal control method when being executed by processor, and Identical technique effect can be reached, to avoid repeating, is repeated no more here.Wherein, described computer-readable recording medium, such as Read-only storage (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
Referring to Fig. 9, Fig. 9 is the structure chart for the mobile terminal that the present invention implements offer.The mobile terminal can realize Fig. 1 extremely The details of the exposal control method in embodiment shown in Fig. 2, and reach identical effect.As shown in figure 9, the mobile terminal 900 include:At least one processor 901, memory 902, at least one network interface 904 and user interface 903.Mobile terminal Each component in 900 is coupled by bus system 905.It is understood that bus system 905 be used for realize these components it Between connection communication.Bus system 905 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal Bus.But for the sake of clear explanation, various buses are all designated as bus system 905 in fig. 8, mobile terminal 900 is also wrapped Include infrared thermal imaging camera 906 and colour imagery shot 907.In addition, infrared thermal imaging camera 906 and colour imagery shot 907 It is connected by bus system 905 with each component of mobile terminal.
Wherein, user interface 903 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 902 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 902 of system and method described herein be intended to including but not limited to these and it is any its It is adapted to the memory of type.
In some embodiments, memory 902 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 9021 and application program 9022.
Wherein, operating system 9021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for Realize various basic businesses and handle hardware based task.Application program 9022, includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 9022.
In embodiments of the present invention, mobile terminal 900 also includes:Storage on a memory 902 and can be on processor 901 The computer program of operation, can be the computer program in application program 9022, computer program is by processor specifically 901 realize following steps when performing:Colour imagery shot and infrared thermal imaging camera are obtained respectively to same target reference object The preview image and infrared thermal imaging image gathered;Extract the wheel of target reference object described in the infrared thermal imaging image Wide information;According to the profile information, the object region where target reference object described in the preview image is determined; According to the object region, exposure parameter is determined;By the exposure parameter, the colour imagery shot is controlled to perform exposure Operation.
The method that the embodiments of the present invention are disclosed can apply in processor 901, or be realized by processor 901. Processor 901 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 901 or the instruction of software form.Above-mentioned processing Device 901 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 902, processor 901 reads the information in memory 902, the step of completing the above method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized by performing the module (such as process, function) of function described herein herein for software Described technology.Software code is storable in memory and by computing device.Memory can within a processor or Realized outside processor.
Optionally, following steps can be also realized when computer program is performed by processor 901:It will be removed in the preview image All image-regions outside the object region are defined as background image region;The object region is obtained respectively Brightness value and the background image region brightness value;According to the brightness value of the object region and the background image The brightness value in region, determines the exposure parameter;Wherein, the weight of the brightness value of the object region is more than the background The weight of the brightness value of image-region.
Optionally, following steps can be also realized when computer program is performed by processor 901:Obtain the object-image region First brightness value in domain and the first preset target brightness value;The second brightness value and second for obtaining the background image region are preset Target brightness value;The ratio of the first preset target brightness value and first brightness value is calculated, the first ratio is obtained;Calculate The ratio of the second preset target brightness value and second brightness value, obtains the second ratio;By first ratio and institute State the second ratio to be weighted, obtain exposure target value;Exposure parameter is determined according to the exposure target value;Wherein, described The weight of one ratio is more than the weight of second ratio.
Optionally, following steps can be also realized when computer program is performed by processor 901:Determine the target shooting pair The reference object type of elephant;
Accordingly, following steps can be also realized when computer program is performed by processor 901:Based on the reference object class Type, extracts the profile information of target reference object described in the infrared thermal imaging image.
Optionally, following steps can be also realized when computer program is performed by processor 901:According to default reference object The type corresponding relation interval with false colour, determines the corresponding target false colour area of reference object type of the target reference object Between;Image of the false colour in the infrared thermal imaging image in target false colour interval is defined as the target reference object The image-region at place;Extract the profile information of the image-region where the target reference object;Wherein, the profile information The coordinate of each pixel in profile including the target reference object.
Optionally, following steps can be also realized when computer program is performed by processor 901:Obtain the infrared thermal imaging Coordinate transform amount between image and the preview image;According to the coordinate transform amount, line translation is entered to the profile information, Profile information after being converted;According to the profile information after conversion, target reference object described in the preview image is determined Residing image-region, obtains object region.
Mobile terminal 900 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
The mobile terminal 900 of the embodiment of the present invention, obtains colour imagery shot and infrared thermal imaging camera to same respectively Preview image and infrared thermal imaging image that target reference object is gathered;Extract target described in the infrared thermal imaging image The profile information of reference object;According to the profile information, determine described in the preview image where target reference object Object region;According to the object region, exposure parameter is determined;By the exposure parameter, the colour is controlled Camera performs exposing operation.The infrared thermal imaging image that the embodiment of the present invention is gathered by infrared thermal imaging camera aids in true The object region where target reference object in the preview image of colour imagery shot is scheduled on, and it is true according to object region Determine exposure parameter, reference object can be accurately identified when shooting, so as to ensure that the image exposure of target reference object is more closed Reason, improves image exposure effect.
Referring to Figure 10, Figure 10 is the structure chart for the mobile terminal that the present invention implements offer.The mobile terminal can realize Fig. 1 The details of exposal control method into the embodiment shown in Fig. 2, and reach identical effect.
As shown in Figure 10, mobile terminal 1 000 includes radio frequency (Radio Frequency, RF) circuit 1010, memory 1020th, input block 1030, display unit 1040, processor 1050, voicefrequency circuit 1060, communication module 1070, power supply 1080, Colour imagery shot 1090 and infrared thermal imaging camera 10100.
Wherein, input block 1030 can be used for the numeral or character information of reception user's input, and produce and mobile whole The signal input that the user at end 1000 is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 1030 can include contact panel 1031.Contact panel 1031, also referred to as touch-screen, collect user's touching on or near it Operation (such as user uses the operations of any suitable object or annex on contact panel 1031 such as finger, stylus) is touched, and Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 1031 may include touch detecting apparatus and Two parts of touch controller.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the letter that touch operation is brought Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give the processor 1050, and the order sent of reception processing device 1050 and can be performed.Furthermore, it is possible to Contact panel 1031 is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1031, input block 1030 can also include other input equipments 1032, and other input equipments 1032 can include but is not limited to One kind or many in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Wherein, display unit 1040 can be used for information and the movement for showing the information inputted by user or being supplied to user The various menu interfaces of terminal 1000.Display unit 1040 may include display panel 1041, optionally, using LCD or can have The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 1041.
It should be noted that contact panel 1031 can cover display panel 1041, touch display screen is formed, when the touch display screen Detect after the touch operation on or near it, processor 1050 is sent to determine the type of touch event, with post processing Device 1050 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 1050 is the control centre of mobile terminal 1 000, utilizes various interfaces and connection whole mobile phone Various pieces, by operation or perform and be stored in software program and/or module in first memory 1021, and call and deposit The data in second memory 1022 are stored up, the various functions and processing data of mobile terminal 1 000 are performed, so as to mobile whole End 1000 carries out integral monitoring.Optionally, processor 1050 may include one or more processing units.
In embodiments of the present invention, be stored with computer program on first memory 1021, and computer program is by processor 1050 realize following steps when performing:Colour imagery shot and infrared thermal imaging camera are obtained respectively to same target reference object The preview image and infrared thermal imaging image gathered;Extract the wheel of target reference object described in the infrared thermal imaging image Wide information;According to the profile information, the object region where target reference object described in the preview image is determined; According to the object region, exposure parameter is determined;By the exposure parameter, the colour imagery shot is controlled to perform exposure Operation.
Optionally, following steps can be also realized when computer program is performed by processor 1050:By in the preview image All image-regions in addition to the object region are defined as background image region;The object-image region is obtained respectively The brightness value of the brightness value in domain and the background image region;According to the brightness value of the object region and the Background As the brightness value in region, the exposure parameter is determined;Wherein, the weight of the brightness value of the object region is more than the back of the body The weight of the brightness value of scape image-region.
Optionally, following steps can be also realized when computer program is performed by processor 1050:Obtain the target image First brightness value in region and the first preset target brightness value;Obtain the second brightness value of the background image region and second pre- If target brightness value;The ratio of the first preset target brightness value and first brightness value is calculated, the first ratio is obtained;Meter The ratio of the second preset target brightness value and second brightness value is calculated, the second ratio is obtained;By first ratio and Second ratio is weighted, and obtains exposure target value;Exposure parameter is determined according to the exposure target value;Wherein, it is described The weight of first ratio is more than the weight of second ratio.
Optionally, following steps can be also realized when computer program is performed by processor 1050:Determine that the target is shot The reference object type of object;
Accordingly, following steps can be also realized when computer program is performed by processor 1050:Based on the reference object Type, extracts the profile information of target reference object described in the infrared thermal imaging image.
Optionally, following steps can be also realized when computer program is performed by processor 1050:According to default shooting pair As type and the interval corresponding relation of false colour, the corresponding target false colour area of reference object type of the target reference object is determined Between;Image of the false colour in the infrared thermal imaging image in target false colour interval is defined as the target reference object The image-region at place;Extract the profile information of the image-region where the target reference object;Wherein, the profile information The coordinate of each pixel in profile including the target reference object.
Optionally, following steps can be also realized when computer program is performed by processor 1050:Obtain it is described it is infrared heat into As the coordinate transform amount between image and the preview image;According to the coordinate transform amount, the profile information is become Change, the profile information after being converted;According to the profile information after conversion, the shooting pair of target described in the preview image is determined As residing image-region, object region is obtained.
Mobile terminal 1 000 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, this In repeat no more.
The mobile terminal 1 000 of the embodiment of the present invention, obtains colour imagery shot and infrared thermal imaging camera to same respectively Preview image and infrared thermal imaging image that target reference object is gathered;Extract target described in the infrared thermal imaging image The profile information of reference object;According to the profile information, determine described in the preview image where target reference object Object region;According to the object region, exposure parameter is determined;By the exposure parameter, the colour is controlled Camera performs exposing operation.The infrared thermal imaging image that the embodiment of the present invention is gathered by infrared thermal imaging camera aids in true The object region where target reference object in the preview image of colour imagery shot is scheduled on, and it is true according to object region Determine exposure parameter, reference object can be accurately identified when shooting, so as to ensure that the image exposure of target reference object is more closed Reason, improves image exposure effect.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (14)

1. a kind of exposal control method, applied to mobile terminal, it is characterised in that the mobile terminal is taken the photograph including infrared thermal imaging As head and colour imagery shot, methods described includes:
Obtain respectively preview image that colour imagery shot and infrared thermal imaging camera gathered to same target reference object and Infrared thermal imaging image;
Extract the profile information of target reference object described in the infrared thermal imaging image;
According to the profile information, the object region where target reference object described in the preview image is determined;
According to the object region, exposure parameter is determined;
By the exposure parameter, the colour imagery shot is controlled to perform exposing operation.
2. according to the method described in claim 1, it is characterised in that described according to the object region, it is determined that exposure ginseng Number, including:
All image-regions in the preview image in addition to the object region are defined as background image region;
The brightness value of the object region and the brightness value of the background image region are obtained respectively;
According to the brightness value of the object region and the brightness value of the background image region, the exposure parameter is determined;
Wherein, the weight of the brightness value of the object region is more than the weight of the brightness value of the background image region.
3. method according to claim 2, it is characterised in that the brightness value and institute according to the object region The brightness value of background image region is stated, the exposure parameter is determined, including:
Obtain the first brightness value and the first preset target brightness value of the object region;
Obtain the second brightness value and the second preset target brightness value of the background image region;
The ratio of the first preset target brightness value and first brightness value is calculated, the first ratio is obtained;
The ratio of the second preset target brightness value and second brightness value is calculated, the second ratio is obtained;
First ratio and second ratio are weighted, exposure target value is obtained;
The exposure parameter is determined according to the exposure target value;
Wherein, the weight of first ratio is more than the weight of second ratio.
4. according to the method in any one of claims 1 to 3, it is characterised in that obtain colour imagery shot respectively described It is described before the preview image and infrared thermal imaging image that are gathered with infrared thermal imaging camera to same target reference object Method also includes:
Determine the reference object type of the target reference object;
The profile information for extracting target reference object described in the infrared thermal imaging image, including:
Based on the reference object type, the profile information of target reference object described in the infrared thermal imaging image is extracted.
5. method according to claim 4, it is characterised in that described to be based on the reference object type, is extracted described red The profile information of target reference object described in outer graphic images, including:
According to default reference object type and the interval corresponding relation of false colour, the reference object of the target reference object is determined The corresponding target false colour of type is interval;
Image of the false colour in the infrared thermal imaging image in target false colour interval is defined as the target shooting pair As the image-region at place;
Extract the profile information of the image-region where the target reference object;
Wherein, in the profile of the profile information including the target reference object each pixel coordinate.
6. according to the method in any one of claims 1 to 3, it is characterised in that described according to the profile information, it is determined that Object region described in the preview image where target reference object, including:
Obtain the coordinate transform amount between the infrared thermal imaging image and the preview image;
According to the coordinate transform amount, line translation is entered to the profile information, the profile information after being converted;
According to the profile information after conversion, the image-region residing for target reference object described in the preview image is determined, is obtained To object region.
7. a kind of mobile terminal, it is characterised in that the mobile terminal includes infrared thermal imaging camera and colour imagery shot, institute Stating mobile terminal also includes:
Acquisition module, is gathered for obtaining colour imagery shot and infrared thermal imaging camera respectively to same target reference object Preview image and infrared thermal imaging image;
Extraction module, the profile information for extracting target reference object described in the infrared thermal imaging image;
First determining module, for according to the profile information, determining the place of target reference object described in the preview image Object region;
Second determining module, for according to the object region, determining exposure parameter;
Control module, for by the exposure parameter, controlling the colour imagery shot to perform exposing operation.
8. mobile terminal according to claim 7, it is characterised in that second determining module includes:
First determining unit, for all image-regions in the preview image in addition to the object region to be determined For background image region;
First acquisition unit, for obtaining the brightness value of the object region and the brightness of the background image region respectively Value;
Second determining unit, for the brightness value according to the object region and the brightness value of the background image region, Determine the exposure parameter;
Wherein, the weight of the brightness value of the object region is more than the weight of the brightness value of the background image region.
9. mobile terminal according to claim 8, it is characterised in that second determining unit specifically for:
Obtain the first brightness value and the first preset target brightness value of the object region;
Obtain the second brightness value and the second preset target brightness value of the background image region;
The ratio of the first preset target brightness value and first brightness value is calculated, the first ratio is obtained;
The ratio of the second preset target brightness value and second brightness value is calculated, the second ratio is obtained;
First ratio and second ratio are weighted, exposure target value is obtained;
The exposure parameter is determined according to the exposure target value;
Wherein, the weight of first ratio is more than the weight of second ratio.
10. the mobile terminal according to any one of claim 7 to 9, it is characterised in that the mobile terminal also includes:
3rd determining module, for being shot in acquisition colour imagery shot and the infrared thermal imaging camera respectively to same target Before preview image and infrared thermal imaging image that object is gathered, the reference object type of the target reference object is determined;
The extraction module includes:
First extraction unit, is clapped for based on the reference object type, extracting target described in the infrared thermal imaging image Take the photograph the profile information of object.
11. mobile terminal according to claim 10, it is characterised in that first extraction unit specifically for:
According to default reference object type and the interval corresponding relation of false colour, the reference object of the target reference object is determined The corresponding target false colour of type is interval;
Image of the false colour in the infrared thermal imaging image in target false colour interval is defined as the target shooting pair As the image-region at place;
Extract the profile information of the image-region where the target reference object;
Wherein, in the profile of the profile information including the target reference object each pixel coordinate.
12. the mobile terminal according to any one of claim 7 to 9, it is characterised in that the first determining module bag Include:
Second acquisition unit, for obtaining the coordinate transform amount between the infrared thermal imaging image and the preview image;
Converter unit, for according to the coordinate transform amount, line translation to be entered to the profile information, the profile letter after being converted Breath;
3rd determining unit, for according to the profile information after conversion, determining target reference object described in the preview image Residing image-region, obtains object region.
13. a kind of mobile terminal, it is characterised in that including processor, memory is stored on the memory and can be described The computer program run on processor, the computer program is realized during the computing device as in claim 1 to 6 The step of exposal control method described in any one.
14. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, realizes the exposal control method as any one of claim 1 to 6 when the computer program is executed by processor The step of.
CN201710575896.XA 2017-07-14 2017-07-14 A kind of exposal control method and mobile terminal Pending CN107197170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710575896.XA CN107197170A (en) 2017-07-14 2017-07-14 A kind of exposal control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710575896.XA CN107197170A (en) 2017-07-14 2017-07-14 A kind of exposal control method and mobile terminal

Publications (1)

Publication Number Publication Date
CN107197170A true CN107197170A (en) 2017-09-22

Family

ID=59883103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710575896.XA Pending CN107197170A (en) 2017-07-14 2017-07-14 A kind of exposal control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107197170A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995425A (en) * 2017-12-11 2018-05-04 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN108700468A (en) * 2017-09-29 2018-10-23 深圳市大疆创新科技有限公司 Method for checking object, object detection terminal and computer-readable medium
CN109862282A (en) * 2019-02-18 2019-06-07 Oppo广东移动通信有限公司 Character image treating method and apparatus
CN110225244A (en) * 2019-05-15 2019-09-10 华为技术有限公司 A kind of image capturing method and electronic equipment
CN110278378A (en) * 2019-07-12 2019-09-24 易诚高科(大连)科技有限公司 A kind of multi-cam camera system based on infrared photography adjustment
CN110336955A (en) * 2019-07-12 2019-10-15 易诚高科(大连)科技有限公司 A kind of adaptive visible light panoramic shooting system
CN110569822A (en) * 2019-09-16 2019-12-13 深圳市商汤科技有限公司 image processing method and device, electronic equipment and storage medium
CN110730310A (en) * 2019-10-18 2020-01-24 青岛海信移动通信技术股份有限公司 Camera exposure control method and terminal
WO2020051898A1 (en) * 2018-09-14 2020-03-19 浙江宇视科技有限公司 Automatic exposure method and apparatus for dual-light image, and dual-light image camera and machine storage medium
CN112154646A (en) * 2019-03-26 2020-12-29 深圳市大疆创新科技有限公司 Specifying device, imaging system, and moving object
CN112766025A (en) * 2019-11-04 2021-05-07 王英华 Airspace target state data identification system
CN113132643A (en) * 2019-12-30 2021-07-16 Oppo广东移动通信有限公司 Image processing method and related product
CN113138387A (en) * 2020-01-17 2021-07-20 北京小米移动软件有限公司 Image acquisition method and device, mobile terminal and storage medium
CN113747083A (en) * 2020-05-27 2021-12-03 杭州海康威视数字技术股份有限公司 Camera exposure parameter adjusting method, device, system, equipment and storage medium
CN114025095A (en) * 2021-11-10 2022-02-08 维沃移动通信有限公司 Brightness adjusting method and device and electronic equipment
CN114513690A (en) * 2020-10-27 2022-05-17 海信视像科技股份有限公司 Display device and image acquisition method
US12096001B2 (en) 2019-06-25 2024-09-17 Zhejiang Dahua Technology Co., Ltd. Systems and methods for video decoding

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821250A (en) * 2012-08-23 2012-12-12 青岛海信网络科技股份有限公司 Automatic dimming method and device of infrared camera
CN103439002A (en) * 2013-03-17 2013-12-11 高清福 Thermal imaging and temperature measuring system based on smart mobile terminal
WO2016144499A1 (en) * 2015-03-09 2016-09-15 Microsoft Technology Licensing, Llc Filter arrangement for image sensor
CN106131449A (en) * 2016-07-27 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal
EP3095591A1 (en) * 2015-05-19 2016-11-23 MTU Aero Engines GmbH Method and device for detecting at least sections of a contour of a layer of an object obtainable by additive processing
CN106446873A (en) * 2016-11-03 2017-02-22 北京旷视科技有限公司 Face detection method and device
CN106534708A (en) * 2015-09-15 2017-03-22 瑞昱半导体股份有限公司 Wide dynamic range imaging method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821250A (en) * 2012-08-23 2012-12-12 青岛海信网络科技股份有限公司 Automatic dimming method and device of infrared camera
CN103439002A (en) * 2013-03-17 2013-12-11 高清福 Thermal imaging and temperature measuring system based on smart mobile terminal
WO2016144499A1 (en) * 2015-03-09 2016-09-15 Microsoft Technology Licensing, Llc Filter arrangement for image sensor
EP3095591A1 (en) * 2015-05-19 2016-11-23 MTU Aero Engines GmbH Method and device for detecting at least sections of a contour of a layer of an object obtainable by additive processing
CN106534708A (en) * 2015-09-15 2017-03-22 瑞昱半导体股份有限公司 Wide dynamic range imaging method
CN106131449A (en) * 2016-07-27 2016-11-16 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN106446873A (en) * 2016-11-03 2017-02-22 北京旷视科技有限公司 Face detection method and device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108700468A (en) * 2017-09-29 2018-10-23 深圳市大疆创新科技有限公司 Method for checking object, object detection terminal and computer-readable medium
CN107995425A (en) * 2017-12-11 2018-05-04 维沃移动通信有限公司 A kind of image processing method and mobile terminal
US11689785B2 (en) 2018-09-14 2023-06-27 Zhejiang Uniview Technologies Co., Ltd. Dual-spectrum image automatic exposure method and apparatus, and dual-spectrum image camera and machine storage medium
WO2020051898A1 (en) * 2018-09-14 2020-03-19 浙江宇视科技有限公司 Automatic exposure method and apparatus for dual-light image, and dual-light image camera and machine storage medium
CN109862282A (en) * 2019-02-18 2019-06-07 Oppo广东移动通信有限公司 Character image treating method and apparatus
CN112154646A (en) * 2019-03-26 2020-12-29 深圳市大疆创新科技有限公司 Specifying device, imaging system, and moving object
CN110225244A (en) * 2019-05-15 2019-09-10 华为技术有限公司 A kind of image capturing method and electronic equipment
CN110225244B (en) * 2019-05-15 2021-02-09 华为技术有限公司 Image shooting method and electronic equipment
US12096001B2 (en) 2019-06-25 2024-09-17 Zhejiang Dahua Technology Co., Ltd. Systems and methods for video decoding
CN110336955A (en) * 2019-07-12 2019-10-15 易诚高科(大连)科技有限公司 A kind of adaptive visible light panoramic shooting system
CN110278378A (en) * 2019-07-12 2019-09-24 易诚高科(大连)科技有限公司 A kind of multi-cam camera system based on infrared photography adjustment
WO2021051949A1 (en) * 2019-09-16 2021-03-25 深圳市商汤科技有限公司 Image processing method and apparatus, electronic device, and storage medium
CN110569822A (en) * 2019-09-16 2019-12-13 深圳市商汤科技有限公司 image processing method and device, electronic equipment and storage medium
CN110730310A (en) * 2019-10-18 2020-01-24 青岛海信移动通信技术股份有限公司 Camera exposure control method and terminal
CN112766025A (en) * 2019-11-04 2021-05-07 王英华 Airspace target state data identification system
CN113132643A (en) * 2019-12-30 2021-07-16 Oppo广东移动通信有限公司 Image processing method and related product
CN113138387A (en) * 2020-01-17 2021-07-20 北京小米移动软件有限公司 Image acquisition method and device, mobile terminal and storage medium
CN113138387B (en) * 2020-01-17 2024-03-08 北京小米移动软件有限公司 Image acquisition method and device, mobile terminal and storage medium
CN113747083A (en) * 2020-05-27 2021-12-03 杭州海康威视数字技术股份有限公司 Camera exposure parameter adjusting method, device, system, equipment and storage medium
CN114513690A (en) * 2020-10-27 2022-05-17 海信视像科技股份有限公司 Display device and image acquisition method
CN114513690B (en) * 2020-10-27 2024-04-05 海信视像科技股份有限公司 Display device and image acquisition method
CN114025095A (en) * 2021-11-10 2022-02-08 维沃移动通信有限公司 Brightness adjusting method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN107197170A (en) A kind of exposal control method and mobile terminal
CN107395965B (en) A kind of image processing method and mobile terminal
CN105847674B (en) A kind of preview image processing method and mobile terminal based on mobile terminal
CN106060419B (en) A kind of photographic method and mobile terminal
CN107172296A (en) A kind of image capturing method and mobile terminal
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN107197169A (en) A kind of high dynamic range images image pickup method and mobile terminal
CN105227945B (en) Automatic white balance control method and mobile terminal
CN107277481A (en) A kind of image processing method and mobile terminal
CN106027900A (en) Photographing method and mobile terminal
CN107395998A (en) A kind of image capturing method and mobile terminal
CN107465874B (en) A kind of dark current processing method and mobile terminal
CN107231530A (en) A kind of photographic method and mobile terminal
CN105872148A (en) Method and mobile terminal for generating high dynamic range images
CN106506962A (en) A kind of image processing method and mobile terminal
CN107302664A (en) A kind of image pickup method and mobile terminal
CN106791400A (en) A kind of method for displaying image and mobile terminal
CN106713780A (en) Control method for flash lamp and mobile terminal
CN106254682A (en) A kind of photographic method and mobile terminal
CN107395976A (en) A kind of acquisition parameters method to set up and mobile terminal
CN106791438A (en) A kind of photographic method and mobile terminal
CN106488133A (en) A kind of detection method of Moving Objects and mobile terminal
CN106101545A (en) A kind of image processing method and mobile terminal
CN107124543A (en) A kind of image pickup method and mobile terminal
CN106973222A (en) The control method and mobile terminal of a kind of Digital Zoom

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

Application publication date: 20170922

RJ01 Rejection of invention patent application after publication