CN105809634A - Photograph generating method and mobile terminal - Google Patents

Photograph generating method and mobile terminal Download PDF

Info

Publication number
CN105809634A
CN105809634A CN201510536424.4A CN201510536424A CN105809634A CN 105809634 A CN105809634 A CN 105809634A CN 201510536424 A CN201510536424 A CN 201510536424A CN 105809634 A CN105809634 A CN 105809634A
Authority
CN
China
Prior art keywords
original image
image
intermediate image
photographic head
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510536424.4A
Other languages
Chinese (zh)
Other versions
CN105809634B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510536424.4A priority Critical patent/CN105809634B/en
Publication of CN105809634A publication Critical patent/CN105809634A/en
Application granted granted Critical
Publication of CN105809634B publication Critical patent/CN105809634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

An embodiment of the invention discloses a photograph generating method which comprises the following steps: a first original image, a second original image and a third original image that are respectively taken via a first camera, a second camera and a third camera are obtained; only red color information, green color information and blue color information are respectively stored in the first original image, the second original image and the third original image that are taken; parameters of the first original image, the second original image and the third original image that are obtained are adjusted; a first intermediate image, a second intermediate image and a third intermediate image are obtained and are subjected to combining operation, and therefore a photograph is generated. The embodiment of the invention also provides a corresponding mobile terminal. Via use of the photograph generating method provided in the embodiment of the invention, color noisy points can be reduced; definition, color restoration and photograph brightness are not affected.

Description

A kind of generation method of photo and mobile terminal
Technical field
The present invention relates to image processing field, particularly to generation method and the mobile terminal of a kind of photo.
Background technology
Current photographic head is all on same module, is mainly made up of colored filter Colorfilter, sensitive chip.As shown in Figure 1, the corresponding Colorfilter of each pixel of photographic head module sensor, as shown in Figure 2, optical filter is by Bayer data arrangement mode Bayerpattern distribution, Colorfilter will be filtered by the light of each pixel p ixel, make each pixel can only sense redness (R), green (G) or blue (B) signal, converting electrical signals into digital signal again through modulus converter, the data that we now obtain are crude data RAWDATA (with the Bayer data shown in Fig. 2).Therefore, in RAWDATA form, each pixel only stores the data (one in R, G, B) of monochrome signal, wants to be reduced into tristimulus signal, in addition it is also necessary to the process of rear end ISP (ImageSignalProcessor, image-signal processor).
The information that ISP is R, G, B pixel closed on three does interpolation, after demosaicing demosaic processes, obtains the rgb value that each pixel is corresponding, finally obtains picture.But this mode is the bad control of colour noise when dark situation.
Summary of the invention
The embodiment of the present invention provides generation method and the mobile terminal of a kind of photo, and the information in order to solve existing R, G, B pixel closed on three does method problem of the bad control of colour noise when dark situation that interpolation processes then through demosaicing.
Embodiments of the invention provide a kind of generation method of photo, it is applied to a mobile terminal, described mobile terminal includes: first photographic head with red filter, the second camera with green filter and have the 3rd photographic head of blue filter, and the generation method of described photo includes:
Obtaining the first original image, the second original image and the 3rd original image that the first photographic head, second camera and the 3rd photographic head shoot respectively, the first original image of described shooting, the second original image and the 3rd original image only store red information, green information and blue information respectively;
Adjust the parameter of the first original image of described acquisition, the second original image and the 3rd original image, obtain the first intermediate image, the second intermediate image and the 3rd intermediate image;
First intermediate image of described acquisition, the second intermediate image and the 3rd intermediate image are carried out synthesis process, generates photo.
The embodiment of the present invention also provides for a kind of mobile terminal, and described mobile terminal includes: first photographic head with red filter, the second camera with green filter and have the 3rd photographic head of blue filter, and described mobile terminal also includes:
Acquisition module, for obtaining the first original image, the second original image and the 3rd original image that the first photographic head, second camera and the 3rd photographic head shoot respectively, the first original image of described shooting, the second original image and the 3rd original image only store red information, green information and blue information respectively;
Adjusting module, for adjusting the parameter of the first original image of described acquisition, the second original image and the 3rd original image, obtains the first intermediate image, the second intermediate image and the 3rd intermediate image;
Synthesis module, for the first intermediate image of described acquisition, the second intermediate image and the 3rd intermediate image carry out synthesis process, generates photo.
The generation method of the photo that the embodiment of the present invention provides, by obtaining the first original image, the second original image and the 3rd original image that the first photographic head, second camera and the 3rd photographic head shoot respectively, adjust the parameter of the first original image of described acquisition, the second original image and the 3rd original image, obtain the first intermediate image, the second intermediate image and the 3rd intermediate image, first intermediate image of described acquisition, the second intermediate image and the 3rd intermediate image are carried out synthesis process, generates photo.The generation method of this photo is possible not only to reduce colored noise, and the brightness of definition, color rendition and photo can not be affected, and, it is not necessary to carry out demosaicing process, can be obtained by the effect of filter by simply synthesis, effectively improve edge blurry and the inaccurate problem of color.
Accompanying drawing explanation
Fig. 1 is the filter distribution schematic diagram of existing single camera;
Fig. 2 is that existing optical filter is by Bayer data arrangement mode distribution schematic diagram;
Fig. 3 is the pixel color distribution schematic diagram of the generation method composograph of photo of the present invention;
Fig. 4 is the generation method flow diagram of photo of the present invention;
Fig. 5 is the flow chart of generation method first specific embodiment of photo of the present invention;
Fig. 6 is the flow chart of generation method second specific embodiment of photo of the present invention;
Fig. 7 is that imaging inside and outside parameter of the present invention generates method flow diagram;
Fig. 8 is the structural representation of mobile terminal of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
The generation method of the photo of the embodiment of the present invention, as shown in Figure 3, by adopting three photographic head, the filter that each photographic head is provided with in RGB a kind of color, without carrying out demosaic process, just can obtain each pixel and have the image of RGB information, effectively improve the definition of picture and the effect of color rendition.
As shown in Figure 4, generation method for embodiment of the present invention photo, being applied to a mobile terminal, described mobile terminal includes: first photographic head with red filter, the second camera with green filter and have the 3rd photographic head of blue filter, and the generation method of described photo includes:
Step 401, obtaining the first original image, the second original image and the 3rd original image that the first photographic head, second camera and the 3rd photographic head shoot respectively, the first original image of described shooting, the second original image and the 3rd original image only store red information, green information and blue information respectively.
Here, the first original image, the second original image and the 3rd original image, be the first photographic head, second camera and the 3rd photographic head sensor output, without the initial data of any algorithm process.
Step 402, adjusts the parameter of the first original image of described acquisition, the second original image and the 3rd original image, obtains the first intermediate image, the second intermediate image and the 3rd intermediate image.
Step 403, carries out synthesis process by the first intermediate image of described acquisition, the second intermediate image and the 3rd intermediate image, generates photo.
The generation method of the photo that the embodiment of the present invention provides, by obtaining the first original image, the second original image and the 3rd original image that the first photographic head, second camera and the 3rd photographic head shoot respectively, adjust the parameter of the first original image of described acquisition, the second original image and the 3rd original image, obtain the first intermediate image, the second intermediate image and the 3rd intermediate image, first intermediate image of described acquisition, the second intermediate image and the 3rd intermediate image are carried out synthesis process, generates photo.The generation method of this photo is possible not only to reduce colored noise, and the brightness of definition, color rendition and photo can not be affected, and, it is not necessary to carry out demosaicing process, can be obtained by the effect of filter by simply synthesis, effectively improve edge blurry and the inaccurate problem of color.
Wherein, in above-mentioned steps 401, the first original image, the second original image and the 3rd original image, be the first photographic head S1, the image of shooting after the focus that the angled alignment of second camera S2 and the three photographic head S3 is same.S1, S2 and S3 can put in a triangle.
It addition, in above-mentioned steps 403, it is possible to the synthesis being realized the first intermediate image, the second intermediate image and the 3rd intermediate image by ISP is processed.
In specific embodiments of the invention, the step of above-mentioned steps 402 specifically may include that
Step 4021, the brightness according to current environment light, calculate described first original image, the second original image and the 3rd original image and respectively reach the photosensitive yield value gain needed for target brightness value luma_target and exposure line number value linecount.
Here, the time owing to exposing a line is fixed, it is possible to represent time of exposure by exposure line number.
Step 4022, adjusts photosensitive yield value and the exposure line number value of described first original image, the second original image and the 3rd original image further.
Now, the brightness according to current environment light, it is determined that three original images respectively reach the photosensitive yield value needed for target brightness value and exposure line number value, can make image reach to make human eye to feel comfortable object brightness, thus ensureing the basic effect of image.And by the photosensitive yield value of original image and exposure line number value are further adjusted, other effects can be realized on the basis of guarantee image basis effect.
Wherein, luma_target=gain*linecount, when above-mentioned steps 4021 implements, such as the picture that can obtain according to S2 module, calculate the difference of photo current brightness currentluma and luma_target, then calculate gain and the linecount value that next frame needs, if luma_target is more than currentluma, then improve gain and linecount value, until currentluma is equal to luma_target.
Wherein, the photosensitive yield value after adjusting and exposure line number value can be respectively written in the depositor of the first photographic head, second camera and the 3rd photographic head by above-mentioned steps 4022, for each photographic head.
The information that the RAWDATA of existing single camera output is the ISP rgb pixel point closed on three does interpolation, obtain the rgb value that each pixel is corresponding, finally obtain picture, but the bad control of colour noise when dark situation of this mode, it is easy to affect picture effect.
In order to effectively solve the colored noise problem of image, in specific embodiments of the invention, above-mentioned steps 4022 may include that
Step 40221, reduces the photosensitive yield value of the original image of described first original image and the 3rd original image, increases the exposure line number value of described first original image and the 3rd original image.
Now, owing to gain value is directly proportional to colored noise, if the gain value of the first original image and the 3rd original image is more than threshold value, then can automatically be reduced the photosensitive yield value gain of the first original image and the 3rd original image by above-mentioned steps 40221, to reduce the colored noise of picture.
Concrete, the gain value of the first original image and the 3rd original image can be reduced the adjustment multiple N of correspondence, and the linecount value of the first original image and the 3rd original image is expanded corresponding adjustment multiple N, colored noise can be effectively reduced, and owing to the value of the gain*linecount after adjusting is constant, so not affecting the definition of picture, color rendition and picture luminance.
Here, there is the second original image of the second camera shooting of green filter, keep the gain value needed for reaching target brightness value and linecount value constant, as the basis of picture, it is ensured that picture does not have relatively large deviation.
It addition, existing single camera obtains the mode of image can not be directly realized by the function of special filter (as miss old times or old friends, pseudo-classic etc.), in order to conveniently realize the function of special filter, in specific embodiments of the invention, above-mentioned steps 4022 may include that
Step 40222, according to the filtering effects that user chooses, adjusts photosensitive yield value and the exposure line number value of described first original image, the second original image and the 3rd original image.
Now, according to target filtering effects (as miss old times or old friends, pseudo-classic etc.), after the gain value of the first original image, the second original image and the 3rd original image and linecount value are adjusted, do a simple synthesis and just can reach target filtering effects, and it is absent from the situation that edge blurry and color are inaccurate, enrich functions of the equipments, improve Consumer's Experience.
Preferably, above-mentioned steps 403 may include that
Step 4031, is corrected position and the angle of described first intermediate image, described second intermediate image and described 3rd intermediate image, obtains the first intermediate image after correction, the second intermediate image and the 3rd intermediate image;
Step 4032, carries out synthesis process by the first intermediate image after described correction, the second intermediate image and the 3rd intermediate image.
Now, by the first intermediate image, the second intermediate image and the 3rd intermediate image are corrected, the corner parts that three images do not agree with can effectively be removed, thus obtaining effective target image.
Preferably, above-mentioned steps 4031 may include that
Step 40311, according to previously generating described first photographic head, described second camera and the described 3rd photographic head imaging intrinsic parameter under different focus position respectively, the outer parameter of imaging and current focusing position, obtain described first photographic head, described second camera and described 3rd photographic head imaging intrinsic parameter corresponding under described current focusing position respectively, the outer parameter of imaging.
Here, imaging intrinsic parameter refers to the imaging parameters of current photographic head self, and the outer parameter of imaging refers to the imaging parameters between two photographic head.
Step 40312, the imaging intrinsic parameter corresponding under described current focusing position respectively according to described first photographic head, described second camera and described 3rd photographic head, the outer parameter of imaging, be corrected position and the angle of described first intermediate image, described second intermediate image and described 3rd intermediate image.
Now, the imaging inside and outside parameter according to current position, carry out image rectification, three intermediate images can be made to same shooting angle, process for ensuing synthesis and lay a solid foundation.
Wherein, in above-mentioned steps 40311, the imaging inside and outside parameter of 10 focusing positions as generated according to off-line, and utilize current focusing position that it is interpolated, obtain the imaging inside and outside parameter under current focusing position, second intermediate image (G image), the 3rd intermediate image (B image) are carried out the affine transformation based on the first intermediate image (R image) so that three images are in same angle.
Wherein, the calculation of the imaging inside and outside parameter of current focusing position is that the imaging inside and outside parameter at the 10 groups of focusing position places whole stroke of motor (cover) utilizing off-line to generate carries out linear interpolation acquisition.For G image, known: imaging intrinsic parameter p_inside_0, the outer parameter p_outside_0 of imaging corresponding for focus f_0 ... imaging intrinsic parameter p_inside_9, the outer parameter p_outside_9 of imaging corresponding for focus f_9, and current focus f, calculate imaging intrinsic parameter p_inside, the outer parameter p_outside of imaging corresponding for current angular f by linear interpolation.And G image carried out affine transformation to the same shooting angle of R image by p_inside, p_outside.B image is in like manner.Wherein the acquisition of the imaging inside and outside parameter of 10 groups of focusing position places (covering the whole stroke of motor) is to obtain (in module manufacture process) in off-line procedure, implements as shown in Figure 7:
Step 701: three modules carry out integral type assembling according to constant matching requirements (the maximum tolerance degree proposed according to composition algorithm requires) and (have error in the process of assembling, it is therefore desirable to by all these error measures out.Namely following steps are realize this process).
Step 702: scheme Chart for same, the focusing position adjusting three photographic head is same position, respectively one image of shooting.The same manner adjusts 10 focusing positions, shoots 3 groups of images, often 10 images of group.
Step 703: according to three groups of images, often 10 images of group, calculate three photographic head imaging intrinsic parameter at each focusing position place respectively.
Step 704: according to three groups of images, often 10 images of group, shoot image for benchmark with R photographic head, respectively G photographic head, B photographic head are carried out six axle demarcation, obtain G photographic head to join relative to outside the imaging of R photographic head, and B photographic head is relative to the outer parameter of the imaging of R photographic head.
Step 705: the imaging intrinsic parameter of corresponding each photographic head of 10 focusing positions of acquisition and G photographic head, B photographic head are for parameter outside the imaging of R photographic head.
Below, respectively from reducing Image Color noise and realizing the special filtering effects the two aspect of picture, two specific embodiments of the present invention are illustrated below:
Embodiment one, as shown in Figure 5, the processing method of the picture of the embodiment of the present invention is applied to a mobile phone, camera on this mobile phone has three photographic head S1, S2 and S3, wherein the filter of S1 only has red R, the only blue B of filter of the filter of S2 only green G, S3, and the focus that three angled alignments of photographic head are same.Processing method comprises the steps:
Step 501, when user opens the camera applications of mobile phone, receives user and enters the request of camera, open three photographic head S1, S2 and S3.Step 502 is performed after end.
Step 502, receives the frame initial data that exports respectively of sensor of S1, S2 and S3, thus obtaining the first original image, the second original image and the 3rd original image that S1, S2 and S3 shoot respectively.Step 503 is performed after end.
Step 503, it is determined that gain and linecount is worth.According to the picture that S2 module obtains, calculate photo current brightness currentluma, the difference of the target brightness value luma_target overall with picture, then gain and the linecount value (if luma_target > current_luma, then improve gain and linecount) that next frame needs is calculated.Repeat step 502, until currentluma and lumatarget is equal.If after currentluma and lumatarget is equal, user's execution is taken pictures, and come in enters step 504.
Step 504, according to the 503 gain values obtained, if gain value is more than threshold value (such as 8 times of gain), then automatically adjusts S1 by algorithm and uses 1/N*gain and N*linecount (1 < N < 10) with S3.S2 uses normal gain and linecount, performs step 505 after terminating.
Step 505, gain value above-mentioned steps 504 obtained and linecount value are respectively written in the depositor of corresponding photographic head.Step 506 is performed after end.
Step 506: respectively obtain three pictures P_R, P_G, P_B, and record current focusing position f.This step is on the basis of 505, and data are first left after obtaining the data that three photographic head export by ISP.Step 507 is performed after end.
Step 507: three pictures P_R, P_G, P_B are corrected.According to 10 focusing position imaging inside and outside parameter that off-line generates, utilize current focusing position that it is interpolated, obtain the imaging inside and outside parameter of current focusing position, G image, B image are carried out the affine transformation based on R image so that three images are in same angle and shoot.
Three images are synthesized, obtain final photo by step 508.
This step is by synthesizing the data of tri-passages of RGB.Step 502 is entered after completing.If user exits into step 509.
Step 509: exit camera, closes three photographic head.
In the present embodiment, because luma_target=gain*linecount in theory, and gain can increase noise.So the gain value used by reduction R and channel B, increase the linecount value of R and channel B.Do not revise gain value and the linecount value of G passage, be possible not only to reduce colored noise and do not affect the brightness of definition, color rendition and picture.And it goes without doing demosaic, just can obtain each pixel has the image of complete RGB information, effectively improves the effect of picture clarity and color rendition.
Embodiment two, as shown in Figure 6, the processing method of the picture of the embodiment of the present invention is applied to a mobile phone, camera on this mobile phone has three photographic head S1, S2 and S3, wherein the filter of S1 only has red R, the only blue B of filter of the filter of S2 only green G, S3, and the focus that three angled alignments of photographic head are same.Processing method comprises the steps:
Step 601, when user opens the camera applications of mobile phone, receives user and enters the request of camera, open three photographic head S1, S2 and S3.Step 602 is performed after end.
Step 602, receives the frame initial data that exports respectively of sensor of S1, S2 and S3, thus obtaining the first original image, the second original image and the 3rd original image that S1, S2 and S3 shoot respectively.Step 603 is performed after end.
Step 603, the brightness according to the first original image, the second original image, the 3rd original image and current environment light, it is determined that three photographic head respectively reach the luma_target gain value needed and linecount value.
Step 604, gain and linecount step 603 obtained is adjusted by algorithm, obtain effect (the 1. gain of such as raising R module that filter is chosen, other modules are not modified, can be obtained by the picture of filtering effects redly, 2. the gain of gain, the G module such as increasing R and B does not make an amendment, it is possible to obtain the picture of purple filtering effects.Principle: the combination that three primary color components is different can obtain the picture of different colors).And respectively gain and linecount is write in the depositor of corresponding photographic head.Step 602 is performed after end.If user takes pictures, step 605 please be perform.
Step 605, respectively obtains three pictures P_R, P_G, P_B.This step is on the basis of 604, and data are first left after obtaining the data that three photographic head export by ISP.Step 606 is performed after end.
Three pictures P_R, P_G, P_B are corrected by step 606.According to 10 focusing position imaging inside and outside parameter that off-line generates, utilize current focusing position that it is interpolated, obtain the imaging inside and outside parameter of current focusing position, G image, B image are carried out the affine transformation based on R image so that three images are in same angle and shoot.
This step is three pictures that will obtain, and carries out the correction of same shooting angle, it is achieved the similar step 507 of step, is that the picture synthesis of 607 does homework, enters step 607 after terminating.
Step 607: synthesized by the image being previously obtained, obtains final photo.
This step is by synthesizing the data of tri-passages of RGB.Step 602 is entered after completing.If user exits into step 608.
Step 608: exit camera, closes three photographic head.
In the present embodiment, after obtaining each RGB channel information, do a simple synthesis and can be obtained by the effect of target filter, be absent from the situation that edge blurry and color are inaccurate.And gain and the linecount of each passage can be adjusted, allow user obtain the picture being more prone to accept.Enrich functions of the equipments, improve Consumer's Experience.
The generation method of the photo of the embodiment of the present invention, the image of a kind of color in RGB is only had by adopting three photographic head to obtain respectively, and synthesize, without carrying out demosaic process, just can obtain each pixel and have the image of RGB information, effectively improve the definition of picture and the effect of color rendition.
The generation method of the photo of the embodiment of the present invention, by the gain value that reduction R and channel B use, increase the linecount value of R and channel B, do not revise gain value and the linecount value of G passage, be possible not only to reduce colored noise and do not affect the brightness of definition, color rendition and picture.
The generation method of the photo of the embodiment of the present invention, by adjusting the gain of R, G, channel B, it is possible to realize the effect of target filter easily, enrich functions of the equipments, improve Consumer's Experience.
As shown in Figure 8, embodiments of the invention additionally provide a kind of mobile terminal, described mobile terminal includes: first photographic head with red filter, the second camera with green filter and have the 3rd photographic head of blue filter, and described mobile terminal also includes:
Acquisition module 801, for obtaining the first original image, the second original image and the 3rd original image that the first photographic head, second camera and the 3rd photographic head shoot respectively, the first original image of described shooting, the second original image and the 3rd original image only store red information, green information and blue information respectively;
Adjusting module 802, for adjusting the parameter of the first original image of described acquisition, the second original image and the 3rd original image, obtains the first intermediate image, the second intermediate image and the 3rd intermediate image;
Synthesis module 803, for the first intermediate image of described acquisition, the second intermediate image and the 3rd intermediate image carry out synthesis process, generates photo.
The mobile terminal of the embodiment of the present invention, the image of a kind of color in RGB is only had by adopting three photographic head to obtain respectively, it is possible not only to reduce colored noise, and the brightness of definition, color rendition and photo can not be affected, and, without carrying out demosaicing process, can be obtained by the effect of filter by simply synthesis, effectively improve edge blurry and the inaccurate problem of color.
Wherein, described adjusting module 802 includes:
Computing unit 8021, for the brightness according to current environment light, calculates described first original image, the second original image and the 3rd original image and respectively reaches the photosensitive yield value needed for target brightness value and exposure line number value;
Adjustment unit 8022, for adjusting photosensitive yield value and the exposure line number value of described first original image, the second original image and the 3rd original image further.
In order to effectively solve the colored noise problem of image, described adjustment unit 8021 includes:
First adjusts subelement 80211, for reducing the photosensitive yield value of the original image of described first original image and the 3rd original image, increases the exposure line number value of described first original image and the 3rd original image.
In order to conveniently realize the function of special filter, described adjustment unit 8021 includes:
Second adjusts subelement 80212, for the filtering effects chosen according to user, adjusts photosensitive yield value and the exposure line number value of described first original image, the second original image and the 3rd original image.
Preferably, described synthesis module 803 includes:
Correction unit 8031, for position and the angle of described first intermediate image, described second intermediate image and described 3rd intermediate image being corrected, obtains the first intermediate image after correction, the second intermediate image and the 3rd intermediate image;
Synthesis unit 8032, for carrying out synthesis process by the first intermediate image after described correction, the second intermediate image and the 3rd intermediate image.
Concrete, described correction unit 8031 includes:
Acquiring unit 80311, according to previously generating described first photographic head, described second camera and the described 3rd photographic head imaging intrinsic parameter under different focus position respectively, the outer parameter of imaging and current focusing position, obtain described first photographic head, described second camera and described 3rd photographic head imaging intrinsic parameter corresponding under described current focusing position respectively, the outer parameter of imaging;
Syndrome unit 80312, the imaging intrinsic parameter corresponding under described current focusing position respectively according to described first photographic head, described second camera and described 3rd photographic head, the outer parameter of imaging, be corrected position and the angle of described first intermediate image, described second intermediate image and described 3rd intermediate image.
The mobile terminal of the embodiment of the present invention, the image of a kind of color in RGB is only had by adopting three photographic head to obtain respectively, it is possible not only to reduce colored noise, and the brightness of definition, color rendition and photo can not be affected, and, without carrying out demosaicing process, can be obtained by the effect of filter by simply synthesis, effectively improve edge blurry and the inaccurate problem of color.
The terminal embodiment of the present invention can realize each step in embodiment of the method, is not described in detail in this.
The mobile terminal of the present invention is as being the mobile terminal such as mobile phone, panel computer.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc..
Above disclosed it is only one preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are made, still fall within the scope that the present invention contains.

Claims (12)

1. the generation method of a photo, it is applied to a mobile terminal, it is characterized in that, described mobile terminal includes: first photographic head with red filter, the second camera with green filter and have the 3rd photographic head of blue filter, and the generation method of described photo includes:
Obtaining the first original image, the second original image and the 3rd original image that the first photographic head, second camera and the 3rd photographic head shoot respectively, the first original image of described shooting, the second original image and the 3rd original image only store red information, green information and blue information respectively;
Adjust the parameter of the first original image of described acquisition, the second original image and the 3rd original image, obtain the first intermediate image, the second intermediate image and the 3rd intermediate image;
First intermediate image of described acquisition, the second intermediate image and the 3rd intermediate image are carried out synthesis process, generates photo.
2. the generation method of photo according to claim 1, it is characterised in that the parameter of the first original image of the described acquisition of described adjustment, the second original image and the 3rd original image, including:
Brightness according to current environment light, calculates described first original image, the second original image and the 3rd original image and respectively reaches the photosensitive yield value needed for target brightness value and exposure line number value;
Adjust photosensitive yield value and the exposure line number value of described first original image, the second original image and the 3rd original image further.
3. the generation method of photo according to claim 2, it is characterised in that photosensitive yield value and the exposure line number value of described first original image of described further adjustment, the second original image and the 3rd original image include:
Reduce the photosensitive yield value of the original image of described first original image and the 3rd original image, increase the exposure line number value of described first original image and the 3rd original image.
4. the generation method of photo according to claim 2, it is characterised in that photosensitive yield value and the exposure line number value of described first original image of described further adjustment, the second original image and the 3rd original image include:
According to the filtering effects that user chooses, adjust photosensitive yield value and the exposure line number value of described first original image, the second original image and the 3rd original image.
5. the generation method of photo according to claim 1, it is characterised in that described first intermediate image of described acquisition, the second intermediate image and the 3rd intermediate image are carried out synthesis process, including:
Position and the angle of described first intermediate image, described second intermediate image and described 3rd intermediate image are corrected, obtain the first intermediate image after correction, the second intermediate image and the 3rd intermediate image;
The first intermediate image after described correction, the second intermediate image and the 3rd intermediate image are carried out synthesis process.
6. the generation method of photo according to claim 5, it is characterised in that described position and angle by described first intermediate image, described second intermediate image and described 3rd intermediate image is corrected, including:
According to previously generating described first photographic head, described second camera and the described 3rd photographic head imaging intrinsic parameter under different focus position respectively, the outer parameter of imaging and current focusing position, obtain described first photographic head, described second camera and described 3rd photographic head imaging intrinsic parameter corresponding under described current focusing position respectively, the outer parameter of imaging;
The imaging intrinsic parameter corresponding under described current focusing position respectively according to described first photographic head, described second camera and described 3rd photographic head, the outer parameter of imaging, be corrected position and the angle of described first intermediate image, described second intermediate image and described 3rd intermediate image.
7. a mobile terminal, it is characterised in that described mobile terminal includes: first photographic head with red filter, the second camera with green filter and there is the 3rd photographic head of blue filter, described mobile terminal also includes:
Acquisition module, for obtaining the first original image, the second original image and the 3rd original image that the first photographic head, second camera and the 3rd photographic head shoot respectively, the first original image of described shooting, the second original image and the 3rd original image only store red information, green information and blue information respectively;
Adjusting module, for adjusting the parameter of the first original image of described acquisition, the second original image and the 3rd original image, obtains the first intermediate image, the second intermediate image and the 3rd intermediate image;
Synthesis module, for the first intermediate image of described acquisition, the second intermediate image and the 3rd intermediate image carry out synthesis process, generates photo.
8. mobile terminal according to claim 7, it is characterised in that described adjusting module includes:
Computing unit, for the brightness according to current environment light, calculates described first original image, the second original image and the 3rd original image and respectively reaches the photosensitive yield value needed for target brightness value and exposure line number value;
Adjustment unit, for adjusting photosensitive yield value and the exposure line number value of described first original image, the second original image and the 3rd original image further.
9. mobile terminal according to claim 8, it is characterised in that described adjustment unit includes:
First adjusts subelement, for reducing the photosensitive yield value of the original image of described first original image and the 3rd original image, increases the exposure line number value of described first original image and the 3rd original image.
10. mobile terminal according to claim 8, it is characterised in that described adjustment unit includes:
Second adjusts subelement, for the filtering effects chosen according to user, adjusts photosensitive yield value and the exposure line number value of described first original image, the second original image and the 3rd original image.
11. mobile terminal according to claim 7, it is characterised in that described synthesis module includes:
Correction unit, for position and the angle of described first intermediate image, described second intermediate image and described 3rd intermediate image being corrected, obtains the first intermediate image after correction, the second intermediate image and the 3rd intermediate image;
Synthesis unit, for carrying out synthesis process by the first intermediate image after described correction, the second intermediate image and the 3rd intermediate image.
12. mobile terminal according to claim 11, it is characterised in that described correction unit includes:
Acquiring unit, for according to previously generating described first photographic head, described second camera and the described 3rd photographic head imaging intrinsic parameter under different focus position respectively, the outer parameter of imaging and current focusing position, obtaining described first photographic head, described second camera and described 3rd photographic head imaging intrinsic parameter corresponding under described current focusing position respectively, the outer parameter of imaging;
Syndrome unit, for the imaging intrinsic parameter corresponding under described current focusing position respectively according to described first photographic head, described second camera and described 3rd photographic head, the outer parameter of imaging, position and the angle of described first intermediate image, described second intermediate image and described 3rd intermediate image is corrected.
CN201510536424.4A 2015-08-27 2015-08-27 A kind of generation method and mobile terminal of photo Active CN105809634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510536424.4A CN105809634B (en) 2015-08-27 2015-08-27 A kind of generation method and mobile terminal of photo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510536424.4A CN105809634B (en) 2015-08-27 2015-08-27 A kind of generation method and mobile terminal of photo

Publications (2)

Publication Number Publication Date
CN105809634A true CN105809634A (en) 2016-07-27
CN105809634B CN105809634B (en) 2019-03-05

Family

ID=56466192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510536424.4A Active CN105809634B (en) 2015-08-27 2015-08-27 A kind of generation method and mobile terminal of photo

Country Status (1)

Country Link
CN (1) CN105809634B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210678A (en) * 2016-07-29 2016-12-07 广东欧珀移动通信有限公司 Image color processing method, device and terminal unit
CN106454101A (en) * 2016-10-25 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
CN106791735A (en) * 2016-12-27 2017-05-31 张晓辉 image generating method and device
CN107277352A (en) * 2017-06-30 2017-10-20 维沃移动通信有限公司 The method and mobile terminal of a kind of shooting
CN107995400A (en) * 2017-12-19 2018-05-04 杨松 Image collecting device, camera and image-pickup method
CN109963080A (en) * 2019-03-26 2019-07-02 Oppo广东移动通信有限公司 Image-pickup method, device, electronic equipment and computer storage medium
EP3910917A4 (en) * 2019-02-01 2022-01-19 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100060755A1 (en) * 2006-09-20 2010-03-11 Jin-Feng Wang Image forming method and apparatus for using black-and white camera to capture color image
CN102938145A (en) * 2012-10-23 2013-02-20 深圳大学 Consistency regulating method and system of splicing panoramic picture
CN103595921A (en) * 2012-08-13 2014-02-19 奥林巴斯映像株式会社 Camera device
CN104661008A (en) * 2013-11-18 2015-05-27 深圳中兴力维技术有限公司 Processing method and device for improving colorful image quality under condition of low-light level

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100060755A1 (en) * 2006-09-20 2010-03-11 Jin-Feng Wang Image forming method and apparatus for using black-and white camera to capture color image
CN103595921A (en) * 2012-08-13 2014-02-19 奥林巴斯映像株式会社 Camera device
CN102938145A (en) * 2012-10-23 2013-02-20 深圳大学 Consistency regulating method and system of splicing panoramic picture
CN104661008A (en) * 2013-11-18 2015-05-27 深圳中兴力维技术有限公司 Processing method and device for improving colorful image quality under condition of low-light level

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210678A (en) * 2016-07-29 2016-12-07 广东欧珀移动通信有限公司 Image color processing method, device and terminal unit
CN106454101A (en) * 2016-10-25 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Image processing method and terminal
CN106791735A (en) * 2016-12-27 2017-05-31 张晓辉 image generating method and device
CN107277352A (en) * 2017-06-30 2017-10-20 维沃移动通信有限公司 The method and mobile terminal of a kind of shooting
CN107995400A (en) * 2017-12-19 2018-05-04 杨松 Image collecting device, camera and image-pickup method
EP3910917A4 (en) * 2019-02-01 2022-01-19 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method, storage medium and electronic device
US11736814B2 (en) 2019-02-01 2023-08-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method, storage medium and electronic device
CN109963080A (en) * 2019-03-26 2019-07-02 Oppo广东移动通信有限公司 Image-pickup method, device, electronic equipment and computer storage medium
CN109963080B (en) * 2019-03-26 2021-07-09 Oppo广东移动通信有限公司 Image acquisition method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN105809634B (en) 2019-03-05

Similar Documents

Publication Publication Date Title
CN105809634A (en) Photograph generating method and mobile terminal
JP5527448B2 (en) Image input device
JP5971207B2 (en) Image adjustment apparatus, image adjustment method, and program
US8515206B2 (en) Apparatus and method to generate image
US9445067B2 (en) Imaging device and image signal processor with color noise correction
US9288392B2 (en) Image capturing device capable of blending images and image processing method for blending images thereof
KR100580911B1 (en) Image synthesis method and image pickup apparatus
US10630920B2 (en) Image processing apparatus
JP5397788B2 (en) Image input device
JP2008167361A (en) Camera module, electronic device with the same, method of manufacturing camera module, and method of manufacturing electronic device using the same
KR102102740B1 (en) Image processing apparatus and image processing method
JP2007142670A (en) Image processing system and image processing program
JP2008227945A (en) Image processing apparatus and image processing program
JP4959237B2 (en) Imaging system and imaging program
JP7052811B2 (en) Image processing device, image processing method and image processing system
JP5814610B2 (en) Image processing apparatus, control method therefor, and program
JP2002112276A (en) Color solid-state image pickup device
JP7299762B2 (en) Image processing device and method, imaging device, program
JP2015126416A (en) Image processing apparatus, control method, and program
JP2004215063A (en) Photographing device and outline correction method
JP2023006631A (en) Imaging device, control method thereof, and program
JP2023091493A (en) Image processing apparatus and image processing method
JP2023064501A (en) Image processing device and image processing method
JP2003259206A (en) Device and method for processing signal, recording medium and program
JP2018029225A (en) Image processing apparatus and imaging 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