1. Field of the Invention
The present invention relates to a test method, particularly to an image unsharpness test method for a camera device, which can autonomously determine whether the captured image is sharp enough and can provide a proposal message to the user.
2. Description of the Related Art
With the advance of science and technology, many electronic camera devices, such as digital cameras, have emerged and are replacing conventional cameras. As to digital cameras, the user can check captured pictures in situ or anytime later from the attached LCD of digital camera; further, a digital camera directly records an image by digital data, which makes the processing and storage of the pictures more convenient; besides, the size of a digital camera is much smaller than that of a conventional camera, and thus, the portability of a digital camera is also much better than that of a conventional camera. Therefore, it is an obvious trend that digital cameras replace conventional cameras.
Owing to the progress of science and technology, the image quality of a digital camera has been greatly promoted from several hundred thousand pixels to more than twelve million pixels. Even magnified many times, such a high-resolution image can still maintain its definition. However, a high-resolution image occupies more memory space and needs a bigger memory. When the user takes a picture, there is usually a vibration transmitted from the hand to the digital camera. Even though the vibration is very slight, the captured image may still be blurred. When viewed in situ, such an image, which is displayed on the LCD viewer of the digital camera, may seem sharp because the size of a common LCD viewer is only about from 1.2 in. to 3.5 in. However, the user often surprisingly finds that the image is indistinct when it is presented on a large-size display device, such as CRT monitor or LCD, which is usually more than 15 in. Such a case besets the user very much, particularly a beginner, who not only needs a stager's counsel but also has to spend time and money to accumulate experience. Therefore, a method to determine whether an image captured by a digital camera is sharp enough is desired by users.
Accordingly, the present invention proposes an image unsharpness test method for a camera device to overcome the abovementioned problems.
The primary objective of the present invention is to provide an image unsharpness test method for a camera device, wherein a sharp image received during the focusing stage is compared with a captured image to determine whether the captured image is sharp enough, and the user is informed of the status of the captured image; thereby, the user not only can make sure that the capture has sufficient sharpness but also can reduce photographic errors and promote photographic efficiency.
Another objective of the present invention is to provide an image unsharpness test method for a camera device, which can provide the user with associated photographic proposal messages in situ when the user has taken a picture so that the user can rapidly accumulate photographic experience.
Further objective of the present invention is to provide an image unsharpness test method for a camera device, whereby a digital camera can has diversified usage and more added values.
To achieve the abovementioned objectives, the present invention proposes an image unsharpness test method for a camera device, wherein after an electronic camera device has taken a picture, the sharpness of the captured image is instantly determined; before the electronic camera device captures an image, there is a focusing stage; during the focusing stage, the electronic camera device receives multiple images; the sharpnesses of those received images are calculated to select an image having the highest sharpness, which is to be a contrast image; the contrast image is compared with the captured image to determine whether the contrast image and the captured image are of the same vision; if they are of the same vision, the sharpness of the captured image is compared with that of the contrast image to determine whether the captured image is sharp enough; if they are not of the same vision, a given number of the received images received before captured imaged taken is compared with each other to find out a specified image that has the highest sharpness; and the captured image is compared with the specified image to determine whether the captured image is sharp enough.
To enable the objectives, technical vision, characteristics, and accomplishments of the present invention to be more easily understood, the embodiments of the present invention are to be described below in detail in cooperation with the attached drawings.
The present invention is an image unsharpness test method for a camera device, which applies to an electronic camera device, such as a digital camera, a digital video camera or a mobile phone with a digital camera. When an electronic camera device is used to capture a picture, the present invention not only can instantly determine the image sharpness of the captured picture but also can tell the user the status of the captured picture so that the user can in-situ get the quality of the captured pictured and promote photographic efficiency.
A digital camera is used to exemplify the embodiment of the present invention. The digital camera has an LCD screen and has the function of half-pressing shutter button, which is to undertake focusing actions. Refer to
with AP denoting “all pixels” and (i, j) being the coordinate; in this embodiment, Gray value is used to calculate sharpness, but another factor, such as Red value, Green value or Blue value, may also be used.
Next, the contrast image is compared with the captured image to determine whether the contrast image and the captured image are of the same vision (Step S14). Refer to
The average difference Dif0 is compared with a discrimination value to determine whether the contrast image and the captured image are of the same vision (Step S22); the discrimination value ranges from −30% to 30%, and it is preferred to range from −20% to 20%; if the average difference Dif0 is lower than the discrimination value, the contrast image and the captured image are of the same vision; if the average difference Dif0 is greater than the discrimination value, the contrast image and the captured image are not of the same vision.
Refer to
Next, the difference value Dif1 is compared with a preset value (Step S26); the preset value ranges from −70% to 30%, and it is preferred to range from −40% to 20%; if the difference value Dif1 is lower than the preset value, the captured image is determined to be sharp; and if the difference value Dif1 is greater than the preset value, the captured image is determined to be unsharp.
Refer to
The difference value Dif2 is compared with the abovementioned preset value (Step S32); if the difference value Dif2 is lower than the preset value, the captured image is determined to be sharp; and if the difference value Dif2 is greater than the preset value, the captured image is determined to be unsharp.
Refer to
If the captured image is determined to be unsharp, the digital camera will provide a notice message and a proposal message for the user. The notice message may be presented with a beep, a light, or a flash, or presented on the LCD screen of the digital camera. The proposal message may include: a suggestion of increasing light sensitivity (ISO) and a suggestion of using a tripod; the proposal message is preferably presented on the LCD screen of the digital camera also.
In the present invention, a sharp image received during the focusing stage is compared with the captured image to determine whether the captured image is sharp enough, and the user is informed of the status of the captured image so that the user can make sure that the captured image has sufficient sharpness, reduce photographic errors and promote photographic efficiency. Further, after the user has captured the image, the digital camera adopting the present invention can present related proposals in situ so that the user can rapidly accumulate photographic experience. Therefore, the present invention can enable an electronic camera device to have diversified usage and more added values.
The embodiments described above are to clarify the present invention in order to enable the persons skilled in the art to understand, make and use the present invention; however, it is not intended to limit the scope of the present invention, and any equivalent modification and variation according to the spirit of the present invention is to be also included within the scope of the claims stated below.
Number | Name | Date | Kind |
---|---|---|---|
5003165 | Sarfati et al. | Mar 1991 | A |
20030118245 | Yaroslavsky et al. | Jun 2003 | A1 |
20050206774 | Tsujimoto | Sep 2005 | A1 |
20050259175 | Hoshuyama | Nov 2005 | A1 |
20070098292 | Batur | May 2007 | A1 |
20070153233 | Campin et al. | Jul 2007 | A1 |
20070269080 | Hamanaka | Nov 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20070216787 A1 | Sep 2007 | US |