CN106060412A - Photographic processing method and device - Google Patents

Photographic processing method and device Download PDF

Info

Publication number
CN106060412A
CN106060412A CN201610624650.2A CN201610624650A CN106060412A CN 106060412 A CN106060412 A CN 106060412A CN 201610624650 A CN201610624650 A CN 201610624650A CN 106060412 A CN106060412 A CN 106060412A
Authority
CN
China
Prior art keywords
exposure
time
black
synthesized
white
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
CN201610624650.2A
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610624650.2A priority Critical patent/CN106060412A/en
Publication of CN106060412A publication Critical patent/CN106060412A/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/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

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

Abstract

The embodiments of the invention disclose a photographic processing method and device, and relate to the technical field of image processing. The photographic processing method comprises the steps of: adjusting the exposure time of a black-and-white camera according to the exposure time of a color camera, wherein the exposure time of the black-and-white camera is shorter than that of the color camera; triggering the color camera and the black-and-white camera to perform synchronous photography according to a photographic instruction input by a user, to acquire a color photo to be synthesized and a black-and-white photo to be synthesized; and synthesizing the black-and-white photo to be synthesized and the color photo to be synthesized into a target color photo. By adopting the technical solution, the black-and-white camera is used with the color camera, so that the probability of photographic jitter can be effectively reduced, the definition of the photos can be improved, and the repeated photographing number and the photographing time of the user can be reduced.

Description

Take pictures treating method and apparatus
Technical field
The present invention relates to technical field of image processing, particularly relate to one and take pictures treating method and apparatus.
Background technology
Along with the development of shooting technology, by mobile phone etc., there is the terminal of camera function and record oneself what is seen and heard and become For behavior more and more universal in people's daily life, the definition of captured photo be it is also proposed more and more higher by people simultaneously Requirement.
People often occur the situation causing photographic fog unclear due to arm shake during taking pictures, existing Technical scheme solve this problem time, it will usually by reduce time of exposure reduce the time needed for the process of taking pictures, thus Reduce the probability that shooting shake occurs during taking pictures;Or, first against shooting multiple pictures before and after same shooting picture, Then in the multiple pictures of shooting, select relatively good one and show user.
In the research process carrying out the present invention, inventor finds: can reduce due to shooting although reducing time of exposure Shake and cause the unclear probability of photographic fog, but the situation simultaneously also resulting in under-exposure occurs, also results in institute There is unsharp situation in shooting photo;And select from multiple pictures, also simply select from the photo of several shakes Relatively good one is shown, and the most fundamentally solves the probability that shooting shake occurs.
Summary of the invention
In view of this, the embodiment of the present invention provides one to take pictures treating method and apparatus, to solve to take pictures in prior art Time easily occur due to take pictures shake and cause the unsharp technical problem of photo.
First aspect, embodiments provides one and takes pictures processing method, including:
According to the time of exposure of colour imagery shot, adjust the time of exposure of black and white photographic head, wherein, the exposure of described black and white Time is less than the time of exposure of described colour imagery shot;
According to the photographing instruction of user's input, trigger described colour imagery shot and described black and white camera sync photography, And obtain photochrome to be synthesized and black-and-white photograph to be synthesized;
Described black-and-white photograph to be synthesized and described photochrome to be synthesized are carried out synthesis process, generates targeted color and shine Sheet.
Further, according to the time of exposure of colour imagery shot, the time of exposure adjusting black and white photographic head includes: in detection During to stabilization function triggering command, obtain the time of exposure of colour imagery shot as benchmark time of exposure;By black and white photographic head Time of exposure is adjusted to described benchmark time of exposure and the product of the first proportionality coefficient k, wherein, 0 < k < 1.
Further, obtain the time of exposure of colour imagery shot as benchmark time of exposure, including: if be detected that automatically Exposure mode open command, then real-time update obtains the time of exposure of colour imagery shot as benchmark time of exposure.
Further, the time of exposure of black and white photographic head is adjusted to described benchmark time of exposure and the first proportionality coefficient k Product after, also include: obtain the light sensitivitys of described colour imagery shot as benchmark light sensitivitys;By described black and white photographic head Light sensitivitys is adjusted to the product of described benchmark light sensitivitys and the second proportionality coefficient M, wherein, M > 1.
Further, described k is 1/4, and described M is 2.
Further, described black-and-white photograph to be synthesized and described photochrome to be synthesized are being carried out synthesis process, is generating Before targeted color photo, also include: according to the site error parameter between black and white photographic head and colour imagery shot, determine and institute State the public shooting area that black-and-white photograph to be synthesized is the most corresponding with described photochrome to be synthesized;According to described public shooting district Territory, carries out cutting to described black-and-white photograph to be synthesized and described photochrome to be synthesized.
Further, described black-and-white photograph to be synthesized and described photochrome to be synthesized are carried out synthesis process, generate mesh Mark photochrome includes: obtain the texture information of described black-and-white photograph to be synthesized;By scheming based on described texture information, by institute The colour element stating photochrome to be synthesized is filled in described foundation drawing, to generate described targeted color photo.
Second aspect, the embodiment of the present invention additionally provides one and takes pictures processing means, including:
Exposure time adjusting module, for the time of exposure according to colour imagery shot, when adjusting the exposure of black and white photographic head Between, wherein, the time of exposure of described black and white is less than the time of exposure of described colour imagery shot;
Sync pulse jamming trigger module, for the photographing instruction according to user's input, triggers described colour imagery shot and institute State black and white camera sync photography, and obtain photochrome to be synthesized and black-and-white photograph to be synthesized;
Photochrome generation module, for synthesizing described black-and-white photograph to be synthesized with described photochrome to be synthesized Process, generate targeted color photo.
Further, described exposure time adjusting module includes: benchmark time of exposure acquiring unit, for detect anti- When trembling function triggering command, obtain the time of exposure of colour imagery shot as benchmark time of exposure;Time of exposure adjustment unit, uses In the time of exposure of black and white photographic head being adjusted to described benchmark time of exposure and the product of the first proportionality coefficient k, wherein, 0 < k < 1。
Further, described benchmark time of exposure acquiring unit specifically for: when stabilization function triggering command being detected, If be detected that auto exposure mode open command, then real-time update obtains the time of exposure of colour imagery shot as benchmark exposure Time.
Further, described exposure time adjusting module also includes: benchmark light sensitivitys acquiring unit, for black and white being taken the photograph As, after the product that the time of exposure of head is adjusted to described benchmark time of exposure and the first proportionality coefficient k, obtaining described colour and take the photograph As the light sensitivitys of head is as benchmark light sensitivitys;Light sensitivitys adjustment unit, for being adjusted to the light sensitivitys of described black and white photographic head Described benchmark light sensitivitys and the product of the second proportionality coefficient M, wherein, M > 1.
Further, described k is 1/4, and described M is 2.
Further, processing means of taking pictures described in also includes: public shooting area determines module, for described waiting being closed Become black-and-white photograph and described photochrome to be synthesized to carry out synthesis process, before generating targeted color photo, image according to black and white Site error parameter between head and colour imagery shot, determines and described black-and-white photograph to be synthesized and described photochrome to be synthesized The most corresponding public shooting area;Module cut out by photo, for according to described public shooting area, to described black and white to be synthesized Photo and described photochrome to be synthesized carry out cutting.
Further, described photochrome generation module includes: texture information acquiring unit, is used for obtaining described to be synthesized The texture information of black-and-white photograph;Colour element fills unit, for by scheming based on described texture information, by described to be synthesized The colour element of photochrome is filled in described foundation drawing, to generate described targeted color photo.
The treatment technology scheme of taking pictures that the embodiment of the present invention provides, adjusts black and white according to the time of exposure of colour imagery shot and takes the photograph As the time of exposure of head, trigger the sync pulse jamming of colour imagery shot and black and white photographic head according to the photographing instruction of user's input, and Obtain shooting after generate photochrome to be synthesized and black-and-white photograph to be synthesized, by generate photochrome to be synthesized and wait to close Become black-and-white photograph to carry out synthesis to process to generate targeted color photo.The embodiment of the present invention is by using technique scheme, black White photographic head and colour imagery shot with the use of, the probability that shooting shake occurs can be efficiently reduced, improve captured photo Definition, reduce user repeat shooting number of times with shooting spent by time.
Accompanying drawing explanation
By the detailed description that non-limiting example is made made with reference to the following drawings of reading, other of the present invention Feature, purpose and advantage will become more apparent upon:
The schematic flow sheet of a kind of processing method of taking pictures that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of a kind of processing method of taking pictures that Fig. 2 provides for the embodiment of the present invention two;
The schematic flow sheet of a kind of processing method of taking pictures that Fig. 3 provides for the embodiment of the present invention three;
The structured flowchart of a kind of processing means of taking pictures that Fig. 4 provides for the embodiment of the present invention four.
Detailed description of the invention
The present invention is described in further detail with embodiment below in conjunction with the accompanying drawings.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention is illustrate only rather than full content in description, accompanying drawing.
Embodiment one
The embodiment of the present invention one provides one to take pictures processing method.The method can be performed, wherein by processing means of taking pictures This device can be realized by software and/or hardware, typically can be integrated in photographing device, and wherein, described photographing device can include Digital camera, smart mobile phone and panel computer etc..Fig. 1 is the flow process signal of the processing method of taking pictures of the embodiment of the present invention one Figure, as it is shown in figure 1, described in processing method of taking pictures include:
S110, time of exposure according to colour imagery shot, adjust the time of exposure of black and white photographic head, wherein, described black and white Time of exposure less than the time of exposure of described colour imagery shot.
In the present embodiment, the time of exposure of colour imagery shot can be developer's default setting or be arranged voluntarily by user Fixing exposure time values, it is also possible to be the dynamic exposure time being adjusted voluntarily according to external environment, do not limit System.It is typically greater than the photosensitive intensity of colour imagery shot in view of the photosensitive intensity of black and white photographic head, therefore, it can image black and white The time of exposure of head is adjusted to the time value less than colour imagery shot time of exposure.
It is exemplary, if the time of exposure of colour imagery shot is one or more fixing by developer or user setup Value, then can pre-set the acquiescence time of exposure of the black and white photographic head corresponding with these one or more fixed values, and by phase Corresponding colour imagery shot time of exposure is corresponding with black and white photographic head time of exposure is stored in identical or different storage position.Its In, colour imagery shot time of exposure and black and white photographic head time of exposure are not limited only to man-to-man form, it is also possible to according to a pair Many or many-to-one form arranges the respective value of photographing device colour imagery shot and black and white photographic head time of exposure.Now, exist When adjusting the time of exposure of black and white photographic head, can first determine the time of exposure of colour imagery shot, time then according to this exposure Between obtain the exposure time values of corresponding one or more black and white photographic head, finally, accordingly, if acquired with coloured silk The exposure time values only one of which of the black and white photographic head that color photographic head time of exposure is corresponding, then can be directly by black and white photographic head Time of exposure is adjusted to the black and white photographic head exposure time values that this is corresponding with colour imagery shot time of exposure;If acquired with The exposure time values of the black and white photographic head that colour imagery shot time of exposure is corresponding is multiple, then can selection based on user operation Or the black and white photographic head time of exposure of default setting selects rule to select from acquired multiple black and white photographic head exposure time values Select one and and the time of exposure of black and white photographic head is adjusted to this target light exposure time as the target light exposure time, to complete to adjust The process of the time of exposure of whole black and white photographic head.
If the time of exposure of colour imagery shot is the dynamic exposure time being adjusted voluntarily according to external environment, then may be used In advance the time of exposure of colour imagery shot is grouped, for example, it is possible to be that 0.9s-1s is defined as first by time of exposure Group, is that 1s-1.1s is defined as second group by time of exposure, etc., and it is the most right to pre-set one or several for each packet The black and white photographic head time of exposure answered, adjusting the time of exposure of black and white photographic head when, first obtains colour imagery shot Current exposure time, and determine the packet belonging to this current exposure time, then according to the packet belonging to this current exposure time Determine the target light exposure time of the black and white photographic head of required adjustment, and the time of exposure of black and white photographic head is adjusted to the exposure of this target The light time;The relational expression between black and white photographic head time of exposure and colour imagery shot time of exposure can also be pre-set, adjusting The when of the time of exposure of whole black and white photographic head, first obtain the current exposure time of colour imagery shot, then take the photograph according to black and white As the relational expression between head time of exposure and colour imagery shot time of exposure calculates the target exposure of the required black and white photographic head adjusted The light time, and the time of exposure of black and white photographic head is adjusted to this target light exposure time.
S120, the photographing instruction inputted according to user, trigger described colour imagery shot and described black and white photographic head synchronizes Shooting, and obtain photochrome to be synthesized and black-and-white photograph to be synthesized.
In the present embodiment, the software or pass through of taking pictures that the photographing instruction of user's input can be user to be carried by terminal What terminal was installed has the photographing instruction of third party's client input of camera function;Photochrome to be synthesized can be understood as Photographing instruction based on user shot by colour imagery shot obtained by photochrome, black-and-white photograph to be synthesized can be understood as It it is the black-and-white photograph obtained by photographing instruction based on user is shot by black and white photographic head.
Colour imagery shot can be that black and white photographic head is opened with colour imagery shot simultaneously with the sync pulse jamming of black and white photographic head Shutter or simultaneously close off shutter, it is also possible to be to ensure that the time period that black and white photographic head can open shutter at colour imagery shot Inside complete other time starteds into photoreduction process or end time.For example, it is assumed that the time of exposure of colour imagery shot is 0.1s, black The time of exposure of white photographic head is 0.025s, then the sync pulse jamming of colour imagery shot and black and white photographic head can be black and white photographic head 0s after colour imagery shot shutter is opened i.e. opens the shutter of self, so that black and white photographic head is opened with colour imagery shot simultaneously Begin into light, or, black and white photographic head 0.075s after colour imagery shot shutter is opened opens the shutter of self, so that black and white Photographic head and colour imagery shot terminate exposure process simultaneously;Can also be that black and white photographic head starts after light at colour imagery shot Other random times between 0s-0.75s open the shutter of self, thus ensure that black and white photographic head can enter at colour imagery shot The exposure process of self is completed in the time period of light.Would generally be along with shutter opening time in view of shooting shake occurrence probability Increase and substantially become big, optionally, black and white photographic head can be opened with color when the photographing instruction that user inputs being detected simultaneously The shutter of color photographic head, thus reduce the probability that shooting shake occurs during black and white photographic head exposes.
S130, described black-and-white photograph to be synthesized and described photochrome to be synthesized are carried out synthesis process, generate target color Color photo.
Exemplary, tone value and the intensity value of each pixel in photochrome to be synthesized can be obtained, and by it It is synthesized in black-and-white photograph in the pixel of identical scene features point corresponding with each pixel in photochrome, thus generates mesh Mark photochrome.
The processing method of taking pictures that the embodiment of the present invention one provides, adjusts black and white shooting according to the time of exposure of colour imagery shot The time of exposure of head, triggers the sync pulse jamming of colour imagery shot and black and white photographic head, and obtains according to the photographing instruction of user's input Take the photochrome to be synthesized and black-and-white photograph to be synthesized generated after shooting, by the photochrome to be synthesized generated and to be synthesized Black-and-white photograph carries out synthesis and processes to generate targeted color photo.The embodiment of the present invention is by using technique scheme, black and white Photographic head and colour imagery shot with the use of, the probability that shooting shake occurs can be efficiently reduced, improve captured photo Definition, reduces user and repeats number of times and the time spent by shooting of shooting.
Embodiment two
The schematic flow sheet of a kind of processing method of taking pictures that Fig. 2 provides for the embodiment of the present invention two.The present embodiment is above-mentioned It is optimized on the basis of embodiment, further, according to the time of exposure of colour imagery shot, adjusts the exposure of black and white photographic head Time includes: when stabilization function triggering command being detected, obtains the time of exposure of colour imagery shot as benchmark time of exposure; The time of exposure of black and white photographic head is adjusted to described benchmark time of exposure and the product of the first proportionality coefficient k, wherein, 0 < k < 1.
Further, described black-and-white photograph to be synthesized and described photochrome to be synthesized are carried out synthesis process, generate mesh Mark photochrome includes: obtain the texture information of described black-and-white photograph to be synthesized;By scheming based on described texture information, by institute The colour element stating photochrome to be synthesized is filled in described foundation drawing, to generate described targeted color photo.
Accordingly, as in figure 2 it is shown, the processing method of taking pictures that the present embodiment provides includes:
S210, when stabilization function triggering command being detected, obtain colour imagery shot time of exposure as benchmark expose Time.
In the present embodiment, stabilization function triggering command can generate when photographing device opens stabilization pattern, wherein, takes pictures The stabilization pattern of equipment can be opened by user;The automatic trigger condition of stabilization pattern can also be preset, should be certainly when meeting During dynamic trigger condition, then automatically turn on stabilization pattern, for example, it is possible to detecting that photographing device current dither is more serious, it is impossible to Be focused and photographing device have been enter into pre-take pictures state time, automatically the exposal model of photographing device is converted to stabilization pattern.
Exemplary, if the time of exposure only one of which of colour imagery shot or several fixing value, then can take pictures Obtain when equipment uses for the first time and the current exposure time of recording colour photographic head, expose if the follow-up user of detecting has carried out changing The operation of light time, then can delete the time of exposure recorded, when reacquiring the current exposure of also recording colour photographic head Between, now, accordingly, the time of exposure of acquisition colour imagery shot as the process of benchmark time of exposure can be: detection user Whether trigger time of exposure and change instruction, the most then delete the time of exposure recorded, reacquire and recording colour shooting The current exposure time of head is as benchmark time of exposure;If it is not, then directly invoke the current exposure of the colour imagery shot recorded Time of exposure on the basis of time value.
If the time of exposure of colour imagery shot is according to external environment real-time change, optionally, colour imagery shot is obtained Time of exposure as benchmark time of exposure, including: if be detected that auto exposure mode open command, then real-time update obtains coloured silk The time of exposure of color photographic head is as benchmark time of exposure.For example, it is possible to preset the detection of colour imagery shot time of exposure In the cycle, often then update through a detection cycle and obtain the time of exposure of a colour imagery shot as benchmark time of exposure;Also Whether create the time of exposure for colour imagery shot in can detecting photographing device in real time and change instruction, the most again The time of exposure of acquisition colour imagery shot is as benchmark time of exposure, if it is not, be then continuing with current benchmark time of exposure.
If in this respect it is to be noted that being not detected by stabilization function triggering command, i.e. user not open the anti-of photographing device Tremble pattern, then can open colour imagery shot according to the selection of user or black and white photographic head shoots, i.e. if user selects to obtain Take photochrome, then open colour imagery shot and shoot, if user selects to obtain black-and-white photograph, then use black and white photographic head to clap Take the photograph present scene picture;Colour imagery shot and black and white photographic head can also be used to shoot present scene picture, then basis simultaneously User selects to present captured photochrome or black-and-white photograph to user, now, exemplary, can give tacit consent to and show to user The photochrome shot by colour imagery shot, if detecting, user triggers the operation obtaining black-and-white photograph, then to user's exhibition Show the black-and-white photograph shot by black and white photographic head.
S220, the time of exposure of black and white photographic head is adjusted to taking advantage of of described benchmark time of exposure and the first proportionality coefficient k Long-pending, wherein, 0 < k < 1.
In the present embodiment, the first proportionality coefficient k can be carried out default setting by developer, it is also possible to by user according to self Needs are independently arranged, and are not restricted.Exemplary, the value of the first proportionality coefficient k can be set to 1/4 or 1/8, Now, accordingly, the time of exposure of black and white photographic head can be adjusted to the 1/4 or 1/8 of benchmark time of exposure, such as, if base Quasi-time of exposure is 0.1s, then the time of exposure of black and white photographic head can be adjusted to 0.25s or 0.125s.
S230, the photographing instruction inputted according to user, trigger described colour imagery shot and described black and white photographic head synchronizes Shooting, and obtain photochrome to be synthesized and black-and-white photograph to be synthesized.
S240, obtain the texture information of described black-and-white photograph to be synthesized.
Exemplary, the monochrome information that each pixel of black-and-white photograph to be synthesized is corresponding can be obtained respectively, thus obtain The texture information of this black-and-white photograph to be synthesized.
Optionally, obtain black-and-white photograph to be synthesized texture information before, can will described photochrome to be synthesized and Described black-and-white photograph to be synthesized carries out pixel alignment.Exemplary, when carrying out pixel alignment, can be the most respectively to be synthesized Black-and-white photograph and photochrome to be synthesized obtain the most corresponding predetermined number or the characteristic point of preset ratio coefficient, then divides Do not obtain the pixel coordinate of each group of mutual characteristic of correspondence point, and calculate in black-and-white photograph to be synthesized according to the pixel coordinate obtained Each pixel and the position relationship of each pixel in photochrome to be synthesized, finally according to this position relationship by colored photograph to be synthesized Sheet carries out pixel with each pixel representing scenery same position in black-and-white photograph to be synthesized and aligns, thus realizes colour to be synthesized Photo aligns with the pixel of black-and-white photograph to be synthesized.
S250, by based on described texture information scheme, the colour element of described photochrome to be synthesized is filled in institute State in foundation drawing, to generate described targeted color photo.
Exemplary, black-and-white photograph to be synthesized and photochrome to be synthesized after can aliging according to pixel obtain to be synthesized The corresponding relation of each pixel in black-and-white photograph and photochrome to be synthesized, then obtains the tone of each pixel in photochrome Information and saturation infromation, and its correspondence is filled in foundation drawing pixel corresponding thereto, to generate targeted color photograph Sheet.
Generating after targeted color photo, targeted color photo by photographing device or can be provided with to have and takes pictures The client terminal of function shows user.
Whether the processing method of taking pictures that the embodiment of the present invention two provides, first detection photographing device or terminal open stabilization Pattern, if it is not, then directly shoot according to the photographing instruction of user, and shows user by the target picture that shooting generates; The most then obtain the time of exposure of colour imagery shot as benchmark time of exposure, and the time of exposure of black and white photographic head is adjusted For this benchmark time of exposure and the product of the first proportionality coefficient;Photographing instruction according to user triggers colour imagery shot and black and white is taken the photograph As head carries out sync pulse jamming, and obtain the photochrome to be synthesized of generation and black-and-white photograph to be synthesized;Obtain black and white to be synthesized to shine Scheme based on the texture information of sheet, the colour element of photochrome to be synthesized is filled in foundation drawing, color to generate target Color photo, and by targeted color photo display to user.The present embodiment is by using technique scheme, and black and white photographic head is with color Color photographic head with the use of, the probability that shooting shake occurs can be efficiently reduced, improve the definition of captured photo, reduce User repeats number of times and the time spent by shooting of shooting.
Embodiment three
The schematic flow sheet of a kind of processing method of taking pictures that Fig. 3 provides for the embodiment of the present invention three.The present embodiment is above-mentioned It is optimized on the basis of embodiment, further, the time of exposure of black and white photographic head is adjusted to described benchmark time of exposure After the product of the first proportionality coefficient k, also include: obtain the light sensitivitys of described colour imagery shot as benchmark light sensitivitys;Will The light sensitivitys of described black and white photographic head is adjusted to the product of described benchmark light sensitivitys and the second proportionality coefficient M, wherein, M > 1.
Further, described black-and-white photograph to be synthesized and described photochrome to be synthesized are being carried out synthesis process, is generating Before targeted color photo, also include: according to the site error parameter between black and white photographic head and colour imagery shot, determine and institute State the public shooting area that black-and-white photograph to be synthesized is the most corresponding with described photochrome to be synthesized;According to described public shooting district Territory, carries out cutting to described black-and-white photograph to be synthesized and described photochrome to be synthesized.
Accordingly, as it is shown on figure 3, the processing method of taking pictures that the present embodiment provides includes:
S310, when stabilization function triggering command being detected, obtain colour imagery shot time of exposure as benchmark expose Time.
S320, the time of exposure of black and white photographic head is adjusted to taking advantage of of described benchmark time of exposure and the first proportionality coefficient k Long-pending, wherein, 0 < k < 1.
S330, obtain the light sensitivitys of described colour imagery shot as benchmark light sensitivitys.
Exemplary, the light sensitivitys of colour imagery shot can be one or several numerical value set in advance, and it can be by opening Send out business and carry out default setting according to the performance of colour imagery shot photo-sensitive cell.If the light sensitivitys of colour imagery shot has and multiple sets in advance Fixed numerical value, then can the most dynamically be adjusted the occurrence of light sensitivitys when reality is applied by user.
S340, the light sensitivitys of described black and white photographic head is adjusted to taking advantage of of described benchmark light sensitivitys and the second proportionality coefficient M Long-pending, wherein, M > 1.
In the present embodiment, the second proportionality coefficient M can be carried out default setting by developer, it is also possible to by user according to self Needs are independently arranged, and are not restricted.Exemplary, the value of the second proportionality coefficient M can be set to 2 or 4, this Time, accordingly, the light sensitivitys of black and white photographic head can be adjusted to 2 times or 4 times of benchmark light sensitivitys.
Exemplary, colour imagery shot and black and white photographic head can be adjusted to and there is identical light exposure, to improve The definition of the targeted color photo become throughout one's life.Owing to, under identical time of exposure, the photosensitive intensity of black and white photographic head is about 2 times of the photosensitive intensity of colour imagery shot, therefore, to make colour imagery shot and black and white photographic head have identical light exposure, then First proportionality coefficient k and the second proportionality coefficient M need to meet relational expression k × M=1/2, i.e. when the first proportionality coefficient be respectively 1/2, When 1/4 or 1/8, the second corresponding value of proportionality coefficient should be respectively 1,2 or 4.Owing to the noise of black-and-white photograph to be synthesized is with black The minimizing of white photographic head time of exposure and increase, therefore, optionally, the first proportionality coefficient k can be set to 1/4, by second Proportionality coefficient M is set to 2, to reduce the noise number in the targeted color photo ultimately generated, improves targeted color further and shines The definition of sheet.
S350, the photographing instruction inputted according to user, trigger described colour imagery shot and described black and white photographic head synchronizes Shooting, and obtain photochrome to be synthesized and black-and-white photograph to be synthesized.
S360, according to the site error parameter between black and white photographic head and colour imagery shot, determine to be synthesized black with described The public shooting area that white photo is the most corresponding with described photochrome to be synthesized.
Exemplary, the site error parameter between black and white photographic head and colour imagery shot can be that black and white photographic head is with color The relative distance of color photographic head right with the public shooting area in black-and-white photograph to be synthesized and photochrome to be synthesized respectively Should be related to, or the relative distance of black and white photographic head and colour imagery shot respectively with black-and-white photograph to be synthesized and coloured silk to be synthesized The corresponding relation of the not common shooting area in color photo, it is also possible to be that other can be according to black and white photographic head and colour imagery shot Between position relationship obtain other of public shooting area corresponding to black-and-white photograph to be synthesized and photochrome to be synthesized Corresponding relation, is not restricted.Site error parameter between black and white photographic head and colour imagery shot can be stored in advance in bat According in equipment or terminal, after getting photochrome to be synthesized and black-and-white photograph to be synthesized, can first obtain to take pictures and set Position relationship between black and white photographic head and colour imagery shot in standby or terminal, then obtains the position corresponding with this position relationship Put error parameter, and the most right with photochrome to be synthesized according to acquired site error parameter determination black-and-white photograph to be synthesized The public shooting area answered.
S370, according to described public shooting area, described black-and-white photograph to be synthesized is entered with described photochrome to be synthesized Row cutting.
In the present embodiment, when being cut out, black-and-white photograph to be synthesized and photochrome to be synthesized can be punctured respectively In not common shooting area, to retain the public shooting area of black-and-white photograph to be synthesized and photochrome to be synthesized.
S380, described black-and-white photograph to be synthesized and described photochrome to be synthesized are carried out synthesis process, generate target color Color photo.
The processing method of taking pictures that the embodiment of the present invention three provides, reduces the time of exposure of black and white photographic head and improves black accordingly The light sensitivitys of white photographic head, schemes, by colour based on the texture information of the black-and-white photograph to be synthesized captured by black and white photographic head Hue information and the saturation infromation of the photochrome to be synthesized of photographic head shooting are filled in this foundation drawing, color to generate target Color photo, can efficiently reduce the probability that shooting shake occurs, improves the definition of captured photo, reduces user and repeats to clap The number of times taken the photograph and the time spent by shooting.Additionally, black and white photographic head and colour imagery shot are adjusted in shooting process tool There is identical light exposure, the two exposure equilibrium, further definition of the targeted color photo captured by raising can be made.
Embodiment four
The embodiment of the present invention four provides one to take pictures processing means.This device is realized by software and/or hardware, typically can collect Becoming in photographing device, wherein, described photographing device can include digital camera, smart mobile phone and panel computer etc., can lead to Cross and perform the processing method realization process to the process of taking pictures of taking pictures.Fig. 4 show the processing means of taking pictures that the present embodiment is provided Structured flowchart, as shown in Figure 4, this processing means of taking pictures includes:
Exposure time adjusting module 410, for the time of exposure according to colour imagery shot, adjusts the exposure of black and white photographic head Time, wherein, the time of exposure of described black and white is less than the time of exposure of described colour imagery shot;
Sync pulse jamming trigger module 420, for according to user input photographing instruction, trigger described colour imagery shot and Described black and white camera sync photography, and obtain photochrome to be synthesized and black-and-white photograph to be synthesized;
Photochrome generation module 430, for carrying out described black-and-white photograph to be synthesized with described photochrome to be synthesized Synthesis processes, and generates targeted color photo.
The processing means of taking pictures that the embodiment of the present invention four provides, by exposure time adjusting module according to colour imagery shot Time of exposure adjusts the time of exposure of black and white photographic head, and the photographing instruction inputted according to user by sync pulse jamming trigger module is touched Send out the sync pulse jamming of colour imagery shot and black and white photographic head, and the photochrome to be synthesized that generates after obtaining shooting and to be synthesized Black-and-white photograph, is carried out the photochrome to be synthesized generated and black-and-white photograph to be synthesized at synthesis by photochrome generation module Reason is to generate targeted color photo.The embodiment of the present invention is by using technique scheme, black and white photographic head and colour imagery shot With the use of, the probability that shooting shake occurs can be efficiently reduced, improve the definition of captured photo, reduce user and repeat The number of times of shooting and the time spent by shooting.
Further, described exposure time adjusting module 410 includes: benchmark time of exposure acquiring unit, in detection During to stabilization function triggering command, obtain the time of exposure of colour imagery shot as benchmark time of exposure;Time of exposure adjusts single Unit, for the time of exposure of black and white photographic head is adjusted to described benchmark time of exposure and the product of the first proportionality coefficient k, its In, 0 < k < 1.
Further, described benchmark time of exposure acquiring unit specifically for: when stabilization function triggering command being detected, If be detected that auto exposure mode open command, then real-time update obtains the time of exposure of colour imagery shot as benchmark exposure Time.
Further, described exposure time adjusting module 410 also includes: benchmark light sensitivitys acquiring unit, for by black After the time of exposure of white photographic head is adjusted to the product of described benchmark time of exposure and the first proportionality coefficient k, obtain described coloured silk The light sensitivitys of color photographic head is as benchmark light sensitivitys;Light sensitivitys adjustment unit, for adjusting the light sensitivitys of described black and white photographic head The whole product for described benchmark light sensitivitys Yu the second proportionality coefficient M, wherein, M > 1.
Further, described k is 1/4, and described M is 2.
Further, processing means of taking pictures described in also includes: public shooting area determines module, for described waiting being closed Become black-and-white photograph and described photochrome to be synthesized to carry out synthesis process, before generating targeted color photo, image according to black and white Site error parameter between head and colour imagery shot, determines and described black-and-white photograph to be synthesized and described photochrome to be synthesized The most corresponding public shooting area;Module cut out by photo, for according to described public shooting area, to described black and white to be synthesized Photo and described photochrome to be synthesized carry out cutting.
Further, described photochrome generation module 430 includes: texture information acquiring unit, be used for obtaining described in treat The texture information of synthesis black-and-white photograph;Colour element fills unit, for by scheming based on described texture information, treating described The colour element of synthesis photochrome is filled in described foundation drawing, to generate described targeted color photo.
The said goods can perform the processing method of taking pictures that any embodiment of the present invention is provided, and possesses execution and takes pictures process side The corresponding functional module of method and beneficial effect.The ins and outs of the most detailed description, can be found in the present invention any Processing method that what embodiment was provided take pictures.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although by above example, the present invention is carried out It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other Equivalent embodiments more can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (14)

1. a processing method of taking pictures, it is characterised in that including:
According to the time of exposure of colour imagery shot, adjust the time of exposure of black and white photographic head, wherein, the time of exposure of described black and white Time of exposure less than described colour imagery shot;
According to the photographing instruction of user's input, trigger described colour imagery shot and described black and white camera sync photography, and obtain Take photochrome to be synthesized and black-and-white photograph to be synthesized;
Described black-and-white photograph to be synthesized and described photochrome to be synthesized are carried out synthesis process, generates targeted color photo.
Method the most according to claim 1, it is characterised in that according to the time of exposure of colour imagery shot, adjusts black and white and takes the photograph As the time of exposure of head includes:
When stabilization function triggering command being detected, obtain the time of exposure of colour imagery shot as benchmark time of exposure;
The time of exposure of black and white photographic head is adjusted to described benchmark time of exposure and the product of the first proportionality coefficient k, wherein, 0 < k<1。
Method the most according to claim 2, it is characterised in that the time of exposure obtaining colour imagery shot exposes as benchmark Time, including:
If be detected that auto exposure mode open command, then real-time update obtains the time of exposure of colour imagery shot as benchmark Time of exposure.
The most according to the method in claim 2 or 3, it is characterised in that it is described that the time of exposure of black and white photographic head is adjusted to After the product of benchmark time of exposure and the first proportionality coefficient k, also include:
Obtain the light sensitivitys of described colour imagery shot as benchmark light sensitivitys;
The light sensitivitys of described black and white photographic head is adjusted to the product of described benchmark light sensitivitys and the second proportionality coefficient M, wherein, M > 1。
Method the most according to claim 4, it is characterised in that described k is 1/4, described M is 2.
Method the most according to claim 1, it is characterised in that by described black-and-white photograph to be synthesized and described coloured silk to be synthesized Color photo carries out synthesis process, before generating targeted color photo, also includes:
According to the site error parameter between black and white photographic head and colour imagery shot, determine and described black-and-white photograph to be synthesized and institute State the public shooting area that photochrome to be synthesized is the most corresponding;
According to described public shooting area, described black-and-white photograph to be synthesized and described photochrome to be synthesized are carried out cutting.
Method the most according to claim 1, it is characterised in that by described black-and-white photograph to be synthesized and described colour to be synthesized Photo carries out synthesis process, generates targeted color photo and includes:
Obtain the texture information of described black-and-white photograph to be synthesized;
By scheming based on described texture information, the colour element of described photochrome to be synthesized is filled in described foundation drawing In, to generate described targeted color photo.
8. a processing means of taking pictures, it is characterised in that including:
Exposure time adjusting module, for the time of exposure according to colour imagery shot, adjusts the time of exposure of black and white photographic head, its In, the time of exposure of described black and white is less than the time of exposure of described colour imagery shot;
Sync pulse jamming trigger module, for the photographing instruction according to user's input, triggers described colour imagery shot and described black White camera sync photography, and obtain photochrome to be synthesized and black-and-white photograph to be synthesized;
Photochrome generation module, for carrying out described black-and-white photograph to be synthesized and described photochrome to be synthesized at synthesis Reason, generates targeted color photo.
Device the most according to claim 8, it is characterised in that described exposure time adjusting module includes:
Benchmark time of exposure acquiring unit, for when stabilization function triggering command being detected, obtains the exposure of colour imagery shot Time is as benchmark time of exposure;
Time of exposure adjustment unit, for being adjusted to described benchmark time of exposure and the first ratio by the time of exposure of black and white photographic head The product of example coefficient k, wherein, 0 < k < 1.
Device the most according to claim 9, it is characterised in that described benchmark time of exposure acquiring unit specifically for:
When stabilization function triggering command being detected, if be detected that auto exposure mode open command, then real-time update obtains The time of exposure of colour imagery shot is as benchmark time of exposure.
11. according to the device described in claim 9 or 10, it is characterised in that described exposure time adjusting module also includes:
Benchmark light sensitivitys acquiring unit, for being adjusted to described benchmark time of exposure and the by the time of exposure of black and white photographic head After the product of one proportionality coefficient k, obtain the light sensitivitys of described colour imagery shot as benchmark light sensitivitys;
Light sensitivitys adjustment unit, for being adjusted to described benchmark light sensitivitys and the second ratio by the light sensitivitys of described black and white photographic head The product of coefficient M, wherein, M > 1.
12. devices according to claim 11, it is characterised in that described k is 1/4, described M is 2.
13. devices according to claim 8, it is characterised in that also include:
Public shooting area determines module, for being closed with described photochrome to be synthesized by described black-and-white photograph to be synthesized One-tenth processes, and before generating targeted color photo, according to the site error parameter between black and white photographic head and colour imagery shot, determines The public shooting area the most corresponding with described photochrome to be synthesized with described black-and-white photograph to be synthesized;
Module cut out by photo, for according to described public shooting area, to described black-and-white photograph to be synthesized and described coloured silk to be synthesized Color photo carries out cutting.
14. devices according to claim 8, it is characterised in that described photochrome generation module includes:
Texture information acquiring unit, for obtaining the texture information of described black-and-white photograph to be synthesized;
Colour element fills unit, for by scheming based on described texture information, by the colour of described photochrome to be synthesized Pixel filling is in described foundation drawing, to generate described targeted color photo.
CN201610624650.2A 2016-08-02 2016-08-02 Photographic processing method and device Pending CN106060412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610624650.2A CN106060412A (en) 2016-08-02 2016-08-02 Photographic processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610624650.2A CN106060412A (en) 2016-08-02 2016-08-02 Photographic processing method and device

Publications (1)

Publication Number Publication Date
CN106060412A true CN106060412A (en) 2016-10-26

Family

ID=57196006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610624650.2A Pending CN106060412A (en) 2016-08-02 2016-08-02 Photographic processing method and device

Country Status (1)

Country Link
CN (1) CN106060412A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506950A (en) * 2016-10-27 2017-03-15 成都西纬科技有限公司 A kind of image processing method and device
CN106550227A (en) * 2016-10-27 2017-03-29 成都西纬科技有限公司 A kind of image saturation method of adjustment and device
CN106878625A (en) * 2017-04-19 2017-06-20 宇龙计算机通信科技(深圳)有限公司 Dual camera synchronization exposure method and system
WO2018076460A1 (en) * 2016-10-28 2018-05-03 华为技术有限公司 Photographing method for terminal, and terminal
CN108024062A (en) * 2017-12-13 2018-05-11 联想(北京)有限公司 Image processing method and image processing apparatus
CN108022227A (en) * 2017-12-29 2018-05-11 努比亚技术有限公司 A kind of black and white background photo acquisition methods, device and computer-readable recording medium
CN109495689A (en) * 2018-12-29 2019-03-19 北京旷视科技有限公司 A kind of image pickup method, device, electronic equipment and storage medium
CN109547703A (en) * 2018-12-28 2019-03-29 北京旷视科技有限公司 A kind of image pickup method of picture pick-up device, device, electronic equipment and medium
CN110312056A (en) * 2019-06-10 2019-10-08 青岛小鸟看看科技有限公司 A kind of synchronous exposure method and image capture device
CN110572583A (en) * 2018-05-18 2019-12-13 杭州海康威视数字技术股份有限公司 method for shooting image and camera
CN111064899A (en) * 2019-12-06 2020-04-24 成都华为技术有限公司 Exposure parameter adjusting method and device
CN111225155A (en) * 2020-02-21 2020-06-02 Oppo广东移动通信有限公司 Video anti-shake method, video anti-shake device, electronic equipment, computer equipment and storage medium

Citations (5)

* 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
CN104333708A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Photographing method, photographing device and terminal
CN104363375A (en) * 2014-11-28 2015-02-18 广东欧珀移动通信有限公司 Method, device and terminal for photograph noise reduction
CN104811622A (en) * 2015-04-30 2015-07-29 努比亚技术有限公司 Method and device for migrating image colors
CN105049718A (en) * 2015-07-06 2015-11-11 深圳市金立通信设备有限公司 Image processing method and terminal

Patent Citations (5)

* 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
CN104333708A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Photographing method, photographing device and terminal
CN104363375A (en) * 2014-11-28 2015-02-18 广东欧珀移动通信有限公司 Method, device and terminal for photograph noise reduction
CN104811622A (en) * 2015-04-30 2015-07-29 努比亚技术有限公司 Method and device for migrating image colors
CN105049718A (en) * 2015-07-06 2015-11-11 深圳市金立通信设备有限公司 Image processing method and terminal

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106550227A (en) * 2016-10-27 2017-03-29 成都西纬科技有限公司 A kind of image saturation method of adjustment and device
CN106506950A (en) * 2016-10-27 2017-03-15 成都西纬科技有限公司 A kind of image processing method and device
US10827107B2 (en) 2016-10-28 2020-11-03 Huawei Technologies Co., Ltd. Photographing method for terminal and terminal
WO2018076460A1 (en) * 2016-10-28 2018-05-03 华为技术有限公司 Photographing method for terminal, and terminal
CN106878625A (en) * 2017-04-19 2017-06-20 宇龙计算机通信科技(深圳)有限公司 Dual camera synchronization exposure method and system
CN106878625B (en) * 2017-04-19 2019-10-11 宇龙计算机通信科技(深圳)有限公司 The synchronous exposure method of dual camera and system
CN108024062A (en) * 2017-12-13 2018-05-11 联想(北京)有限公司 Image processing method and image processing apparatus
CN108022227A (en) * 2017-12-29 2018-05-11 努比亚技术有限公司 A kind of black and white background photo acquisition methods, device and computer-readable recording medium
CN110572583A (en) * 2018-05-18 2019-12-13 杭州海康威视数字技术股份有限公司 method for shooting image and camera
CN109547703A (en) * 2018-12-28 2019-03-29 北京旷视科技有限公司 A kind of image pickup method of picture pick-up device, device, electronic equipment and medium
CN109495689A (en) * 2018-12-29 2019-03-19 北京旷视科技有限公司 A kind of image pickup method, device, electronic equipment and storage medium
CN110312056A (en) * 2019-06-10 2019-10-08 青岛小鸟看看科技有限公司 A kind of synchronous exposure method and image capture device
CN111064899A (en) * 2019-12-06 2020-04-24 成都华为技术有限公司 Exposure parameter adjusting method and device
CN111064899B (en) * 2019-12-06 2021-06-08 成都华为技术有限公司 Exposure parameter adjusting method and device
CN111225155A (en) * 2020-02-21 2020-06-02 Oppo广东移动通信有限公司 Video anti-shake method, video anti-shake device, electronic equipment, computer equipment and storage medium
CN111225155B (en) * 2020-02-21 2021-09-28 Oppo广东移动通信有限公司 Video anti-shake method, video anti-shake device, electronic equipment, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106060412A (en) Photographic processing method and device
US9264630B2 (en) Method and apparatus for creating exposure effects using an optical image stabilizing device
US10074165B2 (en) Image composition device, image composition method, and recording medium
US20220094838A1 (en) Method, Electronic Device and Computer-Readable Storage Medium for Generating a High Dynamic Range Image
KR102207633B1 (en) Image photographing apparatus and control methods thereof
US10630911B2 (en) Image processing method and image processing device
CN108282622B (en) Photo shooting method and device
CN104902168B (en) A kind of image combining method, device and capture apparatus
CN110677557B (en) Image processing method, image processing device, storage medium and electronic equipment
CN106162024A (en) Photo processing method and device
CN108521862A (en) Method and apparatus for track up
JP2016144042A (en) Image processing apparatus, image processing method, and program
CN106254790A (en) Take pictures processing method and processing device
CN114827487B (en) High dynamic range image synthesis method and electronic equipment
JP6327892B2 (en) Imaging apparatus and control method thereof
WO2016074414A1 (en) Image processing method and apparatus
JP6718256B2 (en) Image processing device, imaging device, control method thereof, and program
CN117135293A (en) Image processing method and electronic device
JP6823942B2 (en) Image synthesizer, image synthesizer, image synthesizer program and storage medium
JP2015179968A (en) Device, method and program
JP6223173B2 (en) Image processing apparatus, control method thereof, and program
US11272124B2 (en) Image compositing device, image compositing method, and storage medium
JP2020191546A (en) Image processing apparatus, image processing method, and program
US20230209176A1 (en) Imaging apparatus
CN116452475B (en) Image processing method and related 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161026

WD01 Invention patent application deemed withdrawn after publication