A method of correcting image distortion and an apparatus for processing an image using the method are provided, where the method can overcome the disadvantages of the conventional methods of correcting lens distortion and can minimize image quality degradation at outer portions,. The method includes: receiving an image from a wide-angle lens; extracting a distortion coefficient of the distortion in the image caused by the wide-angle lens; correcting the distortion of the image by using the extracted distortion coefficient; and displaying a corrected image. The apparatus includes: a wide-angle lens for receiving an image; an image processing unit comprising a distortion coefficient extracting unit for extracting a distortion coefficient of distortion in the image caused by the wide-angle lens and a distortion correcting unit for correcting the distortion of the image using the extracted distortion coefficient; and a display unit for displaying a corrected image.
|
1. A method of correcting image distortion, the method comprising:
receiving an image with a distortion from a wide-angle lens;
extracting a distortion coefficient for the image with the distortion caused by the wide-angle lens;
correcting the distortion of the image using the extracted distortion coefficient;
wherein the step of correcting the distortion comprises fitting a curve at outer portions of the corrected image in order to reduce blurring at outer portions of the corrected image;
wherein the step of fitting the curve comprises selecting a plurality of points based on an inflection point in an rC-rD graph and fitting the curve using the selected plurality of points;
wherein rC is a distance from a predetermined point to an origin of a coordinate system of the corrected image, and rD is a distance from a predetermined point to the origin of a coordinate system of the image with the distortion, and
displaying the corrected image.
9. An apparatus for processing an image, the apparatus comprising:
a wide-angle lens for receiving an image;
an image processing unit comprising:
a distortion coefficient extracting unit for extracting a distortion coefficient of a distortion caused in the image by the wide-angle lens, and
a distortion correcting unit for correcting the distortion of the image using the extracted distortion coefficient to produce a corrected image;
wherein the image processing unit further comprises a curve fitting unit for fitting a curve at outer portions of the corrected image in order to reduce blurring;
wherein the curve fitting unit selects a plurality of points based on an inflection point in an rC-rD graph and fits the curve at the outer portions using a cubic equation;
wherein rC is a distance from a predetermined point to an origin of a coordinate system of the corrected image, and rD is a distance from a predetermined point to the origin of a coordinate system of the image with the distortion, and
a display unit displaying the corrected image.
2. The method of
3. The method of
4. The method of
5. The method of
wherein a coefficient of the cube of rD is a distortion coefficient k, and the distortion coefficient k is greater than 0 and is equal to or less than (a−1) divided by rDM, and
wherein rDM is a maximum distance from the origin of the coordinate system of the image with the distortion to an outermost point of the image with the distortion, and a is a constant greater than 2.
6. The method of
7. The method of
8. The method of
10. The apparatus of
11. The apparatus of
12. The method of
rC, a distance from a predetermined point to an origin of a coordinate system of the corrected image, is equal to rD, a distance from a predetermined point to an origin of a coordinate system of the image with the distortion, plus the cube of rD;
wherein a coefficient of the cube of rD is a distortion coefficient k, and the distortion coefficient k is greater than 0 and is equal to or less than (a−1) divided by rDM, and
wherein rDM is a maximum distance from the origin of the coordinate system of the image with the distortion to an outermost point of the image with the distortion, and a is a constant greater than 2.
13. The apparatus of
14. The apparatus of
|
This application claims the benefit of Korean Patent Application No. 10-2007-0086274, filed on Aug. 27, 2007, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.
The present invention relates to a method and apparatus for processing an image, and particularly, to a method of correcting image distortion and an apparatus for processing an image using the method.
Cameras have been used in a wide range of industrial applications and are being used in an increasingly larger number of applications. For example, cameras are used in place of human eyes in many automatic industrial applications, including monitoring of robots on an assembly line, product quality testing, medical diagnosis, security, and recognition of an image captured by an imaging system.
In general, when a high resolution image needs to be obtained, a narrow-angle lens is placed in front of a camera, and when a wider area needs to be photographed, a wide-angle lens is placed in front of the camera. A wide-angle lens allows a wide angle of view, but has a disadvantage in that resolution decreases from the center to outer portions of the lens.
The wide-angle lens also has a disadvantage in that radial distortion increases from the center to the outer portions of the lens. Such radial distortion is a main cause of resolution degradation.
A known method of correcting lens distortion is divided into a metric method and a non-metric method. The metric method corrects a distortion in an image using the intrinsic and extrinsic parameters of a camera model that may affect the lens distortion. The intrinsic and extrinsic parameters are measured on the basis of reference points. The non-metric method does not rely on reference points but relies on the fact that straight lines in a scene must always project to straight lines in an image. The non-metric method corrects distortion by fitting curved lines caused by lens distortion into straight lines.
In the metric method, using more reference points may increase the accuracy of distortion coefficients. Thus, the metric method may require a plurality of pattern images in extracting the reference points. In addition, the metric method may introduce severe measurement errors that occur when the intrinsic and extrinsic parameters are obtained.
In the non-metric method, the distortion coefficients can be obtained by using a single image without the use of any reference points. However, in the non-metric method, the distortion coefficients can be measured only when the image contains an object having linear components. In addition, automatic distortion correcting algorithms are very sensitive to noise in the non-metric method.
The present invention provides an apparatus and a method of correcting image distortion that can overcome the disadvantages of conventional methods of correcting lens distortion and can reduce image quality degradation at outer portions of an image.
According to an aspect of the present invention, a method of correcting image distortion is provided and includes: receiving an image from a wide-angle lens; extracting a distortion coefficient of the distortion in the image; correcting the distortion of the image using the extracted distortion coefficient; and displaying a corrected image.
Extracting the distortion coefficient may comprise manually obtaining an optimal distortion coefficient within a predefined range by using a lens distortion model. Correcting the distortion of the image may comprise applying backward mapping using the extracted distortion coefficient. The lens distortion model may be described with the equation
RC=RD(1+kR2D), 0<k≦(a−1)/R2DM
where: RC is a distance from a predetermined point to the origin of a coordinate system of the corrected image; RD is a distance from the predetermined point to the origin of a coordinate system of the image with the distortion; and k is a distortion coefficient that is greater than 0 and equal to or less than (a−1) divided by the square of RDM. The term, RDM, is a maximum distance from the origin of the coordinate system of the image with the distortion to an outermost point, and a is a constant greater than 2.
Correcting the distortion of the image may comprise removing jagged-edge artifacts by using bilinear interpolation. The correcting of the distortion of the image may also comprise fitting a curve at outer portions in order to minimize blurring at outer portions of the corrected image.
The fitting of the curve at the outer portions may comprise selecting a plurality of points based on an inflection point in an RC-RD graph and fitting the curve based on the selected plurality of points.
According to another aspect of the present invention, apparatus for processing an image is provided and includes: a wide-angle lens for receiving an image; an image processing unit comprising a distortion coefficient extracting unit for extracting a distortion coefficient of distortion in the image caused by the wide-angle lens, a distortion correcting unit for correcting the distortion of the image by using the extracted distortion coefficient; and a display unit for displaying the corrected image.
The wide-angle lens may comprise a fish-eye lens having a viewing angle of less than 120°. The distortion coefficient extracting unit may manually obtain an optimal distortion coefficient within a predefined range by using a lens distortion model.
The distortion correcting unit may correct radial distortion that is caused by the wide-angle lens through backward mapping using the distortion coefficient. The distortion correcting unit may remove jagged-edge artifacts caused by the correcting of the radial distortion by using a bilinear interpolation.
The image processing unit may further comprise a curve fitting unit for fitting a curve at the outer portions in order to minimize the blurring at the outer portions of the corrected image. The curve fitting unit may select a plurality of points based on an inflection point in an RC-RD graph and fit the curve at the outer portions using a cubic equation.
The features and advantages of the present invention will become more apparent upon consideration of the detailed description taken in conjuction with the accompanying drawings, in which like reference characters refer to like parts throughout, and in which:
It should be understood that when an element is described as being connected to another element, the elements may be directly connected, or an intervening element may exist between the two elements. In the following description of the present invention, the sizes of elements shown in the drawings may be exaggerated, if needed, or an element may be omitted from the drawing for a better understanding of the present invention. Like reference number refer to like element throughout the drawings. Terms used are intended to depict the exemplary embodiments and should not be interpreted as limiting the intended scope of the claims.
The image processing unit 200 processes an image received through the wide-angle lens 100, and includes a distortion coefficient extracting unit 220, a distortion correcting unit 240, and a curve fitting unit 260 in order to correct the radial distortion caused by the wide-angle lens 100. The image received through the wide-angle lens 100 is captured by an image sensor as an electrical signal image. The image processing unit 200 corrects the electrical signal image. Although not shown, the image processing unit 200 may include a multimedia processor, which converts the corrected electrical signal image into an image file, and a memory, which stores the image file.
The distortion coefficient extracting unit 220 extracts a distortion coefficient of the distortion caused in the image by the wide-angle lens 100. The distortion correcting unit 240 corrects the image through backward mapping by using the extracted distortion coefficient.
Specifically, in order to correct the radial distortion created in the image, a distortion coefficient is extracted by using a warping equation or a lens distortion model, and the distortion is corrected by image warping by using the extracted distortion coefficient. Image warping is divided into forward mapping and backward mapping. Forward mapping has an advantage in that the pixels of a corrected image, which correspond to pixels of a distorted image, can be directly calculated from the distorted image, but has a disadvantage in that some holes may be generated in the corrected image because integer calculations are performed to calculate the pixels of the corrected image.
Unlike the forward mapping, the backward mapping does not generate the holes since coordinates of a distorted image are calculated by using coordinates of a corrected image.
The distortion coefficient extracting unit 220 uses Equation 1 below as a lens distortion model to obtain a distortion coefficient.
RC=RD(1+kR2D), 0<k≦(a−1)/R2DM (1)
where RC is a distance from a predetermined point to the origin of a coordinate system of a corrected image, RD is a distance from the predetermined point to the origin of a coordinate system of a distorted image, RDM is a maximum distance from the origin of the coordinate system of the distorted image to an outermost point, k is a distortion coefficient, and a is a constant greater than 2.
According to the lens distortion model, an optimal distortion coefficient k is manually measured within a predefined measurement range, without using auto-estimation, in order to remove an error caused by noise that a conventional method encounters. That is, an optimal distortion coefficient within a predefined range, which allows an image received through the wide-angle lens 100 to be the same as an image perceived by human eyes, is obtained manually.
For increased precision, the lens distortion model may use higher order terms including a plurality of distortion coefficients. However, increasing the number of distortion coefficients may increase the errors introduced during the distortion coefficient measurement, thus increasing subsequent numerical calculation errors. Accordingly, the apparatus of
Since the present invention assumes that distortion is radial distortion, an optimal distortion coefficient is a positive number and a maximum value is determined by the distance RDM and the constant a. Accordingly, the optimal distortion coefficient may be manually extracted according to Equation 1 within a predefined range.
Once the optimal distortion coefficient is extracted by the distortion coefficient extracting unit 220, the distortion correcting unit 240 corrects the image through backward mapping by using the extracted distortion coefficient. Although backward mapping can overcome the disadvantage of forward mapping, i.e., removing some holes in the corrected image, the backward mapping may leave a defect, i.e., jagged-edge artifacts in linear components of the image. Accordingly, the distortion correcting unit 240 of
The curve fitting unit 260 reduces image quality degradation at the outer portions of the image corrected by the distortion correcting unit 240. The image corrected by the distortion correcting unit 240 is greater in size than the distorted image, that is, the original image, because the size of the corrected image increases with an increase in a viewing angle. Also, since a radial distortion generally increases from the origin to outer portions of an image, image quality degradation, e.g., blurring, at the outer portions of the image is noticeable. Accordingly, the curve fitting unit 260 reduces such image quality degradation by using a radial distortion curve based on the relation between RC and RD according to Equation 1. The use of the radial distortion curve will be explained in detail with reference to
The apparatus of
RD=(1.0×10−9)×R3C−0.000248×R2C+0.555×RC+79 (2)
RD=(−1.0×10−20)×R3C−(7.8×10−35)×R2C+0.43×RC+105 (3)
RD=(−1.37×10−6)×R3C+0.00367×R2C−2.16×RC+634 (4)
The image quality at the outer portions of the image are improved by the method of
Accordingly, the apparatus of
In operation S300, the distortion of the image is corrected by backward mapping. Jagged-edge artifacts caused by the backward mapping are removed by bilinear interpolation.
In operation S400, the blurring at outer portions of the corrected image is removed. The blurring may be removed by curve fitting such as, for example, by selecting a plurality of points based on an inflection point and fitting a curve by using an appropriate cubic equation.
In operation S500, the corrected image is converted into an image file by a multimedia processor and displayed on a display unit.
An image with a distortion caused by a wide-angle lens is corrected to an optimal image that is almost the same as that perceived by human eyes using the method of correcting the distortion in
As described above, the method of correcting the image distortion and the apparatus for performing the method according to the present invention do not require a single pattern image or a plurality of pattern images in order to correct distortion that is caused by a wide-angle lens. That is, since a distortion coefficient is manually extracted, the method and apparatus according to the present invention do not need any pattern image for extracting corresponding points, unlike a conventional method and apparatus.
Furthermore, since the method according to the present invention removes jagged-edge artifacts by using bilinear interpolation and removes blurring at output portions by using curve fitting, the method can correct an image to an optimal image that is almost the same as that perceived by human eyes.
Furthermore, the apparatus using the method according to the present invention properly corrects distortion caused by a fish-eye lens or a lens having a viewing angle of 120° to an image that is almost the same as that perceived by human eyes.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, one of ordinary skill in the art will understand that various changes in the form and the details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.
Patent | Priority | Assignee | Title |
10721419, | Nov 30 2017 | International Business Machines Corporation | Ortho-selfie distortion correction using multiple image sensors to synthesize a virtual image |
8319819, | Mar 26 2008 | Cisco Technology, Inc.; Cisco Technology, Inc | Virtual round-table videoconference |
8355041, | Feb 14 2008 | Cisco Technology, Inc. | Telepresence system for 360 degree video conferencing |
8390667, | Apr 15 2008 | Cisco Technology, Inc. | Pop-up PIP for people not in picture |
8472415, | Mar 06 2006 | Cisco Technology, Inc. | Performance optimization with integrated mobility and MPLS |
8477175, | Mar 09 2009 | Cisco Technology, Inc. | System and method for providing three dimensional imaging in a network environment |
8542264, | Nov 18 2010 | Cisco Technology, Inc. | System and method for managing optics in a video environment |
8599865, | Oct 26 2010 | Cisco Technology, Inc. | System and method for provisioning flows in a mobile network environment |
8599934, | Sep 08 2010 | Cisco Technology, Inc. | System and method for skip coding during video conferencing in a network environment |
8659637, | Mar 09 2009 | Cisco Technology, Inc. | System and method for providing three dimensional video conferencing in a network environment |
8659639, | May 29 2009 | Cisco Technology, Inc. | System and method for extending communications between participants in a conferencing environment |
8670019, | Apr 28 2011 | Cisco Technology, Inc. | System and method for providing enhanced eye gaze in a video conferencing environment |
8682087, | Dec 19 2011 | Cisco Technology, Inc. | System and method for depth-guided image filtering in a video conference environment |
8692862, | Feb 28 2011 | Cisco Technology, Inc. | System and method for selection of video data in a video conference environment |
8694658, | Sep 19 2008 | Cisco Technology, Inc. | System and method for enabling communication sessions in a network environment |
8699457, | Nov 03 2010 | Cisco Technology, Inc. | System and method for managing flows in a mobile network environment |
8723914, | Nov 19 2010 | Cisco Technology, Inc.; Cisco Technology, Inc | System and method for providing enhanced video processing in a network environment |
8730297, | Nov 15 2010 | Cisco Technology, Inc. | System and method for providing camera functions in a video environment |
8786631, | Apr 30 2011 | Cisco Technology, Inc. | System and method for transferring transparency information in a video environment |
8797377, | Feb 14 2008 | Cisco Technology, Inc. | Method and system for videoconference configuration |
8896655, | Aug 31 2010 | Cisco Technology, Inc.; University of North Carolina at Chapel Hill | System and method for providing depth adaptive video conferencing |
8902244, | Nov 15 2010 | Cisco Technology, Inc. | System and method for providing enhanced graphics in a video environment |
8934026, | May 12 2011 | Cisco Technology, Inc. | System and method for video coding in a dynamic environment |
8947493, | Nov 16 2011 | Cisco Technology, Inc. | System and method for alerting a participant in a video conference |
9082297, | Aug 11 2009 | Cisco Technology, Inc. | System and method for verifying parameters in an audiovisual environment |
9111138, | Nov 30 2010 | Cisco Technology, Inc. | System and method for gesture interface control |
9143725, | Nov 15 2010 | Cisco Technology, Inc. | System and method for providing enhanced graphics in a video environment |
9204096, | May 29 2009 | Cisco Technology, Inc. | System and method for extending communications between participants in a conferencing environment |
9225916, | Mar 18 2010 | Cisco Technology, Inc. | System and method for enhancing video images in a conferencing environment |
9313452, | May 17 2010 | Cisco Technology, Inc. | System and method for providing retracting optics in a video conferencing environment |
9338394, | Nov 15 2010 | Cisco Technology, Inc. | System and method for providing enhanced audio in a video environment |
9633419, | Jun 11 2014 | Samsung Electronics Co., Ltd. | Lens distortion correction device and application processor having the same |
9681154, | Dec 06 2012 | PATENT CAPITAL GROUP | System and method for depth-guided filtering in a video conference environment |
9843621, | May 17 2013 | Cisco Technology, Inc. | Calendaring activities based on communication processing |
9986183, | Jun 11 2014 | Samsung Electronics Co., Ltd.; Chung-Ang University Industry—Academy Cooperation Foundation | Lens distortion correction device and application processor having the same |
D678307, | Dec 16 2010 | Cisco Technology, Inc. | Display screen with graphical user interface |
D678308, | Dec 16 2010 | Cisco Technology, Inc. | Display screen with graphical user interface |
D678320, | Dec 16 2010 | Cisco Technology, Inc. | Display screen with graphical user interface |
D678894, | Dec 16 2010 | Cisco Technology, Inc. | Display screen with graphical user interface |
D682293, | Dec 16 2010 | Cisco Technology, Inc. | Display screen with graphical user interface |
D682294, | Dec 16 2010 | Cisco Technology, Inc. | Display screen with graphical user interface |
D682854, | Dec 16 2010 | Cisco Technology, Inc. | Display screen for graphical user interface |
D682864, | Dec 16 2010 | Cisco Technology, Inc. | Display screen with graphical user interface |
Patent | Priority | Assignee | Title |
5901252, | Dec 11 1991 | Fujitsu Limited | Process and apparatus for extracting and recognizing figure elements using division into receptive fields, polar transformation, application of one-dimensional filter, and correlation between plurality of images |
5999660, | Jul 26 1995 | California Institute of Technology | Imaging system for correction of perceptual distortion in wide angle images |
6671400, | Sep 28 2000 | Tateyama R & D Co., Ltd. | Panoramic image navigation system using neural network for correction of image distortion |
7099521, | Jun 28 2002 | Microsoft Technology Licensing, LLC | Real-time wide-angle image correction system and method for computer image viewing |
7113650, | Jun 28 2002 | Microsoft Technology Licensing, LLC | Real-time wide-angle image correction system and method for computer image viewing |
7505633, | Apr 09 2003 | Canon Kabushiki Kaisha | Image processing apparatus, method, program and storage medium |
7619663, | Mar 19 2004 | Casio Computer Co., Ltd. | Image processing apparatus for correcting distortion of image and image shooting apparatus for correcting distortion of shot image |
20040001146, | |||
20040076340, | |||
20050058360, | |||
20060244822, | |||
20070036460, | |||
20070211955, | |||
20080002041, | |||
20080063292, | |||
20080144968, | |||
20090041379, | |||
JP2004199350, | |||
KR100744937, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Aug 19 2008 | KWON, SUNG JIN | CORE LOGIC, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 021449 | /0157 | |
Aug 27 2008 | Core Logic, Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Feb 27 2012 | ASPN: Payor Number Assigned. |
Mar 27 2015 | REM: Maintenance Fee Reminder Mailed. |
Aug 16 2015 | EXPX: Patent Reinstated After Maintenance Fee Payment Confirmed. |
Jun 10 2016 | M2551: Payment of Maintenance Fee, 4th Yr, Small Entity. |
Jun 10 2016 | M2558: Surcharge, Petition to Accept Pymt After Exp, Unintentional. |
Jun 10 2016 | PMFG: Petition Related to Maintenance Fees Granted. |
Jun 10 2016 | PMFP: Petition Related to Maintenance Fees Filed. |
Apr 08 2019 | REM: Maintenance Fee Reminder Mailed. |
Sep 23 2019 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Aug 16 2014 | 4 years fee payment window open |
Feb 16 2015 | 6 months grace period start (w surcharge) |
Aug 16 2015 | patent expiry (for year 4) |
Aug 16 2017 | 2 years to revive unintentionally abandoned end. (for year 4) |
Aug 16 2018 | 8 years fee payment window open |
Feb 16 2019 | 6 months grace period start (w surcharge) |
Aug 16 2019 | patent expiry (for year 8) |
Aug 16 2021 | 2 years to revive unintentionally abandoned end. (for year 8) |
Aug 16 2022 | 12 years fee payment window open |
Feb 16 2023 | 6 months grace period start (w surcharge) |
Aug 16 2023 | patent expiry (for year 12) |
Aug 16 2025 | 2 years to revive unintentionally abandoned end. (for year 12) |