1. Field of the Invention
The present invention relates to an image recording apparatus applied to a digital camera, for example. More specifically, the present invention relates to an image recording apparatus storing an image signal in a directory having any one of circularly successive predetermined number of identification numbers.
2. Description of the Prior Art
It is appropriate that image files are scattered to a plurality of directories in order to efficiently manage a vast number of image signals recorded on a recording medium. If time information and a circularly successive directory number are assigned to the directory at a time of creating the directory, a latest directory can be specified on the basis of the time information and an oldest directory is specified by the directory number. Furthermore, in a case the directory number has limitations in number, if the oldest directory is erased at a time the directory number is used up, it is possible to reserve the directory number to be assigned to a new directory. Thus, it is possible to hold a new image signal on the recording medium by priority with efficiently utilizing the directory number limited in number.
However, in a case an arbitrary directory is erased, unless the directory is the oldest directory, it is impossible to utilize a directory number lacked by the erasure. This is because when the lacked directory number is assigned to the new directory, the directory number is not successive in order of creating the directory, and therefore, it is difficult to manage the image signal. Accordingly, even if room for assigning the directory number is obtained by erasing the arbitrary directory, the oldest directory has to be erased at a time of creating the novel directory, and therefore, efficiency of using the directory number decreases.
Therefore, it is a primary object of the present invention to provide a novel image recording apparatus.
Another object of the present invention is to provide an image recording apparatus capable of effectively utilizing a directory number.
According to the present invention, an image recording apparatus which stores an image signal into a directory to which a circularly successive identification number is assigned comprises a first eraser for erasing an oldest directory when a first condition is satisfied; a creator for creating a new directory to which an identification number succeeding to the identification number of a latest directory is assigned when a second condition is satisfied; a second eraser for erasing an arbitrary directory; a remaining directory detector for detecting a remaining directory when an erasure is performed by the second eraser; and a assigner for assigning the successive identification number to the remaining directory in order of the creation time.
The image signal is stored in the directory to which the circularly successive identification number is assigned. When the first condition is satisfied, the oldest directory is erased by the first eraser. When the second condition is satisfied, the new directory to which the directory number succeeding to that of the latest directory is created by the creator. When an arbitrary directory is erased by the second eraser, the remaining directory is detected by the remaining directory detector. The assigner assigns the successive identification number to the remaining directory in order of the creation time. Thus, the identification number of the remaining directory is modified. When the second condition is satisfied after modifying the identification number, a new directory to which an identification number succeeding to the identification number assigned to the remaining directory is assigned is created. Thus, when an arbitrary directory is erased, the successive identification number is assigned to the remaining directory in order of the creation time, and therefore, it is possible to efficiently utilize the identification number.
In a case the assignable identification number exists in a predetermined number, if the first condition includes a condition that a first total number of directories is the predetermined number, it is possible to utilize the identification number most efficiently.
In a case a second total number of the image signals accumulated in a noted directory is detected by a second detector, if the first condition includes a condition that the second total number reaches a first threshold value, and the second condition includes a condition that the second total number reaches a second threshold value larger than the first threshold value, it is possible to prevent the same identification number from being redundantly assigned to a plurality of directories.
In a case each directory has creation time information, preferably, an assignment of the identification number is performed on the basis of the creation time information.
The above described objects and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
Referring to
The hard disk 20 has a directory configuration shown in
When the recording of 2001/4/29 is completed before the directory “148IM00” becomes full, and the above-described recording start operation is performed at around 8:00 a.m. in the next morning, the first directory list 28a shown in
According to
After completion of creating the first directory list 28a, the CPU 16 drives an image sensor 12 at a frame rate of 3 fps. The image sensor 12 outputs an image signal at a ratio of 3 frames per second. A signal processing circuit 14 performs color separation, white balance adjustment, YUV conversion and etc. on the outputted image signal, and applies the processed image signal to the CPU 16. The CPU 16 compresses the image signal applied from the signal processing circuit 14 by a JPEG format so as to create an image file including a compressed thumbnail image signal and a compressed primary image signal and stores the created image file in the latest directory through an HDD (Hard Disc Drive) 18. The image file is stored in the latest directory “148IM00” pointed by the pointer P1.
When 450 of image files are reserved in the latest directory, the CPU 16 erases an oldest directory from the hard disk 20. Since the directory number is circularly successive, the oldest directory is “149IM00” having the directory number succeeding to that of the latest directory “148IM00”. Accordingly, at a time the 450 of image files are stored in “148IM00”, “149IM00” is erased as shown in
When 900 of image files are reserved in the latest directory, the directory becomes full. The CPU 16 newly creates a directory having a directory number succeeding to that of the directory which becomes full, and assigns the time information indicated by the clock 28c to the created new directory. Thus, the new directory becomes the latest directory. The CPU 16 stores an image file obtained after creating the new directory in the new directory. Referring to
When the completion key 24c on the operation panel 24 is pressed at a time the number of image files stored in “149IM00” reaches “247”, a corresponding state signal is applied from the system controller 22 to the CPU 16. The CPU 16 determines that a recording completion operation is performed and disables the image sensor 12 so as to stop a storing process of the image file. Herein, the hard disk 20 takes a directory configuration shown in
When a reproducing key 24b on the operation panel 24 is pressed, the system controller 22 applies a corresponding state signal to the CPU 16. The CPU 16 determines that a reproducing start operation is performed and creates the first directory list 28a in the same manner as an occasion of recording. The CPU 16 specifies 9 directories pointed out by the pointers P1 to P9, and reads out the compressed thumbnail image signal from a top image file (Image 001.jpg) stored in each of the specified 9 directories. The CPU 16 furthermore expands the read 9 compressed thumbnail image signals by the JPEG format and applies 9 thumbnail image signals thus expanded to a video encoder 30. The video encoder 30 encodes the applied 9 thumbnail image signals so as to generate a composite image signal and outputs the generated composite image signal to a television monitor 32.
Therefore, 9 thumbnail images are multi-displayed on the monitor screen as shown in
Herein, when an arbitrary thumbnail image is selected by a cursor key 24d and the reproducing key 24b is operated, the CPU 16 determines that a reproducing directory selecting operation is performed, accesses the directory corresponding to the selected thumbnail image and reads out the compressed primary image signal from each image file stored in the access destination directory. The reading-out is performed every ⅓ second in order of the file number, and the read compressed primary image signal is expanded in the JPEG format. The expanded primary image signal is applied to the television monitor 32 via the video encoder 30 and whereby, a motion image reproduced at a normal speed is displayed on the monitor screen. It is noted that the television monitor 32 is a separate body from the surveillance camera 10 and disposed at a distant place (e.g., security guards room).
When an arbitrary thumbnail image is selected by the cursor key 24d and an erasing key 24e is operated, the CPU 16 determines that a erasing directory selecting operation is performed and erases the directory corresponding to the selected thumbnail image from the hard disk 20. When the erasing key 24e is pressed in a state the thumbnail image representative of “102IM00” is selected, “102IM00” is erased. Herein, the hard disk 20 takes a directory configuration shown in
After completion of erasing the arbitrary directory, the CPU 16 creates a second directory list 28b shown in
In the above-described operation, since “102IM00” is erased, “101IM00” and “103IM00” to “150IM00” are registered in the table T2. Succeedingly, the pointer P1 is assigned to “150IM00” of the directory name of the oldest directory, the pointer P2 is assigned to “101IM00”, and the pointers P3 to P49 are respectively assigned to “103IM00”˜“149IM00”.
Succeedingly, the CPU 16 adds markers to the directory names registered in the table T2 and the directory names recorded on the hard disk 20. More specifically, “0” existing in the lowest digit of the directory name is modified to “1”. The directory names registered in the table T2 are changed from “* * * IM00” to “* * * IM01” as shown in
After completion of an adding process of the marker, the CPU 16 assigns new directory numbers to the directory names registered on the table T2 and the directory names recorded on the hard disk 20. More specifically, the directory numbers starting from “101” are respectively assigned to the directory names in ascending order of the pointer number with the directory name pointed by the pointer P1 as a starting point. Furthermore, at every time one new directory number is assigned, the marker is erased from the assignment destination directory name. Thus, the contents of the second directory list 28b are renewed from
When the recording start operation is performed again after the directory number is modified, the first directory list 28a shown in
The CPU 16 specifically processes flowcharts shown in
After completion of the setting of the counted values D and F, a photographing/recording process is performed in a step S9. That is, the image sensor 12 is driven, an image signal of an object photographed by the image sensor 12 is subjected to JPEG compression, and an image file including a compressed thumbnail image signal and a compressed primary image signal is stored in the latest directory through the HDD 18. The counted value F is incremented in a step S11, and the incremented counted value F is determined in following steps S13 and S15.
Where a condition of F≦450 is satisfied, it is determined that the number of image files stored in the latest directory is less than “450”, and the process directly proceeds to a step S21. It is determined whether or not the completion key 24c is operated (recording completion operation is performed) in the step S21, and if “NO” is determined, the processes after the step S9 are repeated, however; if “YES” is determined, the process returns to the step S1. It is noted that when the recording completion operation is not performed, the processes after the step S9 are executed every ⅓ second and therefore, an image file obtained at a frame rate of 3 fps is accumulated in the latest directory.
Where a condition of 450<F≦900 is satisfied, it is determined that the image files of 450 to 899 are reserved in the latest directory, and the number of directories created on the hard disk 20 is determined in a step S17. If the number of directories are less than “50”, it is determined there is a space to create further directories, and the process directly proceeds to the step S21. On the other hand, if the number of directories is equal to “50”, it is determined the new directory cannot be created without erasing an existing directory, the oldest directory is erased in a step S19 and then, the process proceeds to the step S21.
Since the directory number of the latest directory is “D”, and the directory number is circular, the directory number of the oldest directory is “D+1” or “101” (when D>150). Accordingly, the directory having such the directory number is erased in the step S19.
Where a condition of F>900 is satisfied, it is determined that the number of image files stored in the latest directory reaches “900”, and the process proceeds to steps after a step S23 so as to create a new directory. First, the counted value F is returned to “0” in the step S23, the counted value D is incremented in a step S25, and the counted value D is compared with “150” in a step S27. Herein, where a condition of D≦150 is satisfied, the directory number of the directory to be created is determined to be below “150”, and the process directly proceeds to a step S31. On the contrary, where a condition of D>150 is satisfied, the directory number of the directory to be created is determined to be “101”, the counted value D is set to “101” in a sep S29, and then, the process proceeds to the step S31.
The directory having a directory number of the counted value D is created on the hard disk 20 through the HDD 18 in the step S31. For example, where the counted value D is “145”, a new directory having the directory name of “145IM00” is created, and where the counted value D is “101”, a new directory having the directory name of “101IM00” is created. In a following step S33, the current time is detected referring to the clock 28c, and the detected time information is assigned to the new directory. After completion of the time stamp process, the process shifts to the step S21. The new directory created in the step S31 becomes the latest directory, and the image file obtained by the photographing/recording process after the next time is accumulated in the new directory.
When the reproducing key 24b on the operation panel 24 is operated, it is determined a reproducing start operation is performed in a step S35 shown in
It is determined whether or not a reproducing directory selecting operation is performed in a step S41, and if “YES” is determined, the process proceeds to a step S43. In the step S43, a directory corresponding to the selected thumbnail image is accessed, the compressed primary image signal is read out from each image file stored in the access destination directory, and the primary image signal based on the read compressed primary image signal is applied to the video encoder 30. The reading-out is performed in the order of the file number every ⅓ second and thus, a motion image is displayed on the television monitor 32. After completion of motion image reproduction from the access destination directory, the process returns to the step S39.
It is determined whether or not an erasing directory selecting operation is performed in a step S45, and if “YES” is determined, the process proceeds to a step S47. In the step S47, the selected directory is detected from the hard disk 20, and the detected directory is erased. After completion of erasing the directory, the directory name is modified in a step S49 and then, the process returns to the step S37. It is determined whether or not the reproducing completion operation (operation of the completion key 24c) is performed in a step S51 and if “YES” is determined, the process returns to the step S1.
A directory list creating process shown in a step S3 or a step S37 complies with a subroutine shown in
A directory name modifying process in the step S49 complies with subroutines shown in
Succeedingly, the markers are added to the directory names in a step S81. The directory names registered in the table T2 are changed from
After completion of detecting the maximum pointer number Km and setting of the counted values N and K, the counted value K is compared with the maximum pointer number Km in a step S89. Herein, if a condition of K≦Km is satisfied, the process proceeds to a step S91, and the directory name pointed by the pointer PK is detected from the second directory list 28b. The directory number N is assigned to the detected directory name in a step S93, and the marker is erased from the detected directory name in a following step S95.
Accordingly, if conditions of K=1 and N=101 are satisfied, “150IM01” pointed by the pointer P1 is detected, and the directory name is modified to “101IM00”. Furthermore, if conditions of K=2 and N=102 are satisfied, “101IM01” pointed by the pointer P2 is detected, and the directory name is modified to “102IM00”. Such the modifying processes are executed on both of the directory names registered in the second directory list 28b and the directory names recorded on the hard disk 20.
After completion of the step S95, the counted values N and K are respectively incremented in steps S97 and S99 and then, the process returns to the step S89. When the processes of the steps S91 to S99 are executed times corresponding to a total number of remaining directories, the counted value K exceeds the maximum pointer number Km, and the directory name on the second directory list 28b complies with
As understood from the above-description, the image file is stored in the directory to which the circularly successive directory number is assigned. When the number of the image files accumulated in the latest directory having the latest creation time reaches “450”, the total number of the directories is determined, and if the total number is “50”, the oldest directory having the oldest creation time is erased. Furthermore, when the number of the image files accumulated in the latest directory reaches “900”, a new directory to which the directory number succeeding to that of the latest directory is assigned is created. Furthermore, when an arbitrary directory is erased by operating the erasing key, the directory number succeeding in the forward direction is assigned to the remaining directory in order of the creation time. That is, the directory number of the remaining directory is modified.
Accordingly, even if the number of the image files of the latest directory reaches “450” after modifying the directory number, as long as the total number of the directories is below “50”, the oldest directory is not erased. Furthermore, when the number of the image files of the latest directory reaches “900” after modifying the directory number, a new directory to which the directory number succeeding to the last directory number assigned to the remaining directory is assigned is created. Thus, it is possible to effectively utilize the directory number, and it is possible to properly manage the image file.
It is noted that although only the television monitor is a separate body in this embodiment, if the surveillance camera is formed only by the image sensor and the signal processing circuit, the main body is formed by the operation panel, the CPU, the HDD and etc., and the main body and the television monitor is placed at the security guards room, it is possible to construct a large-scale surveillance camera system including a plurality of surveillance cameras, one main body and the television monitor.
Furthermore, although this embodiment is described utilizing the surveillance camera, it is needless to say that the present invention can be applied to a consumer-use digital camera.
Although the present invention has been described and illustrated in detail, it is clearly understood that the same is by way of illustration and example only and is not to be taken by way of limitation, the spirit and scope of the present invention being limited only by the terms of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2001-148861 | May 2001 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4939689 | Davis et al. | Jul 1990 | A |
5539891 | Childers et al. | Jul 1996 | A |
5550997 | Ip et al. | Aug 1996 | A |
5860136 | Fenner | Jan 1999 | A |
6189016 | Cabrera et al. | Feb 2001 | B1 |
6253214 | Hall et al. | Jun 2001 | B1 |
6292880 | Mattis et al. | Sep 2001 | B1 |
6452630 | Haruki | Sep 2002 | B1 |
6615224 | Davis | Sep 2003 | B1 |
6629203 | Humlicek | Sep 2003 | B1 |
6686965 | Fujii | Feb 2004 | B1 |
6765612 | Anderson et al. | Jul 2004 | B1 |
6771889 | Suga et al. | Aug 2004 | B1 |
6920466 | Kudo | Jul 2005 | B2 |
6954229 | Otala | Oct 2005 | B1 |
6954280 | Kaibara | Oct 2005 | B1 |
7059721 | Hayashi et al. | Jun 2006 | B2 |
7139095 | Hunter | Nov 2006 | B1 |
20010038417 | Uehara et al. | Nov 2001 | A1 |
20010043344 | Imai et al. | Nov 2001 | A1 |
20020049726 | Cork et al. | Apr 2002 | A1 |
20020051065 | Takahashi | May 2002 | A1 |
20020051641 | Nagaoka | May 2002 | A1 |
20020149676 | Hatori | Oct 2002 | A1 |
20030043282 | Malloy Desormeaux | Mar 2003 | A1 |
Number | Date | Country |
---|---|---|
02-021326 | Jan 1990 | JP |
03-259329 | Nov 1991 | JP |
06-242999 | Sep 1994 | JP |
06-348573 | Dec 1994 | JP |
09-054676 | Feb 1997 | JP |
2000-236503 | Aug 2000 | JP |
2002182957 | Jun 2002 | JP |
Number | Date | Country | |
---|---|---|---|
20020176005 A1 | Nov 2002 | US |