The present invention is directed to digital cameras having a real-time clock and, more particularly, to such digital cameras having a real-time clock with a default setting.
Currently, digital cameras include a clock that keeps real-time for permitting various timing features to be performed. For example, the date and time that an image is captured is recorded and associated with each captured image. This can be done by storing Date/Time metadata in the image file. For example, the well-know Exif image file format includes a DateTimeOriginal tag, which can be used to store the date and time that each image was captured. The DateTimeOriginal tag can be read by various computer software photo applications, such as Kodak EasyShare software, in order to display the captured images in chronological order or to retrieve images captured on a particular date, or during a particular time period.
However, after an extended power loss, the real-time clock stops functioning. An extended power loss can occur when the batteries are removed from the digital camera for several minutes or longer, or when depleted batteries remain in the digital camera for several minutes or longer. When power is restored, the date and time are set to a default value, such as the original manufacturing time and date, and the user is prompted to set the date/time to the current value. Users often bypass this prompt and the default date and time setting is applied. As a result, the date and time metadata stored with subsequently captured images is not only incorrect, it is set to an earlier date than the date stored with the images captured prior to the extended power loss. Therefore, the images appear out of chronological order when displayed, with the more recently captured images appearing to have been captured prior to those that were captured before the extended power loss.
US Patent Application 2005/0110880 to Parulski et al. discloses a digital camera with a real-time clock for recording and associating the real-time clock value with the captured images. A communication is established between the digital camera and a separate electronic device, such as a computer, also with a real-time clock. A predetermined time-difference correlation is made between the time of the real-time clock of the digital camera and the real-time clock of the computer, and the time recorded with the captured images is modified based on the time-difference correlation.
U.S. Pat. No. 6,910,147B2 discloses a digital recording apparatus in communication with a computer, and the computer “provides a date and time reference to which to relate the digital recording apparatus' real time clock.”
Although the currently known and used mechanisms for keeping time in electronic devices are satisfactory, the present invention ascertained that shortcomings arise when default settings are used with captured images after an extended power loss. In this regard, if the images and their associated recorded times use the original manufacturing date as the default time when resetting the real-time clock, the chronological order in which the images are sequenced will be inaccurate.
Secondly, using other separate devices is not always desirable since access to a second device may restrict how the digital camera is used, and since the date/time setting of the second device may also be incorrect.
Consequently, a need exists for improving the operation of the real-time clock in a digital camera.
The present invention is directed to overcoming one or more of the problems set forth above. Briefly summarized, according to one aspect of the invention, the invention resides in a digital camera having a clock for keeping time; memory for receiving and storing time updates; and a processor for directing the time updates to be recorded in the memory upon occurrence of any of a plurality of camera operations; wherein a default time for the clock is dynamically updated as the time of the last recorded time in the memory.
These and other objects, features, and advantages of the present invention will become apparent to those skilled in the art upon a reading of the following detailed description when taken in conjunction with the drawings wherein there is shown and described an illustrative embodiment of the invention.
The present invention has the advantage of keeping images in the correct chronological order, if the clock ceases running as a result of depleted batteries or the like, so that time order is preserved.
While the specification concludes with claims particularly pointing out and distinctly claiming the subject matter of the present invention, it is believed that the invention will be better understood from the following description when taken in conjunction with the accompanying drawings, wherein:
Referring to
The analog output of each pixel is amplified and analog processed by an analog signal processor (ASP) 16 to reduce the image sensor's output amplifier noise. The output of the ASP 16 is converted to a digital image signal by an analog-to-digital (A/D) converter 18, such as, for example, an 8 bit A/D converter which provides an 8 bit signal in the sequence of the Bayer CFA.
The digitized image signal is temporarily stored in a frame memory 20, and is then processed and compressed by a digital signal processor (DSP) 22. The image processing typically includes white balance, color correction, tone correction, and image sharpening. The DSP 22 may also decimate (or re-sample) the digitized image signal for each still image to produce a thumbnail image having fewer pixels (i.e., lower resolution) than the original captured image as described in commonly-assigned U.S. Pat. No. 5,164,831 to Kuchta et al. The image file containing both the full resolution image and the thumbnail image is stored in a data memory 26, and then transferred through a memory card interface 32 to a memory card 28 that is present in a memory card slot 30 of the digital camera 10. The thumbnail image is also sent to an image display 24 through an LCD controller 25 where the user can view the image. Although the display is shown as an LCD display, OLED displays may also be used. The image display 24 includes a conventional arrangement for displaying the captured image. The image display 24 may, alternatively, utilize many other types of raster image displays, including miniature CRT's, organic light emitting diode (OLED) arrays, or field emission displays.
The memory card 28 can be a flash memory card adapted to one of the numerous memory card format standards, such as the well-known PC card, Compact Flash, SmartMedia, MemoryStick, MMC or SD memory card formats.
Electrical connection between the memory card 28 and the digital camera 10 is maintained through a card connector (not shown) positioned in the memory card slot 30. The memory card interface 32 and the card connector provide, e.g., an interface according to the aforementioned PCMCIA card or CompactFlash interface standard. The image file may also be sent to a host computer (not shown), which is connected to the digital camera 10 through a host computer interface 34.
In alternative embodiments, other types of memory, such as internal Flash memory chips, magnetic memory, or optical memory, can be used in place of the memory card 28.
In operation, a camera microprocessor 36 receives user inputs 48, such as from a shutter release (not shown), and initiates a capture sequence by signaling a timing generator 38. The timing generator 38 is connected generally to the elements of the digital camera 10, as shown in
A clock 50 provides real-time time keeping for the digital camera 10. When an image is captured, the microprocessor 36 reads the date and time of capture as indicated by the real-time clock 50 and stores and associates it with the particular captured image in the memory card 28, such as by storing the date and time in the DateTimeOriginal tag within the Exif image file which contains the captured image data. This enables the captured images to have its time of capture stored with the image which is beneficial when chronological ordering of the images or the like is desired.
The camera 10 of the present invention also includes non-volatile memory 52 that is periodically dynamically updated with the date and time from the clock 50, when a particular camera operation occurs. For example, when an image is captured, the current date and time from the clock 50 can be stored in non-volatile memory 52 as directed by the microprocessor 36. This is only one example of a particular camera operation in which the clock 50 can update the non-volatile memory 52. In some embodiments, the clock is updated as the camera is being powered down, or on a regular basis (e.g. once per minute) whenever the camera is powered on, or whenever an image is edited by the camera 10. It is understood that the non-volatile memory 52 can be included as part of the camera microprocessor 36, memory card 28, or one of the other camera components.
In alternative embodiments, the functions of the camera microprocessor 36, digital signal processor 22, non-volatile memory 52, and clock 50 can be provided by custom circuitry (e.g. by one or more custom integrated circuits (ICs) designed specifically for use in digital cameras), or by a combination of programmable processor(s) and custom circuits.
Upon start-up after a power loss, the user is prompted, using a graphical user interface displayed on image display 24, to input the current date and time using user inputs 48, or to instead select the default setting. In the present invention, the default setting is set to the date and time of the last recorded time of a camera operation, which was previously stored in non-volatile memory 52. Therefore, if the user does not input a time, the default setting of the date and time stored in non-volatile memory 52 is automatically input as the new date and time for the clock 50, and the clock 50 starts its real-time time counting based on this stored value rather than on a factory default setting as its starting point. Consequently, any image captured after this will not have the exact date and time stored and associated with it. But it will have a date and time which provides the correct chronological order. The date and time stored will be earlier than the actual date and time. The period of this “error” is equal to the elapsed time between when date and time was stored in non-volatile memory 52 (prior to the extended power loss) and when the user set the real-time clock to the default setting. The error period can range from a few minutes to a much longer period of time, depending on whether the user was slowly changing the camera batteries, or whether the camera 10 was sitting unused for many months while the batteries slowly depleted.
In some embodiments, the error period can be corrected as described in US Patent Application 2005/0110880 to Parulski et al., the disclosure of which is incorporated herein by reference. For example, the method described in paragraph 43 of Parulski, et. al. can be used to store a clock status value in the non-volatile memory 52. This clock status value is incremented each time the real-time clock is reset, and is stored as metadata in the image file. Each image having the same clock status value metadata will have the same error period. Therefore, if the approximate error period (e.g. 14 days and 8 hours) is determined for one of the images (such as by knowing that the image was captured on Christmas morning, for example), the date and time of all of the other images having the same clock status value can be corrected by applying the same error period correction (e.g. automatically adding 14 days plus 8 hours to the date and time of these other images).
In alternative embodiments, the digital camera 10 can also capture motion video images. In alternative embodiments, the digital camera 10 can include other functions, such as those provided by including the functions of a digital music player (e.g. MP3 player), a mobile telephone, and/or a programmable digital assistant (PDA).
Referring to
If the clock 50 needs resetting S4, the default value is read S6 from non-volatile memory 52 and the clock is updated S8 with this default time. This default time is then displayed on the image display 24. The user can adjust this default value S9 to the proper time using the user inputs 48. Because the default value may be close to the proper time (e.g., it may be in error by only a few hours or a few days), it is much faster and easier for the user to adjust the time to be the proper time compared to the prior art situation where the clock is set to the factory default time. For example, the current time could be May 4, 2009 at 10:17 am while the factory default time could be Jan. 1, 2008. If the user took many pictures the previous day and depleted the batteries (thus causing an extended power loss), the default time could be May 3, 2009 at 4:23 pm. When the clock 50 is reset S4 to the default value S6, the displayed time will be May 3, 2009 at 4:23 pm. Thus, the month and year will be correct, and the user need only advance the date (by one day) and set the proper time. If the extended power loss was only a few minutes; for example as the user changed batteries after taking some pictures, it is unlikely that the date and hour setting will be proper, and only the minutes will need to be advanced. This makes it much easier for the user to set the proper time. The processor then monitors any of the plurality of camera operations S10 and the default time is updated S12 continuously upon the occurrence of any of the plurality of events.
It is noted the flowchart illustrates a preferred embodiment. As stated above, the clock 50 may update default setting in non-volatile memory 52 periodically without the occurrence of any one of the predetermined operations.
The invention has been described in detail with particular reference to certain preferred embodiments thereof, but it will be understood that variations and modifications can be effected within the spirit and scope of the invention.