CN105611186B - Exposure control method and system based on dual cameras - Google Patents

Exposure control method and system based on dual cameras Download PDF

Info

Publication number
CN105611186B
CN105611186B CN201510968804.5A CN201510968804A CN105611186B CN 105611186 B CN105611186 B CN 105611186B CN 201510968804 A CN201510968804 A CN 201510968804A CN 105611186 B CN105611186 B CN 105611186B
Authority
CN
China
Prior art keywords
target image
exposure
area
image
weight
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.)
Expired - Fee Related
Application number
CN201510968804.5A
Other languages
Chinese (zh)
Other versions
CN105611186A (en
Inventor
熊道云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Quanjing Intelligent Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510968804.5A priority Critical patent/CN105611186B/en
Priority to CN201811626472.2A priority patent/CN109660738B/en
Publication of CN105611186A publication Critical patent/CN105611186A/en
Application granted granted Critical
Publication of CN105611186B publication Critical patent/CN105611186B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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/76Circuitry for compensating brightness variation in the scene by influencing the image signals
    • 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

Landscapes

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

Abstract

The invention relates to the technical field of image processing, in particular to an exposure control method and system based on double cameras. The method comprises the following steps: according to the condition of the target image area, determining the exposure weight of a first camera module on a first target image and the exposure weight of a second camera module on a second target image; and controlling and adjusting the light incoming amount of the first camera module and/or the second camera module according to a preset brightness value, so that the exposure brightness values of the first target image and the second target image both meet a preset brightness value range. Therefore, the method and the device can control the exposure degree of each area on the corresponding target image, so that each area on the corresponding target image has proper brightness, and the finally superposed image has high quality, thereby meeting the pursuit of a user on a high-quality image and improving the use experience of the user.

Description

Exposal control method and system based on dual camera
[technical field]
The present invention relates to technical field of image processing more particularly to a kind of exposal control method based on dual camera and it is System.
[background technique]
When traditional photo terminal (such as mobile phone, tablet computer and computer etc.) is taken pictures, use is all single camera Scheme, as people are higher and higher to the requirement taken pictures, the technologies such as high pixel, big pixel, large aperture, G camera lens are enumerated in full detail etc., but seemingly Also it is unable to satisfy the demand of people.And people have found that many animals including humans are all two eyes by observation, Through multiplicating test, discovery eyes ratio with it is simple eye see object it is apparent, thus, people be based on bionics, will take pictures The technical solution that terminal uses dual camera to take pictures.
But picture luminance determines the quality of picture quality, brightness embodies the profile of object in picture, and brightness is exposed It is higher, relatively natural to expose appropriate picture quality for the influence of degree.Therefore, the exposure of dual camera how is controlled to improve figure The quality of piece is at those skilled in the art's problem to be solved.
[summary of the invention]
The purpose of the present invention aims to solve the problem that at least one above-mentioned problem, provides a kind of spectrum assignment based on dual camera Method and system.
To realize the purpose, the present invention adopts the following technical scheme:
The present invention provides a kind of exposal control methods based on dual camera comprising following steps:
According to object region situation, determine the first camera module to the exposure weight of first object image and second Exposure weight of the camera module to the second target image;
According to preset brightness value, control adjusts the entering light of first camera module and/or second camera mould group Amount, makes the exposure brightness value of the first object image and the second target image all meet preset range of luminance values.
Further, described according to preset brightness value, control adjusts first camera module and/or second takes the photograph As the light-inletting quantity of head mould group, the exposure brightness value of the first object image and the second target image is made all to meet preset brightness After the step of being worth range, further includes:
In response to the control instruction of user, the first object image and the superimposed imaging of the second target image are obtained.
Specifically, it is described according to object region situation, determine exposure of first camera module to first object image In the step of light weight and second camera mould group are to the exposure weight of the second target image, comprising:
The first object image is divided into multiple exposure areas, and to each exposure region on first object image Domain setting exposure weighted value;
Second target image is divided into multiple exposure areas, and to each exposure region on the second target image Domain setting exposure weighted value.
Specifically, described be divided into multiple exposure areas for the first object image, and on first object image In the step of each exposure area setting exposure weighted value, comprising:
Using the intermediate region on the first object image as the first exposure region on the first object image, remove Between neighboring area other than region as the second exposure region on the first object image;
Weighted value A, the first object are set by the exposure weight of the first exposure region on the first object image The exposure weight of the second exposure region on image is set as weighted value B;Wherein, weighted value A is greater than weighted value B.
Specifically, described be divided into multiple exposure areas for second target image, and on the second target image In the step of each exposure area setting exposure weighted value, comprising:
Using the intermediate region on second target image as the first exposure region on second target image, remove Between neighboring area other than region as the second exposure region on second target image;Wherein, second target image On the first exposure region and first object image on the first exposure region be the object region on the same area;
Weighted value B is set by the exposure weight of the first exposure region on second target image;And to described The exposure value and/or exposure weight at each position of the second exposure region on two target images are accordingly arranged.
Disclosed in one embodiment according to the present invention, second exposure region on second target image it is each The exposure value and/or exposure weight at position carry out during being accordingly arranged, comprising:
Weighted value A is set by the exposure weight of the second exposure region on second target image.
Disclosed in another embodiment according to the present invention, second exposure region on second target image The exposure value and/or exposure weight at each position carry out during being accordingly arranged, comprising:
A fixed exposure value is set by the continuum in the second exposure region on second target image;
Underface position in the second exposure region on second target image close to the first exposure region is set as weighing Weight values A.
Disclosed in another embodiment according to the present invention, second exposure region on second target image The exposure value and/or exposure weight at each position carry out during being accordingly arranged, comprising:
A fixed exposure value is set by the continuum in the second exposure region on second target image;
Weighted value A is set by the more position of the second exposure region high frequency components on second target image.
Specifically, described according to preset brightness value, control adjusts the process of the light-inletting quantity of first camera module In, comprising:
Obtain the RGB brightness value of first object image in real time by first camera module;
According to the exposure weight of first object image, the current picture brightness value of first object image is calculated;
The current picture brightness value of first object image is compared with preset brightness value, judges working as first object image Whether preceding picture brightness value is consistent with preset range of luminance values;
If it is not, then control light-inletting quantity is adjusted by the shutter in first camera module, so that first object image Picture brightness value be consistent with preset range of luminance values;
If so, the picture brightness value to first object image carries out detecting real-time.
Specifically, described according to preset brightness value, control adjusts the process of the light-inletting quantity of the second camera mould group In, comprising:
Obtain the RGB brightness value of the second target image in real time by the second camera mould group;
According to the exposure weight of the second target image, the current picture brightness value of the second target image is calculated;
The current picture brightness value of second target image is compared with preset brightness value, judges working as the second target image Whether preceding picture brightness value is consistent with preset range of luminance values;
If it is not, then control light-inletting quantity is adjusted by the shutter in the second camera mould group, so that the second target image Picture brightness value be consistent with preset range of luminance values;
If so, the picture brightness value to the second target image carries out detecting real-time.
Further, determine the first camera module to first object image according to object region situation described Exposure weight and second camera mould group to the exposure weight of the second target image the step of before, further includes:
It controls first camera module and second camera mould group carries out initialization process.
Specifically, the control instruction in response to user, obtains the first object image and the second target image is folded In the step of imaging after adding, comprising:
First object image is obtained by first camera module and by second camera mould group acquisition the Two target images;
The first object image and the second target image are subjected to splicing, to form stitching image.
Specifically, described carry out splicing for the first object image and the second target image, to form spliced map In the step of picture, comprising:
The image-region that the first object image is set as A with the weighted value on the second target image is spliced;
Remaining stitching image part selects in the object region at same position the first object image and the The image-region that the larger side of brightness value is exposed on two target images splices.
Correspondingly, the present invention also provides a kind of Exposure Control Modules based on dual camera comprising:
Exposure analysis module, for determining the first camera module to first object figure according to object region situation Exposure weight of the exposure weight and second camera mould group of picture to the second target image;
Control adjustment module, for according to preset brightness value, control to adjust first camera module and/or second The light-inletting quantity of camera module meets the exposure brightness value of the first object image and the second target image all preset bright Angle value range.
Further, system of the present invention, further includes:
Stacking image module obtains the first object image and the second target for the control instruction in response to user Imaging after image superposition.
Specifically, the exposure analysis module includes:
First exposure-processed submodule, for the first object image to be divided into multiple exposure areas, and to first Each exposure area setting exposure weighted value on target image;
Second exposure-processed submodule, for second target image to be divided into multiple exposure areas, and to second Each exposure area setting exposure weighted value on target image.
Specifically, the first exposure-processed submodule includes:
First division unit, for using the intermediate region on the first object image as the first object image The first exposure region, the neighboring area in addition to intermediate region is as the second exposure region on the first object image;
First setup unit, for setting weight for the exposure weight of the first exposure region on the first object image The exposure weight of value A, the second exposure region on the first object image are set as weighted value B;Wherein, weighted value A is greater than power Weight values B.
Specifically, the second exposure-processed submodule includes:
Second division unit, for using the intermediate region on second target image as second target image The first exposure region, the neighboring area in addition to intermediate region is as the second exposure region on second target image;Wherein, The first exposure region on the first exposure region and first object image on second target image is the object region On the same area;
Second setup unit, for setting weight for the exposure weight of the first exposure region on second target image Value B;And exposure value and/or exposure weight progress for each position to the second exposure region on second target image Corresponding setting.
Disclosed in one embodiment according to the present invention, second setup unit includes:
First setting subelement, for the exposure weight of the second exposure region on second target image to be set as weighing Weight values A.
Disclosed in another embodiment according to the present invention, second setup unit includes:
First fixed setting subelement, for setting the continuum in the second exposure region on second target image It is set to a fixed exposure value;
The second setting subelement, for by the second exposure region on second target image close to the first exposure region Underface position is set as weighted value A.
Disclosed in another embodiment according to the present invention, second setup unit includes:
Second fixed setting subelement, for setting the continuum in the second exposure region on second target image It is set to a fixed exposure value;
Third sets subelement, for the portion that the second exposure region high frequency components on second target image are more Position is set as weighted value A.
Specifically, the control adjustment module includes:
First acquisition unit, for obtaining the RGB brightness of first object image in real time by first camera module Value;
First computing unit calculates the current picture of first object image for the exposure weight according to first object image Face brightness value;
First contrast judgement unit, for by the current picture brightness value of first object image and preset brightness value ratio It is right, judge whether the current picture brightness value of first object image is consistent with preset range of luminance values;
If it is not, then control light-inletting quantity is adjusted by the shutter in first camera module, so that first object image Picture brightness value be consistent with preset range of luminance values;
If so, the picture brightness value to first object image carries out detecting real-time.
Specifically, the control adjustment module includes:
Second acquisition unit, for obtaining the RGB brightness of the second target image in real time by the second camera mould group Value;
Second computing unit calculates the current picture of the second target image for the exposure weight according to the second target image Face brightness value;
Second contrast judgement unit, for by the current picture brightness value of the second target image and preset brightness value ratio It is right, judge whether the current picture brightness value of the second target image is consistent with preset range of luminance values;
If it is not, then control light-inletting quantity is adjusted by the shutter in the second camera mould group, so that the second target image Picture brightness value be consistent with preset range of luminance values;
If so, the picture brightness value to the second target image carries out detecting real-time.
Further, system of the present invention, further includes:
Processing module is controlled, is carried out at initialization for controlling first camera module and second camera mould group Reason.
Specifically, the stacking image module includes:
Image acquisition unit, for obtaining first object image by first camera module and by described second Camera module obtains the second target image;
Splicing unit, for the first object image and the second target image to be carried out splicing, to be formed Stitching image.
Specifically, the splicing unit includes:
First splicing subelement, for the weighted value on the first object image and the second target image to be set as A's Image-region is spliced;
Second splicing subelement selects same position place in the object region for remaining stitching image part It states first object image and splices with the image-region for exposing the larger side of brightness value on the second target image.
Compared with prior art, the present invention has following advantage:
The present invention can determine that the first camera module weighs the exposure of first object image according to object region situation Weight and second camera mould group to the exposure weight of the second target image, then control adjust first camera module and/ Or the light-inletting quantity of second camera mould group, meet the exposure brightness value of the first object image and the second target image all in advance If range of luminance values, and then make the first object image and the second target image it is superimposed imaging have better quality, Pursuit with further satisfaction user to high quality graphic improves the using experience degree of user.
In addition, the first object image can be also divided into multiple exposure areas by the present invention, and to first object image On each exposure area setting exposure weighted value, and second target image is divided into multiple exposure areas, and To each exposure area setting exposure weighted value on the second target image, and then realize to the area respective objects image Shang Ge The control of domain exposure further improves final so that each region part of the image being ultimately imaged all has appropriate brightness The quality of image.
Correspondingly, the weighted value on the first object image and the second target image can be also set as the figure of A by the present invention As region is spliced, and the image-region that the first object image is set as A with the weighted value on the second target image is mutual The region of benefit, thus, can each section region in final superimposed imaging all there is appropriate brightness, avoid because of list The partial exposure blind area of one camera and influence the quality being ultimately imaged, further improve the quality of final image.
Therefore, the present invention can control the depth of exposure in each section region on respective objects image, so that respective objects image Upper each region part all has appropriate brightness, and then makes finally to be superimposed the image quality with higher generated, to meet Pursuit of the user to high quality graphic, improves the using experience degree of user.
[Detailed description of the invention]
Fig. 1 is the program flow diagram of one embodiment of the exposal control method based on dual camera in the present invention;
Fig. 2 is the program flow diagram of one embodiment of the exposal control method based on dual camera in the present invention;
Fig. 3 is the program flow diagram of one embodiment of the exposal control method based on dual camera in the present invention;
Fig. 4 is the program flow diagram of one embodiment of the exposal control method based on dual camera in the present invention;
Fig. 5 is the program flow diagram of one embodiment of the exposal control method based on dual camera in the present invention;
Fig. 6 is the structural block diagram of one embodiment of the Exposure Control Module based on dual camera in the present invention;
Fig. 7 is the knot of one embodiment of exposure analysis module in the Exposure Control Module based on dual camera in the present invention Structure block diagram;
Fig. 8 is an implementation of the first exposure-processed submodule in the Exposure Control Module based on dual camera in the present invention The structural block diagram of example;
Fig. 9 is an implementation of the second exposure-processed submodule in the Exposure Control Module based on dual camera in the present invention The structural block diagram of example;
Figure 10 is one embodiment of control adjustment module in the Exposure Control Module based on dual camera in the present invention Structural block diagram;
Figure 11 is one embodiment of control adjustment module in the Exposure Control Module based on dual camera in the present invention Structural block diagram;
Figure 12 is the structural block diagram of one embodiment of the Exposure Control Module based on dual camera in the present invention;
Figure 13 is one embodiment of stacking image module in the Exposure Control Module based on dual camera in the present invention Structural block diagram.
[specific embodiment]
The present invention is further described with exemplary embodiment with reference to the accompanying drawing, the examples of the embodiments are attached It is shown in figure, in which the same or similar labels are throughly indicated same or similar element or there is same or like function Element.The embodiments described below with reference to the accompanying drawings are exemplary, for explaining only the invention, and cannot be construed to pair Limitation of the invention.In addition, if the detailed description of known technology is for showing the invention is characterized in that unnecessary, then by it It omits.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware Equipment, have on bidirectional communication link, can execute two-way communication reception and emit hardware equipment.This equipment It may include: honeycomb or other communication equipments, shown with single line display or multi-line display or without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can With combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
Those skilled in the art of the present technique are appreciated that server used herein above, cloud, remote network devices etc. are general It reads, there is effects equivalent comprising but it is not limited to computer, network host, single network server, multiple network server collection Or the cloud that multiple servers are constituted.Here, cloud is by a large amount of computers or network clothes based on cloud computing (Cloud Computing) Business device is constituted, wherein cloud computing is one kind of distributed computing, and one consisting of a loosely coupled set of computers super Virtual machine.It, can be by any logical between remote network devices, terminal device and WNS server in the embodiment of the present invention Letter mode realizes communication, including but not limited to, mobile communication based on 3GPP, LTE, WIMAX, based on TCP/IP, udp protocol Computer network communication and low coverage wireless transmission method based on bluetooth, Infrared Transmission standard.
It is necessary to first carry out following guiding explanation to application scenarios of the invention and its principle.
In internet, user terminal (customer mobile terminal), network and the server (Web server of such as website are generally comprised Deng).Wherein user terminal can be the internet mobile terminal of user, such as desktop computer (PC), laptop computer (Laptop), band There are the smart machines of web page browsing function, such as personal digital assistant (Personal Digital Assisstant, PDA), with And mobile internet device (Mobile Internet Device, MID) and smart phone (Phone) etc..These mobile terminals Can be in internet environment, typical as in the Internet environment, request is by another process (process that such as server provides) A certain service is provided.
Server is usually can be by telecommunication medias such as internets, the typical remote computer system accessed such as internet System.Moreover, a plurality of clients of the server typically from internet provide service.There is provided service process includes receiving to use User terminal information and feedback information etc. are collected in the request that family end is sent.Substantially, the information that server serves as computer network mentions This role of donor.Server is usually located at a side of the service of offer, or is configured by service provider with service content, such Service provider can such as Internet service company website.
The application scenarios of method and terminal of the invention are to be suitable for information, data receiver and the information of processing Processor is controller described below, such as CPU etc., to be suitable for Image Acquisition, transmission and the video sensor of information processing Device be hereinafter the first camera module with illustrate for second camera mould group, such as various intelligent cameras Head etc..Wherein it is equipped on the first camera module and second camera mould group and each controller through network implementations data interaction Application program.It should be noted that the description is merely exemplary, the scope of the present invention is not limited to this.
It will be detailed below several skills of the invention proposed to realize above-mentioned scene with above-mentioned principle The specific embodiment of art scheme.It should be noted that the present invention provides a kind of exposal control method based on dual camera, This method is described from the visual angle of controller, can will be embodied as by the exposal control method of dual camera by programming based on Calculation machine program is realized in intelligent camera terminal comprising but be not limited to intelligent camera, mobile phone, tablet computer, desktop computer, Laptop, various recorders or with camera function other terminals etc..
Refer to attached drawing 1, a kind of exemplary embodiments of the exposal control method based on dual camera of the present invention, packet Include following steps:
S100 determines the first camera module to the exposure weight of first object image according to object region situation And second camera mould group is to the exposure weight of the second target image.
Specifically, referring to attached drawing 2, according to object region situation, determine the first camera module to first object The exposure weight and second camera mould group of image to the process of the exposure weight of the second target image, comprising steps of
The first object image is divided into multiple exposure areas by S200, and to each described on first object image Exposure area setting exposure weighted value.
Specifically, first being exposed the intermediate region on the first object image as first on the first object image Light area, the neighboring area in addition to intermediate region is as the second exposure region on the first object image;Then, by described The exposure weight of the first exposure region on one target image is set as weighted value A, the second exposure on the first object image The exposure weight in area is set as weighted value B;Wherein, weighted value A is greater than weighted value B.Because one below among image and in image As be the more interested content of viewer, therefore, the rate of exchange neighboring area that the exposure weight of intermediate region is arranged is higher, It is the picture quality in order to improve intermediate region, meets the visual custom of viewer.
Second target image is divided into multiple exposure areas by S210, and to each described on the second target image Exposure area setting exposure weighted value.
Specifically, first being exposed the intermediate region on second target image as first on second target image Light area, the neighboring area in addition to intermediate region is as the second exposure region on second target image;Wherein, described second The first exposure region on target image is same on the object region with the first exposure region on first object image Region;Then, weighted value B is set by the exposure weight of the first exposure region on second target image;And to described The exposure value and/or exposure weight at each position of the second exposure region on the second target image are accordingly arranged.
It wherein, in one embodiment of the invention, can be by the exposure of the second exposure region on second target image Weight is set as weighted value A.
It in yet another embodiment of the present invention, can first will be continuous in the second exposure region on second target image Region is set as a fixed exposure value;Again just by the first exposure region close in the second exposure region on second target image Lower portion is set as weighted value A.
It in yet another embodiment of the present invention, can first will be continuous in the second exposure region on second target image Region is set as a fixed exposure value;The position that the second exposure region high frequency components on second target image are more again It is set as weighted value A.
It should be noted that above-mentioned weighted value A is greater than weighted value B, the exposure weight of second target image is using upper The mode of stating is arranged, and it is complementary to be set as the image-region forming region of A with the weighted value on the first object image, Jin Erke Make each section region in final superimposed imaging that all there is appropriate brightness, avoids because the part of single camera exposes Light blind area and influence the quality being ultimately imaged, to improve the quality of final image.In addition, step S200 and step S210 are without certainty Sequencing point, can either synchronously or asynchronously carry out.
Further, attached drawing 1 is referred to, the invention also includes step S110, according to preset brightness value, control adjustment institute The light-inletting quantity for stating the first camera module and/or second camera mould group makes the first object image and the second target image Exposure brightness value all meet preset range of luminance values.Wherein, the first object image and the second target image can be made It is all equal with preset brightness value to expose brightness value, the exposure brightness of the first object image and the second target image can also be made It is worth all in preset range of luminance values namely the exposure brightness value of the first object image and the second target image is all pre- If threshold range in;In addition, the light-inletting quantity of the first camera module and/or second camera mould group is fast by control adjustment Door is realized.
Specifically, the step includes described according to preset brightness value, control adjust first camera module into Light quantity, and control adjust light-inletting quantity two parts process of the second camera mould group;Wherein, attached drawing 3, the control are referred to The process that system adjusts the light-inletting quantity of first camera module includes: firstly, being obtained in real time by first camera module The RGB brightness value of first object image is taken, then, according to the exposure weight of first object image, calculates first object image The current picture brightness value of first object image is compared with preset brightness value, judges first object by current picture brightness value Whether the current picture brightness value of image is consistent with preset range of luminance values, if it is not, then passing through first camera module On shutter adjust control light-inletting quantity so that the picture brightness value of first object image is consistent with preset range of luminance values, if It is that detecting real-time then is carried out to the picture brightness value of first object image;It is carried out in the picture brightness value to first object image During detecting real-time, mainly detect whether its picture brightness is greater than preset threshold;It is greater than in advance when detecting picture brightness If when threshold value, i.e., can return to the exposure weight according to first object image again, calculate the current picture brightness of first object image Then the program of value carries out down-stream in succession again, with this come ensure the picture brightness value of first object image with it is preset bright Angle value range is consistent.
Similarly, control adjusts the light-inletting quantity of the second camera mould group and control adjusts first camera module The principle process of light-inletting quantity is the same;And control adjusts light-inletting quantity and the control adjustment described first of the second camera mould group Point of the two processes of the light-inletting quantity of camera module without inevitable sequencing, can synchronize also asynchronous execution.
Further, attached drawing 4 is referred to, method of the present invention further comprises the steps of:
S120 obtains the first object image and the second target image is superimposed in response to the control instruction of user Imaging.
Specifically, referring to attached drawing 5, the control instruction in response to user obtains the first object image and The process of the superimposed imaging of two target images, comprising steps of
S500 obtains first object image by first camera module and is obtained by the second camera mould group Take the second target image.
Specifically, the controller can obtain preferable exposure by the first camera module of control and second camera mould group The first object image and the second target image of brightness, it is ensured that each section area on first object image and the second target image Domain all has preferably exposure brightness, to ensure spliced imaging quality with higher.
The first object image and the second target image are carried out splicing, to form stitching image by S510.
Specifically, the weighted value on the first object image and the second target image is first set as A's when splicing Image-region is spliced, and then, remaining stitching image part selects in the object region described the at same position One target image splices with the image-region for exposing the larger side of brightness value on the second target image.The process can ensure that most Each region part of the image being imaged eventually all has preferable brightness, and then improves the quality of final image.
Further, attached drawing 4 is referred to, method of the present invention further comprises the steps of:
S130, controls first camera module and second camera mould group carries out initialization process.
Specifically, first camera module and second camera mould group all have sensor, initialization is mainly phase The initialization of inductive sensing device;The initialization procedure can ensure that first object image and the exposure brightness of the second target image etc. are related Data it is accurate.
The present invention can determine that the first camera module weighs the exposure of first object image according to object region situation Weight and second camera mould group to the exposure weight of the second target image, then control adjust first camera module and/ Or the light-inletting quantity of second camera mould group, meet the exposure brightness value of the first object image and the second target image all in advance If range of luminance values, and then make the first object image and the second target image it is superimposed imaging have better quality, Pursuit with further satisfaction user to high quality graphic improves the using experience degree of user.
In addition, the first object image can be also divided into multiple exposure areas by the present invention, and to first object image On each exposure area setting exposure weighted value, and second target image is divided into multiple exposure areas, and To each exposure area setting exposure weighted value on the second target image, and then realize to the area respective objects image Shang Ge The control of domain exposure further improves final so that each region part of the image being ultimately imaged all has appropriate brightness The quality of image.
Meanwhile the weighted value on the first object image and the second target image can be also set as the image of A by the present invention Region is spliced, and the image-region that the first object image is set as A with the weighted value on the second target image is complementary Region, thus, can each section region in final superimposed imaging all there is appropriate brightness, avoid because single The partial exposure blind area of camera and influence the quality being ultimately imaged, further improve the quality of final image.
Correspondingly, the function modoularization thinking according to computer software, the present invention also provides one kind to be based on dual camera Exposure Control Module namely a kind of controller of the exposal control method based on dual camera.Attached drawing 6 is referred to, is had below Body discloses the concrete function that the module that this system includes and each module are realized.The system includes:
Exposure analysis module 11, for determining the first camera module to first object according to object region situation Exposure weight of the exposure weight and second camera mould group of image to the second target image.
Specifically, referring to attached drawing 7, the exposure analysis module 11 includes:
First exposure-processed submodule 111, for the first object image to be divided into multiple exposure areas, and to Each exposure area setting exposure weighted value on one target image.
Wherein, attached drawing 8 is referred to, the first exposure-processed submodule 111 includes:
First division unit 101, for using the intermediate region on the first object image as the first object figure As the first upper exposure region, the neighboring area in addition to intermediate region is as the second exposure region on the first object image.
First setup unit 103, for setting the exposure weight of the first exposure region on the first object image to The exposure weight of weighted value A, the second exposure region on the first object image are set as weighted value B;Wherein, weighted value A is big In weighted value B.
It should be noted that because lower section is usually the more interested content of viewer among image and in image, because This, it is to improve centre that the rate of exchange neighboring area that the exposure weight of intermediate region is arranged the first setup unit 103 is higher The picture quality in region meets the visual custom of viewer.
Second exposure-processed submodule 112, for second target image to be divided into multiple exposure areas, and to Each exposure area setting exposure weighted value on two target images.
Wherein, attached drawing 9 is referred to, the second exposure-processed submodule 112 includes:
Second division unit 102, for using the intermediate region on second target image as the second target figure As the first upper exposure region, the neighboring area in addition to intermediate region is as the second exposure region on second target image; Wherein, the first exposure region on second target image and the first exposure region on first object image are the target image The same area on region.
Second setup unit 104, for setting the exposure weight of the first exposure region on second target image to Weighted value B;And exposure value and/or exposure weight for each position to the second exposure region on second target image Accordingly it is arranged.
In one embodiment of the invention, second setup unit 104 includes: the first setting subelement, and being used for will The exposure weight of the second exposure region on second target image is set as weighted value A.
In yet another embodiment of the present invention, second setup unit 104 includes: the first fixed setting subelement, For setting a fixed exposure value for the continuum in the second exposure region on second target image;Second setting Unit, for the underface position in the second exposure region on second target image close to the first exposure region to be set as weighing Weight values A.
In yet another embodiment of the present invention, second setup unit 104 includes: the second fixed setting subelement, For setting a fixed exposure value for the continuum in the second exposure region on second target image;Third setting Unit, for setting weighted value A for the more position of the second exposure region high frequency components on second target image.
It should be noted that weighted value A is greater than weighted value B, the exposure of second target image in above three embodiments Light weight is arranged using above-mentioned three kinds of modes, and the image-region shape of A can be set as with the weighted value on the first object image At region complementation, and then can make each section region in final superimposed imaging that all there is appropriate brightness, avoid because The partial exposure blind area of single camera and influence the quality being ultimately imaged, to improve the quality of final image.
Control adjustment module 12, for according to preset brightness value, control adjusts first camera module and/or the The light-inletting quantity of two camera modules meets the exposure brightness value of the first object image and the second target image all preset Range of luminance values.Wherein, can make the exposure brightness value of the first object image and the second target image all with preset brightness It is worth equal, can also makes the exposure brightness value of the first object image and the second target image all in preset range of luminance values The exposure brightness value of the interior namely described first object image and the second target image is all in preset threshold range;In addition, the The light-inletting quantity of one camera module and/or second camera mould group is realized by control adjustment shutter.
Specifically, attached drawing 10 is referred to, it is described during control adjusts the light-inletting quantity of first camera module The functional module of its effect includes in control adjustment module 12:
First acquisition unit 121, the RGB for obtaining first object image in real time by first camera module are bright Angle value.
First computing unit 123 calculates the current of first object image for the exposure weight according to first object image Picture brightness value.
First contrast judgement unit 125, for by the current picture brightness value of first object image and preset brightness value It compares, judges whether the current picture brightness value of first object image is consistent with preset range of luminance values;If it is not, then passing through institute State shutter in the first camera module and adjust control light-inletting quantity so that the picture brightness value of first object image with it is preset bright Angle value range is consistent;If so, the picture brightness value to first object image carries out detecting real-time.
Meanwhile attached drawing 11 is referred to, and during control adjusts the light-inletting quantity of the second camera mould group, the control The functional module of its effect includes in system adjustment module 12:
Second acquisition unit 122, the RGB for obtaining the second target image in real time by the second camera mould group are bright Angle value.
Second computing unit 124 calculates the current of the second target image for the exposure weight according to the second target image Picture brightness value.
Second contrast judgement unit 126, for by the current picture brightness value of the second target image and preset brightness value It compares, judges whether the current picture brightness value of the second target image is consistent with preset range of luminance values;If it is not, then passing through institute State shutter in second camera mould group and adjust control light-inletting quantity so that the picture brightness value of the second target image with it is preset bright Angle value range is consistent;If so, the picture brightness value to the second target image carries out detecting real-time.
It should be noted that control adjusts light-inletting quantity and control adjustment first camera shooting of the second camera mould group The principle process of the light-inletting quantity of head mould group is the same;And control adjusts adjusting with control for the light-inletting quantity of the second camera mould group Related function module of the light-inletting quantity of whole first camera module during the two without inevitable successive job order it Point, also asynchronous execution can be synchronized.
Further, attached drawing 12, system of the present invention are referred to, further includes:
Stacking image module 13 obtains the first object image and the second mesh for the control instruction in response to user The superimposed imaging of logo image.
Specifically, referring to attached drawing 13, the stacking image module 13 includes:
Image acquisition unit 131, for obtaining first object image by first camera module and by described Second camera mould group obtains the second target image.
Specifically, described image acquiring unit 131 can by control the first camera module and second camera mould group come Obtain the first object image and the second target image of preferably exposure brightness, it is ensured that on first object image and the second target image Each section region all there is preferably exposure brightness, to ensure spliced imaging quality with higher.
Splicing unit 132, for the first object image and the second target image to be carried out splicing, with shape At stitching image.
Wherein, the splicing unit 132 includes: the first splicing subelement, for by the first object image with The image-region that weighted value on second target image is set as A is spliced;Second splicing subelement, for remaining stitching image Part selects to expose brightness on the first object image and the second target image at same position in the object region The image-region for being worth a larger side splices.The splicing unit 132 can ensure that each region part of the image being ultimately imaged All there is preferable brightness, and then improve the quality of final image
Further, attached drawing 12, system of the present invention are referred to, further includes:
Processing module 14 is controlled, is carried out at initialization for controlling first camera module and second camera mould group Reason.
Specifically, first camera module and second camera mould group all have sensor, the control processing module 14 mainly control the initialization of respective sensor;The control processing module 14 can ensure that first object image and the second target figure Picture exposes the accurate of the related datas such as brightness.
The present invention can determine that the first camera module weighs the exposure of first object image according to object region situation Weight and second camera mould group to the exposure weight of the second target image, then control adjust first camera module and/ Or the light-inletting quantity of second camera mould group, meet the exposure brightness value of the first object image and the second target image all in advance If range of luminance values, and then make the first object image and the second target image it is superimposed imaging have better quality, Pursuit with further satisfaction user to high quality graphic improves the using experience degree of user.
In addition, the first object image can be also divided into multiple exposure areas by the present invention, and to first object image On each exposure area setting exposure weighted value, and second target image is divided into multiple exposure areas, and To each exposure area setting exposure weighted value on the second target image, and then realize to the area respective objects image Shang Ge The control of domain exposure further improves final so that each region part of the image being ultimately imaged all has appropriate brightness The quality of image.
Meanwhile the weighted value on the first object image and the second target image can be also set as the image of A by the present invention Region is spliced, and the image-region that the first object image is set as A with the weighted value on the second target image is complementary Region, thus, can each section region in final superimposed imaging all there is appropriate brightness, avoid because single The partial exposure blind area of camera and influence the quality being ultimately imaged, further improve the quality of final image.
In the instructions provided here, although the description of a large amount of detail.It is to be appreciated, however, that of the invention Embodiment can practice without these specific details.In some embodiments, it is not been shown in detail well known Methods, structures and technologies, so as not to obscure the understanding of this specification.
Although having been illustrated with some exemplary embodiments of the invention above, those skilled in the art will be managed Solution, in the case where not departing from the principle of the present invention or spirit, can make a change these exemplary embodiments, of the invention Range is defined by the claims and their equivalents.

Claims (18)

1.一种基于双摄像头的曝光控制方法,其特征在于,包括以下步骤:1. an exposure control method based on dual cameras, is characterized in that, comprises the following steps: 根据目标图像区域情况,确定第一摄像头模组对第一目标图像的曝光权重及第二摄像头模组对第二目标图像的曝光权重;Determine the exposure weight of the first camera module to the first target image and the exposure weight of the second camera module to the second target image according to the situation of the target image area; 根据预设的亮度值,控制调整所述第一摄像头模组和/或第二摄像头模组的进光量,使所述第一目标图像与第二目标图像的曝光亮度值皆满足预设的亮度值范围;According to the preset brightness value, control and adjust the light input amount of the first camera module and/or the second camera module, so that the exposure brightness values of the first target image and the second target image both meet the preset brightness value range; 响应于用户的控制指令,获取所述第一目标图像与第二目标图像叠加后的成像;In response to the user's control instruction, acquiring the superimposed imaging of the first target image and the second target image; 所述根据目标图像区域情况,确定第一摄像头模组对第一目标图像的曝光权重及第二摄像头模组对第二目标图像的曝光权重的步骤中,包括:The step of determining the exposure weight of the first camera module to the first target image and the exposure weight of the second camera module to the second target image according to the target image area includes: 将所述第一目标图像划分为多个曝光区域,并对第一目标图像上的各所述曝光区域设置曝光权重值;dividing the first target image into a plurality of exposure areas, and setting an exposure weight value for each of the exposure areas on the first target image; 将所述第二目标图像划分为多个曝光区域,并对第二目标图像上的各所述曝光区域设置曝光权重值;dividing the second target image into a plurality of exposure areas, and setting an exposure weight value for each of the exposure areas on the second target image; 所述将所述第一目标图像划分为多个曝光区域,并对第一目标图像上的各所述曝光区域设置曝光权重值的步骤中,包括:The step of dividing the first target image into a plurality of exposure areas and setting an exposure weight value for each of the exposure areas on the first target image includes: 将所述第一目标图像上的中间区域作为所述第一目标图像上的第一曝光区,除中间区域以外的周边区域作为所述第一目标图像上的第二曝光区;taking the middle area on the first target image as the first exposure area on the first target image, and the peripheral area except the middle area as the second exposure area on the first target image; 将所述第一目标图像上的第一曝光区的曝光权重设置为权重值A,所述第一目标图像上的第二曝光区的曝光权重设置为权重值B;其中,权重值A大于权重值B;The exposure weight of the first exposure area on the first target image is set to the weight value A, and the exposure weight of the second exposure area on the first target image is set to the weight value B; wherein, the weight value A is greater than the weight value valueB; 所述将所述第二目标图像划分为多个曝光区域,并对第二目标图像上的各所述曝光区域设置曝光权重值的步骤中,包括:The step of dividing the second target image into a plurality of exposure areas and setting exposure weight values for each of the exposure areas on the second target image includes: 将所述第二目标图像上的中间区域作为所述第二目标图像上的第一曝光区,除中间区域以外的周边区域作为所述第二目标图像上的第二曝光区;其中,所述第二目标图像上的第一曝光区与第一目标图像上的第一曝光区为所述目标图像区域上的同一区域;The middle area on the second target image is used as the first exposure area on the second target image, and the peripheral area except the middle area is used as the second exposure area on the second target image; wherein, the The first exposure area on the second target image and the first exposure area on the first target image are the same area on the target image area; 将所述第二目标图像上的第一曝光区的曝光权重设置为权重值B;以及对所述第二目标图像上的第二曝光区的各部位的曝光值和/或曝光权重进行相应设置。Setting the exposure weight of the first exposure area on the second target image as weight value B; and setting the exposure value and/or exposure weight of each part of the second exposure area on the second target image accordingly . 2.如权利要求1所述的方法,其特征在于,所述对所述第二目标图像上的第二曝光区的各部位的曝光值和/或曝光权重进行相应设置的过程中,包括:2. The method according to claim 1, wherein the process of correspondingly setting the exposure value and/or the exposure weight of each part of the second exposure area on the second target image comprises: 将所述第二目标图像上的第二曝光区的曝光权重设置为权重值A。The exposure weight of the second exposure area on the second target image is set as the weight value A. 3.如权利要求1所述的方法,其特征在于,所述对所述第二目标图像上的第二曝光区的各部位的曝光值和/或曝光权重进行相应设置的过程中,包括:3. The method according to claim 1, wherein the process of correspondingly setting the exposure value and/or the exposure weight of each part of the second exposure area on the second target image comprises: 将所述第二目标图像上的第二曝光区中的连续区域设置为一固定曝光值;setting the continuous area in the second exposure area on the second target image to a fixed exposure value; 将所述第二目标图像上的第二曝光区中靠近第一曝光区的正下方部位设置为权重值A。The weight value A is set as the weight value A in the second exposure area on the second target image that is directly below the first exposure area. 4.如权利要求1所述的方法,其特征在于,所述对所述第二目标图像上的第二曝光区的各部位的曝光值和/或曝光权重进行相应设置的过程中,包括:4. The method according to claim 1, wherein the process of correspondingly setting the exposure value and/or exposure weight of each part of the second exposure area on the second target image comprises: 将所述第二目标图像上的第二曝光区中的连续区域设置为一固定曝光值;setting the continuous area in the second exposure area on the second target image to a fixed exposure value; 将所述第二目标图像上的第二曝光区中高频分量较多的部位设置为权重值A。The weight value A is set as the part with more high frequency components in the second exposure area on the second target image. 5.如权利要求1所述的方法,其特征在于,所述根据预设的亮度值,控制调整所述第一摄像头模组的进光量的过程中,包括:5. The method of claim 1, wherein the process of controlling and adjusting the light input amount of the first camera module according to a preset brightness value comprises: 通过所述第一摄像头模组实时获取第一目标图像的RGB亮度值;Obtain the RGB luminance value of the first target image in real time through the first camera module; 根据第一目标图像的曝光权重,计算第一目标图像的当前画面亮度值;Calculate the current screen brightness value of the first target image according to the exposure weight of the first target image; 将第一目标图像的当前画面亮度值与预设的亮度值比对,判断第一目标图像的当前画面亮度值与预设的亮度值范围是否相符;Comparing the current image brightness value of the first target image with the preset brightness value, and determining whether the current image brightness value of the first target image is consistent with the preset brightness value range; 若否,则通过所述第一摄像头模组上的快门调节控制进光量,以使第一目标图像的画面亮度值与预设的亮度值范围相符;If not, adjusting and controlling the amount of incoming light through the shutter on the first camera module, so that the screen brightness value of the first target image is consistent with the preset brightness value range; 若是,则对第一目标图像的画面亮度值进行实时侦测。If so, the screen brightness value of the first target image is detected in real time. 6.如权利要求1所述的方法,其特征在于,所述根据预设的亮度值,控制调整所述第二摄像头模组的进光量的过程中,包括:6. The method of claim 1, wherein the process of controlling and adjusting the light input amount of the second camera module according to a preset brightness value comprises: 通过所述第二摄像头模组实时获取第二目标图像的RGB亮度值;Obtain the RGB luminance value of the second target image in real time through the second camera module; 根据第二目标图像的曝光权重,计算第二目标图像的当前画面亮度值;Calculate the current screen brightness value of the second target image according to the exposure weight of the second target image; 将第二目标图像的当前画面亮度值与预设的亮度值比对,判断第二目标图像的当前画面亮度值与预设的亮度值范围是否相符;Comparing the current screen brightness value of the second target image with the preset brightness value, and determining whether the current screen brightness value of the second target image is consistent with the preset brightness value range; 若否,则通过所述第二摄像头模组上的快门调节控制进光量,以使第二目标图像的画面亮度值与预设的亮度值范围相符;If not, adjusting and controlling the amount of incoming light through the shutter on the second camera module, so that the screen brightness value of the second target image is consistent with the preset brightness value range; 若是,则对第二目标图像的画面亮度值进行实时侦测。If so, the screen brightness value of the second target image is detected in real time. 7.如权利要求1所述的方法,其特征在于,在所述根据目标图像区域情况,确定第一摄像头模组对第一目标图像的曝光权重及第二摄像头模组对第二目标图像的曝光权重的步骤之前,还包括:7. The method according to claim 1, wherein, in the described according to the target image area situation, determine the exposure weight of the first camera module to the first target image and the second camera module to the second target image. Before the steps of exposure weighting, also include: 控制所述第一摄像头模组与第二摄像头模组进行初始化处理。The first camera module and the second camera module are controlled to perform initialization processing. 8.如权利要求2~4任一项所述的方法,其特征在于,所述响应于用户的控制指令,获取所述第一目标图像与第二目标图像叠加后的成像的步骤中,包括:8. The method according to any one of claims 2 to 4, wherein, in the step of acquiring the image after the first target image and the second target image are superimposed in response to a user's control instruction, comprising: : 通过所述第一摄像头模组获取第一目标图像及通过所述第二摄像头模组获取第二目标图像;Obtaining a first target image through the first camera module and obtaining a second target image through the second camera module; 将所述第一目标图像与第二目标图像进行拼接处理,以形成拼接图像。The first target image and the second target image are stitched to form a stitched image. 9.如权利要求8所述的方法,其特征在于,所述将所述第一目标图像与第二目标图像进行拼接处理,以形成拼接图像的步骤中,包括:9. The method of claim 8, wherein the step of performing splicing processing on the first target image and the second target image to form a spliced image comprises: 将所述第一目标图像与第二目标图像上的权重值设为A的图像区域进行拼接;The first target image and the weight value on the second target image are set as the image area of A for splicing; 剩余拼接图像部分选择所述目标图像区域中同一位置处所述第一目标图像与第二目标图像上曝光亮度值较大一方的图像区域进行拼接。The remaining spliced image portion selects an image area with a larger exposure brightness value on the first target image and the second target image at the same position in the target image area for splicing. 10.一种基于双摄像头的曝光控制系统,其特征在于,包括:10. A dual-camera-based exposure control system, comprising: 曝光分析模块,用于根据目标图像区域情况,确定第一摄像头模组对第一目标图像的曝光权重及第二摄像头模组对第二目标图像的曝光权重;an exposure analysis module, configured to determine the exposure weight of the first camera module to the first target image and the exposure weight of the second camera module to the second target image according to the situation of the target image area; 控制调整模块,用于根据预设的亮度值,控制调整所述第一摄像头模组和/或第二摄像头模组的进光量,使所述第一目标图像与第二目标图像的曝光亮度值皆满足预设的亮度值范围;The control and adjustment module is used to control and adjust the light input amount of the first camera module and/or the second camera module according to the preset brightness value, so that the exposure brightness values of the first target image and the second target image are All meet the preset brightness value range; 叠加成像模块,用于响应于用户的控制指令,获取所述第一目标图像与第二目标图像叠加后的成像;a superimposed imaging module, configured to acquire the superimposed imaging of the first target image and the second target image in response to a user's control instruction; 所述曝光分析模块包括:The exposure analysis module includes: 第一曝光处理子模块,用于将所述第一目标图像划分为多个曝光区域,并对第一目标图像上的各所述曝光区域设置曝光权重值;a first exposure processing sub-module, configured to divide the first target image into a plurality of exposure areas, and set an exposure weight value for each of the exposure areas on the first target image; 第二曝光处理子模块,用于将所述第二目标图像划分为多个曝光区域,并对第二目标图像上的各所述曝光区域设置曝光权重值;a second exposure processing sub-module, configured to divide the second target image into a plurality of exposure areas, and set an exposure weight value for each of the exposure areas on the second target image; 所述第一曝光处理子模块包括:The first exposure processing sub-module includes: 第一划分单元,用于将所述第一目标图像上的中间区域作为所述第一目标图像上的第一曝光区,除中间区域以外的周边区域作为所述第一目标图像上的第二曝光区;a first dividing unit, configured to use a middle area on the first target image as a first exposure area on the first target image, and a peripheral area other than the middle area as a second exposure area on the first target image exposure area; 第一设定单元,用于将所述第一目标图像上的第一曝光区的曝光权重设置为权重值A,所述第一目标图像上的第二曝光区的曝光权重设置为权重值B;其中,权重值A大于权重值B;A first setting unit, configured to set the exposure weight of the first exposure area on the first target image to a weight value A, and set the exposure weight of the second exposure area on the first target image to a weight value B ; Among them, the weight value A is greater than the weight value B; 所述第二曝光处理子模块包括:The second exposure processing sub-module includes: 第二划分单元,用于将所述第二目标图像上的中间区域作为所述第二目标图像上的第一曝光区,除中间区域以外的周边区域作为所述第二目标图像上的第二曝光区;其中,所述第二目标图像上的第一曝光区与第一目标图像上的第一曝光区为所述目标图像区域上的同一区域;a second dividing unit, configured to use the middle area on the second target image as the first exposure area on the second target image, and the peripheral area except the middle area as the second target area on the second target image exposure area; wherein, the first exposure area on the second target image and the first exposure area on the first target image are the same area on the target image area; 第二设定单元,用于将所述第二目标图像上的第一曝光区的曝光权重设置为权重值B;以及用于对所述第二目标图像上的第二曝光区的各部位的曝光值和/或曝光权重进行相应设置。a second setting unit, configured to set the exposure weight of the first exposure area on the second target image to a weight value B; Exposure value and/or exposure weight are set accordingly. 11.如权利要求10所述的系统,其特征在于,所述第二设定单元包括:11. The system of claim 10, wherein the second setting unit comprises: 第一设定子单元,用于将所述第二目标图像上的第二曝光区的曝光权重设置为权重值A。The first setting subunit is configured to set the exposure weight of the second exposure area on the second target image to the weight value A. 12.如权利要求10所述的系统,其特征在于,所述第二设定单元包括:12. The system of claim 10, wherein the second setting unit comprises: 第一固定设定子单元,用于将所述第二目标图像上的第二曝光区中的连续区域设置为一固定曝光值;a first fixed setting subunit, used for setting a continuous area in the second exposure area on the second target image to a fixed exposure value; 第二设定子单元,用于将所述第二目标图像上的第二曝光区中靠近第一曝光区的正下方部位设置为权重值A。The second setting subunit is configured to set the weight value A as the weight value A in the second exposure area on the second target image that is directly below the first exposure area. 13.如权利要求10所述的系统,其特征在于,所述第二设定单元包括:13. The system of claim 10, wherein the second setting unit comprises: 第二固定设定子单元,用于将所述第二目标图像上的第二曝光区中的连续区域设置为一固定曝光值;a second fixed setting subunit, configured to set a continuous area in the second exposure area on the second target image to a fixed exposure value; 第三设定子单元,用于将所述第二目标图像上的第二曝光区中高频分量较多的部位设置为权重值A。The third setting subunit is configured to set the weight value A as the weight value A in the part with more high frequency components in the second exposure area on the second target image. 14.如权利要求10所述的系统,其特征在于,所述控制调整模块包括:14. The system of claim 10, wherein the control adjustment module comprises: 第一获取单元,用于通过所述第一摄像头模组实时获取第一目标图像的RGB亮度值;a first obtaining unit, configured to obtain the RGB luminance value of the first target image in real time through the first camera module; 第一计算单元,用于根据第一目标图像的曝光权重,计算第一目标图像的当前画面亮度值;a first calculation unit, configured to calculate the current screen brightness value of the first target image according to the exposure weight of the first target image; 第一比对判断单元,用于将第一目标图像的当前画面亮度值与预设的亮度值比对,判断第一目标图像的当前画面亮度值与预设的亮度值范围是否相符;a first comparison and judgment unit, configured to compare the current picture brightness value of the first target image with a preset brightness value, and determine whether the current picture brightness value of the first target image is consistent with the preset brightness value range; 若否,则通过所述第一摄像头模组上的快门调节控制进光量,以使第一目标图像的画面亮度值与预设的亮度值范围相符;If not, adjusting and controlling the amount of incoming light through the shutter on the first camera module, so that the screen brightness value of the first target image is consistent with the preset brightness value range; 若是,则对第一目标图像的画面亮度值进行实时侦测。If so, the screen brightness value of the first target image is detected in real time. 15.如权利要求10所述的系统,其特征在于,所述控制调整模块包括:15. The system of claim 10, wherein the control adjustment module comprises: 第二获取单元,用于通过所述第二摄像头模组实时获取第二目标图像的RGB亮度值;a second obtaining unit, configured to obtain the RGB luminance value of the second target image in real time through the second camera module; 第二计算单元,用于根据第二目标图像的曝光权重,计算第二目标图像的当前画面亮度值;a second calculation unit, configured to calculate the current screen brightness value of the second target image according to the exposure weight of the second target image; 第二比对判断单元,用于将第二目标图像的当前画面亮度值与预设的亮度值比对,判断第二目标图像的当前画面亮度值与预设的亮度值范围是否相符;A second comparison and judgment unit, configured to compare the current image brightness value of the second target image with the preset brightness value, and determine whether the current image brightness value of the second target image is consistent with the preset brightness value range; 若否,则通过所述第二摄像头模组上的快门调节控制进光量,以使第二目标图像的画面亮度值与预设的亮度值范围相符;If not, adjusting and controlling the amount of incoming light through the shutter on the second camera module, so that the screen brightness value of the second target image is consistent with the preset brightness value range; 若是,则对第二目标图像的画面亮度值进行实时侦测。If so, the screen brightness value of the second target image is detected in real time. 16.如权利要求10所述的系统,其特征在于,还包括:16. The system of claim 10, further comprising: 控制处理模块,用于控制所述第一摄像头模组与第二摄像头模组进行初始化处理。The control processing module is used to control the first camera module and the second camera module to perform initialization processing. 17.如权利要求11~13任一项所述的系统,其特征在于,所述叠加成像模块包括:17. The system according to any one of claims 11 to 13, wherein the overlay imaging module comprises: 图像获取单元,用于通过所述第一摄像头模组获取第一目标图像及通过所述第二摄像头模组获取第二目标图像;an image acquisition unit, configured to acquire a first target image through the first camera module and a second target image through the second camera module; 拼接处理单元,用于将所述第一目标图像与第二目标图像进行拼接处理,以形成拼接图像。The stitching processing unit is configured to perform stitching processing on the first target image and the second target image to form a stitched image. 18.如权利要求17所述的系统,其特征在于,所述拼接处理单元包括:18. The system of claim 17, wherein the splicing processing unit comprises: 第一拼接子单元,用于将所述第一目标图像与第二目标图像上的权重值设为A的图像区域进行拼接;The first splicing subunit is used for splicing the image area where the weight value on the first target image and the second target image is set to A; 第二拼接子单元,用于剩余拼接图像部分选择所述目标图像区域中同一位置处所述第一目标图像与第二目标图像上曝光亮度值较大一方的图像区域进行拼接。The second splicing subunit is used for the remaining part of the spliced image to select the image area with the larger exposure brightness value on the first target image and the second target image at the same position in the target image area for splicing.
CN201510968804.5A 2015-12-22 2015-12-22 Exposure control method and system based on dual cameras Expired - Fee Related CN105611186B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510968804.5A CN105611186B (en) 2015-12-22 2015-12-22 Exposure control method and system based on dual cameras
CN201811626472.2A CN109660738B (en) 2015-12-22 2015-12-22 Exposure control method and system based on dual cameras

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510968804.5A CN105611186B (en) 2015-12-22 2015-12-22 Exposure control method and system based on dual cameras

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201811626472.2A Division CN109660738B (en) 2015-12-22 2015-12-22 Exposure control method and system based on dual cameras

Publications (2)

Publication Number Publication Date
CN105611186A CN105611186A (en) 2016-05-25
CN105611186B true CN105611186B (en) 2019-02-12

Family

ID=55990698

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510968804.5A Expired - Fee Related CN105611186B (en) 2015-12-22 2015-12-22 Exposure control method and system based on dual cameras
CN201811626472.2A Expired - Fee Related CN109660738B (en) 2015-12-22 2015-12-22 Exposure control method and system based on dual cameras

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201811626472.2A Expired - Fee Related CN109660738B (en) 2015-12-22 2015-12-22 Exposure control method and system based on dual cameras

Country Status (1)

Country Link
CN (2) CN105611186B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375679A (en) * 2016-11-30 2017-02-01 努比亚技术有限公司 Exposure method and device
US10530991B2 (en) 2017-01-28 2020-01-07 Microsoft Technology Licensing, Llc Real-time semantic-aware camera exposure control
CN106851122B (en) * 2017-02-27 2020-02-18 上海兴芯微电子科技有限公司 Calibration method and device for automatic exposure parameters based on double-camera system
CN106878625B (en) * 2017-04-19 2019-10-11 宇龙计算机通信科技(深圳)有限公司 Dual camera synchronous exposure method and system
EP3611914B1 (en) 2017-06-09 2025-11-26 Huawei Technologies Co., Ltd. Method and apparatus for photographing image
CN107295256A (en) 2017-06-23 2017-10-24 华为技术有限公司 A kind of image processing method, device and equipment
CN107592471A (en) * 2017-10-13 2018-01-16 维沃移动通信有限公司 A kind of high dynamic range images image pickup method and mobile terminal
CN109417604A (en) * 2017-11-30 2019-03-01 深圳市大疆创新科技有限公司 Variation calibration method, binocular vision system and computer readable storage medium
CN112989866B (en) * 2019-12-02 2024-04-09 浙江宇视科技有限公司 Object recognition method, device, electronic device and readable storage medium
CN117135470B (en) * 2023-02-23 2024-06-14 荣耀终端有限公司 Shooting method, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780840A (en) * 2014-01-21 2014-05-07 上海果壳电子有限公司 High-quality imaging double camera shooting and imaging device and method thereof
CN103905731A (en) * 2014-03-26 2014-07-02 武汉烽火众智数字技术有限责任公司 Broadband dynamic image collection method and system
CN104202535A (en) * 2014-06-30 2014-12-10 杭州光典医疗器械有限公司 Automatic exposure method and device
CN104333708A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Photographing method, photographing device and terminal
CN104853091A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Picture taking method and mobile terminal
US9204039B2 (en) * 2013-01-07 2015-12-01 Huawei Technologies Co., Ltd. Image processing method and apparatus

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969534A (en) * 2009-07-27 2011-02-09 鸿富锦精密工业(深圳)有限公司 Method and system for realizing regional exposure of picture in photographic equipment
US20130070143A1 (en) * 2011-09-20 2013-03-21 Samsung Electronics Co., Ltd. Display apparatus and method
CN103873772B (en) * 2014-03-03 2016-03-02 努比亚技术有限公司 Mobile terminal and shooting method thereof
CN104917950B (en) * 2014-03-10 2018-10-12 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104954689B (en) * 2015-06-30 2018-06-26 努比亚技术有限公司 A kind of method and filming apparatus that photo is obtained using dual camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9204039B2 (en) * 2013-01-07 2015-12-01 Huawei Technologies Co., Ltd. Image processing method and apparatus
CN103780840A (en) * 2014-01-21 2014-05-07 上海果壳电子有限公司 High-quality imaging double camera shooting and imaging device and method thereof
CN103905731A (en) * 2014-03-26 2014-07-02 武汉烽火众智数字技术有限责任公司 Broadband dynamic image collection method and system
CN104202535A (en) * 2014-06-30 2014-12-10 杭州光典医疗器械有限公司 Automatic exposure method and device
CN104333708A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Photographing method, photographing device and terminal
CN104853091A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Picture taking method and mobile terminal

Also Published As

Publication number Publication date
CN105611186A (en) 2016-05-25
CN109660738B (en) 2021-01-12
CN109660738A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
CN105611186B (en) Exposure control method and system based on dual cameras
EP4440104A2 (en) Method and system for near-eye focal plane overlays for 3d perception of content on 2d displays
WO2021208706A1 (en) High dynamic range image composition method and device, image processing chip and aerial camera
KR101725884B1 (en) Automatic processing of images
US20170048438A1 (en) Wearable device, control apparatus, photographing control method and automatic imaging apparatus
EP3386185B1 (en) Electronic imaging device and electronic imaging method
US9959841B2 (en) Image presentation control methods and image presentation control apparatuses
US9057896B1 (en) Orientation variable polarization
CN105335932B (en) Multiplex image acquisition combination method and system
JP2018007150A (en) Imaging apparatus, control method for imaging apparatus, and program
CN111107265A (en) Image processing method and device, computer readable medium and electronic equipment
JP7269910B2 (en) Shooting control method, device, storage medium and system for intelligent shooting system
WO2018214838A1 (en) Surveillance image capture method, apparatus, and system
JP2010016826A (en) System and method for efficiently performing image processing operations
JP7110378B2 (en) METHOD AND PROGRAM FOR PROVIDING AUGMENTED REALITY IMAGE USING DEPTH DATA
EP3249999B1 (en) Intelligent matching method for filter and terminal
US11425312B2 (en) Image processing program, and image processing system causing a server to control synthesis of a real space image and a virtual object image
US10491810B2 (en) Adaptive control of image capture parameters in virtual reality cameras
US9456148B1 (en) Multi-setting preview for image capture
US20120320144A1 (en) Video modification system and method
US20170163852A1 (en) Method and electronic device for dynamically adjusting gamma parameter
CN111263081A (en) Method and apparatus for determining exposure statistic, storage medium, and electronic apparatus
US10372287B2 (en) Headset device and visual feedback method and apparatus thereof
US12108143B2 (en) Portable imaging device
CN114449250B (en) Method and device for determining viewing position of user relative to naked-eye 3D display device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220808

Address after: No. 1201, 12 / F, building 6, No. 599, shijicheng South Road, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan 610094

Patentee after: Chengdu panorama Intelligent Technology Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190212

CF01 Termination of patent right due to non-payment of annual fee