CN1856028A - Camera and method for taking picture compensation - Google Patents

Camera and method for taking picture compensation Download PDF

Info

Publication number
CN1856028A
CN1856028A CN 200510068454 CN200510068454A CN1856028A CN 1856028 A CN1856028 A CN 1856028A CN 200510068454 CN200510068454 CN 200510068454 CN 200510068454 A CN200510068454 A CN 200510068454A CN 1856028 A CN1856028 A CN 1856028A
Authority
CN
China
Prior art keywords
brightness value
block
image
reference picture
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200510068454
Other languages
Chinese (zh)
Inventor
杨石阳
张峻荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BenQ Corp
Original Assignee
BenQ Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BenQ Corp filed Critical BenQ Corp
Priority to CN 200510068454 priority Critical patent/CN1856028A/en
Publication of CN1856028A publication Critical patent/CN1856028A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

The invention is concerned with the photography equipment and the compensating method of the compensative image in the equipment. The equipment uses the image distilling module distill a first image and a second image by order, the first image consists of a reference image and a non-reference image. Using the computing module to compute the average value of the reference image brightness that is as a reference brightness value, the difference value between the reference brightness value of the reference image and the non-reference image brightness value is higher than a comparing value. Using the compensating module according to the compensating value that is the reciprocal of the ratio between the non-reference image brightness value and the reference brightness value, the compensating value compensate the second image.

Description

The compensation method of compensating images picture in camera and the camera
Technical field
The present invention especially refers to be used in the compensation method of compensating images picture in the camera about a kind of camera.
Background technology
After cameras such as digital camera, Digital Video were in fashion, it is more convenient that the image frame that numerical data produced makes processing go up, and comprises storage, prints off, revises ... Deng processing, make us vision, cultural life horn of plenty more.
Yet, with the shown image frame of this numerical data, sometimes because the camera inner member because of the factor of manufacture process or the flaw of assembling process, can make the brightness value of shown image frame inhomogeneous.Particularly at the brightness irregularities at image frame edge, the inhomogeneous meeting of this brightness value shows the entire image picture part has the part demonstration brighter secretly and in addition, in the visual point of video picture, is a serious flaw.
Therefore, main purpose of the present invention is the compensation method that a kind of camera is provided and is used in compensating images picture in the camera, to address the above problem.
Summary of the invention
Purpose of the present invention is via a kind of camera and the compensation method that is used in compensating images picture in the camera, this compensation method is a kind of shading value and proofreaies and correct (shading correction), make the brightness value of shown image frame even, and then promote display effect.
The present invention is about a kind of camera and the compensation method that is used in compensating images picture in the camera.Camera comprises an image extraction module, a computing module and a compensating module.
This image extraction module is in order to successively to extract one first image and one second image, and this first image comprises a reference picture and a non-reference picture.Wherein, this first image system extracts the image frame from single background, is a plurality of blocks with this first image segmentation further, and each block all comprises a plurality of unit picture elements.
This computing module according to the brightness of unit picture element calculating the mean value of this reference brightness, with as a reference brightness value.Wherein, the reference brightness value of this reference picture, and the difference between this non-reference brightness value are higher than a comparison value.
This compensating module is selected the block of this non-reference picture in this first image, inverse with the ratio of the brightness value of selecteed block and this reference brightness value is used as offset, and offset compensates this selecteed block by this, promptly compensates the block of this non-reference picture.
Follow-up, this compensating module is selected in this second image the block in should non-reference picture again, according to offset with this non-reference picture block in this first image of above-mentioned compensation, compensate the selected block of this compensating module in this second image, promptly compensate in this second image block that should non-reference picture.
In addition, before this block brightness is all calculated module and calculated this average brightness value, has the variation luminance pixel of variation brightness value earlier with removal via a median calculation rule (median filter).
Described this median calculation method sampling odd number contiguous pixels is one group a sorted pixels group, and each pixel has corresponding brightness value in this sorted pixels group.Continue, again according to this odd number brightness value of size ordering, with the brightness value of the brightness value in the middle of the back of sorting as the centre position pixel.Continue, pixel of adjacent in regular turn again change is the sorted pixels group of another group with the odd number contiguous pixels of resampling, and repeats above-mentioned steps to get the brightness value of centre position pixel newly.
Behind the brightness value of handling this each pixel of first image in regular turn, by this, to get rid of the variation brightness value that this variation luminance pixel is taken place.
Therefore, via camera of the present invention and the compensation method that is used in compensating images picture in the camera, utilize a median calculation rule to remove variation luminance pixel with variation brightness value, cooperating computing module and compensating module to carry out shading value again proofreaies and correct, make the brightness value of image frame of shown single background even, and then promote display effect.
Can be further understood via the following detailed description and accompanying drawings about the advantages and spirit of the present invention.
Description of drawings
Fig. 1 a is the schematic diagram of camera of the present invention;
Fig. 1 b is the schematic diagram of image frame;
Fig. 2 a is the further schematic diagram of computing module of the present invention;
Fig. 2 b is the schematic diagram of predefined paths of the present invention;
Fig. 3 is the schematic diagram of median calculation rule of the present invention;
Fig. 4 compensates the schematic diagram of applied in any combination for the present invention; And
Fig. 5 is the flow chart of compensation method of the present invention.
Fig. 6 chooses the flow chart of reference picture 42 for the present invention.
Symbol description:
30: camera 32: the image extraction module
3202: photodetector 34: computing module
36: compensating module 40: image frame
42: reference picture 44: non-reference picture 46: block 48: unit picture element
3402: module 3404 is all calculated in block brightness: the contrast module
P: predefined paths 46c: the block at center
50a, 50b: sorted pixels group 60: storage device
6002: ambient light 6004: the compensation combination
62: light intensity sensor 64: select module
Embodiment
See also Fig. 1 a, Fig. 1 a is the schematic diagram of camera 30 of the present invention.The present invention is about a kind of camera 30 and the compensation method that is used in compensating images picture in the camera 30, and described compensation method is a kind of shading value and proofreaies and correct (shading correction) technology.Camera 30 comprises an image extraction module 32, a computing module 34 and a compensating module 36 among Fig. 1 a.
Image extraction module 32 compensates the image frame of second image that extracted afterwards with this offset then in order to extract first image earlier in order to offset value calculation.Cooperation figure one a further consults Fig. 1 b, the schematic diagram of Fig. 1 b image frame 40.The image frame 40 of first image that is extracted earlier comprises a reference picture 42 and a non-reference picture 44, and reference picture 42 is the hatched example areas in the image frame 40, and the zone that image frame 40 is got rid of reference picture 42 is all non-reference picture 44.
This first image extracts from single background, further, the image frame 40 of this first image is divided into a plurality of blocks 46, and each block 46 all comprises a plurality of unit picture elements 48.The image frame 40 of described single background is preferably the full image frame 40 of background in vain.
Utilize the photodetector (photo detector) 3202 in the image extraction module 32, with the brightness of each unit picture element 48 in the detected image picture 40.
Computing module 34 calculates the mean value of the brightness of reference picture 42 according to the brightness of unit picture element 48, with as a reference brightness value.Wherein, the reference brightness value of reference picture 42, and the difference between the brightness value of non-reference picture 44 are higher than a comparison value.
Photodetector 3202 and in order to detect follow-up brightness of extracting second image.Compensating module 36 is according to the brightness value of this first image and the ratio of this reference brightness value, to compensate the brightness of this second image.
Further consult Fig. 2 a, the further schematic diagram of Fig. 2 a computing module 34 of the present invention.With Fig. 2 a explanation computing module 34, computing module 34 comprises that also a block brightness all calculates a module 3402 and a contrast module 3404.
The brightness value of module 3402 according to each unit picture element 48 in the block 46 all calculated in block brightness, to calculate the average brightness value of each block 46.
Contrast module 3404 is in order to the difference of the average brightness value that contrasts 46 of these a plurality of blocks, in order to choose reference picture 42.After module 3404 chooses reference picture 42 via contrast, calculate the reference brightness value of reference picture 42 again by computing module 34.
Cooperate Fig. 2 a to see also Fig. 2 b, the schematic diagram of Fig. 2 b predefined paths P of the present invention.Computing module 34 is selected the block 46c at these first image image frame, 40 centers in advance, contrast block 46c and adjacent next adjacent block 46 along a predefined paths P with contrast module 3404, when the difference degree of this two block 46c, 46 average brightness values is no more than a predetermined value, computing module 34 is average again after with this two adjacent block 46c, 46 summations, with a temporary transient reference brightness value.Continue, along predefined paths P, average brightness value and this temporary transient reference brightness value with the next adjacent block 46 of contrast module 3404 contrasts, when the difference degree of this temporary transient reference brightness value and this average brightness value is no more than this predetermined value, computing module 34 should temporary transient reference brightness value and this average brightness value summation after average again, with another new temporary transient reference brightness value to replace original temporary transient reference brightness value.
Continue to carry out described step when the difference degree when this temporary transient reference brightness value and this average brightness value surpasses this predetermined value, stop described step, and with last temporary transient reference brightness value as this reference brightness value.Wherein in this first image, the block 46 of corresponding this reference brightness value of calculating is reference picture 42.
Described predefined paths P can be along clockwise direction along the path of adjacent block 46, or in the counterclockwise direction along the path of adjacent block 46 from the first image image frame, 40 centers as Fig. 2 b.Or in the block 46 pairing paths of reference picture 42, wherein, the block 46 in the reference picture 42 is all adjacent, and does not have the adjacent block 46 in only relative two limits in the reference picture 42.
Explain at the block 46c that how to choose described this first picture centre.When this first image laterally has odd number block 46, be laterally middle block 46c.When this first image laterally has even number block 46, be the block 46c in contiguous laterally middle two blocks 46.And, be vertically middle block 46c when this first image vertically has odd number block 46.When this first image vertically has even number block 46, be the block 46c in contiguous vertically middle two blocks 46.
Further describe at compensating module 36, compensating module 36 is selected the block 46 of non-reference picture 44 in this first image, inverse with the ratio of the brightness value of selecteed block 46 and this reference brightness value is worth by way of compensation, compensates the block 46 of selected non-reference picture 44.
Continuing, and in this second image, to the position of these a plurality of blocks 46 that should first image, is a plurality of blocks 46 with this second image segmentation.Compensating module 36 is selected the block 46 in the corresponding non-reference picture 44 in this second image, and the offset according to non-reference picture 44 blocks 46 in this first image of above-mentioned compensation compensates compensating module 36 selected blocks 46 in this second image.
Illustrate, in Fig. 2 b, the definition predetermined value is 1.2 earlier.Selected contiguous middle block 46c, recording and calculate average brightness value is 9, chooses next block 46 according to path P, and to calculate these block 46 average brightness values be 10, because 9 and 10 difference is no more than 1.2, so with this two block 46c, 46 average, obtaining temporary transient reference brightness value is 9.5.Follow-up, choose next block 46 according to path P, and to calculate these block 46 average brightness values be 10.2, because 9.5 and 10.2 differences are no more than 1.2, so this two block 46 is average, obtaining new temporary transient reference brightness value is 9.85.
In regular turn, when finishing 11 blocks 46, obtaining temporary transient reference brightness value is 9.7.But when choosing the 12nd block 46 according to path P, its average brightness value 11.2 and 9.7 differences surpass 1.2, so confirm that 46 compositing areas of aforementioned 11 blocks are reference picture 42, its reference brightness value is 9.7, and other zones then are non-reference picture 44.
Follow-up, then can non-reference picture 44 in the inverse of ratio of the brightness value of block 46 and this reference brightness value be worth by way of compensation, compensate the block 46 of selected non-reference picture 44, and the block 46 of same position in follow-up second image of corresponding contrast.For example the offset to the 12nd block 46 then is 9.7/11.2=0.866.
In addition, before module 3402 these average brightness values of calculating are all calculated in block brightness, remove variation luminance pixel via a median calculation rule (median filter) earlier with variation brightness value.Wherein, described variation brightness value, the brightness value of this pixel difference degree of comparing the brightness value of neighbor surpasses a threshold value.
See also Fig. 3, the schematic diagram of Fig. 3 median calculation rule of the present invention.Described this median calculation method sampling odd number contiguous pixels 48 is one group sorted pixels group 50a, and each pixel 48 has corresponding brightness value among the sorted pixels group 50a.Continue again according to odd number brightness value among this sorted pixels group of size ordering 50a, with the brightness value of the brightness value in the middle of the back of sorting as centre position pixel 48c1.
The pixel 48 of adjacent in regular turn change that continues again is the sorted pixels group 50b of another group with the odd number contiguous pixels 48 of resampling, and repeats above-mentioned steps to get the brightness value of centre position pixel 48c2 newly.Behind the brightness value of handling this each pixel 48 of first image in regular turn, by this, can get rid of the variation brightness value that this variation luminance pixel is taken place.
Treatment step supplementary notes at the median calculation method are as follows.Step 1: sampling odd number contiguous pixels 48 is one group sorted pixels group 50a, and each pixel 48 has corresponding brightness value among the sorted pixels group 50a.
Step 2: again according to this odd number brightness value of size ordering, and with the brightness value of the brightness value in the middle of the back of sorting as centre position pixel 48c1.
Step 3: pixel 48 of adjacent in regular turn change is the sorted pixels group 50b of another group with the odd number contiguous pixels 48 of resampling.
Step 4: again according to the odd number brightness value of another group sorted pixels group of size ordering 50b, and the brightness value of centre position pixel 48c2 newly, and with the brightness value of the back centre position pixel 48c2 that sorts brightness value as centre position pixel 48c2.
Step 5: abovementioned steps three and step 4 repeatedly, handle the brightness value of this each pixel 48 of first image in regular turn, by this, to get rid of the variation brightness value that this variation luminance pixel is taken place.
See also Fig. 4 in addition, Fig. 4 the present invention compensates the schematic diagram that combination 6004 is used.Camera 30 as the aforementioned, wherein when a kind of light intensity of ambient light 6002, because non-reference picture 44 has a plurality of blocks 46, so compensated the average brightness value of each block 46 in this non-reference zone in this first image respectively by a plurality of offsets, a compensation combination 6004 is formed in the combination of these a plurality of offsets.Under the light intensity scope of this multiple ambient light 6002, corresponding different respectively multiple compensation combinations 6004.
Camera 30 also comprises a storage device 60, a light intensity sensor 62 and is selected module 64.
The light intensity scope of the aforementioned multiple ambient light 6002 of storage device 60 storages and pairing multiple compensation combination 6004.
Light intensity sensor 62 maybe can adopt aforesaid photodetector 3202, and light intensity sensor 62 is in order to detect the light intensity of camera 30 surrounding environment light 6002.
Select the light intensity of module 64 in order to 62 sensings of contrast light intensity sensor, with the pairing compensation combination 6004 of the light intensity scope of selecting in storage device 60, to meet this light intensity, camera 30 is compensated when the ambient light 6002 for subsequent compensation module 36.
See also Fig. 5, the flow chart of Fig. 5 compensation method of the present invention.Corresponding aforesaid camera 30, also a kind of compensation method that is used in compensating images picture 40 in the camera 30 of the present invention, this compensation method comprises the following step:
Step S02: extract one first image, this first image comprises a reference picture 42 and a non-reference picture 44.Wherein, this first image extracts the image frame 40 from single background, and the image frame 40 of described single background is preferably the image frame 40 of complete white background.
Step S04: after extracting this first image, be a plurality of blocks 46 with this first image segmentation, wherein each block 46 all comprises a plurality of unit picture elements 48.
Step S06: according to the brightness value of each unit picture element 48 in the block 46, to calculate the average brightness value of each block 46.
Step S08: contrast the difference of the average brightness value of 46 of these a plurality of blocks, in order to choose reference picture 42.
Step S10: calculate the mean value of the brightness of reference picture 42, with as a reference brightness value.Wherein, the difference between the reference brightness value of reference picture 42 and the brightness value of non-reference picture 44 is higher than a comparison value.
Step S12: select the block 46 of non-reference picture 44 in this first image, be worth by way of compensation, compensate selecteed block 46 with the inverse of the ratio of the brightness value of selecteed block 46 and this reference brightness value.
Step S14: extract one second image.Wherein, in this second image,, be a plurality of blocks 46 with this second image segmentation to the position of these a plurality of blocks 46 that should first image.
Step S16: select the block 46 in the corresponding non-reference picture 44 in this second image, the offset according to non-reference picture 44 blocks 46 in this first image of above-mentioned compensation compensates selected block 46 in this second image.
See also Fig. 6, Fig. 6 the present invention chooses the flow chart of reference picture 42.At step S08, with the following step to choose described reference picture 42:
Step S30: the block 46c that in advance selects this first picture centre.
Step S32: along the average brightness value of predefined paths P with contrast block 46c and adjacent block 46.
Step S34: whether the difference degree of judging block 46c and 46 average brightness values of adjacent block surpasses a predetermined value.
Step S36: average again after the two block 46c that this is adjacent, 46 summations when the difference degree of 46 average brightness values of this two block is no more than this predetermined value, to get a temporary transient reference brightness value.
Step S38: continue along predefined paths P, with average brightness value and this temporary transient reference brightness value that contrasts next adjacent block 46.
Step S40: whether the difference degree of judging 46 average brightness values of block that it is adjacent with the next one surpasses this predetermined value.
Step S42: when the difference degree of this temporary transient reference brightness value and this average brightness value is no more than this predetermined value, should temporary transient reference brightness value and this average brightness value summation after average again, with another new temporary transient reference brightness value to replace original temporary transient reference brightness value.The follow-up step 38 that returns, the new temporary transient reference brightness value with the zone of calculating block 46 along predefined paths P, contrasts the average brightness value of next adjacent block 46.
Step S44: when the difference degree of this temporary transient reference brightness value and this average brightness value surpasses this predetermined value, stop described step.And with last temporary transient reference brightness value as this reference brightness value.Wherein, in this first image, the block 46 of corresponding this reference brightness value of calculating is described reference picture 42.
Therefore, via camera 30 of the present invention and the compensation method that is used in compensating images picture 40 in the camera 30, utilize a median calculation rule to remove variation luminance pixel with variation brightness value, cooperating computing module 34 and compensating module 36 to carry out shading value again proofreaies and correct, make the brightness value of image frame 40 of shown single background even, and then promote display effect.
Via the above detailed description of preferred embodiments, hope can be known description feature of the present invention and spirit more, and is not to come category of the present invention is limited with above-mentioned disclosed preferred embodiment.On the contrary, its objective is that hope can contain in the category of claim of being arranged in of various changes and equivalence institute of the present invention desire application.

Claims (26)

1, a kind of camera comprises:
One image extraction module, in order to successively to extract one first image and one second image, this first image comprises a reference picture;
One computing module, this computing module is in order to calculate the mean value of this reference brightness, with as a reference brightness value, wherein in the reference brightness value of this reference picture and this first image and the difference between the brightness value of this reference picture adjacent image, be higher than a comparison value; And
One compensating module according to the brightness value of this first image and the ratio of this reference brightness value, compensates this second image.
2, camera as claimed in claim 1, wherein this first image extracts the image frame from single background, is a plurality of blocks with this first image segmentation further, and each block all comprises a plurality of unit picture elements, and this computing module also comprises:
Module is all calculated in one block brightness, according to the brightness value of each unit picture element in this block, to calculate the average brightness value of each block; And
One contrast module is in order to contrast the difference of the average brightness value between these a plurality of blocks, in order to choose this reference picture.
3, camera as claimed in claim 2, the image frame of wherein said single background is the image frame of complete white background.
4, camera as claimed in claim 2, wherein in this first image, getting rid of this reference picture person is a non-reference picture, this compensating module is selected the block of this non-reference picture in this first image, inverse with the ratio of the brightness value of selecteed block and this reference brightness value is worth by way of compensation, compensates this selecteed block.
5, camera as claimed in claim 4, wherein in this second image, position to these a plurality of blocks that should first image, with this second image segmentation is a plurality of blocks, this compensating module is selected in this second image the block in should non-reference picture, offset according to this non-reference picture block in this first image of above-mentioned compensation compensates the selected block of this compensating module in this second image.
6, camera as claimed in claim 2, wherein this computing module is selected the block of this first picture centre in advance, contrast this block and adjacent block along a predefined paths with this contrast module, when the difference degree of average brightness value between this two block is no more than a predetermined value, this computing module is average again after will this adjacent block summation, to get a temporary transient reference brightness value, continue along this predefined paths, average brightness value and this temporary transient reference brightness value with the next adjacent block of this contrast module contrast, when the difference degree of this temporary transient reference brightness value and this average brightness value is no more than this predetermined value, this computing module should temporary transient reference brightness value and this average brightness value summation after average again, to get another new temporary transient reference brightness value to replace original temporary transient reference brightness value, continue to carry out described step when the difference degree when this temporary transient reference brightness value and this average brightness value surpasses this predetermined value, stop described step, and with last temporary transient reference brightness value as this reference brightness value, wherein in this first image, the block of corresponding this reference brightness value of calculating is this reference picture.
7, camera as claimed in claim 6, wherein said predefined paths are along clockwise direction along the path of adjacent block.
8, camera as claimed in claim 6, wherein said predefined paths are in the counterclockwise direction along the path of adjacent block.
9, camera as claimed in claim 6, wherein said predefined paths are that the block in this reference picture is all adjacent in the pairing path of the block of this reference picture, and do not have the adjacent block in only relative two limits in this reference picture.
10, camera as claimed in claim 6, wherein at the block of described this first picture centre, when this first image laterally has the odd number block, being laterally middle block, when this first image laterally has the even number block, is the block in contiguous laterally middle two blocks, and when this first image vertically has the odd number block, being vertically middle block, when this first image vertically has the even number block, is the block in contiguous vertically middle two blocks.
11, camera as claimed in claim 2, wherein before this block brightness is all calculated module and is calculated this average brightness value, remove variation luminance pixel via a median calculation rule earlier with variation brightness value, described this median calculation method sampling odd number contiguous pixels is one group a sorted pixels group, each pixel has corresponding brightness value in this sorted pixels group, continue again according to this odd number brightness value of size ordering, with the brightness value of the brightness value in the middle of the back of sorting as the centre position pixel, the pixel of adjacent in regular turn change that continues again is with the sorted pixels group of odd number contiguous pixels for another group of resampling, and repeat above-mentioned steps to get the brightness value of centre position pixel newly, behind the brightness value of handling this each pixel of first image in regular turn, by this to get rid of the variation brightness value that this variation luminance pixel is taken place.
12, the difference degree that camera as claimed in claim 11, wherein said variation brightness value, the brightness value of this pixel are compared the brightness value of neighbor surpasses a threshold value.
13, camera as claimed in claim 4, wherein when a kind of light intensity of ambient light, compensate the average brightness value of each block in this non-reference zone in this first image respectively by these a plurality of offsets, a compensation combination is formed in the combination of these a plurality of offsets, under the light intensity scope of this multiple ambient light, corresponding different respectively multiple compensation combinations, this camera also comprises:
One storage device, the light intensity scope of the multiple ambient light of this memory device stores and pairing multiple compensation combination;
One light intensity sensor, this light intensity sensor is in order to detect the light intensity of this camera surrounding environment light; And
One selects module, in order to contrast the light intensity of this light intensity sensor institute sensing, with the pairing compensation combination of the light intensity scope of selecting in this storage device, to meet this light intensity, this camera is compensated when this ambient light for follow-up this compensating module.
14, a kind of compensation method of compensating images picture in camera, this compensation method comprises the following step:
Extract one first image, this first image comprises a reference picture;
Calculate the mean value of this reference brightness, with as a reference brightness value, wherein in the reference brightness value of this reference picture and this first image and the difference between the brightness value of this reference picture adjacent image, be higher than a comparison value;
Extract one second image; And
According to the brightness value of this first image and the ratio of this reference brightness value, compensate this second image.
15, compensation method as claimed in claim 14, wherein this first image extracts the image frame from single background, and this compensation method further comprises the following step:
After extracting this first image, be a plurality of blocks with this first image segmentation, each block all comprises a plurality of unit picture elements:
According to the brightness value of each unit picture element in this block, to calculate the average brightness value of each block; And
Contrast the difference of the average brightness value between these a plurality of blocks, in order to choose this reference picture.
16, compensation method as claimed in claim 15, the image frame of wherein said single background is the image frame of complete white background.
17, compensation method as claimed in claim 15, wherein in this first image, getting rid of this reference picture person is a non-reference picture, this compensation method also comprises the following step, select the block of this non-reference picture in this first image, inverse with the ratio of the brightness value of selecteed block and this reference brightness value is worth by way of compensation, compensates this selecteed block.
18, compensation method as claimed in claim 17, wherein in this second image, position to these a plurality of blocks that should first image, with this second image segmentation is a plurality of blocks, this compensation method also comprises the following step, select in this second image the block in should non-reference picture, the offset according to this non-reference picture block in this first image of above-mentioned compensation compensates selected block in this second image.
19, compensation method as claimed in claim 15, wherein this compensation method also comprises the following step to choose described reference picture:
Select the block of this first picture centre in advance;
Along a predefined paths to contrast the average brightness value of this block and adjacent block;
When the difference degree of average brightness value between this two block is no more than a predetermined value, average again after the block summation that this is adjacent, to get a temporary transient reference brightness value;
Continue along this predefined paths, with average brightness value and this temporary transient reference brightness value that contrasts next adjacent block;
When the difference degree of this temporary transient reference brightness value and this average brightness value is no more than this predetermined value, should temporary transient reference brightness value and this average brightness value summation after average again, with another new temporary transient reference brightness value to replace original temporary transient reference brightness value; And
Continue to carry out described step when the difference degree when this temporary transient reference brightness value and this average brightness value surpasses this predetermined value, stop described step, and with last temporary transient reference brightness value as this reference brightness value, wherein in this first image, the block of corresponding this reference brightness value of calculating is this reference picture.
20, compensation method as claimed in claim 19, wherein said predefined paths are along clockwise direction along the path of adjacent block.
21, compensation method as claimed in claim 19, wherein said predefined paths are in the counterclockwise direction along the path of adjacent block.
22, compensation method as claimed in claim 19, wherein said predefined paths are that the block in this reference picture is all adjacent in the pairing path of the block of this reference picture, and do not have the adjacent block in only relative two limits in this reference picture.
23, compensation method as claimed in claim 19, wherein at the block of described this first picture centre, when this first image laterally has the odd number block, being laterally middle block, when this first image laterally has the even number block, is the block in contiguous laterally middle two blocks, and when this first image vertically has the odd number block, being vertically middle block, when this first image vertically has the even number block, is the block in contiguous vertically middle two blocks.
24, compensation method as claimed in claim 15 wherein before this block brightness is all calculated module and calculated this average brightness value, is removed the variation luminance pixel with variation brightness value via a median calculation rule earlier, and this median calculation method also comprises the following step:
Step 1: sampling odd number contiguous pixels is one group a sorted pixels group, and each pixel has corresponding brightness value in this sorted pixels group;
Step 2: again according to this odd number brightness value of size ordering, and with the brightness value of the brightness value in the middle of the back of sorting as the centre position pixel;
Step 3: pixel of adjacent in regular turn change is with the sorted pixels group of odd number contiguous pixels for another group of resampling;
Step 4: again according to the odd number brightness value of another group sorted pixels group of size ordering, and the brightness value of centre position pixel newly, and with the brightness value of centre position, the back pixel that sorts brightness value as the centre position pixel; And
Step 5: abovementioned steps three and step 4 repeatedly, handle the brightness value of this each pixel of first image in regular turn, by this, to get rid of the variation brightness value that this variation luminance pixel is taken place.
25, the difference degree that the brightness value of neighbor is compared in compensation method as claimed in claim 24, wherein said variation brightness value, the brightness value of this pixel surpasses a threshold value.
26, compensation method as claimed in claim 17, wherein when a kind of light intensity of ambient light, compensate the average brightness value of each block in this non-reference zone in this first image respectively by these a plurality of offsets, a compensation combination is formed in the combination of these a plurality of offsets, under the light intensity scope of this multiple ambient light, corresponding different respectively multiple compensation combinations, this compensation method also comprises the following step:
The light intensity scope and the pairing multiple compensation of storing multiple ambient light are combined in the storage device;
Detect the light intensity of this camera surrounding environment light; And
The light intensity of contrast institute sensing selecting to meet the pairing compensation combination of light intensity scope of this light intensity in this storage device,, compensates this camera when this ambient light for follow-up.
CN 200510068454 2005-04-28 2005-04-28 Camera and method for taking picture compensation Pending CN1856028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510068454 CN1856028A (en) 2005-04-28 2005-04-28 Camera and method for taking picture compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510068454 CN1856028A (en) 2005-04-28 2005-04-28 Camera and method for taking picture compensation

Publications (1)

Publication Number Publication Date
CN1856028A true CN1856028A (en) 2006-11-01

Family

ID=37195816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510068454 Pending CN1856028A (en) 2005-04-28 2005-04-28 Camera and method for taking picture compensation

Country Status (1)

Country Link
CN (1) CN1856028A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098410A (en) * 2009-12-14 2011-06-15 索尼公司 Information processing apparatus, information processing method, program, and imaging apparatus including optical microscope
CN101651786B (en) * 2008-08-14 2011-07-27 华为终端有限公司 Method for restoring brightness change of video sequence and video processing equipment
CN101978688B (en) * 2008-03-21 2013-07-10 佳能株式会社 Image pickup apparatus and control method therefor
CN106341617A (en) * 2016-11-16 2017-01-18 信利光电股份有限公司 Method and apparatus for crosstalk compensation of camera
CN107180616A (en) * 2016-03-11 2017-09-19 青岛海信电器股份有限公司 A kind of method for eliminating display device Mura, elimination display device Mura devices and display device
CN107295268A (en) * 2016-07-29 2017-10-24 广东欧珀移动通信有限公司 The dark angle compensation method of image, device and terminal device
CN107645606A (en) * 2017-09-29 2018-01-30 努比亚技术有限公司 Screen luminance adjustment method, mobile terminal and readable storage medium storing program for executing
CN109982012A (en) * 2017-12-28 2019-07-05 展讯通信(上海)有限公司 Image processing method and device, storage medium, terminal
CN110675527A (en) * 2019-09-28 2020-01-10 孔华 On-site prevention device for porcelain collision behavior
CN111083388A (en) * 2019-12-26 2020-04-28 浙江大华技术股份有限公司 Light supplement lamp control method and device, electronic equipment and storage medium
CN112422841A (en) * 2020-11-09 2021-02-26 上海原能细胞生物低温设备有限公司 Image compensation method, image compensation device, computer equipment and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101978688B (en) * 2008-03-21 2013-07-10 佳能株式会社 Image pickup apparatus and control method therefor
US8885071B2 (en) 2008-03-21 2014-11-11 Canon Kabushiki Kaisha Image pickup apparatus and control method for flash distribution
US9338365B2 (en) 2008-03-21 2016-05-10 Canon Kabushiki Kaisha Image pickup apparatus and control method therefor
CN101651786B (en) * 2008-08-14 2011-07-27 华为终端有限公司 Method for restoring brightness change of video sequence and video processing equipment
US9071761B2 (en) 2009-12-14 2015-06-30 Sony Corporation Information processing apparatus, information processing method, program, and imaging apparatus including optical microscope
CN102098410A (en) * 2009-12-14 2011-06-15 索尼公司 Information processing apparatus, information processing method, program, and imaging apparatus including optical microscope
CN107180616A (en) * 2016-03-11 2017-09-19 青岛海信电器股份有限公司 A kind of method for eliminating display device Mura, elimination display device Mura devices and display device
CN107295268A (en) * 2016-07-29 2017-10-24 广东欧珀移动通信有限公司 The dark angle compensation method of image, device and terminal device
CN106341617A (en) * 2016-11-16 2017-01-18 信利光电股份有限公司 Method and apparatus for crosstalk compensation of camera
CN106341617B (en) * 2016-11-16 2019-08-02 信利光电股份有限公司 A kind of method and device of camera crosstalk compensation
CN107645606A (en) * 2017-09-29 2018-01-30 努比亚技术有限公司 Screen luminance adjustment method, mobile terminal and readable storage medium storing program for executing
CN109982012A (en) * 2017-12-28 2019-07-05 展讯通信(上海)有限公司 Image processing method and device, storage medium, terminal
CN110675527A (en) * 2019-09-28 2020-01-10 孔华 On-site prevention device for porcelain collision behavior
CN111083388A (en) * 2019-12-26 2020-04-28 浙江大华技术股份有限公司 Light supplement lamp control method and device, electronic equipment and storage medium
CN112422841A (en) * 2020-11-09 2021-02-26 上海原能细胞生物低温设备有限公司 Image compensation method, image compensation device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN1856028A (en) Camera and method for taking picture compensation
CN1276382C (en) Method and apparatus for discriminating between different regions of an image
CN1300744C (en) Automatic method for modifying digital image and system of adopting the method
CN1177298C (en) Multiple focussing image fusion method based on block dividing
KR100874561B1 (en) Image Processing Apparatus and Method
CN1240024C (en) Image processor, image processing method and recording medium recording the same
CN1960439A (en) Methods and devices for image signal processing
CN1742489A (en) Coding method for moving image
CN1885311A (en) Two-dimensional code, encoding and decoding method thereof
CN1678016A (en) Image processing apparatus and image processing method
CN101074915A (en) Device, method and program for detecting impurities in a fluid
CN101031029A (en) Method and apparatus for processing video image
CN101079956A (en) Image processing apparatus and image processing method
CN1688157A (en) Sports detecting method
CN1288916C (en) Image dead point and noise eliminating method
CN1622589A (en) Image processing method and image processing apparatus
CN1790378A (en) Binary method and system for image
CN100342710C (en) Structure method for enhancing image
CN1653810A (en) Image angle detection device and scan line interpolation device having the same
CN1619790A (en) Method for inspecting defect
CN1649395A (en) Image processing apparatus and method
CN1929550A (en) Method and system for detecting moving object
CN1828631A (en) Method and apparatus for acquiring image of internal structure, and computer product
CN1509069A (en) Method for eliminating scintilltion of moving picture
CN104980718B (en) Colour correcting apparatus and 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
AD01 Patent right deemed abandoned
C20 Patent right or utility model deemed to be abandoned or is abandoned