1. Field of the Invention
The present invention relates to an image correction technology, and in particular to a self-adaptive image edge correction device and method thereof, that is capable of improving the edge blurring and edge saw-tooth phenomena of an image.
2. The Prior Arts
In monitoring an image at a long distance, the image has to be enlarged to be viewed clearly. Also, to obtain an image of high resolution for that image originally of low resolution, in general, polynomial interpolation is utilized to magnify and enlarge the image. However, the magnified image could produce blurring and saw-tooth phenomena, thus leading to distortion. In this respect, the main reason for blurring is that, the effect of interpolation is equivalent to filtering out the high frequency portion of an image using a low-pass filter, hereby causing image blurring. In addition, the edge of the enlarged image could develop irregularities caused by the dislocations during interpolation, to produce saw-tooth of edges. For the reasons mentioned above, image edge blurring and saw-tooth are produced during polynomial interpolation.
To improve the shortcomings of the prior art mentioned above, two approaches are utilized to eliminate this phenomenon for the digital photos. Wherein, one approach is to increase the resolution to the extent that blurring and saw-tooth can not be discerned by the human eyes, but this could inevitably lead to increased cost. The other approach is to use a bi-linear interpolation in cooperation with a blurring filter. Yet, this could consume too much time, dire to its complicated computation process.
Moreover, to improve the edge saw-tooth phenomenon, the following approaches can be utilized: Low-Pass Filter, Error-Amended Sharp Edge, Linear Minimum Mean Square-Error Estimation, Fast Edge-Oriented Interpolation, or Grey Polynomial Interpolation. Yet, the utilization of the Low-Pass Filter could cause distortion of the entire image; the application of the Error-Amended Sharp Edge or Linear Minimum Mean Square-Error Estimation could lead to overly large computation amount, and overly long computation time; while the use of Fast Edge-Oriented Interpolation, or Grey Polynomial Interpolation requires repeated tests of threshold values, that is rather time consuming.
Therefore, presently, the design and performance of image interpolation is not quite satisfactory, and it has much room for improvements.
In view of the problems and drawbacks of the prior art, the present invention provides a self-adaptive image edge correction device and method thereof, to overcome effectively the problem of the prior art.
A major objective of the present invention is to provide a self-adaptive image edge correction device and method thereof, so that edge blurring can be corrected during image enlargement, to enhance image edge and improve blurring and saw-tooth of edge of the prior art.
Another objective of the present case is to provide self-adaptive image edge correction device and method thereof, that is able to achieve edge correction at fast speed and with small computation amount for images of various sizes.
A further objective of the present case is to provide a self-adaptive image edge correction device and method thereof, that can be used to various applications to meet wide scope of demands, for example, images of low resolution or images having edge distortion.
In order to achieve the above mentioned objective, the present invention provides a self-adaptive image edge correction device and method thereof, including the following steps. Firstly, input an original image; next, sharpen the original image, to convert the original image into a sharpened edge image; then, add the original image to the sharpened edge image, to form an enhanced image; subsequently, fetch edges of the enhanced image, to obtain a differential edge image; and finally, determine the deviation direction of the differential edge image, to selectively utilize horizontal correction or vertical correction, to amend the differential edge image to obtain a corrected image.
In addition, the present invention provides a self-adaptive image correction device, including an image fetching an image processing unit, and an image output unit. Wherein, the image fetching unit is used to provide an original image. The image processing unit is connected electrically to the image fetching unit, and it includes a sharpening filter, a superimposer, and an edge detector. The sharpening filter converts the original image into a sharpened edge image, and the sharpening filter is connected electrically to the superimposer, and it adds the original image to the sharpened edge image, to form an enhanced image. The edge detector is connected electrically to the superimposer, to fetch the edge of the enhanced image, to obtain a differential edge image. The processor utilizes selectively the horizontal correction or vertical correction to correct the differential edge image, based on the deviation direction of the differential edge image, to obtain a corrected image. The image output unit is connected electrically to the processor, to output the corrected image.
Further scope of the applicability of the present invention will become apparent from the detailed descriptions given hereinafter. However, it should be understood that the detailed descriptions and specific examples, while indicating preferred embodiments of the present invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the present invention will become apparent to those skilled in the art from this detailed descriptions.
The related drawings in connection with the detailed descriptions of the present invention to be made later are described briefly as follows, in which:
The purpose, construction, features, functions and advantages of the present invention can be appreciated and understood more thoroughly through the following detailed description with reference to the attached drawings.
The present invention is capable of correcting blurring and saw-tooth for edges of the enlarged images of low resolution, so that the image edge can be smooth, hereby improving quality of the output image.
Firstly, refer to
Then, refer to
Wherein, sign is a binary; C is a differential edge image; norm is a decimal; E is an enhanced image; i, j are the coordinates of the candidate correction points; and K=0, 1, −1 represent the directions in which corrections are required.
Then, refer to
Di,j−1=½(Di,j−1+Di,j−2)Di,j+1=½(Di,j+1+Di,j+2) (2)
Wherein, D is a corrected image; i,j are the coordinates of the candidate correction points.
Furthermore, the vertical correction equation is as shown in equation (3) as follows:
Di−1,j=½(Di−1,j+Di−2,j)
Di+1,j=½(Di+1,j+Di+2,j) (3)
Wherein, D is a corrected image; i,j are the coordinates of the candidate correction points.
Finally, as shown in
According to the descriptions mentioned above, the present invention provides a self-adaptive image edge correction method, that is able to achieve fast speed with small computation amount for images of various sizes, and can be applicable in various image related system or technology, such as Around View Monitor (AVM), image processing software, camera, and display. Wherein, the original image of low pixel amount is magnified and enlarged, such that the blurring and saw-tooth of image edge are processed and corrected in a fast and simple approach, to achieve raised image quality and better visual effect.
Summing up the above, the present invention can be used in various applications to meet wide scope of demands, such as images of low resolution or images having edge distortion, to enhance image edge, and improve image blurring and saw-tooth at fast speed and with low computation amount. The present invention is applicable to images of various sizes, without the need to raise image to any specific resolution.
The above detailed description of the preferred embodiment is intended to describe more clearly the characteristics and spirit of the present invention. However, the preferred embodiments disclosed above are not intended to be any restrictions to the scope of the present invention. Conversely, its purpose is to include the various changes and equivalent arrangements which are within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
102111435 A | Mar 2013 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
5359676 | Fan | Oct 1994 | A |
5852475 | Gupta | Dec 1998 | A |
6366292 | Allen | Apr 2002 | B1 |
6507364 | Bishay | Jan 2003 | B1 |
6570616 | Chen | May 2003 | B1 |
6928196 | Bradley | Aug 2005 | B1 |
20020006231 | Jayant et al. | Jan 2002 | A1 |
20090226097 | Matsumoto | Sep 2009 | A1 |
Number | Date | Country |
---|---|---|
101425178 | May 2009 | CN |
102231203 | Nov 2011 | CN |
201142741 | Dec 2011 | TW |
Number | Date | Country | |
---|---|---|---|
20140294319 A1 | Oct 2014 | US |