CN106454101A - Image processing method and terminal - Google Patents
Image processing method and terminal Download PDFInfo
- Publication number
- CN106454101A CN106454101A CN201610940747.4A CN201610940747A CN106454101A CN 106454101 A CN106454101 A CN 106454101A CN 201610940747 A CN201610940747 A CN 201610940747A CN 106454101 A CN106454101 A CN 106454101A
- Authority
- CN
- China
- Prior art keywords
- picture
- coincidence
- terminal
- photographic head
- depth
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/10—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/646—Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
Abstract
The embodiment of the invention discloses an image processing method and a terminal for improving the details and the image quality of images. The method disclosed by the embodiment of the invention comprises the following steps: the terminal shoots a target object through a first camera, a second camera and a third camera to separately obtain a first image, a second image and a third image, wherein the first camera is a camera provided with a red filter, the second camera is a camera provided with a blue filter, the third camera is a camera provided with a green filter, the terminal is provided with the first camera, the second camera and the third camera; and the terminal synthesizes a target image according to the first image, the second image and the third image. The embodiment of the invention further disclosed a terminal. By adoption of the image processing method and the terminal disclosed by the embodiment of the invention, the details and the image quality of images can be improved.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of image processing method and terminal.
Background technology
In recent years, as science and technology constantly develops, user requires also to improve therewith to the camera function of mobile device, it is desirable to move
Dynamic equipment is more true to nature lively to the reduction of image.
In prior art, mobile device improves image quality using two photographic head, including traditional black and white photographic head and colour
Photographic head.Using the colour model of YUV, by the sensor on traditional black and white photographic head, luminance signal is individually extracted, then
The sensor of the Bayer filter for being carried by colour imagery shot obtains color information, and luminance signal and color information are overlapped
Obtain image.
However, in prior art, as color information is obtained by the sensor of Bayer filter, actual using Baeyer filter
Each pixel of the sensor of mirror only has a kind of color, needs to carry out interpolation arithmetic to generate the pixel comprising trichroism spectral information,
And do interpolation arithmetic and " guess " data for going out other two kinds of light that each pixel is received, will necessarily there is the color information of acquisition
Deviation, cause details and the image quality distortion of image.
Content of the invention
A kind of image processing method and terminal is embodiments provided, for improving details and the image quality of image.
On the one hand the embodiment of the present invention provides a kind of image processing method, specifically includes:
Terminal is shot to object by the first photographic head, second camera and the 3rd photographic head, is respectively obtained
First picture, the second picture and the 3rd picture, first photographic head is the photographic head for carrying red filter, and described second takes the photograph
As the photographic head that head is carrying blue filter, the 3rd photographic head is the photographic head for carrying green filter, and the terminal has
First photographic head, the second camera and the 3rd photographic head;
The terminal synthesizes target image according to first picture, second picture and the 3rd picture.
On the other hand the embodiment of the present invention provides a kind of equipment, specifically includes:
Shooting unit, for being shot to object by the first photographic head, second camera and the 3rd photographic head,
The first picture, the second picture and the 3rd picture is respectively obtained, first photographic head is the photographic head for carrying red filter, institute
It is the photographic head for carrying blue filter to state second camera, and the 3rd photographic head is the photographic head for carrying green filter, described
Terminal has first photographic head, the second camera and the 3rd photographic head;
Synthesis unit, for synthesizing target image according to first picture, second picture and the 3rd picture.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:Terminal by the first photographic head, the
Two photographic head and the 3rd photographic head are shot to object, respectively obtain the first picture, the second picture and the 3rd picture,
Wherein the first photographic head is the photographic head for carrying red filter, and second camera is the photographic head for carrying blue filter, and the 3rd takes the photograph
As head is the photographic head that carries green filter, terminal has the first photographic head, second camera and the 3rd photographic head, terminal root again
Synthesize target image according to the first picture, the second picture and the 3rd picture.Due to any color be all by red, blue and green three
Primary colours composition, three width pictures obtained by terminal will transmit through red filter, blue filter and green filter synthesize target figure
Picture, the color information in three width pictures completely retains does not lose, and improves details and the image quality of image.
Description of the drawings
Fig. 1 is an application scenarios schematic diagram in the embodiment of the present invention;
Fig. 2 is Another Application schematic diagram of a scenario in the embodiment of the present invention;
Fig. 3 is image processing method one embodiment schematic diagram in the embodiment of the present invention;
Another embodiment schematic diagram of image processing method in Fig. 4 embodiment of the present invention;
Fig. 5 is Another Application schematic diagram of a scenario in the embodiment of the present invention;
Fig. 6 is terminal one embodiment schematic diagram in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of terminal in the embodiment of the present invention;
Fig. 8 is another embodiment schematic diagram of terminal in the embodiment of the present invention.
Specific embodiment
A kind of image processing method and terminal is embodiments provided, for improving details and the image quality of image.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection
Enclose.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing, "
Four " etc. (if present) be for distinguishing similar object, without for describing specific order or precedence.Should manage
The data that solution is so used can be exchanged in the appropriate case, can be with except illustrating here so as to the embodiments described herein
Or the order beyond the content of description is implemented.Additionally, term " including " or " with " and its any deformation, it is intended that cover not
Exclusive includes, for example, contain series of steps or unit process, method, system, product or equipment be not necessarily limited to clear
Those steps for listing or unit, but may include clearly not list or for these processes, method, product or set
Standby other intrinsic step or unit.
The embodiment of the present invention can be used for the application scenarios shown in Fig. 1.In the application scenarios, user is by mobile device
Photographic head come complete shoot.In prior art, mobile device is provided with dual camera, including traditional black and white photographic head and colour
Photographic head, its module design figure is as shown in Figure 2.Using the colour model of YUV, will by the sensor on traditional black and white photographic head
The resolution of shading value and details is that luminance signal is individually extracted, and is obtained by the sensor of the Baeyer filter on colour imagery shot
It is color information to obtain color resolution, and luminance signal and color information are overlapped obtaining image.But it is actual using Baeyer filter
Each pixel of the sensor of mirror only has a kind of color, needs to carry out interpolation arithmetic to generate the pixel comprising trichroism spectral information,
And the deviation that interpolation arithmetic will necessarily have the color information of acquisition is done, cause details and the image quality distortion of image.
In view of this, in the embodiment of the present invention, terminal is by the first photographic head, second camera and the 3rd photographic head pair
Object is shot, and respectively obtains the first picture, the second picture and the 3rd picture, and wherein the first photographic head is red for carrying
The photographic head of filter, second camera is the photographic head for carrying blue filter, and the 3rd photographic head is the shooting for carrying green filter
Head, terminal has the first photographic head, second camera and the 3rd photographic head, and terminal is further according to the first picture, the second picture and the
Three pictures synthesize target image.
For ease of understanding, below the idiographic flow in the embodiment of the present invention is described, Fig. 3 is referred to, reality of the present invention
Applying image processing method one embodiment in example includes:
301st, terminal is shot to object by the first photographic head, second camera and the 3rd photographic head and is obtained respectively
To the first picture, the second picture and the 3rd picture;
Terminal has three photographic head, respectively the first photographic head, second camera and the 3rd photographic head.Due to any
Color is all made up of red, blue and green three primary colours, therefore the first photographic head is the photographic head for carrying red filter, and second
Photographic head is the shooting for carrying blue filter, and the 3rd photographic head is the photographic head for carrying green filter.When user is using having
When the terminal of three photographic head is shot, terminal receives the instruction of user's transmission, and then by the first photographic head, the second shooting
Head and the 3rd photographic head are shot to object, respectively obtain the first picture, the second picture and the 3rd picture, and wherein the
One picture is red picture, and it is green picture that the second picture is blue picture, the 3rd picture, the first picture, the second picture and
Luminance signal and color information are all contained in 3rd picture.
302nd, terminal synthesizes target image according to the first picture, the second picture and the 3rd picture.
After terminal taking obtains the first picture, the second picture and the 3rd picture, by the first picture, the second picture and the 3rd
The intersection synthesis target image of picture.
As can be seen from the above technical solutions, in the embodiment of the present invention, terminal by the first photographic head, second camera with
And the 3rd photographic head object is shot, respectively obtain the first picture, the second picture and the 3rd picture, wherein first takes the photograph
As the photographic head that head is carrying red filter, second camera is the photographic head for carrying blue filter, and the 3rd photographic head is for carrying
The photographic head of green filter, terminal has the first photographic head, second camera and the 3rd photographic head, and terminal is drawn further according to first
Face, the second picture and the 3rd picture synthesis target image.As any color is all made up of red, blue and green three primary colours
, three width pictures obtained by terminal will transmit through red filter, blue filter and green filter synthesize target image, and three width are drawn
Color information in face completely retains does not lose, and improves details and the image quality of image.
For ease of understanding, the image processing method of the embodiment of the present invention will be described in detail below, concrete as Fig. 4 institute
Show, Fig. 4 is referred to, in the embodiment of the present invention, another kind of image processing method includes:
401st, terminal receives light by the first photographic head, second camera and the 3rd photographic head;
Terminal has three photographic head, respectively the first photographic head, second camera and the 3rd photographic head, three shootings
Head arrangement mode is as shown in figure 5, as any color is all made up of red, blue and green three primary colours, therefore the first shooting
Head is for carrying the photographic head of red filter, and second camera is the shooting for carrying blue filter, and the 3rd photographic head is for carrying green
The photographic head of filter.It is understood that in practical application, the arrangement mode of each photographic head is located at second except the first photographic head
Above photographic head and the 3rd photographic head, can also include that second camera is located above the first photographic head and the 3rd photographic head, or
Three photographic head located side by side of person, therefore concrete arrangement mode is not limited herein.When user is using the end with three photographic head
When end is shot, terminal receives the instruction of user's transmission, and then is taken the photograph by the first photographic head, second camera and the 3rd
As head receives light with photographic subjects thing.
Wherein, in actual applications, the terminal in the embodiment of the present invention includes mobile phone, panel computer or notebook electricity
Brain etc., is not specifically limited herein.
402nd, light is filtered by red filter, blue filter and green filter and obtains corresponding red light respectively by terminal
Line, blue ray and green light;
After terminal receives light, by the first photographic head, it is red filter due to covered on the first photographic head, therefore only
There is red light be impregnated with, in the same manner, the blue filter only blue ray that second camera is covered can be impregnated with, the 3rd shooting
The green filter only green light that head is covered can be impregnated with, and therefore, terminal is by red filter, blue filter and green filter
Light is filtered and obtains corresponding red light, blue ray and green light respectively.
403rd, red light, blue ray and green light are converted into corresponding red numerical signal, blue number by terminal
Word signal and green digital signals;
Terminal by red filter, blue filter and green filter, light is filtered obtain respectively corresponding red light,
After blue ray and green light, then red light is sensed by the light sensor under the red filter of the first photographic head, and
The intensity-conversion of red light is become the size of voltage, analog digital conversion is carried out to the size of the voltage and obtains corresponding red numerical
Signal, in the same manner, terminal is while obtain corresponding blue digital signal and green digital letter by second camera and the 3rd photographic head
Number.
404th, terminal according to red numerical signal, blue digital signal corresponding with green digital signals generate the first picture,
Second picture and the 3rd picture;
After terminal obtains red numerical signal, blue digital signal and green digital signals, each digital signal is entered by terminal
Row digital signal processed, is generated and is drawn with red numerical signal, blue digital signal and green digital signals corresponding first
Face, the second picture and the 3rd picture.
405th, terminal acquire the first picture, the second picture and the 3rd picture corresponding first depth of view information of difference,
Second depth of view information and the 3rd depth of view information;
It should be noted that photographic head is after the completion of focusing, before and after focus in the range of can be formed clearly as this
Tandem distance range is the depth of field.After terminal gets the first picture, the second picture and the 3rd picture, obtain first and take the photograph
As head, second camera and the 3rd photographic head focus on terminate after corresponding to the first depth of view information, the second depth of view information and
3rd depth of view information.
406th, terminal is according to the first depth of view information, the second depth of view information and the 3rd depth of view information in preset depth of view information
Corresponding first cut value, the second cut value and the 3rd cut value are obtained with searching in cut value relation;
As the angle of visual field of three photographic head in terminal when shooting has differences, the first picture of formation, second are drawn
Face and the 3rd picture can be variant in edge, therefore need to cut to obtain the picture that can overlap the edge of each picture
Face.Terminal obtains the first depth of view information, after the second depth of view information and the 3rd depth of view information, according to the first depth of view information, second
Depth of view information and the 3rd depth of view information are searched in preset depth of view information and cut value relation, obtain the corresponding first cutting
Value, the second cut value and the 3rd cut value are to cut to the first picture, the second picture and the 3rd picture respectively.
407th, terminal according to the first cut value, the second cut value and the 3rd cut value correspond to cutting the first picture, second
Picture and the 3rd picture, respectively obtain the corresponding first pre- coincidence picture, the second pre- coincidence picture and the 3rd pre- coincidence picture
Face;
Terminal after the first cut value, the second cut value and the 3rd cut value is obtained, using the first cut value cutting the
One picture, the second cut value cut the second picture and the 3rd cut value cuts the 3rd picture, and respectively obtain corresponding first
Pre- coincidence picture, the second pre- coincidence picture and the 3rd pre- coincidence picture.
408th, terminal selects the first pre- coincidence picture, the second pre- coincidence picture and the 3rd pre- coincidence picture according to presetting rule
Two width in face are synthesized, and obtain the first image;
After terminal obtains the first pre- coincidence picture, the second pre- coincidence picture and the 3rd pre- coincidence picture, according to preset rule
Then select two width in the first pre- coincidence picture, the second pre- coincidence picture and the 3rd pre- coincidence picture to carry out synthesis and obtain first
Image.It should be noted that in actual applications, presetting rule can be by the first pre- coincidence picture and the second pre- coincidence picture
Synthesized, or the first pre- coincidence picture and the 3rd pre- coincidence picture are synthesized or by the second pre- coincidence picture and
3rd pre- coincidence picture is synthesized, and specific presetting rule is not limited herein.
409th, the first image and residual picture synthesis are obtained target image by terminal;
After terminal obtains the first image, by the picture for not carrying out in the first image and three width in advance coincidence picture synthesizing process i.e.
Residual picture synthesizes, and obtains target image.
It should be noted that in actual applications, except by the first pre- coincidence picture, the second pre- coincidence picture and the 3rd
Two width in pre- coincidence picture first carry out synthesis and obtain the first image and carry out synthesis with the remaining pre- picture that overlaps again obtaining target
Outside image, also include that coincidence picture synthesizes together and obtains target image in advance by three width, the synthesis mode of objectives image is herein
Do not limit.
410th, terminal is shown in target image on the screen of terminal.
After terminal synthesis obtains target image, target image is shown on screen.
Above the image processing method in the embodiment of the present invention is described, below to the end in the embodiment of the present invention
End is described, and refers to Fig. 6, and the terminal in the embodiment of the present invention includes:
Shooting unit 601, for being clapped to object by the first photographic head, second camera and the 3rd photographic head
Take the photograph, the first picture, the second picture and the 3rd picture is respectively obtained, the first photographic head is the photographic head for carrying red filter, the
Two photographic head are the photographic head for carrying blue filter, and the 3rd photographic head is the photographic head for carrying green filter, and terminal has first
Photographic head, second camera and the 3rd photographic head;
Synthesis unit 602, for synthesizing target image according to the first picture, the second picture and the 3rd picture.
In the present embodiment, shooting unit is entered to object by the first photographic head, second camera and the 3rd photographic head
Row shoots, and respectively obtains the first picture, the second picture and the 3rd picture, and wherein the first photographic head is to carry taking the photograph for red filter
As head, second camera is the photographic head for carrying blue filter, and the 3rd photographic head is the photographic head for carrying green filter, and terminal has
There are the first photographic head, second camera and the 3rd photographic head, synthesis unit is further according to the first picture, the second picture and the 3rd picture
Synthesis target image.As any color is all made up of red, blue and green three primary colours, terminal will transmit through red filter
Three width pictures obtained by mirror, blue filter and green filter synthesize target image, and the color information in three width pictures is complete
Retain and do not lose, improve details and the image quality of image.
For ease of understanding, below the mobile device in the embodiment of the present invention is described in detail, 7 is referred to, the present invention
In embodiment, another embodiment of terminal includes:
Shooting unit 701, for being clapped to object by the first photographic head, second camera and the 3rd photographic head
Take the photograph, the first picture, the second picture and the 3rd picture is respectively obtained, the first photographic head is the photographic head for carrying red filter, the
Two photographic head are the photographic head for carrying blue filter, and the 3rd photographic head is the photographic head for carrying green filter, and terminal has first
Photographic head, second camera and the 3rd photographic head;
Synthesis unit 702, for synthesizing target image according to the first picture, the second picture and the 3rd picture.
Shooting unit 701 in the embodiment of the present invention may further include:
Receiver module 7011, for receiving light by the first photographic head, second camera and the 3rd photographic head;
Filtering module 7012, right for being obtained light filtration respectively by red filter, blue filter and green filter
Red light, blue ray and the green light that answers;
Modular converter 7013, for being converted into corresponding red numerical letter by red light, blue ray and green light
Number, blue digital signal and green digital signals;
Generation module 7014, for according to red numerical signal, the generation corresponding with green digital signals of blue digital signal
First picture, the second picture and the 3rd picture.
Synthesis unit 702 in the embodiment of the present invention may further include:
First acquisition module 7021, corresponding for acquiring the first picture, the second picture and the 3rd picture difference
First depth of view information, the second depth of view information and the 3rd depth of view information;
First searching modul 7022, for existing according to the first depth of view information, the second depth of view information and the 3rd depth of view information
Search in preset depth of view information and cut value relation and obtain corresponding first cut value, the second cut value and the 3rd cutting
Value;
First cutting module 7023, for corresponding to cutting according to the first cut value, the second cut value and the 3rd cut value
First picture, the second picture and the 3rd picture, respectively obtain the corresponding first pre- coincidence picture, the second pre- coincidence picture and
3rd pre- coincidence picture;
First synthesis module 7024, for by the first pre- coincidence picture, the second pre- coincidence picture and the 3rd pre- coincidence picture
Face synthesizes target image.
Synthesis unit 702 in the embodiment of the present invention can further include:
Second acquisition module 7025, corresponding for acquiring the first picture, the second picture and the 3rd picture difference
4th depth of view information, the 5th depth of view information and the 6th depth of view information;
Second searching modul 7026, for existing according to the 4th depth of view information, the 5th depth of view information and the 6th depth of view information
Search in preset depth of view information and cut value relation and obtain corresponding 4th cut value, the 5th cut value and the 6th cutting
Value;
Second cutting module 7027, for corresponding to cutting according to the 4th cut value, the 5th cut value and the 6th cut value
First picture, the second picture and the 3rd picture, respectively obtain the corresponding 4th pre- coincidence picture, the 5th pre- coincidence picture and
6th pre- coincidence picture;
Selecting module 7028, for selecting the 4th pre- coincidence picture, the 5th pre- coincidence picture and the 6th pre- coincidence picture
In two width synthesized, obtain the first image;
Second synthesis module 7029, for the first image is obtained target image with residual picture synthesis, residual picture is
Do not carry out in 4th pre- coincidence picture, the 5th pre- coincidence picture and the 6th pre- coincidence picture synthesizing the picture of process.
Selecting module 7028 in the embodiment of the present invention may further include:
First choice subelement 70281, for randomly choosing the 4th pre- coincidence picture, the 5th pre- coincidence picture and the 6th
Two width in pre- coincidence picture are synthesized.
Selecting module 7028 in the embodiment of the present invention can further include:
Second selects subelement 70282, for selecting the 4th pre- coincidence picture, the 5th pre- coincidence picture according to presetting rule
And the 6th two width in pre- coincidence picture synthesized.
Terminal in the embodiment of the present invention can further include:
Display unit 703, for target image to be shown in the screen of terminal.
The angle of slave module functional entity is described to the terminal in the embodiment of the present invention above, below from hardware
The angle of reason is described to the terminal in the embodiment of the present invention, refers to Fig. 8, the mobile device monitoring in the embodiment of the present invention
800 one embodiment of system includes:
Input equipment 801, output device 802, processor 803 and the 804 (place in wherein the first switch 800 of memorizer
The quantity of reason device 803 can be one or more, in Fig. 8 by taking a processor 803 as an example).In some embodiments of the invention,
Input equipment 801, output device 802, processor 803 and memorizer 804 can pass through bus or alternate manner connects, wherein, Fig. 8
In as a example by being connected by bus.
By the operational order for calling memorizer 804 to store, processor 803, for executing following steps:
By the first photographic head, second camera and the 3rd photographic head, object is shot, respectively obtain first
Picture, the second picture and the 3rd picture, the first photographic head is the photographic head for carrying red filter, and second camera is blue for carrying
The photographic head of color filter, the 3rd photographic head is the photographic head for carrying green filter, and terminal has the first photographic head, second camera
With the 3rd photographic head;
Target image is synthesized according to the first picture, the second picture and the 3rd picture.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method are permissible
Realize by another way.For example, device embodiment described above is only schematic, for example, the unit
Divide, only a kind of division of logic function, can have other dividing mode, such as multiple units or component when actually realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not execute.Another, shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit
The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part in other words prior art being contributed or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions
Equipment (can be personal computer, server, or network equipment etc.) executes the complete of each embodiment methods described of the present invention
Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, above example only in order to technical scheme to be described, rather than a limitation;Although with reference to front
State embodiment to be described in detail the present invention, it will be understood by those within the art that:Which still can be to front
State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these
Modification or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (14)
1. a kind of image processing method, it is characterised in that include:
Terminal is shot to object by the first photographic head, second camera and the 3rd photographic head, respectively obtains first
Picture, the second picture and the 3rd picture, first photographic head is the photographic head for carrying red filter, the second camera
For carrying the photographic head of blue filter, the 3rd photographic head is the photographic head for carrying green filter, and the terminal has described
First photographic head, the second camera and the 3rd photographic head;
The terminal synthesizes target image according to first picture, second picture and the 3rd picture.
2. image processing method according to claim 1, it is characterised in that the terminal by the first photographic head, second
Photographic head and the 3rd photographic head are shot to object, respectively obtain the first picture, the second picture and the 3rd picture bag
Include:
The terminal receives light by first photographic head, the second camera and the 3rd photographic head;
The light is filtered by the red filter, the blue filter and the green filter and is obtained respectively by the terminal
Corresponding red light, blue ray and green light;
The red light, the blue ray and the green light are converted into corresponding red numerical letter by the terminal
Number, blue digital signal and green digital signals;
The terminal is according to the red numerical signal, blue digital signal generation institute corresponding with the green digital signals
State the first picture, second picture and the 3rd picture.
3. image processing method according to claim 1, it is characterised in that the terminal is according to first picture, institute
Stating the second picture and the 3rd picture synthesis target image includes:
The terminal acquires first picture, second picture and corresponding first scape of the 3rd picture difference
Deeply convince breath, the second depth of view information and the 3rd depth of view information;
The terminal is according to first depth of view information, second depth of view information and the 3rd depth of view information preset
Search in depth of view information and cut value relation and obtain corresponding first cut value, the second cut value and the 3rd cut value;
The terminal corresponds to cutting described the according to first cut value, second cut value and the 3rd cut value
One picture, second picture and the 3rd picture, respectively obtain the corresponding first pre- coincidence picture, the second pre- coincidence picture
Face and the 3rd pre- coincidence picture;
Described first pre- coincidence picture, the second pre- coincidence picture and the 3rd pre- coincidence picture are synthesized by the terminal
The target image.
4. image processing method according to claim 1, it is characterised in that the terminal is according to first picture, institute
Stating the second picture and the 3rd picture synthesis target image includes:
The terminal acquires first picture, second picture and corresponding 4th scape of the 3rd picture difference
Deeply convince breath, the 5th depth of view information and the 6th depth of view information;
The terminal is according to the 4th depth of view information, the 5th depth of view information and the 6th depth of view information preset
Corresponding 4th cut value, the 5th cut value and the 6th cut value is obtained in depth of view information and cut value relation;
The terminal corresponds to cutting described the according to the 4th cut value, the 5th cut value and the 6th cut value
One picture, second picture and the 3rd picture, respectively obtain the corresponding 4th pre- coincidence picture, the 5th pre- coincidence picture
Face and the 6th pre- coincidence picture;
The terminal is selected in the 4th pre- coincidence picture, the 5th pre- coincidence picture and the 6th pre- coincidence picture
Two width synthesized, obtain the first image;
The synthesis of described first image and residual picture is obtained the target image by the terminal, and the residual picture is described the
Do not carry out in four pre- coincidence pictures, the 5th pre- coincidence picture and the 6th pre- coincidence picture synthesizing the picture of process.
5. image processing method according to claim 4, it is characterised in that the terminal selects the 4th pre- coincidence picture
Two width in face, the 5th pre- coincidence picture and the 6th pre- coincidence picture carry out synthesis to be included:
The terminal randomly chooses the 4th pre- coincidence picture, the 5th pre- coincidence picture and the 6th pre- coincidence picture
Two width in face are synthesized.
6. image processing method according to claim 4, it is characterised in that the terminal selects the 4th pre- coincidence picture
Two width in face, the 5th pre- coincidence picture and the 6th pre- coincidence picture carry out synthesis to be included:
The terminal selects the 4th pre- coincidence picture, the 5th pre- coincidence picture and the described 6th according to presetting rule
Two width in pre- coincidence picture are synthesized.
7. image processing method according to any one of claim 1 to 6, it is characterised in that the terminal is according to described
After first picture, second picture and the 3rd picture synthesis target image, methods described also includes:
The target image is shown on the screen of the terminal by the terminal.
8. a kind of terminal, it is characterised in that include:
Shooting unit, for being shot to object by the first photographic head, second camera and the 3rd photographic head, respectively
The first picture, the second picture and the 3rd picture is obtained, first photographic head is the photographic head for carrying red filter, described the
Two photographic head are the photographic head for carrying blue filter, and the 3rd photographic head is the photographic head for carrying green filter, the terminal
With first photographic head, the second camera and the 3rd photographic head;
Synthesis unit, for synthesizing target image according to first picture, second picture and the 3rd picture.
9. terminal according to claim 8, it is characterised in that the shooting unit includes:
Receiver module, for receiving light by first photographic head, the second camera and the 3rd photographic head;
Filtering module, is divided for being filtered the light by the red filter, the blue filter and the green filter
Corresponding red light, blue ray and green light are not obtained;
Modular converter, for being converted into corresponding redness number by the red light, the blue ray and the green light
Word signal, blue digital signal and green digital signals;
Generation module, for corresponding with the green digital signals according to the red numerical signal, the blue digital signal
Generate first picture, second picture and the 3rd picture.
10. terminal according to claim 8, it is characterised in that the synthesis unit includes:
First acquisition module, right respectively for acquiring first picture, second picture and the 3rd picture
The first depth of view information, the second depth of view information and the 3rd depth of view information that answers;
First searching modul, for believing according to first depth of view information, second depth of view information and the 3rd depth of field
Breath lookup in preset depth of view information and cut value relation obtains corresponding first cut value, the second cut value and the 3rd and cuts
Cut value;
First cutting module, for corresponding to according to first cut value, second cut value and the 3rd cut value
Cut first picture, second picture and the 3rd picture, respectively obtain the corresponding first pre- coincidence picture,
Two pre- coincidence pictures and the 3rd pre- coincidence picture;
First synthesis module, for by the described first pre- coincidence picture, the second pre- coincidence picture and described 3rd pre- heavy
Close picture and synthesize the target image.
11. terminals according to claim 8, it is characterised in that the synthesis unit also includes:
Second acquisition module, right respectively for acquiring first picture, second picture and the 3rd picture
The 4th depth of view information, the 5th depth of view information and the 6th depth of view information that answers;
Second searching modul, for believing according to the 4th depth of view information, the 5th depth of view information and the 6th depth of field
Breath lookup in preset depth of view information and cut value relation obtains corresponding 4th cut value, the 5th cut value and the 6th and cuts
Cut value;
Second cutting module, for corresponding to according to the 4th cut value, the 5th cut value and the 6th cut value
Cut first picture, second picture and the 3rd picture, respectively obtain the corresponding 4th pre- coincidence picture,
Five pre- coincidence pictures and the 6th pre- coincidence picture;
Selecting module, for selecting the described 4th pre- coincidence picture, the 5th pre- coincidence picture and the 6th pre- coincidence
Two width in picture are synthesized, and obtain the first image;
Second synthesis module, for obtaining the target image, the remaining picture by described first image and residual picture synthesis
Face is not carry out at synthesis in the 4th pre- coincidence picture, the 5th pre- coincidence picture and the 6th pre- coincidence picture
The picture of reason.
12. terminals according to claim 11, it is characterised in that the selecting module includes:
First choice subelement, for randomly choosing the described 4th pre- coincidence picture, the 5th pre- coincidence picture and described
Two width in 6th pre- coincidence picture are synthesized.
13. terminals according to claim 11, it is characterised in that the selecting module also includes:
Second selects subelement, for selecting the 4th pre- coincidence picture, the 5th pre- coincidence picture according to presetting rule
And two width in the 6th pre- coincidence picture are synthesized.
14. terminals according to any one of claim 11 to 13, it is characterised in that the terminal also includes:
Display unit, for the target image to be shown in the screen of the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610940747.4A CN106454101A (en) | 2016-10-25 | 2016-10-25 | Image processing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610940747.4A CN106454101A (en) | 2016-10-25 | 2016-10-25 | Image processing method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106454101A true CN106454101A (en) | 2017-02-22 |
Family
ID=58178480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610940747.4A Pending CN106454101A (en) | 2016-10-25 | 2016-10-25 | Image processing method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454101A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10341606B2 (en) | 2017-05-24 | 2019-07-02 | SA Photonics, Inc. | Systems and method of transmitting information from monochrome sensors |
CN110149467A (en) * | 2017-06-02 | 2019-08-20 | 三星电子株式会社 | Mobile phone |
CN113409205A (en) * | 2021-06-10 | 2021-09-17 | Oppo广东移动通信有限公司 | Image processing method, image processing apparatus, storage medium, and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1544990A (en) * | 2003-11-12 | 2004-11-10 | 浙江大学 | Imaging method as Dichronic imaging by four lens |
CN101448099B (en) * | 2008-12-26 | 2012-05-23 | 华为终端有限公司 | Multi-camera photographing method and equipment |
CN105657237A (en) * | 2014-11-13 | 2016-06-08 | 聚晶半导体股份有限公司 | Image acquisition device and digital zooming method thereof |
CN105809634A (en) * | 2015-08-27 | 2016-07-27 | 维沃移动通信有限公司 | Photograph generating method and mobile terminal |
-
2016
- 2016-10-25 CN CN201610940747.4A patent/CN106454101A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1544990A (en) * | 2003-11-12 | 2004-11-10 | 浙江大学 | Imaging method as Dichronic imaging by four lens |
CN101448099B (en) * | 2008-12-26 | 2012-05-23 | 华为终端有限公司 | Multi-camera photographing method and equipment |
CN105657237A (en) * | 2014-11-13 | 2016-06-08 | 聚晶半导体股份有限公司 | Image acquisition device and digital zooming method thereof |
CN105809634A (en) * | 2015-08-27 | 2016-07-27 | 维沃移动通信有限公司 | Photograph generating method and mobile terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10341606B2 (en) | 2017-05-24 | 2019-07-02 | SA Photonics, Inc. | Systems and method of transmitting information from monochrome sensors |
CN110149467A (en) * | 2017-06-02 | 2019-08-20 | 三星电子株式会社 | Mobile phone |
CN110149467B (en) * | 2017-06-02 | 2021-02-09 | 三星电子株式会社 | Mobile telephone |
CN113409205A (en) * | 2021-06-10 | 2021-09-17 | Oppo广东移动通信有限公司 | Image processing method, image processing apparatus, storage medium, and electronic device |
CN113409205B (en) * | 2021-06-10 | 2023-11-24 | Oppo广东移动通信有限公司 | Image processing method, image processing device, storage medium and electronic apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107534735B (en) | Image processing method, device and the terminal of terminal | |
US10728510B2 (en) | Dynamic chroma key for video background replacement | |
CN104782110B (en) | Image processing apparatus, photographic device and image processing method | |
CN104333703A (en) | Method and terminal for photographing by virtue of two cameras | |
CN106570850B (en) | A kind of image interfusion method | |
CN104380706B (en) | Image processing apparatus, camera head, computer and image processing method | |
CN103763475B (en) | A kind of photographic method and device | |
CN109064415A (en) | Image processing method, system, readable storage medium storing program for executing and terminal | |
CN109194881A (en) | Image processing method, system and terminal | |
CN104660905B (en) | Take pictures processing method and processing device | |
CN111784568A (en) | Face image processing method and device, electronic equipment and computer readable medium | |
CN109598689A (en) | Real time image processing and device, electronic equipment, storage medium | |
JP2012186755A (en) | Image processing device, image processing method, and program | |
CN106454101A (en) | Image processing method and terminal | |
CN112991245A (en) | Double-shot blurring processing method and device, electronic equipment and readable storage medium | |
CN106464798A (en) | Image processing device, imaging device, image processing method, and program | |
CN114331916A (en) | Image processing method and electronic device | |
CN110446021A (en) | A kind of implementation method of mobile phone and its dual camera | |
CN105704465A (en) | Image processing method and terminal | |
EP4175275A1 (en) | White balance processing method and electronic device | |
CN112831982A (en) | Processing method, device and equipment for clothes color identification and storage medium | |
CN114125319A (en) | Image sensor, camera module, image processing method and device and electronic equipment | |
CN105160329B (en) | A kind of tooth recognition methods, system and camera terminal based on YUV color spaces | |
WO2018082130A1 (en) | Salient map generation method and user terminal | |
CN105934710B (en) | Image processing apparatus, photographic device and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |
|
RJ01 | Rejection of invention patent application after publication |