CN102938842A - Image correcting device, image correcting method, related device and product - Google Patents

Image correcting device, image correcting method, related device and product Download PDF

Info

Publication number
CN102938842A
CN102938842A CN2011102347910A CN201110234791A CN102938842A CN 102938842 A CN102938842 A CN 102938842A CN 2011102347910 A CN2011102347910 A CN 2011102347910A CN 201110234791 A CN201110234791 A CN 201110234791A CN 102938842 A CN102938842 A CN 102938842A
Authority
CN
China
Prior art keywords
image
coordinate
value
pixel data
coordinate system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011102347910A
Other languages
Chinese (zh)
Other versions
CN102938842B (en
Inventor
徐纬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Novatek Microelectronics Corp
Original Assignee
Novatek Microelectronics 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 Novatek Microelectronics Corp filed Critical Novatek Microelectronics Corp
Priority to CN201110234791.0A priority Critical patent/CN102938842B/en
Publication of CN102938842A publication Critical patent/CN102938842A/en
Application granted granted Critical
Publication of CN102938842B publication Critical patent/CN102938842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

Disclosed are an image correcting device, an image correcting method, a related device and a product. The image correcting device comprises a coordinate conversion unit, a parameter value decision unit and a corrected value calculation unit. The coordinate conversion unit receives data of at least one pixel of an optical pattern to a first coordinate under a first coordinate system and converts the first coordinate into a second coordinate under a second coordinate system, wherein the second coordinate system rotates at an angle relative to the first coordinate along an optical central point of the optical pattern. The parameter value decision unit decides individual values of at least one connection parameter for the pixel data according to positions of the pixel data in the second coordinate system. The corrected value calculating unit calculates an image corrected value of the pixel data according to the second coordinate of the pixel data and individual values of the at least one connection parameter.

Description

Image correcting device, image correcting method and relevant apparatus and product
Technical field
The present invention relates to a kind of adjustment of image, relate in particular to a kind of image correcting device, image correcting method and relevant apparatus and product.
Background technology
In general image input/output device, the luminous intensity that camera lens receives can be because of the different difference to some extent of distance from the camera lens center of circle, and the size of adding typical Image sensor apparatus is generally rectangle, so cause image to produce the problem of peripheral shade.Camera lens shadow correction (lens shading correction) method is for proofreading and correct or compensate peripheral shade.Generally speaking, these class methods be by the camera lens by the image input/output device directly according to parallel ray machine, try to achieve by this brightness change curve of camera lens, and to take this brightness change curve be foundation, in the middle of corrective lens with peripheral brightness disproportionation.
In addition, many image input/output devices have the function of a kind of Automatic white balance (auto white balance, AWB).When captured image produces image colour cast problem because the setting of environment set or image input device is different, use the just colour cast problem of recoverable image globality of this function.After image is implemented to white balance, can make the color of image gray scale part more approach grey.
Yet, camera lens shadow correction method be take in the middle of the balance image and brightness that image is peripheral as main, and can't process in the middle of image and the peripheral colour cast problem of image.In addition, the locality colour cast problem of a lot of images is not independent produced by the camera lens of device for image, and may be the lower colour cast problem produced because different system in combination or sensing element etc. are arranged in pairs or groups mutually, therefore only corrective lens head it off fully.As for auto white balance method, because it can only process the colour cast problem of image globality, if colour cast occurs over just a certain particular block in image, auto white balance method also can't be processed this situation.
Easy speech, traditional bearing calibration also can't be adjusted the distribution of gain compensation, therefore often helpless to the peripheral shadow problem that solves different corners.In addition, traditional bearing calibration also can't solve the locality colour cast problem of image effectively.
An above-mentioned difficult problem of meeting for solving traditional bearing calibration, developed the quadratic function compensation method arranged.Yet this quadratic function compensation method is because the required calculating parameter of using is numerous and be difficult to set and adjust, and need accurate calculating, so cause computational complexity to increase, be difficult for being practiced in various platforms, and often take a large amount of storage space.
Summary of the invention
The invention provides a kind of image correcting device, it can also provide the mode of the revisal parameter of different directions by converted coordinate according to the coordinate after conversion, adjust the distribution of yield value, so can effectively promote the uniformity of image brilliance.In addition, the present invention also provides a kind of image sensor, a kind of image processor, and a kind of electronic installation, and it all can apply above-mentioned image correcting device respectively.In addition, the present invention also provides computer-readable medium storing and the computer program of a kind of image correcting method and application the method.
In an aspect, the present invention proposes a kind of image correcting device, comprises a coordinate transformation unit, a parameter value determining means and a correction values calculation unit.Coordinate transformation unit receives one and is subject to first coordinate of at least one pixel data under one first coordinate system of light pattern, and is converted into the second coordinate under one second coordinate system.The second coordinate system is along being subject to an optic center point of light pattern to rotate an angle with respect to the first coordinate system.The parameter value determining means is according at least one pixel data minute other position in the second coordinate system, at least one pixel data determines respectively indivedual numerical value of at least one revisal parameter.Correction values calculation unit is divided indivedual numerical value of other second coordinate and at least one revisal parameter to calculate at least one pixel data according at least one pixel data and is divided other adjustment of image value.
In another aspect, the present invention proposes a kind of image sensor, and it comprises above-mentioned image correcting device and an image sensing unit.The image data that image sensing unit is subject to light pattern in order to the light of sensing one image to produce this, and provide this image data to this image correcting device, wherein image data comprises above-mentioned pixel data.
In another aspect, the present invention proposes a kind of image processor, and it comprises above-mentioned image correcting device, and wherein image correcting device is to be established in an integrated circuit.Image processor also comprises an image data receiving circuit and an image-processing circuit.The image data that the image data receiving circuit is subject to light pattern in order to receive this, and provide image data to image correcting device, wherein image data comprises above-mentioned pixel data.Image-processing circuit is coupled in the middle of image correcting device and image data receiving circuit one at least to carry out image processing.
In another aspect more, the present invention proposes a kind of electronic installation, and it comprises above-mentioned image sensor and an image processor.Image processor is coupled to image sensor, in order to receive the calibrated image data that image sensor provides and to carry out the image subsequent treatment.
In another aspect again, the invention provides a kind of electronic installation, it comprises above-mentioned image processor and an image sensor.This image data that image sensor is subject to light pattern in order to the light of sensing one image to produce this, and provide image data to image processor for subsequent treatment and correction.
In another aspect again, the invention provides a kind of image correcting method, it comprises the following steps.Being subject to first Coordinate Conversion of at least one pixel data under one first coordinate system of light pattern by one is the second coordinate under one second coordinate system, and wherein the second coordinate system is along being subject to an optic center point of light pattern to rotate an angle with respect to the first coordinate system.According to above-mentioned pixel data minute other position in the second coordinate system, for pixel data determines respectively the numerical value of at least one revisal parameter.According to above-mentioned pixel data, divide the numerical value of other second coordinate and above-mentioned revisal parameter to calculate above-mentioned pixel data and divide other adjustment of image value.
The present invention also provides a kind of computer-readable medium storing and computer program, and it can comprise respectively for causing a processor to carry out a plurality of instructions of image correcting method described above.
Based on above-mentioned, in an embodiment of the present invention, image correcting device and image correcting method are by rotation of coordinate and provide different revisal parameters to carry out the adjustment of image value of calculating pixel data, therefore can increase the symmetry that yield value is distributed in the image periphery, thereby promote the luminance uniformity of pixel data.
For above-mentioned feature and advantage of the present invention can be become apparent, special embodiment below, and coordinate accompanying drawing to be described in detail below.
The accompanying drawing explanation
Fig. 1 is the square bearer composition according to the image correcting device of an embodiment.
Fig. 2 is according to the first coordinate system of an embodiment and the schematic diagram of the second coordinate system, in order to the process of the correcting pixel data of the image correcting device of key diagram 1.
Fig. 3 is the flow chart according to the image correcting method of an embodiment.
Fig. 4 A to Fig. 4 C is respectively the square bearer composition according to image sensor, image processor and the electronic installation of an embodiment.
Fig. 5 A is the lab diagram before proofreading and correct according to the pixel data of an embodiment.
Fig. 5 B is the lab diagram after proofreading and correct according to the pixel data of an embodiment.
Reference numeral:
100: image correcting device
110: coordinate transformation unit
120: the parameter value determining means
130: correction values calculation unit
132: the yield value computing element
134: the correction value element
220a: the first coordinate system
220b: the second coordinate system
310,410: image sensor
312: image sensing unit
320,420: image processor
322a: image data receiving circuit
322b: image-processing circuit
324,424: central processing unit
324a: adjustment of image software
400: electronic installation
CH: image processing chip
L: the light of image
ID: image data
IP: image plane
P, P ': pixel data
O: optic center point
O ': the initial point of the first coordinate system
O ": the initial point of the second coordinate system
OC: be subject to light pattern
X, Y: the reference axis of the first coordinate system
X ', Y ': the reference axis of the second coordinate system
GainX, GainY: the first to second revisal parameter
GainX_1, GainX_2, GainY_1, GainY_2: first to fourth set value
(x1, y1): the first coordinate
(x2, y2): the second coordinate
(xc, yc): the first coordinate of optic center point
θ: angle
I: first quartile
II: the second quadrant
III: third quadrant
IV: fourth quadrant
S310: Coordinate Conversion step
S320: parameter value deciding step
S330: correction value step
Embodiment
The square bearer composition of the image correcting device 100 that Fig. 1 is an embodiment.The first coordinate system that Fig. 2 is an embodiment and the schematic diagram of the second coordinate system, in order to the process of correcting pixel data that image correcting device 100 is described.Referring to Fig. 1 and Fig. 2, to understand thin section structure and the operation mechanism of image correcting device in the present embodiment.
As shown in Figure 1, image correcting device 100 comprises a coordinate transformation unit 110, a parameter value determining means 120 and a correction values calculation unit 130.
Coordinate transformation unit 110 receptions one are subject to the first coordinate (x1 of at least one pixel data P under one first coordinate system 220a of light pattern OC, y1), and be converted into the second coordinate (x2 under one second coordinate system 220b, y2), wherein the second coordinate system 220b is along being subject to the optic center point O of light pattern OC to rotate an angle θ with respect to the first coordinate system 220a.
Please refer to Fig. 2, Fig. 2 shows the relation of the first coordinate system 220a and the second coordinate system 220b simultaneously.As shown in Figure 2, coordinate transformation unit 110 receives can be positioned on the optical flat IP that an optical element (being for example optical lens) exports by light pattern OC.Optical flat IP can have at least one pixel, and is subject to light pattern OC to comprise at least one pixel data P.In addition, optical flat IP can have an optic center point O.
In preferred embodiment, the position of optic center point O can be set as the brightness maximum that is subject to light pattern OC of gained under uniform light, or, after division is subject to light pattern OC to become a plurality of block of cells and calculates the mean flow rate of each block, be set in the mean flow rate maximum.In other embodiment, optic center point O also can otherwise determine according to designer's demand.
In an example, when under uniform light, produce be subject to light pattern OC roughly to be rendered as circle the time, the intensity that is subject to light pattern OC roughly is evenly and successively decreases toward edge by the center of circle in the mode of circle, optic center point O can be taken as the circular center of circle.In another example, when being subject to light pattern OC substantially oblong-shaped, can set this oval-shaped center is optic center point O.Because the arrangements of components otherness of different product may be greatly, such as camera lens is big or small or be subject to varying in size of light pattern OC, so the numerical value of the coordinate position set of optic center point O is just thereupon different.
Continuation is with reference to figure 2.The first coordinate system 220a can have two reference axis X and the Y that are perpendicular to one another and intersect at an initial point O ', and its direction for example can directly be set a transverse axis and a longitudinal axis (not shown) that becomes optical flat IP itself.And the second coordinate system 220b also can have be perpendicular to one another and intersect at an initial point O " two reference axis X ' and Y '.In situation preferably, the initial point O of the second coordinate system 220b " can be set as the position of the optic center point O of optical flat IP.In addition, the second coordinate system 220b is to rotate an angle θ along optic center point O compared to the first coordinate system 220a.
Must note, in this embodiment, it is upper that the initial point O ' of the first coordinate system 220a is positioned at optic center point O equally, and therefore the second coordinate system 220b must translation with respect to the first coordinate system 220a, can make the initial point O of the second coordinate system 220b " be positioned on optic center point O.Yet, in other embodiment, it is upper that the initial point O ' of the first coordinate system may not be positioned at optic center point O, relative the first coordinate system 220a of the second coordinate system 220b more translation one distance so that its initial point O " be positioned at the position of optic center point O.
The angle θ of rotation can set according to the shape that is subject to light pattern OC, and in order to do the symmetry with the lifting yield value, the calculating of yield value will be in following explanation.In the example shown in Fig. 2, due to the circle that is shaped as that is subject to light pattern OC, therefore but set angle θ is 45 degree in situation preferably.And in other embodiments, if be subject to light pattern OC be shaped as ellipse the time, anglec of rotation θ can be set as 30 degree, 60 the degree or other angles.
Continuation is with reference to figure 2.Each pixel data P has the first coordinate (x1 under the first coordinate system 220a, y1), and after conversion, transfer to and there is the second coordinate (x2, y2) under the second coordinate system 220b, and the first coordinate of optic center point O is (xc, yc) (in Fig. 2 institute demonstration example, be (0,0), the second coordinate of optic center point O is (0,0).In other words, (xc, yc) can represent the translation numerical value of the second coordinate system 220b with respect to the first coordinate system 220a.The relational expression of the first coordinate (x1, y1) and the second coordinate (x2, y2) can be as shown in the formula expression:
x2=(x1-xc)×cosθ+(y1-yc)×sinθ
y2=-(x1-xc)×sinθ+(y1-yc)×cosθ
Go back to reference to figure 1, parameter value determining means 120 then can be according at least one pixel data P minute other position in the second coordinate system 220b, for above-mentioned at least one pixel data P determines respectively the numerical value of at least one revisal parameter.
In an embodiment, along on the direction of the first reference axis of the second coordinate system 220b (preferably situation is for example reference axis X '), providing the first revisal parameter GainX.Parameter value determining means 120 can decide according to the second coordinate (x2, y2) numerical value of the first revisal parameter GainX in the position at the second coordinate system 220b place (being for example the place quadrant).In a specific embodiment, the second coordinate (x2 as pixel data P, while y2) being positioned at the first quartile I of the second coordinate system or fourth quadrant IV, parameter value determining means 120 can determine the first revisal parameter GainX for equaling the first set value GainX_1, and as the second coordinate (x2, while y2) being positioned at the second quadrant II of the second coordinate system 220b or third quadrant III, parameter provides unit the first revisal parameter GainX can be determined as equaling the second set value GainX_2.
Similarly, in another embodiment, along on the direction of the second reference axis (preferably situation is reference axis Y ') of the second coordinate system 220b, providing the second revisal parameter GainY.Parameter value determining means 120 also can decide according to the second coordinate (x2, y2) numerical value of the second revisal parameter GainY in the position at the second coordinate system 220b place (being for example the place quadrant).In a specific embodiment, the second coordinate (x2 as pixel data P, while y2) being positioned at the first quartile I of the second coordinate system 220b or the second quadrant II, parameter value determining means 120 can determine the second revisal parameter GainY for equaling the 3rd set value GainY_1, and as the second coordinate (x2, while y2) being positioned at the third quadrant III of the second coordinate system 220b or fourth quadrant IV, 120 of parameter value determining meanss can determine the second revisal parameter GainY for equaling the 4th set value GainY_2.
In a preferred embodiment, can, by two above-mentioned embodiment combination in addition, in other words, along two different reference axis, can provide respectively first and second revisal parameter GainX, GainY.In the sampled situations shown in Fig. 2, due to the second coordinate (x2, y2) be to be positioned at first quartile I, therefore parameter value determining means 120 can be set as respectively the first set value GainX_1 and the 3rd set value GainY_1 by the first revisal parameter GainX and the second revisal parameter GainY.
The first set value to the four set value GainX_1, GainX_2, GainY_1, GainY_2 can set according to the Luminance Distribution of the optical design OC of gained under uniform light, in order to do the symmetry with the lifting yield value, wherein the calculating of yield value will be in following explanation.Due to the decay situation difference that different eyeglasses cause, therefore the first set value to the four set value GainX_1, GainX_2, GainY_1, GainY_2 are also thereupon different.
Must note, although above embodiment is direction along two different reference axis, provide respectively first and second revisal parameter GainX, GainY, and by the second coordinate system 220b is divided into to four quadrants to determine the numerical value of these revisal parameters.Yet the present invention is not limited thereto.For example, the second coordinate system 220b can be divided into a plurality of zones, and zones of different is to be associated from the different numerical value of at least one revisal parameter.Correction values calculation unit 130 is according at least one pixel data P region, and determines that the numerical value of at least one revisal parameter equals the numerical value be associated with region.In an embodiment, more revisal parameters can be provided respectively along the how different reference axis by optic center point O, to reach more accurately, proofread and correct.
Correction values calculation unit 130 then can be according to the second coordinate (x2 of at least one pixel data, y2) and the numerical value that determines of at least one revisal parameter (for example be the first revisal parameter GainX and the second revisal parameter GainY), calculate the adjustment of image value of at least one pixel data P.
In an embodiment, correction values calculation unit 130 can comprise a yield value computing element 132 and a correction value element 134.Yield value computing element 132 can be according to the second coordinate (x2, y2), the numerical value through determining of at least one revisal parameter (being for example the first revisal parameter GainX and the second revisal parameter GainY) calculates the yield value Gain of the pixel data P that is positioned at (x2, y2).134 of correction value elements can calculate the adjustment of image value according to a raw video value and the yield value Gain of pixel data P.
In an embodiment, yield value computing element 132 can be by the second coordinate (x2, y2) in, the absolute value of the absolute value of x axial coordinate x2 and y axial coordinate y2 is multiplied by respectively numerical value and the numerical value of the second revisal parameter GainY through determining of the first revisal parameter GainX through determining, to obtain yield value Gain.On mathematics, the calculated example of the yield value Gain of the present embodiment is as be expressed as following formula:
Figure BDA0000083713800000101
Then, correction value element 134 can calculate adjustment of image value I1 according to a raw video value I0 and the yield value Gain of pixel data P, that is:
I1=I0×Gain (2)
Wherein raw video value I0 for example can be the original brightness (luminance) of pixel data P.
From formula (1), (2), can find out, the corresponding yield value Gain of pixel data P increases from the increase of the distance of optic center point O with pixel data P.That is the yield value Gain that on image plane IP, more peripheral pixel data P can be corresponding higher, therefore the image correcting device 100 of the present embodiment can effectively reduce the peripheral shadow problem of known image.
It should be noted, the algorithm of calculated gains value Gain and adjustment of image value I1 is not limited to formula (1), (2), and in other embodiments, the algorithm of calculated gains value Gain and adjustment of image value I1 also can be different according to actual state.For example can additionally add some constants to do calculating in formula (1), (2).
Must note, coordinate system is rotated to one of rear effectiveness that just determines yield value and be to promote the symmetry that yield value is distributed in the image periphery, therefore and then correcting image periphery shade effectively.Thin speech, the formula (1) of take is example, if direct basis obtains yield value without the coordinate system of rotation, the yield value of formula (1) gained tends to present asymmetric distribution at the image periphery, and particularly four corner yield values have significantly lower situation.Yet, after coordinate system is rotated, at the yield value of the formula under rotary coordinate system (1) gained, in four corners of image, no longer presenting too low situation, meaning is that ratio of profit increase is distributed in the symmetry that periphery presents improvement.Therefore, the shade of the whole periphery of correcting image effectively of the yield value under rotary coordinate system.
The flow chart that Fig. 3 is image correcting method of the present invention.Referring to Fig. 2 and Fig. 3.At first, carry out a Coordinate Conversion step (step S310), by the first coordinate (x1 of at least one pixel data P under one first coordinate system 220a who is subject to light pattern OC, y1) be converted to the second coordinate (x2 under one second coordinate system 220b, y2), wherein the second coordinate system 220b is along being subject to the optic center point O of light pattern OC to rotate an angle θ with respect to the first coordinate system 220a.Next, carry out a parameter value deciding step (step S320), according at least one pixel data P minute other position in the second coordinate system 220b, at least one pixel data P determines respectively indivedual numerical value of at least one revisal parameter.Next, carry out a correction value step (step S330), according at least one pixel data P, divide the numerical value of other second coordinate (x2, y2) and at least one revisal parameter, calculate at least one pixel data P and divide other adjustment of image value.The details of step S310, S320 and S330 respectively with the class of operation of coordinate transformation unit 110, parameter value determining means 120 and the correction values calculation unit 130 of Fig. 1 seemingly, for simplicity's sake, repeat no more detail.
Must note, image correcting device of the present invention and image correcting method can all different aspects be implemented respectively.For example, in an embodiment, a kind of computer-readable medium storing can comprise for causing a processor (being for example a central processing unit) to carry out a plurality of instructions of image correcting method as shown in Figure 3.Computer fetch medium be for example the read only memory, flash memory, floppy disk, hard disk, CD, portable disk, tape, can be by the database of network access, or have the knack of known any other Storage Media of those of ordinary skill in the art.
In addition, in another embodiment, image correcting method as shown in Figure 3 can also be realized by a computer program, after a computer is written into this computer program and carries out a plurality of instructions that this computer program comprises, can complete the described method of the second embodiment.Aforesaid computer program can be stored in a computer-readable medium storing.In addition, aforesaid computer program also can pass through Internet Transmission.
Fig. 4 A shows according to an embodiment, disposes an image sensor 310 of image correcting device 100 as shown in Figure 1.Image sensor 310 is except comprising image correcting device 100, also comprise that one is coupled to the image sensing unit 312 of image correcting device 100, its light L in order to sensing one image also implements light and turns electric conversion, thereby produce an image data ID who is subject to light pattern, and provide image data ID to image correcting device 100, wherein image data ID comprises aforesaid at least one pixel data P.Image sensor 310 is for example a CMOS (Complementary Metal Oxide Semiconductor) (CMOS) sensor etc., and also can be embodied as the COMS sensor of RGB (RGB) Baeyer pattern (Bayer Pattern), in order to ruddiness, green glow, and blue light produce different image datas.In situation preferably, image sensor 310 is embodied as an integrated circuit (integrated circuit, IC), is integrated with image correcting device 100 and image sensing unit 312 on it.
Fig. 4 B shows according to an embodiment, disposes the square bearer composition of an image processor 320 of the image correcting device 100 shown in Fig. 1.In an embodiment, image processor 320 comprises an image processing chip (image processing chip) CH, comprises image correcting device 100, an image data receiving circuit 322a and an image-processing circuit 322b through integrating on it.That is image correcting device 100 is to be established in an integrated circuit (integrated circuit, IC).Image data receiving circuit 322a receives one to be subject to the image data ID of light pattern, and provides image data ID to image correcting device 100.Image-processing circuit 322b is coupled in the middle of image correcting device 100 and image data receiving circuit 322a one at least to carry out image processing.
In another embodiment, image processor 320 is except can comprising image processing chip CH, the central processing unit (CPU) 324 that also comprises the operation of a control image processing chip CH, wherein central processing unit 324 can comprise an adjustment of image software 324a, and image processing chip CH can not comprise image correcting device 100.In other words, replace the operation of image correcting device 100 with adjustment of image software 324a.
Fig. 4 C shows according to an embodiment, disposes the electronic installation that has image correcting method shown in the image correcting device 100 shown in Fig. 1 or Fig. 3.Above-mentioned electronic installation is for example digital camera, mobile phone camera, handheld camera or any video capturing device.As shown in Figure 4 C, electronic installation 400 can comprise an image sensor 410 and an image processor 420, and wherein image processor 420 comprises an image processing chip CH and a central processing unit 424 (being for example control unit).In an embodiment, image sensor 410 has the configuration shown in Fig. 4 A.In another embodiment, image processor 420 has the configuration shown in Fig. 4 B.In going back another embodiment, central processing unit 424 can be carried out a software, and this software kit contains a plurality of in order to implement the instruction of image treatment method as shown in Figure 3.
Must note, for example in the situation that image correcting device is the CMOS (Complementary Metal Oxide Semiconductor) sensor that configuration or collocation RGB Baeyer pattern are arranged, the image data of different colors can be by each self-correcting, and then reduces the whole colour cast problem of complete image data.
The pixel data that Fig. 5 A and Fig. 5 B are one embodiment of the invention is proofreaied and correct the experiment comparison diagram of front and back.Raw video value curve chart before Fig. 5 A display pixel Data correction, and the adjustment of image value curve chart after Fig. 5 B display pixel Data correction, wherein the longitudinal axis is the corresponding brightness of pixel data, transverse axis is that pixel data is in the corresponding position of image plane IP.
From Fig. 5 A, can find out, before image also is not corrected, the corresponding raw video value in transverse axis both sides is less than the middle corresponding raw video value of transverse axis.That is pixel data P has the problem of brightness disproportionation before also not proofreading and correct.
Yet, after the described adjustment of image program through above embodiment, the adjustment of image value curve that just can obtain going out as shown in Figure 5 B.Can be observed, it is even than Fig. 5 A those shown that the corresponding brightness of the pixel data of diverse location has become.Hence one can see that, utilizes aforesaid Coordinate Conversion mode to adjust each pixel data P and really can improve the luminance uniformity of overall image data at the yield value of diverse location.
In sum, in an embodiment of the present invention, image correcting device and image correcting method adopt the mode of Coordinate Conversion, and decide the yield value of pixel data on different directions with different revisal parameters, can effectively reduce colour cast or the peripheral shadow problem of image data therefore can effectively promote yield value in the symmetry of image circumferential distribution.In addition, the computation complexity of the adjustment of image value of above-described embodiment and the quantity of parameter used can be lower, thus can be easily integrated into the enterprising row operation of various platforms, and can reduce required storage space.
Although the present invention discloses as above with embodiment, so it is not in order to limit the present invention, and the those of ordinary skill in any affiliated technical field, when doing a little change and retouching, and do not break away from the spirit and scope of the present invention.

Claims (26)

1. an image correcting device comprises:
One coordinate transformation unit, reception one is subject to first coordinate of at least one pixel data under one first coordinate system of light pattern, and be the second coordinate under one second coordinate system by this first Coordinate Conversion, wherein this second coordinate system is to be subject to an optic center point of light pattern to rotate an angle along this with respect to this first coordinate system;
One parameter value determining means, according to this at least one pixel data minute other position in this second coordinate system, for this at least one pixel data determines respectively indivedual numerical value of at least one revisal parameter; And
One correction values calculation unit, divide indivedual numerical value of other this second coordinate and this at least one revisal parameter according to this at least one pixel data, calculate this at least one pixel data and divide other adjustment of image value.
2. image correcting device according to claim 1, wherein this angle is decided by the shape of light pattern according to this.
3. image correcting device according to claim 1, wherein this second coordinate system relatively this first coordinate system be more translation one distance and there is this optic center point for its initial point.
4. image correcting device according to claim 1, wherein
This second coordinate system system is divided into a plurality of zones, and zones of different is to be associated from the different numerical value of this at least one revisal parameter, and
This parameter value determining means is by indivedual numerical value decisions of this at least one revisal parameter, to be and this at least one pixel data numerical value that region is associated respectively respectively for this at least one pixel data.
5. image correcting device according to claim 1, wherein
This at least one revisal parameter comprises one first revisal parameter,
When this second coordinate is positioned at the first quartile of this second coordinate system or fourth quadrant, this parameter value determining means determines that this first revisal parameter is one first set value, and
When this second coordinate is positioned at the second quadrant of this second coordinate system or third quadrant, this parameter value determining means determines that this first revisal parameter is one second set value.
6. according to the described image correcting device of claim 1 or 4, wherein
This at least one revisal parameter comprises one second revisal parameter,
When this second coordinate is positioned at the first quartile of this second coordinate system or the second quadrant, this parameter value determining means determines that this second revisal parameter is one the 3rd set value, and
When this second coordinate is positioned at the third quadrant of this second coordinate system or fourth quadrant, this parameter value determining means determines that this second revisal parameter is one the 4th set value.
7. image correcting device according to claim 1, wherein in the middle of this at least one pixel data, the first coordinate of any one and the relational expression of the second coordinate are:
x2=(x1-xc)×cosθ+(y1-yc)×sinθ
y2=-(x1-xc)×sinθ+(y1-yc)×cosθ,
Wherein θ is this angle, and (x1, y1) is this first coordinate, and (x2, y2) is this second coordinate, and (xc, yc) first coordinate that is this optic center point.
8. image correcting device according to claim 1, the numerical value that wherein this correction values calculation unit divides other second coordinate and this at least one revisal parameter to determine according to this at least one pixel data, calculate this at least one pixel data and divide other yield value, and according to this at least one pixel data, divide other raw video value and this yield value to calculate this at least one pixel data and divide other this adjustment of image value.
9. image correcting device according to claim 8, wherein this correction values calculation unit is that the absolute value of the absolute value of one first axial coordinate value of this second coordinate and one second axial coordinate value is multiplied by respectively to the numerical value of one first revisal parameter and the numerical value of one second revisal parameter, to obtain this yield value.
10. an image sensor, it comprises:
Image correcting device according to claim 1; And
One image sensing unit, an image data that is subject to light pattern to produce this in order to the light of sensing one image, and provide this image data to this image correcting device, wherein this image data comprises this at least one pixel data.
11. an image processor comprises:
Image correcting device according to claim 1, wherein this image correcting device is established in an integrated circuit, and this image processor also comprises:
One image data receiving circuit, an image data that is subject to light pattern in order to receive this, and provide this image data to this image correcting device, wherein this image data comprises this at least one pixel data; And
One image-processing circuit, be coupled in the middle of this image correcting device and this image data receiving circuit one at least to carry out image processing.
12. image processor according to claim 11, wherein this image processor comprises an image processing chip, and it comprises this image correcting device, this image data receiving circuit and this image-processing circuit through integrating.
13. an electronic installation, it comprises:
According to claim 10 a described image sensor; And
One image processor, it is coupled to this image sensor, in order to receive the calibrated image data that this image sensor provides and to carry out the image subsequent treatment.
14. an electronic installation, it comprises:
Image processor according to claim 11; And
One image sensor, this image data that is subject to light pattern to produce this in order to the light of sensing one image, and provide this image data to this image processor for subsequent treatment and correction.
15. an image correcting method comprises:
Being subject to first Coordinate Conversion of at least one pixel data under one first coordinate system of light pattern by one is the second coordinate under one second coordinate system, and wherein this second coordinate system is to be subject to an optic center point of light pattern to rotate an angle along this with respect to this first coordinate system;
According to this at least one pixel data minute other position in this second coordinate system, for this at least one pixel data determines respectively the numerical value of at least one revisal parameter; And
Divide the numerical value of other this second coordinate and this at least one revisal parameter according to this at least one pixel data, calculate this at least one pixel data and divide other adjustment of image value.
16. image correcting method according to claim 15, wherein also comprise according to an optical flat and decide the position of this optic center point and this at least one revisal parameter to divide in the middle of other at least one set value one at least in the light intensity distributions under uniform light.
17. image correcting method according to claim 15, wherein this angle is decided by the shape of light pattern according to this.
18. image correcting method according to claim 15, wherein this second coordinate system relatively this first coordinate system be more translation one distance and there is this optic center point for its initial point.
19. image correcting method according to claim 15, wherein
This second coordinate system is divided into a plurality of zones, and zones of different is to be associated from the different numerical value of this at least one revisal parameter, and
For this at least one pixel data, respectively indivedual numerical value of this at least one revisal parameter are determined to be and this at least one pixel data numerical value that region is associated respectively.
20. image correcting method according to claim 15, wherein
This at least one revisal parameter comprises one first revisal parameter,
The step that determines the numerical value of this at least one revisal parameter comprises:
When this second coordinate is positioned at the first quartile of this second coordinate system or fourth quadrant,
Determine that this first revisal parameter is one first set value; And
When this second coordinate is positioned at the second quadrant of this second coordinate system or third quadrant,
Determine that this first revisal parameter is one second set value.
21. according to the described image correcting method of claim 15 or 20, wherein
This at least one revisal parameter comprises one second revisal parameter,
The step that determines the numerical value of this at least one revisal parameter comprises:
When this second coordinate is positioned at the first quartile of this second coordinate system or the second quadrant,
Determine that this second revisal parameter is one the 3rd set value; And
When this second coordinate is positioned at the third quadrant of this second coordinate system or fourth quadrant,
Determine that this second revisal parameter is one the 4th set value.
22. image correcting method according to claim 15, wherein in the middle of this at least one pixel data, the first coordinate of any one and the relational expression of the second coordinate are:
x2=(x1-xc)×cosθ+(y1-yc)×sinθ
y2=-(x1-xc)×sinθ+(y1-yc)×cosθ,
Wherein θ is this angle, and (x1, y1) is this first coordinate, and (x2, y2) is this second coordinate, and (xc, yc) first coordinate that is this optic center point.
23. image correcting method according to claim 15 wherein calculates this at least one pixel data and divides the step of other this adjustment of image value to comprise:
Divide the numerical value through determining of other second coordinate and this at least one revisal parameter according to this at least one pixel data, calculate this at least one pixel data and divide other yield value; And
According to this at least one pixel data, divide other raw video value and this yield value to calculate this at least one pixel data and divide other this adjustment of image value.
24. image correcting method according to claim 23, wherein calculate this at least one pixel data and divide the step of other this adjustment of image value to comprise the absolute value of the absolute value of one first axial coordinate value of this second coordinate and one second axial coordinate value is multiplied by respectively to the numerical value of one first revisal parameter and the numerical value of one second revisal parameter, to obtain this yield value.
25. a computer-readable medium storing, comprise for causing a processor to carry out a plurality of instructions of image correcting method according to claim 15.
26. a computer program, comprise for causing a processor to carry out a plurality of instructions of image correcting method according to claim 15.
CN201110234791.0A 2011-08-16 2011-08-16 Image correcting device, image correcting method, related device and product Active CN102938842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110234791.0A CN102938842B (en) 2011-08-16 2011-08-16 Image correcting device, image correcting method, related device and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110234791.0A CN102938842B (en) 2011-08-16 2011-08-16 Image correcting device, image correcting method, related device and product

Publications (2)

Publication Number Publication Date
CN102938842A true CN102938842A (en) 2013-02-20
CN102938842B CN102938842B (en) 2015-04-15

Family

ID=47697708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110234791.0A Active CN102938842B (en) 2011-08-16 2011-08-16 Image correcting device, image correcting method, related device and product

Country Status (1)

Country Link
CN (1) CN102938842B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657709A (en) * 2015-10-30 2017-05-10 东友科技股份有限公司 Image extraction method
CN107197157A (en) * 2017-06-28 2017-09-22 上海传英信息技术有限公司 Realize imaging system and imaging method that camera direction unrestrictedly sets
CN110084856A (en) * 2019-04-24 2019-08-02 Oppo广东移动通信有限公司 Luminance regulating method, device, electronic equipment and the storage medium of uncalibrated image

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200721853A (en) * 2005-11-22 2007-06-01 Beyond Innovation Tech Co Ltd Method and apparatus for correcting and enhancing color
CN101076997A (en) * 2004-12-13 2007-11-21 佳能株式会社 Image processing and image processing program of image processing
US20090046178A1 (en) * 2007-08-16 2009-02-19 Fujitsu Limited Correction circuit, correction method and image pickup apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076997A (en) * 2004-12-13 2007-11-21 佳能株式会社 Image processing and image processing program of image processing
TW200721853A (en) * 2005-11-22 2007-06-01 Beyond Innovation Tech Co Ltd Method and apparatus for correcting and enhancing color
US20090046178A1 (en) * 2007-08-16 2009-02-19 Fujitsu Limited Correction circuit, correction method and image pickup apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657709A (en) * 2015-10-30 2017-05-10 东友科技股份有限公司 Image extraction method
CN106657709B (en) * 2015-10-30 2019-04-12 东友科技股份有限公司 Extraction of Image method
CN107197157A (en) * 2017-06-28 2017-09-22 上海传英信息技术有限公司 Realize imaging system and imaging method that camera direction unrestrictedly sets
CN107197157B (en) * 2017-06-28 2020-02-07 上海传英信息技术有限公司 Imaging system and imaging method for realizing unlimited setting of camera direction
CN110084856A (en) * 2019-04-24 2019-08-02 Oppo广东移动通信有限公司 Luminance regulating method, device, electronic equipment and the storage medium of uncalibrated image
CN110084856B (en) * 2019-04-24 2021-07-27 Oppo广东移动通信有限公司 Method and device for adjusting brightness of calibration image, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN102938842B (en) 2015-04-15

Similar Documents

Publication Publication Date Title
US9414052B2 (en) Method of calibrating an image signal processor to overcome lens effects
WO2022100242A1 (en) Image processing method and apparatus, electronic device, and computer-readable storage medium
CN108353125A (en) Color filter array scaler
US9451226B2 (en) White balance method for shading compensation, and apparatus applied to the same
US9367916B1 (en) Method and system of run-time self-calibrating lens shading correction
CN104581098B (en) A kind of adaptive processing method of lens shading
CN111861922A (en) Method and device for adjusting color correction matrix and storage medium
CN105306913B (en) image obtaining device and image compensation method thereof
CN109738069B (en) Method for correcting multispectral imaging illumination space nonuniformity
CN102938842B (en) Image correcting device, image correcting method, related device and product
WO2007075066A1 (en) Image processor, apparatus and method for lens shading compensation
CN111587573B (en) Image processing method and device and computer storage medium
CN112788322A (en) Adaptive white balance processing method, device, medium, and electronic apparatus
CN112929623B (en) Lens shadow repairing method and device applied to whole screen in correction process
CN112887637A (en) Method and apparatus for correcting vignetting effect induced on images captured by a light field camera
US8786737B2 (en) Image correction device and image correction method
CN117156289A (en) Color style correction method, system, electronic device, storage medium and chip
WO2020097802A1 (en) Image colour correction method and device, and storage medium
CN111556228B (en) Method and system for correcting lens shadow
CN113160090B (en) Image correction method and device
CN106817542B (en) imaging method and imaging device of microlens array
TWI445398B (en) Image correction device and image correction method
TWI723729B (en) White balance adjustment method, image processing device and image processing system
CN113284062A (en) Lens shadow correction method, device, medium and terminal
US8861887B2 (en) Image processing apparatus, image processing method, and camera module with shading correction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant