CN105282401B - Video capturing device and its vignetting compensation method - Google Patents
Video capturing device and its vignetting compensation method Download PDFInfo
- Publication number
- CN105282401B CN105282401B CN201410263496.1A CN201410263496A CN105282401B CN 105282401 B CN105282401 B CN 105282401B CN 201410263496 A CN201410263496 A CN 201410263496A CN 105282401 B CN105282401 B CN 105282401B
- Authority
- CN
- China
- Prior art keywords
- image
- main
- secondary mirror
- mirror head
- diffusion sheet
- 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.)
- Active
Links
Abstract
A kind of video capturing device and its vignetting compensation method, suitable for the video capturing device with main lens, secondary mirror head and diffusion sheet, wherein video capturing device prestores the corresponding table of secondary mirror head diffusion sheet for being associated with main lens table corresponding with the major-minor camera lens of secondary mirror head and being associated with secondary mirror head with diffusion sheet, this vignetting compensation method includes the following steps:First, secondary mirror head is covered using diffusion sheet, the secondary mirror head for recycling main lens and being covered by diffusion sheet, while the image of a scene is obtained, to generate main image and diffusion image respectively;According to main image and diffusion image, corresponds to table using major-minor camera lens and secondary mirror head diffusion sheet corresponds to table, establish the dark angle compensation table corresponding to above-mentioned scene;Later, according to dark angle compensation table, dark angle compensation processing is carried out to main image, to generate compensation image.
Description
Technical field
The present invention relates to a kind of video capturing device more particularly to a kind of video capturing device and its vignetting compensation methods.
Background technology
With the development of science and technology, digital camera and intelligent camera cell phone have become modern as record Life intravenous drip
Medium.Therefore, above-mentioned video capturing device how is made to provide the function of more hommizations, it has also become the weight of major manufacturer
Want project.
General video capturing device is to utilize charge coupled cell (Charge-coupled device, CCD) or complementary
The photosensitive elements such as metal oxide layer semiconductor (Complementary Metal-Oxide Semiconductor, CMOS) capture
Enter the light in fuselage by camera lens.When light passes through lens set, it will produce refraction and then image be presented in photosensitive member
On part.However, since light refraction can lead to the decaying of energy, and passing through refraction angle caused by the light of lens edge can compare
Refraction angle caused by light by center of lens is big, therefore will produce that image edge region is dark and central area is brighter
Phenomenon is known as " dark angle " (shading) or " halation " (vignetting) photographing with optical field.Such phenomenon is held
The uncoordinated of image frame is easily caused, also influences whether the visual effect of user.
Existing dark angle compensation calculation method be mostly be suitable for single-lens camera, be using it is single or multiple
The mechanism of look-up table interpolation, wherein the parameter to establish look-up table can be fixed one or more most common light sources.Though
The right above-mentioned mechanism of tabling look-up can correct the image problem of the different-colours such as the excessively dark, colour cast in image quadrangle, but must be according to different
Light source adjusts interpolated parameter or adjustment look-up table.However, the variation of different light source frequency spectrums is violent, interpolated parameter is adjusted in turn
So that the degree of difficulty that look-up table meets be possible to light source is quite high.If in addition, in the scene of unknown light source or composite light source
Under take pictures, then the problem of dark angle still can not solve.
Invention content
In view of this, a kind of video capturing device of present invention offer and its vignetting compensation method, instantly using shooting
Dark angle compensation information is carried out immediately and adaptively established to environment light source information, to be carried out at dark angle compensation to captured image
Reason, to obtain the image of better quality.
The present invention proposes a kind of vignetting compensation method of video capturing device, be suitable for main lens, secondary mirror head and
The video capturing device of diffusion sheet, wherein video capturing device, which prestore, is associated with main lens table corresponding with the major-minor camera lens of secondary mirror head
And it is associated with secondary mirror head table corresponding with the secondary mirror head diffusion sheet of diffusion sheet.This vignetting compensation method includes the following steps.First,
Secondary mirror head is covered using diffusion sheet.Then, the secondary mirror head covered using main lens and by diffusion sheet, while obtaining a scene
Image, with generate respectively main image and diffusion image.According to main image and diffusion image, table is corresponded to using major-minor camera lens
And secondary mirror head diffusion sheet corresponds to table, establishes the dark angle compensation table corresponding to above-mentioned scene.Later, right according to dark angle compensation table
Main image carries out dark angle compensation processing, to generate compensation image.
In one embodiment of this invention, before the step of covering secondary mirror head using diffusion sheet, above-mentioned dark angle compensation
Method further includes the following steps.The image that a light source is obtained using main lens and secondary mirror head, to generate main testing image respectively
And secondary testing image.The secondary mirror head is covered using diffusion sheet, and above-mentioned using the secondary mirror head acquisition covered by diffusion sheet
The image of light source, to generate diffusion testing image.According to main testing image and secondary testing image, major-minor camera lens correspondence is established
Table, and according to secondary testing image and diffusion testing image, establish secondary mirror head diffusion sheet and correspond to table.
In one embodiment of this invention, above-mentioned according to main testing image and secondary testing image, establish major-minor camera lens pair
Table is answered, and according to secondary testing image and diffusion testing image, establishing the step of secondary mirror head diffusion sheet corresponds to table includes:According to
Main testing image and secondary testing image calculate multiple first ratios, and establish major-minor camera lens using first ratio and correspond to
Table;Multiple second ratios are calculated according to secondary testing image and diffusion testing image, and pair is established using second ratio
Camera lens diffusion sheet corresponds to table.Wherein, each first ratio be each pixel in main testing image with positioned at secondary testing image
In ratio between the pixel with same pixel coordinate, each second ratio is each pixel and position in secondary testing image
In spread in testing image with same pixel coordinate pixel between ratio.
In one embodiment of this invention, it is above-mentioned according to main image and diffusion image, using major-minor camera lens correspond to table with
And the step of secondary mirror head diffusion sheet corresponds to table, and foundation corresponds to the dark angle compensation table of above-mentioned scene, includes:According to diffusion image, profit
First ratio in table is corresponded to major-minor camera lens and secondary mirror head diffusion sheet corresponds to second ratio in table, obtains mould
Quasi- main image;According to simulation main image and main image, multiple penalty coefficients are calculated;And the penalty coefficient is utilized, it establishes
Dark angle compensation table.
In one embodiment of this invention, the dark angle compensation table of above-mentioned basis carries out dark angle compensation processing, with production to main image
Giving birth to the step of compensating image includes:According to the picture of each pixel in each penalty coefficient and main image of dark angle compensation table
Element value generates compensation image.
In one embodiment of this invention, according to dark angle compensation table, dark angle compensation processing is carried out to main image, to generate
After the step of compensating image, above-mentioned vignetting compensation method further includes the following steps.When judging that above-mentioned scene does not change, profit
The image that above-mentioned scene is obtained with main lens, to generate new main image.According to dark angle compensation table, dark angle benefit is carried out to new main image
Processing is repaid, to generate new compensation image.
The present invention separately proposes a kind of video capturing device, including main lens, secondary mirror head, diffusion sheet, storage element and one
Or multiple processing units, wherein diffusion sheet are connected to secondary mirror head, the processing unit coupling main lens, secondary mirror head, diffusion sheet with
And storage element.Storage element to record multiple modules and be associated with main lens table corresponding with the major-minor camera lens of secondary mirror head with
And it is associated with secondary mirror head table corresponding with the secondary mirror head diffusion sheet of diffusion sheet.Processing unit is remembered to access and execute in storage element
The module of record, wherein the module includes masking module, image capturing module, builds table module and dark angle compensation module.
It covers module and covers secondary mirror head using diffusion sheet.Image capturing module utilizes main lens and the secondary mirror covered by diffusion sheet
Head, while the image of a scene is obtained, to generate main image and diffusion image respectively.Table module is built according to main image and expansion
Image is dissipated, table is corresponded to using major-minor camera lens and secondary mirror head diffusion sheet corresponds to table, establish the dark angle compensation corresponding to above-mentioned scene
Table.Dark angle compensation module carries out dark angle compensation processing according to dark angle compensation table, to main image, to generate compensation image.
In one embodiment of this invention, above-mentioned video capturing device is further coupled to image processor.Image capturing
Module obtains the image of a light source first with main lens and secondary mirror head, to generate main testing image and secondary test shadow respectively
Picture.It covers module and covers secondary mirror head using diffusion sheet, and above-mentioned light source is obtained using by the secondary mirror head that diffusion sheet is covered
Image, to generate diffusion testing image.Image processor establishes major-minor camera lens according to main testing image and secondary testing image
Corresponding table, and according to secondary testing image and diffusion testing image, establish secondary mirror head diffusion sheet and correspond to table.
In one embodiment of this invention, above-mentioned image processor is according to main testing image and secondary testing image meter
Multiple first ratios are calculated, and establishes major-minor camera lens using first ratio and corresponds to table, and according to secondary testing image and expansion
It dissipates testing image and calculates multiple second ratios, and establish secondary mirror head diffusion sheet using second ratio and correspond to table.Wherein, respectively
First ratio is each pixel in main testing image and the pixel with same pixel coordinate in secondary testing image
Between ratio, each second ratio be each pixel in secondary testing image in diffusion testing image with identical
Ratio between the pixel of pixel coordinate.
In one embodiment of this invention, above-mentioned table module of building is corresponded to using major-minor camera lens in table according to diffusion image
First ratio and secondary mirror head diffusion sheet correspond to second ratio in table, obtain simulation main image, and according to mould
Quasi- main image and main image, calculate multiple penalty coefficients;And the penalty coefficient is utilized, establish dark angle compensation table.
In one embodiment of this invention, above-mentioned dark angle compensation module is according to each penalty coefficient of dark angle compensation table
And the pixel value of each pixel in main image, generate compensation image.
In one embodiment of this invention, above-mentioned video capturing device further includes judging module.When judge module judge
When above-mentioned scene does not change, the image of above-mentioned scene is obtained using main lens, to generate new main image.According to dark angle compensation table,
Dark angle compensation processing is carried out to new main image, to generate new compensation image.
Based on above-mentioned, proposed by the invention video capturing device and its vignetting compensation method, in video capturing device
When the producing line production phase, the mobile diffusion sheet of configuration in front of secondary mirror head, and in advance storage major-minor camera lens correspond to table and
Secondary mirror head diffusion sheet corresponds to table.Video capturing device take pictures the stage when, secondary mirror head is covered using diffusion sheet so that secondary
Image accessed by camera lens recycles major-minor camera lens to correspond to table and secondary mirror head diffusion sheet correspondence close to equally distributed light source
Table, by the way that the dark angle compensation information of photographed scene can be obtained after real-time operation, to be carried out to the image accessed by main lens
Dark angle compensation.Video capturing device and its vignetting compensation method proposed by the invention can obtain bat while filmed image
The environment light source information of scene is taken the photograph, therefore is not required to establish the dark angle compensation corresponding to different light sources in the producing line production phase in advance
Table, to save storage space.In addition, compared to existing the dark angle compensation table of unknown light source is obtained in a manner of adjustment, this
Invention immediately and adaptively establishes dark angle compensation table using the environment light source information shot instantly, to obtain compared with good merchantable brand
The compensation image of matter.
To make the foregoing features and advantages of the present invention clearer and more comprehensible, special embodiment below, and it is detailed to coordinate attached drawing to make
Carefully it is described as follows.
Description of the drawings
Fig. 1 is the block diagram of the video capturing device according to one embodiment of the invention.
Fig. 2 is the flow chart of the vignetting compensation method of the video capturing device according to one embodiment of the invention.
Fig. 3 a and Fig. 3 b use schematic diagram for the video capturing device according to one embodiment of the invention.
Fig. 4 is the function block of the vignetting compensation method of the video capturing device according to one embodiment of the invention
Schematic diagram.
Reference numeral:
100:Video capturing device
10a:Main lens
10b:Secondary mirror head
15:Diffusion sheet
20:Storage element
30:Processing unit
122:Cover module
124:Image capturing module
126:Build table module
128:Dark angle compensation module
S202~S208:The flow of the vignetting compensation method of video capturing device
401:Main testing image
402:Secondary testing image
403:Spread testing image
422:Image at present
430:Compensate image
410:The producing line production phase
420:User takes pictures the stage
412:Major-minor camera lens corresponds to table
414:Secondary mirror head diffusion sheet corresponds to table
424:Dark angle compensation table
426:Dark angle compensation processing
Specific implementation mode
Idea of the invention is that the twin-lens of video capturing device in the producing line production phase, configures in front of secondary mirror head
Mobile diffusion sheet.It, can profit when video capturing device is obtaining image and when needing dark angle compensation information to a certain scene
Secondary mirror head is covered with diffusion sheet so that the image accessed by secondary mirror head is close to equally distributed light source, by real-time operation
The dark angle compensation information that this scene can be obtained afterwards, to carry out dark angle compensation to the image accessed by main lens.
Next the section Example of the present invention will coordinate attached drawing to be described in detail, the element cited in description below
Symbol will be regarded as same or analogous element when identical component symbol occur in different attached drawings.These embodiments are the present invention
A part, do not disclose the embodiment of all present invention.More precisely, these embodiments are the patent of the present invention
The example of apparatus and method in application range.
Fig. 1 is the block diagram of the video capturing device according to one embodiment of the invention, but this is merely for convenience
Illustrate, is not intended to limit the invention.Fig. 1 first first introduces all components and configuration relation of video capturing device, in detail
Function will coordinate Fig. 2 to disclose together.
Fig. 1 is please referred to, video capturing device 100 includes main lens 10a, secondary mirror head 10b, diffusion sheet 15, storage element 20
And one or more processing units 30.In the present embodiment, video capturing device 100 is, for example, digital camera, S.L.R, number
The electronic devices such as code video camera or other smartphone, tablet computer, personal digital assistants with image capturing function,
Invention is not limited thereto.
Main lens 10a and secondary mirror head 10b includes photosensitive element, sensed respectively into main lens 10a and secondary mirror
The light intensity of head 10b, and then image is generated respectively.The photosensitive element is, for example, charge coupled cell (Charge
Coupled Device, CCD), Complimentary Metal-Oxide semiconductor (Complementary Metal-Oxide
Semiconductor, CMOS) element or other elements, the present invention do not limit herein.
Diffusion sheet 15 is connected to secondary mirror head 10b, is configured in the front of secondary mirror head 10b, in video capturing device 100
Secondary mirror head 10b is covered, to execute the program of dark angle compensation.Diffusion sheet 15 mainly by optical design special on surface, is adjusted
The angle and direction that whole light projects, allow light uniformly to dissipate.When secondary mirror head 10b is covered by diffusion sheet 15, acquired image
It will be the image of a brightness uniformity.In the present embodiment, diffusion sheet 15 is frosted glass (ground glass), and other
In embodiment, diffusion sheet 15 can also be the optical diaphragm that glassine paper etc. can be such that uniform light scatters.
Storage element 20 is, for example, the fixed or packaged type random access memory (Random of arbitrary pattern
Access Memory, RAM), read-only memory (Read-Only Memory, ROM), flash memory (Flash memory),
The combination of hard disk or other similar devices or these devices.Storage element 20 to record can be executed by processing unit 30 it is multiple
Module, these modules can be loaded into processing unit 30, to carry out dark angle compensation work(to image caused by video capturing device 100
Energy.
Processing unit 30 may, for example, be central processing unit (Central Processing Unit, CPU) or its
Microprocessor (Microprocessor), the digital signal processor (Digital of his programmable general service or specific use
Signal Processor, DSP), programmable controller, special application integrated circuit (Application Specific
Integrated Circuits, ASIC), programmable logic device (Programmable Logic Device, PLD) or other
The combination of similar device or these devices.It is single that processing unit 30 couples main lens 10a, secondary mirror head 10b, diffusion sheet 15 and storage
Member 20, can access and execute the module being recorded in storage element 20, with to image caused by video capturing device 100 into
The dark angle compensation function of row.
Above-mentioned module includes masking module 122, image capturing module 124, builds table module 126 and compensation module 128,
It can be loaded into processing unit 30, to execute the function of dark angle compensation.Embodiment explanation is enumerated below is directed to video capturing device
100 execute the detailed step of vignetting compensation method.
Fig. 2 is the vignetting compensation method flow chart of the video capturing device according to one embodiment of the invention, and
The vignetting compensation method of the video capturing device of Fig. 2 can be realized with each element of the video capturing device 100 of Fig. 1.
Referring to Fig. 1 and Fig. 2, first, the masking module 122 of video capturing device 100 is hidden using diffusion sheet 15
Cover secondary mirror head 10b (step S202), and image capturing module 124 is covered using main lens 10a and by diffusion sheet 15
Secondary mirror head 10b, while the image of a scene is obtained, to generate main image and diffusion image (step S204) respectively.In detail,
When user's video capturing device 100 to be utilized shoots the image of the scene, masking module 122 can be first with diffusion sheet 15
To cover secondary mirror head 10b.Then, image capturing module 124 will obtain the image of above-mentioned scene, and generates and correspond to main lens
The main image of 10a and diffusion image corresponding to the secondary mirror head 10b covered by diffusion sheet 15.
In the image that the content of this main image is above-mentioned scene, but due to the limiting factor of camera lens itself, main lens
Main image acquired in 10a has the dark angle phenomenon that fringe region is dark and central area is brighter.On the other hand, due to spreading shadow
As being spread with the difference of the environment light source of the scene for the image acquired in the secondary mirror head 10b that is covered by diffusion sheet 15
The content of image is the images with uniform luminance such as complete white or full ash.Video capturing device 100 is according to diffusion image
And the environment light source information of the scene is obtained, to obtain the dark angle compensation information corresponding to above-mentioned scene in subsequent step.
Must first it illustrate, for video capturing device 100 before manufacture, major-minor camera lens corresponds to table and secondary mirror head diffusion sheet
Corresponding table can first be pre-stored in the storage element 20 of video capturing device 100, and it is main lens 10a and pair that wherein major-minor camera lens, which corresponds to table,
The correspondence between same image taken by camera lens 10b, secondary mirror head diffusion sheet correspond to table be secondary mirror head 10b by diffusion sheet
Correspondence between the front and back taken same image of 15 maskings.
Specifically, Fig. 3 a and Fig. 3 b are the use of the video capturing device according to one embodiment of the invention
Schematic diagram.
In the producing line production phase, as shown in Figure 3a, the image capturing module 124 of video capturing device 100 will utilize master
Camera lens 10a and secondary mirror head 10b will obtain the image of a light source, to generate main testing image and secondary testing image respectively, with
It establishes major-minor camera lens and corresponds to table.In the present embodiment, this light source can be lamp box, and main testing image and secondary testing image
Content will be the white image that fringe region is dark and central area is brighter.The image for obtaining light source herein comes as main test
The content of image and secondary testing image be advantageous in that can it is recognizable go out image in dark angle and its dimmed and colour cast journey
Degree, to establish the corresponding table of major-minor camera lens according to the difference between main testing image and secondary testing image, wherein two images it
Between difference be mainly caused by the characteristic of main lens and secondary mirror head itself mechanism.
On the other hand, equally in the producing line production phase, as shown in Figure 3b, 122 recycling diffusion sheet 15 of module is covered
Secondary mirror head 10b is covered, and image capturing module 124 obtains same light source using the secondary mirror head 10b covered by diffusion sheet 15
Image, to generate diffusion testing image.Compared to secondary testing image, the content for spreading testing image is the white of brightness uniformity
Image can be produced later further according to secondary testing image caused by the secondary mirror head 10b before masking and the secondary mirror head 10b after masking
Difference between raw diffusion testing image corresponds to table to establish secondary mirror head diffusion sheet.
Accordingly, video capturing device 100 is in the producing line production phase, it will image processor is connected to, at this image
It can be the electronic device for having image processing and calculation function to manage device.Video capturing device 100 can be by main testing image, pair
Testing image and diffusion testing image are transmitted to image processor.Image processor will be according to the pixel of main testing image
And the pixel of secondary testing image calculates multiple first ratios, and establish major-minor camera lens using first ratio and correspond to table.
Each first ratio in this is the ratio between the pixel with same pixel coordinate in main testing image and secondary testing image,
The corresponding pass between main lens 10a and two images gone out acquired in secondary mirror head 10b is being utilized to represent video capturing device 100
System.
Similarly, image processor calculates multiple second according to the pixel of secondary testing image and diffusion testing image again
Ratio, and establish secondary mirror head diffusion sheet using second ratio and correspond to table.Each second ratio in this is secondary test shadow
As the ratio between the pixel with same pixel coordinate in diffusion testing image, to represent video capturing device 100 in profit
With it is shielded it is preceding with it is shielded after secondary mirror head 10b acquired in correspondence between two images going out.Image processor
Major-minor camera lens corresponds to table and secondary mirror head diffusion sheet corresponds to and transmits it to the storage of video capturing device 100 after table having established
Unit 20.
Fig. 2 please be return, when user takes pictures the stage, is generated in the image capturing module 124 of video capturing device 100
Main image and diffusion image after, build table module 126 will according to main image and diffusion image, using major-minor camera lens correspond to table with
And secondary mirror head diffusion sheet corresponds to table, establishes the dark angle compensation table (step S206) corresponding to aforementioned scene.In detail, image is spread
The environment light source information of photographed scene instantly can be represented.Building table module 126 can be single by storage is pre-stored according to diffusion image
The major-minor camera lens of member 20 corresponds to table and secondary mirror head diffusion sheet corresponds to table and instead releases for the main image gone out captured by above-mentioned scene
The numerical value or multiplying power of required compensation are defined herein as " penalty coefficient " (compensation coefficient).
In the present embodiment, the first ratio in table can be corresponded to using major-minor camera lens first according to diffusion image by building table module 126
Value and secondary mirror head diffusion sheet correspond to the second ratio in table, anti-to release a simulation main image.Then, table module 126 is built again
Multiple penalty coefficients are calculated according to the main image simulated acquired in main image and main lens 10a reality.In the present embodiment,
Each penalty coefficient can be the ratio between the pixel of simulation main image and main image with same pixel coordinate.However,
In other embodiments, simulation main image and pixel of the main image with same pixel coordinate can also first be obtained by building table module 126
Between ratio, recycle model to match modes such as suitable (model fitting) to correct the ratio, and be compensated coefficient,
The present invention does not limit herein.Table module 126 is built after calculating the penalty coefficient, according to the picture corresponding to each penalty coefficient
Plain coordinate establishes dark angle compensation table.
Then, compensation module 128 carries out dark angle compensation processing, to generate compensation shadow according to dark angle compensation table to main image
As (step S208).In detail, compensation module 128 can be according to the pixel value and pixel coordinate of each pixel in main image, certainly
Corresponding penalty coefficient is inquired in dark angle compensation table, each pixel of main image is carried out at dark angle compensation further according to penalty coefficient
Reason, to generate compensation image.As an example it is assumed that penalty coefficient is the scaling multiplying power of pixel value, compensation module 128 is to main shadow
When as carrying out dark angle compensation processing, each pixel value of main image can be multiplied by the scaling multiplying power corresponding to it, you can generate benefit
Repay image.
It is worth noting that, above-mentioned dark angle compensation table is according to the institute instantly of the acquisition special scenes of video capturing device 100
Instant construction forms.Therefore, as long as obtaining image under the scene with same light source, dark angle compensation table need not then be built again
Structure.In one embodiment, video capturing device 100 further includes judging module (not shown), after executing the step S208, works as shadow
When will obtain image again as acquisition device 100, judge that module can determine whether environment light source changes.For example, judge module
It is set using the white balance (white balance) of video capturing device 100 to judge whether environment light source changes.It is real one
It applies in example, when judging that module judges that environment light source does not change, that is, represents this photographed scene and previous photographed scene phase
Together, therefore masking module 122 can not utilize diffusion sheet to cover secondary mirror head 10b, and compensation module 128 can be directly according to same dark
Angle compensation table directly carries out dark angle compensation processing to the new main image acquired in main lens, to generate new compensation image.
The vignetting compensation method of aforementioned video capturing device can utilize Fig. 4 according to the function shown by one embodiment of this announcement
Block diagram is summarized.
Fig. 4 is please referred to, the method first can utilize main testing image 401 and secondary testing image in the producing line production phase 410
402, which establish major-minor camera lens, corresponds to table 412, and establishes secondary mirror head using secondary testing image 402 and diffusion testing image 403 and spread
Piece corresponds to table 414.Before the manufacture of video capturing device 100, major-minor camera lens corresponds to table 412 and secondary mirror head diffusion sheet corresponds to table
414 will be pre-stored in storage element 20.When user takes pictures stage 420, when user is right using image capturing module 100
When one scene is shot, the current image 422 of image is got including main image and spreads in image capturing module 100
Afterwards, it will table 412 is corresponded to according to major-minor camera lens, secondary mirror head diffusion sheet corresponds to table 414 and current image 422 is generated to correspond to and is somebody's turn to do
The dark angle compensation table 424 of scene, and dark angle compensation is carried out to the main image in current image 422 according to dark angle compensation table 424
Processing 426 compensates image 430 with output.
In conclusion video capturing device and its vignetting compensation method proposed by the invention, in video capturing device
When the producing line production phase, the mobile diffusion sheet of configuration in front of secondary mirror head, and in advance storage major-minor camera lens correspond to table and
Secondary mirror head diffusion sheet corresponds to table.Video capturing device take pictures the stage when, secondary mirror head is covered using diffusion sheet so that secondary
Image accessed by camera lens recycles major-minor camera lens to correspond to table and secondary mirror head diffusion sheet correspondence close to equally distributed light source
Table, by the way that the dark angle compensation information of photographed scene can be obtained after real-time operation, to be carried out to the image accessed by main lens
Dark angle compensation.Video capturing device and its vignetting compensation method proposed by the invention can obtain bat while filmed image
The environment light source information of scene is taken the photograph, therefore is not required to establish the dark angle compensation corresponding to different light sources in the producing line production phase in advance
Table, to save storage space.In addition, compared to existing the dark angle compensation table of unknown light source is obtained in a manner of adjustment, this
Invention immediately and adaptively establishes dark angle compensation table using the environment light source information shot instantly, to obtain compared with good merchantable brand
The compensation image of matter.
Although the present invention is disclosed as above with embodiment, however, it is not to limit the invention, any technical field
In those of ordinary skill, when can make some changes and embellishment, without departing from the spirit and scope of the present invention.
Claims (12)
1. a kind of vignetting compensation method of video capturing device, which is characterized in that be suitable for that there is main lens, secondary mirror head and expansion
The video capturing device of discrete piece, the wherein video capturing device, which prestore, is associated with the major-minor camera lens pair of the main lens and the secondary mirror head
It answers table and is associated with secondary mirror head table corresponding with the secondary mirror head diffusion sheet of the diffusion sheet, which includes:
The secondary mirror head is covered using the diffusion sheet;
The secondary mirror head covered using the main lens and by the diffusion sheet, while the image of scene is obtained, to generate respectively
Main image and diffusion image;
According to the main image and the diffusion image, corresponds to table using the major-minor camera lens and the secondary mirror head diffusion sheet corresponds to table,
Establish the dark angle compensation table corresponding to the scene;And
According to the dark angle compensation table, dark angle compensation processing is carried out to the main image, to generate compensation image.
2. vignetting compensation method according to claim 1, which is characterized in that covering the secondary mirror head using the diffusion sheet
Before step, which further includes:
The image that light source is obtained using the main lens and the secondary mirror head, to generate main testing image and secondary test shadow respectively
Picture;
The secondary mirror head is covered using the diffusion sheet, and utilizes the shadow for being obtained the light source by the secondary mirror head that the diffusion sheet is covered
Picture, to generate diffusion testing image;And
According to the main testing image and the pair testing image, establishes the major-minor camera lens and correspond to table, and shadow is tested according to the pair
Picture and the diffusion testing image, establish the secondary mirror head diffusion sheet and correspond to table.
3. vignetting compensation method according to claim 2, which is characterized in that tested according to the main testing image and the pair
Image establishes the major-minor camera lens and corresponds to table, and according to the pair testing image and the diffusion testing image, establishes the secondary mirror head
Diffusion sheet corresponds to the step of table and includes:
Multiple first ratios are calculated according to the main testing image and the pair testing image, and are established using first ratio
The major-minor camera lens corresponds to table, wherein each first ratio tests shadow for each pixel in the main testing image with positioned at the pair
Ratio as between the pixel with same pixel coordinate;And
Multiple second ratios are calculated according to the pair testing image and the diffusion testing image, and are built using second ratio
It founds the secondary mirror head diffusion sheet and corresponds to table, wherein each second ratio is each pixel in the pair testing image and positioned at the expansion
Dissipate the ratio between the pixel with same pixel coordinate in testing image.
4. vignetting compensation method according to claim 3, which is characterized in that according to the main image and the diffusion image,
Table is corresponded to using the major-minor camera lens and the secondary mirror head diffusion sheet corresponds to table, establishes the dark angle compensation table for corresponding to the scene
Step includes:
According to the diffusion image, first ratio and secondary mirror head diffusion sheet correspondence in table are corresponded to using the major-minor camera lens
Second ratio in table obtains simulation main image;
According to the simulation main image and the main image, multiple penalty coefficients are calculated;And
Using the penalty coefficient, the dark angle compensation table is established.
5. vignetting compensation method according to claim 4, which is characterized in that according to the dark angle compensation table, to the main image
Dark angle compensation processing is carried out, includes the step of the compensation image to generate:
According to the pixel value of each pixel in each penalty coefficient of the dark angle compensation table and the main image, the benefit is generated
Repay image.
6. vignetting compensation method according to claim 1, which is characterized in that according to the dark angle compensation table, to the main shadow
As carrying out dark angle compensation processing, the step of to generate the compensation image after, which further includes:
When judging that the scene does not change, the image of the scene is obtained using the main lens, to generate new main image;
According to the dark angle compensation table, dark angle compensation processing is carried out to the new main image, to generate new compensation image.
7. a kind of video capturing device, which is characterized in that including:
Main lens;
Secondary mirror head;
Diffusion sheet is connected to the secondary mirror head;
Storage element records multiple modules and is associated with main lens table corresponding with the major-minor camera lens of the secondary mirror head and association
In secondary mirror head table corresponding with the secondary mirror head diffusion sheet of the diffusion sheet;And
One or more processing units couple the main lens, the secondary mirror head, the diffusion sheet and the storage element, to access and hold
The module recorded in the row storage element, the module include:
Module is covered, covers the secondary mirror head using the diffusion sheet;
Image capturing module, the secondary mirror head covered using the main lens and by the diffusion sheet, while obtaining the shadow of scene
Picture, to generate main image and diffusion image respectively;
Table module is built, according to the main image and the diffusion image, table is corresponded to using the major-minor camera lens and the secondary mirror head is spread
Piece corresponds to table, establishes the dark angle compensation table corresponding to the scene;And
Dark angle compensation module carries out dark angle compensation processing, to generate compensation image according to the dark angle compensation table to the main image.
8. video capturing device according to claim 7, which is characterized in that the video capturing device is further coupled at image
Device is managed, wherein:
The image capturing module obtains the image of light source using the main lens and the secondary mirror head, to generate main testing image respectively
And secondary testing image;
The masking module covers the secondary mirror head using the diffusion sheet, and is obtained using the secondary mirror head covered by the diffusion sheet
The image of the light source, to generate diffusion testing image;And
The image processor establishes the major-minor camera lens and corresponds to table according to the main testing image and the pair testing image, and
According to the pair testing image and the diffusion testing image, establishes the secondary mirror head diffusion sheet and correspond to table.
9. video capturing device according to claim 8, it is characterised in that:
The image processor calculates multiple first ratios according to the main testing image and the pair testing image, and utilizes institute
State the first ratio and establish the major-minor camera lens and correspond to table, wherein each first ratio be each pixel in the main testing image with
Ratio in the pair testing image between the pixel with same pixel coordinate;And
The image processor calculates multiple second ratios according to the pair testing image and the diffusion testing image, and utilizes
Second ratio establishes the secondary mirror head diffusion sheet and corresponds to table, wherein each second ratio is each in the pair testing image
Pixel and the ratio in the diffusion testing image between the pixel with same pixel coordinate.
10. video capturing device according to claim 9, it is characterised in that:
This builds table module according to the diffusion image, and first ratio and the secondary mirror head in table are corresponded to using the major-minor camera lens
Diffusion sheet corresponds to second ratio in table, obtains simulation main image;
This builds table module according to the simulation main image and the main image, calculates multiple penalty coefficients;And
This is built table module and utilizes the penalty coefficient, and the dark angle compensation table is established.
11. video capturing device according to claim 10, which is characterized in that the dark angle compensation module is mended according to the dark angle
Each penalty coefficient of table and the pixel value of each pixel in the main image are repaid, the compensation image is generated.
12. video capturing device according to claim 11, which is characterized in that further include:
Judge module, when judging that the scene does not change, which obtains the image of the scene using the main lens, with production
Raw new main image, and the dark angle compensation module carries out dark angle compensation processing according to the dark angle compensation table to the new main image, with
Generate new compensation image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410263496.1A CN105282401B (en) | 2014-06-13 | 2014-06-13 | Video capturing device and its vignetting compensation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410263496.1A CN105282401B (en) | 2014-06-13 | 2014-06-13 | Video capturing device and its vignetting compensation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105282401A CN105282401A (en) | 2016-01-27 |
CN105282401B true CN105282401B (en) | 2018-09-14 |
Family
ID=55150650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410263496.1A Active CN105282401B (en) | 2014-06-13 | 2014-06-13 | Video capturing device and its vignetting compensation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105282401B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10708526B2 (en) * | 2015-04-22 | 2020-07-07 | Motorola Mobility Llc | Method and apparatus for determining lens shading correction for a multiple camera device with various fields of view |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI304915B (en) * | 2005-07-13 | 2009-01-01 | Quanta Comp Inc | Anti-shading method and apparatus for image sensor |
WO2007042853A1 (en) * | 2005-10-13 | 2007-04-19 | Nokia Corporation | Method and system for vignetting elimination in digital image |
TWI386042B (en) * | 2008-12-17 | 2013-02-11 | Altek Corp | Digital camera device and its brightness correction method |
CN101771826B (en) * | 2008-12-29 | 2011-09-14 | 华晶科技股份有限公司 | Digital shooting device and luminance correcting method thereof |
TWI401973B (en) * | 2009-02-13 | 2013-07-11 | Altek Corp | A Method to Improve the Color Shadow in Digital Image |
KR20110135720A (en) * | 2010-06-11 | 2011-12-19 | 삼성전자주식회사 | Apparatus and method for generating lens shading compensation table according to photographing environment |
-
2014
- 2014-06-13 CN CN201410263496.1A patent/CN105282401B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105282401A (en) | 2016-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Tocci et al. | A versatile HDR video production system | |
TWI524709B (en) | Image capture apparatus, method of controlling image capture apparatus, and electronic device | |
CN106713755B (en) | Panoramic image processing method and device | |
CN104717435A (en) | Imaging device and imaging method | |
CN108024056B (en) | Imaging method and device based on dual camera | |
MX2013003446A (en) | System and method for processing image data using an image signal processor having back-end processing logic. | |
CN103888661A (en) | Image pickup apparatus, image pickup system and method of controlling image pickup apparatus | |
JP2012109900A (en) | Photographing device, photographing method and program | |
TWI486057B (en) | Image pickup device and image synthesis method thereof | |
JP7020417B2 (en) | Video signal processing device, video signal processing method and video signal processing system | |
WO2020034702A1 (en) | Control method, device, electronic equipment and computer readable storage medium | |
KR20190041586A (en) | Electronic device composing a plurality of images and method | |
JP2016086246A (en) | Image processing apparatus and method, and imaging device | |
CN107995396B (en) | Two camera modules and terminal | |
CN106550227B (en) | A kind of image saturation method of adjustment and device | |
CN104092954B (en) | Flash control method and control device, image-pickup method and harvester | |
JP6425571B2 (en) | IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND PROGRAM | |
CN111434104B (en) | Image processing apparatus, image capturing apparatus, image processing method, and recording medium | |
TWI524279B (en) | Image capturing device and method for shading compensation thereof | |
WO2016123850A1 (en) | Photographing control method for terminal, and terminal | |
CN105282401B (en) | Video capturing device and its vignetting compensation method | |
WO2015192545A1 (en) | Photographing method and apparatus and computer storage medium | |
JP2019179463A (en) | Image processing device, control method thereof, program, and recording medium | |
CN111918047A (en) | Photographing control method and device, storage medium and electronic equipment | |
JP5854716B2 (en) | Image processing apparatus, image processing method, and program |
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 |