The present invention relates generally to digital photographs. More particularly, the present invention relates to systems and methods for determining the quality of digital images.
In recent years, digital cameras have increased in popularity, both as stand-along products and as part of other devices such as cellular telephones, personal digital assistants and other devices.
When a digital image is taken with a digital camera, the framing and sharpness of the image needs to be checked. “Framing” refers to ensuring that the intended target has been successfully captured in the image. “Sharpness” refers to the level of form and detail of the image that has been captured. Framing is usually easy to check by the user by examining a preview or thumbnail image that is shown on the camera's display.
Unlike framing issues, however, the sharpness of a digital image usually cannot be carefully observed and examined in a small preview image. Unfortunately, there are several factors which could easily degrade the sharpness of image. Long exposure times, a large optical zoom, the selection of auto focus distance, the moving of the camera during the picture-taking process, a large aperture and/or a combination of these factors can all cause the image or parts of it to be blurred. Unless the image is badly blurred, if the user wishes to examine the thumbnail image for sharpness issues, the user must zoom into the image so that individual pixels are displayed one-on-one with the display pixels.
Zooming into a picture, however, is extremely time consuming. In fact, this process is so time consuming that even those who recognize that sharpness issues can occur usually do not zoom into the image. Instead, such users take several images and hope that some have a satisfactory degree of sharpness. On the other hand, when several different pages are imaged with a document camera application, it is often impractical to either use the zoom (due to the time issues discussed above) or to take several images per page due to frequent memory limitations and the extra work that is usually involved in deleting unnecessary images.
If multiple images are taken and the decision on the picture quality is made from the normal preview image, it is very possible that the user will discard the sharper image. For example, in
The present invention is directed to a system and method for enabling a user to easily and quickly examine both the framing and sharpness of a preview image. In the present invention, the framing and sharpness is shown in the same image. This is achieved by enlarging a portion of the image and embedding it in the original image such that both the original image and the selected portion can be reviewed and examined by the user. Various types of intelligence software can be used to select an appropriate section of the image for enlargement such that the sharpness of the image can be easily analyzed by the user.
The present invention provides a number of advantages over conventional systems. In the present invention, a user does not need to manually zoom into a portion of the image in order to make a sharpness determination. The present invention allows the user to only take a single image of an object without having to “guess” whether the image is of a satisfactory quality, potentially opening up additional file space for later pictures. This can be especially important when images are taken of documents containing text, where the image can be extremely large in size and the sharpness of the text is of special importance.
These and other objects, advantages and features of the invention, together with the organization and manner of operation thereof, will become apparent from the following detailed description when taken in conjunction with the accompanying drawings, wherein like elements have like numerals throughout the several drawings described below.
The present invention permits a digital camera to show both the framing and sharpness of a captured digital image in a single preview image. This is achieved by enlarging a small part of the image and embedding it in the original image. For optimum results, intelligent software is used when selecting the portion of the image that is to be enlarged. For example, when a text document is imaged, text recognition algorithms can be used. In other instances, edge detection algorithms may be used to find places where the sharpness is easy to analyze. Other suitable methods may also be used, and in some applications, the exact method to be used may be selectable by the user.
A generic digital camera according to the principles of the present invention is shown at 10 in
When a digital picture is taken, the at least one focusing element 12 focuses the image onto the at least one image sensor 18 which records light either electronically or by some other mechanism. The processor 16 then breaks this electronic information down into digital data which can be stored on the primary memory unit 14 and/or the secondary memory unit 20. The digital camera 10 also includes a data communication port 22 to enable the transmission of digital images from the digital camera 10 to a remote terminal such as a personal computer 24. The data communication can be in either wired or wireless form and can be configured for USB, BlueTooth, infrared or other connections. The digital camera 10 includes one or more input buttons 26 for entering information and/or taking a picture, although input buttons 26 could also be remote from the digital camera 10. The digital camera 10 also includes a user interface 28 through which a user can view preview or thumbnail images, view and alter menu options, and perform other functions. In one embodiment of the invention, the user interface 28 takes the form of a liquid crystal display.
At step 110, the original image is decimated to a dispersion size of “ab.” Before the image can be viewed by a user, the image size must be reduced to the size available on the user interface 28. At step 120, a “light” processing of the image occurs. It should also be noted that, if the digital camera 10 has sufficient processing power, as may be the case in a pro digital camera, the “light” processing can be the same processing that is used for all images. Raw bayer data often cannot be shown in a thumbnail image, so some processing is therefore required of the image. To make the delay from shutter release to first image as short as possible, processing is minimized according to one embodiment of the invention. Also, by processing the image after it has been decimated, the processing time is shortened. At step 130, an original preview image is formed as a result of the decimation and processing.
While the decimation and processing steps are occurring, at step 140 a zoom area of the original image is selected. A variety of different methods with different computational complexity can be used for this step. A fast method selection involves having a fixed location and size automatically selected by the computer software for each image. For example, the software can include program instructions to automatically include an upper right-hand portion of the original image for zooming. To the results of sharpness determination, various intelligence can be used. For example, text recognition algorithms can be used for text documents.
At step 150, the original image is cropped to the selected area. A new image with size “cd” is then formed. In one embodiment of the invention, this new image has dimensions in the range of tens of pixels wide and high. At step 160, a “heavy” image processing occurs, where the new image is processed as well as possible. Due to the small size of the image, the “heavy” processing times are short for this step. At step 170, a final zoomed image is formed. The sharpness of the original image is viewable in the final zoomed image. Additionally, if the image captured a text-containing document, the text should be readable in the final zoomed image if the sharpness is satisfactory.
At step 180, the final zoomed image is merged into the original preview image and graphics are added to show the user which is the final zoomed image and which portion of the original image it came from.
Once the final merged image has been displayed on the user interface 28, the user is capable of making a determination regarding the sharpness of the image.
With the system and method of the present invention, the user is capable of quickly and easily determining the sharpness of a captured image without manually entering into the captured image. The need for capturing multiple images of the same object can be greatly reduced or eliminated, resulting in a savings of time by the user and file space within the digital camera. The present invention can be incorporated into both stand-alone digital cameras and other types of electronic devices, regardless of whether the particular device even includes picture-taking capabilities.
While several embodiments have been shown and described herein, it should be understood that changes and modifications can be made to the invention without departing from the invention in its broader aspects. For example, but without limitation, the size of the final zoomed image could be altered or selected automatically or manually, and the portion of the original image to be zoomed can be selected by a wide variety of algorithms. Additionally, when the selection of a zoomed area is performed using a representative algorithm, it is also possible for the system to analyze the rest of the preview image to determine if similar conditions (such as similar sharpness) exists in other regions of the image. Furthermore, many steps discussed herein for implementing the present invention can be completed through the use either software or hardware applications. Various features of the invention are defined in the following Claims.