Abstract:
An image acquiring apparatus and an image processing method thereof. First, the apparatus acquires an image including at least one pixel corresponding to image data. A location of the at least one pixel of the image is represented by an actual coordinate. Next, the apparatus proceeds the stray processing according to the actual coordinate and generates a virtual compensation parameter. Then, the apparatus adjusts the image data into adjusted image data according to the virtual compensation parameter. Finally, the apparatus displays the image according to the adjusted image data.

Description:
[0001]     This application claims the benefit of Taiwan application Serial No. 94136728, filed Oct. 20, 2005, the subject matter of which is incorporated herein by reference.  
       BACKGROUND OF THE INVENTION  
       [0002]     1. Field of the Invention  
         [0003]     The invention relates in general to an image acquiring apparatus and an image processing method thereof, and more particularly to an image acquiring apparatus having a stray device and an image processing method thereof.  
         [0004]     2. Description of the Related Art  
         [0005]     The quality of a display frame generated by a conventional image acquiring apparatus, such as a digital camera or a digital camcorder, depends on a lens or a sensor in the digital camera or the digital camcorder. The sensor is, for example, a charge coupled device (CCD). The digital camera or digital camcorder may have the regional differences at different locations of the pixels of the display frame due to the nonuniform light reflection level of the lens or the nonuniform light sensing ability of the sensor. For example, when the image acquiring apparatus is acquiring a white sheet, it is found that the frame brightness is higher as the display frame is closer to the optical center region, and the frame brightness is darker as the display frame is farther from the optical center region. Alternatively, the frame is closer to red as it closer to the optical center region, and is closer to green as it is farther from the optical center region. In order to overcome the above-mentioned regional differences, the conventional image acquiring apparatus adopts different compensations according to the display frames in different regions so as to overcome the problem of the nonuniform light reflection level of the lens or the nonuniform light sensing ability of the sensor.  
         [0006]     However, when the pixels of the display frame pertain to the same region, the image acquiring apparatus proceeds the same compensation for the pixels in the same region. When the pixels of the display frame pertain to different regions, the image acquiring apparatus proceeds different compensations for the pixels in the different regions. Due to the difference in the spatial relationship, the discontinuity of compensation is caused, and the man-made defect after compensation is formed. Thus, an extremely sharp boundary line image for the human vision is formed between two adjacent regions due to the color or brightness drop.  
       SUMMARY OF THE INVENTION  
       [0007]     It is therefore an object of the invention to provides an image acquiring apparatus and an image processing method thereof, wherein the apparatus has a stray device for generating a random number randomly such the image data of each pixel is adjusted according to a virtual compensation parameter. Thus, the spatial relationship of the image is slightly broken, and the man-made defect generated due to the prior art, discontinuity of compensation may be improved.  
         [0008]     The invention achieves the above-identified object by providing an image processing method, which includes the steps of: acquiring an image, which includes at least one pixel corresponding to image data, wherein a location of the at least one pixel of the image is represented by an actual coordinate; proceeding the stray processing according to the actual coordinate to obtain a virtual compensation parameter; adjusting the image data into adjusted image data according to the virtual compensation parameter; and displaying the image according to the adjusted image data.  
         [0009]     The invention also achieves the above-identified object by providing an image acquiring apparatus including an image acquiring unit and an image processor. The image acquiring unit acquires an image, which comprises at least one pixel corresponding to image data, and a location of the at least one pixel of the image is represented by an actual coordinate. The image processor includes a stray device, a compensation parameter generator and an image processing unit. The stray device proceeds the stray processing to obtain a virtual coordinate according to the actual coordinate. The compensation parameter generator receives the virtual coordinate and thus outputs a virtual compensation parameter. The image processing unit adjusts the image data according to the virtual compensation parameter.  
         [0010]     The invention also achieves the above-identified object by providing an image acquiring apparatus including an image acquiring unit and an image processor. The image acquiring unit acquires an image, which comprises at least one pixel corresponding to image data, and a location of the at least one pixel of the image is represented by an actual coordinate. The image processor includes a compensation parameter generator, a stray device and an image processing unit. The compensation parameter generator receives the actual coordinate and thus outputs a compensation parameter. The stray device proceeds the stray processing according to the compensation parameter and thus obtains a virtual compensation parameter. The image processing unit adjusts the image data according to the virtual compensation parameter.  
         [0011]     Other objects, features, and advantages of the invention will become apparent from the following detailed description of the preferred but non-limiting embodiments. The following description is made with reference to the accompanying drawings. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0012]      FIG. 1  is a block diagram showing an image acquiring apparatus according to a preferred embodiment of the invention.  
         [0013]      FIG. 2  is a flow chart showing an image acquiring method according to another preferred embodiment of the invention.  
         [0014]      FIG. 3  is a block diagram showing an example of an image processor.  
         [0015]      FIG. 4  is a block diagram showing another example at the image processor. 
     
    
     DETAILED DESCRIPTION OF THE INVENTION  
       [0016]     In order to prevent the prior art discontinuity of compensation from forming the man-made defect after compensation, the following embodiments utilize a stray device to generate a random number randomly to slight break the spatial relationship of the original image such that the compensated image frame becomes more lifelike and natural.  
         [0017]      FIG. 1  is a block diagram showing an image acquiring apparatus  200  according to a preferred embodiment of the invention. The image acquiring apparatus  200  includes an image acquiring unit  202  and an image processor  204 . The image acquiring unit  202  acquires an image I. The image I is composed of a plurality of pixels each corresponding to image data and to an actual coordinate. The image acquiring unit  202  includes, for example, an optical module  206  and a sensor  208 . The optical module  206  includes imaging devices such as a lens, a stop and a shutter, which are not illustrated in  FIG. 2 . The sensor  208  is, for example, a charge coupled device for  20  receiving a light source outputted from the optical module  206  and converting the light source into the image I and outputting the image I to the image processor  204 .  
         [0018]      FIG. 2  is a flow chart showing an image acquiring method according to another preferred embodiment of the invention, which is applied to the image acquiring apparatus  200 . The image processing method Includes the following steps. First, the image acquiring unit  202  acquires an image, as shown in step  31 . Next, a virtual compensation parameter is obtained by proceeding the stray processing according to an actual coordinate, as shown in step  32 . Then, the image data is adjusted into adjusted image data according to the virtual compensation parameter, as shown in step  33 . Finally, the image processor  204  displays the image according to the adjusted image data, as shown in step  34 .  
         [0019]      FIG. 3  is a block diagram showing an example of the image processor  204 . Referring to  FIG. 3 , the image processor  204  further includes a stray device  340 , a compensation parameter generator  330  and an image processing unit  320 . The image processing unit  320  adjusts the image data of each pixel according to the distance from each pixel to an image reference point, for example. The image reference point is, for example, a point on the image I corresponding to an optical center point of the lens.  
         [0020]     The stray device  340  proceeds the stray processing according to the actual coordinate to obtain a virtual coordinate. The stray processing generates the virtual coordinate by, for example, adding a coordinate variable to the actual coordinate or subtracting the coordinate variable from the actual coordinate. The stray device  340  outputs the virtual coordinate to the compensation parameter generator  330 . The transversal coordinate (X) and the longitudinal coordinate (Y) of the coordinate variable are respectively a transversal coordinate random number and a longitudinal coordinate random number generated by the stray device  340  randomly,  
         [0021]     The compensation parameter generator  330  calculates the distance from the virtual coordinate of each pixel to the optical center point, and thus generates and outputs the virtual compensation parameter to the image processing unit  320 . The virtual compensation parameter is the virtual distance from the virtual coordinate to the optical center point. The image processing unit  320  correspondingly adjusts the image data of the pixel according to the virtual compensation parameter.  
         [0022]      FIG. 4  is a block diagram showing another example of the image processor. In addition to converting the virtual coordinate generated by the stray device  340  into the virtual distance to be outputted to the image processing unit  320 , the compensation parameter generator  330  may also receive the actual coordinate of the pixel and thus generate and output the compensation parameter to the stray device  340 , which proceeds the stray processing and then outputs the virtual compensation parameter to the image processing unit  320 . The compensation parameter generator  330  calculates the compensation parameter between each pixel and the optical center according to the actual coordinate of each pixel on the image I, and the compensation parameter is the actual distance between the pixel and the optical center.  
         [0023]     The stray device  340  proceeds the stray processing according to the compensation parameter and then generates and outputs the virtual compensation parameter to the image processing unit  320 . The virtual compensation parameter is the virtual distance from the pixel to the optical center. The stray processing is to, for example, add the corresponding distance variable to the actual distance or subtract the corresponding distance variable from the actual distance and thus obtain the virtual distance. The distance variable is the distance random number generated by the stray device  340  randomly. The image processing unit  320  adjusts the image data of each pixel according to the slightly adjusted virtual distance.  
         [0024]     Thus, the image acquiring apparatus  200  can improve the man-made defect caused by the discontinuity of compensation by utilizing the stray device  340  to either slightly adjust the actual coordinate inputted to the compensation parameter generator  330 , or to slightly adjust the actual distance outputted by the compensation parameter generator  330  after calculation.  
         [0025]     In addition, the invention is not particularly limited to the above-mentioned embodiments but includes the method of proceeding different region compensations according to the actual coordinates of the pixels by the image processing unit. For example, different region compensations may be proceeded on the pixels of the frame from left to right, or different region compensations may be proceeded on the odd numbered pixels and even numbered pixels of the frame. Thus, the invention can improve the man-made defect caused by the discontinuity of compensation, and the image frame becomes more lifelike and natural.  
         [0026]     The image acquiring apparatus and the image acquiring method according to the embodiments of the invention utilize a stray device to generate a variable randomly, and slightly shift the actual coordinate of each pixel or the actual distance such that the compensated image has the better display quality.  
         [0027]     While the invention has been described by way of examples and in terms of preferred embodiments, it is to be understood that the invention is not limited thereto. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and the scope of the appended claims therefore should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements and procedures.