The present invention relates to an image filing method for filing plural sets of image data, a digital camera having an image filing function, an image filing program for an imaging device or a computer, and a video recording player having an image filing function.
Image signals captured by an imaging device such as a CCD image sensor are processed into digital image data, and the image data is stored in a storage medium such as a memory card. It has recently been popular to store or record not only image data of still images but also moving or video images as digital image data in a large capacity storage medium like a DVD. For the sake of user's convenience on reproducing or editing the recorded images, or transferring the stored image data to some external apparatus or another storage medium, the image data of a plurality of images are mostly organized into files as they are written in the storage medium.
For example, Japanese Laid-open Patent Application No. 2005-174308 discloses a digital media organizing method based on face recognition, wherein facial images are detected from image data of a number of digital photographs, to sort and organize the digital photographs (the image data) based on the detected facial images.
Meanwhile, as the most practical and convenient filing method for the image data, it has been suggested, for example in Japanese Laid-open Patent Application Nos. 2002-216104 and Hei 10-40063, that data of a shot scene, including the classification of the scene, such as a tour name or an event name, and the date of the scene, is attached to the image data, so that the image data are grouped into image files according to the attached data.
The above-mentioned Japanese Laid-open Patent Application No. 2002-216104 discloses a computer software program, whereby image data captured under different conditions for a certain time period are sorted and filed according to a predetermined standard. For example, the image data are grouped into those categories which are selected from among predetermined categories, or based on those categories customized by the user.
The above-mentioned Japanese Laid-open Patent Application No. Hei 10-40063 discloses an image data processing method and an apparatus for this method, wherein a file system having a hierarchical tree structure allocates one image to one file, and allocates one directory name to one group of image data. On executing image-processing or the like using this file system, compressed images, called thumbnails, are displayed to indicate image data of those files which belong to a designated directory and/or image data of one file which belongs to another directory that belongs to the designated directory, i.e. the directory categorized under the designated directory.
According to the latter two prior arts, however, it is not easy for the user to recognize how the images are grouped and filed, so it is difficult for the user to find out an expected image among the files. The user cannot always be reminded of the content of the event just by the allocated event name. Although the third prior art displays one thumbnail to each individual image file, the thumbnail indicates only one image data, e.g. initially stored image data, among all image data stored in the image file. Just one thumbnail is not always enough to grasp the content of the image file. Indeed the first mentioned prior art extracts facial images from the respective image data, it is impossible to recognize the content of the event from the extracted facial image, because the image data is categorized according to the event name or the like, under the classification based on the facial image.
In view of the foregoing, a primary object of the present invention is to provide an image filing method, a digital camera, an image filing program and a video recording player, which make it easy for the user to recognize the content of a group or set of stored image data, and thus improves user's convenience and saves time and labor for the choice of the image data.
According to the present invention, in a digital camera comprises an imaging optical system for forming an optical image of a subject, an imaging device for converting the optical image into an electronic picture signal, a signal processor for processing the picture signal to produce digital image data, and a data writing device for writing the image data of one image as an image file on a storage medium so that a plurality of image files are stored in groups in the storage medium, the digital camera comprises:
a device for extracting face images from the image data;
a device for calculating characteristic values of the extracted face images;
a device for comparing the characteristic values of the face images within the same group of image files, to judge those face images having similar characteristic values to each other to be the same person's; and
a device for deciding a representative image for each image file group, wherein one of the most frequently appearing person's face images is determined to be the representative image among the face images of the same image file group, and data of the representative image is stored in association with the corresponding image file group.
Preferably, the digital camera further comprises a display device for displaying images reproduced from the stored data, and an operating device for choosing one from among the image file groups on a menu screen of the display device, wherein the menu screen displays the representative images as options corresponding to the respective image file groups.
According to the present invention, an image filing method for storing image data as image files while grouping them into given categories, such as event titles, comprises steps of:
extracting face images from the image data;
calculating characteristic values of the extracted face images;
comparing the characteristic values of the face images within the same group of image files, to judge those face images having similar characteristic values to each other to be the same person's;
deciding a representative image for each image file group, wherein one of the most frequently appearing person's face images is determined to be the representative image among the face images of the same image file group; and
storing data of the representative image in association with the corresponding image file group.
An image filing program of the present invention for an imaging apparatus that captures images at some events and stores image data of the captured images as image files in a storage medium while grouping the image files according to the events, makes the imaging apparatus execute the following processes of:
extracting face images from the image data;
calculating characteristic values of the extracted face images;
comparing the characteristic values of the face images within the same group of image files, to judge those face images having similar characteristic values to each other to be the same person's;
deciding a representative image for each image file group, wherein one of the most frequently appearing person's face images is determined to be the representative image among the face images of the same image file group; and
storing data of the representative image in association with the corresponding image file group in the storage medium.
The image filing program of the present invention is applicable to a computer.
The present invention is also provides a video recording player that obtains moving image data, writes the moving image data in a storage medium, and plays moving images while reading the moving image data from the storage medium, the moving image recording playing apparatus comprising:
a device for extracting face images from a series of image frames constituting a set of moving image data;
a device for calculating characteristic values of the extracted face images;
a device for comparing the characteristic values of the face images within the same set of moving image data, to judge those face images having similar characteristic values to each other to be the same person's;
a device for deciding a representative image for each set of moving image data, wherein one of the most frequently appearing person's face images is determined to be the representative image among the face images of the same set of moving image data; and
a device for storing data of the representative image in the storage medium in association with the corresponding set of moving image data.
According to the present invention, an image filing method for filing plural sets of moving image data comprises steps of:
extracting face images from a series of image frames constituting a set of moving image data;
calculating characteristic values of the extracted face images;
comparing the characteristic values of the face images within the same set of moving image data, to judge those face images having similar characteristic values to each other to be the same person's;
deciding one of the most frequently appearing person's face images is determined to be a representative image among the face images of the same set of moving image data; and
storing data of the representative image in association with the corresponding set of moving image data.
The above and other objects and advantages of the present invention will be more apparent from the following detailed description of the preferred embodiments when read in connection with the accompanied drawings, wherein like reference numerals designate like or corresponding parts throughout the several views, and wherein:
As shown in
Next, the electrical composition of the digital camera 10 will be explained. As shown in
At the rear of the taking lens 12, a CCD image sensor 31 that is an imaging device for converting an optical image of a subject produced by the taking lens 12 into an electronic image is arranged. The taking lens 12 consists of a fixed lens 12a, a zoom lens 12b and a focus lens 12c. The zoom lens 12b and the focus lens 12c are moved by a zoom drive motor 32 and a focus drive motor 33 respectively. In front of the CCD image sensor 31, a stop mechanism 34 is placed. The stop mechanism 34 changes f-number (aperture value) by a stop drive motor 36. The zoom drive motor 32, the focus drive motor 33 and the stop drive motor 36 are connected to drivers 39, 40 and 41 respectively and their drive are controlled by the main controller 25 via the drivers 39, 40 and 41.
The CCD image sensor 31 is connected to a CCD driver 43 that drives the CCD image sensor 31 by inputting vertical and horizontal drive signals according to clock pulses inputted from a timing generator 44. Since the timing generator 44 is connected to the CPU 30, the main controller 25 controls the CCD image sensor 31 by controlling the timing generator 44 and emitting the clock pulses. The CCD image sensor 31 is also connected to a correlated double sampling circuit (CDS) 45 and an amplifier (AMP) 46, both of which remove noise and amplify an analog image signal outputted from the CCD image sensor 31. The analog image signal after noise removal and amplification is converted into digital image data by an A/D converter 47 and then outputted to an image input controller 48.
Connected to the CPU 30 via a data bus 49, the image input controller 48 is controlled by the main controller 25. The image input controller 48 is also connected to a buffer memory 50 and a video memory 51. The main controller 25 controls the image input controller 48 to make the image data stored in the buffer memory 50 and the video memory 51. Connected to an image signal processing circuit 52 via the data bus 49, the CPU 30 carries out such various image processing as gradation conversion, white balance correction and γ correction and YC conversion processing to the image data while the high-resolution image data is temporarily stored in the buffer memory 50.
When displaying the image on the LCD 15, low-resolution image data is temporarily stored in the video memory 51 and the image signal processing circuit 52 carries out simple image processing and simple YC conversion processing. The image data stored in the video memory 51 is sent to an LCD driver 53 via the data bus 49. The LCD driver 53 drives the LCD 15 to display the image after performing signal processing to the image data.
Via the data bus 49, the CPU 30 is connected to a compander circuit 54 and a media controller 55 (data writing device). The compander circuit 54 compresses the image data stored in the buffer memory 50, using such a compressing format as JPEG. The main controller 25 controls the media controller 55 to write the compressed image data and after-mentioned management data in the memory card 21. In addition, the compander circuit 54 expands the compressed image data when reproducing the image data stored in the memory card 21.
The CPU 30 is further connected to a flash device 57 and a clock circuit 58 via the data bus 49. The main controller 25 makes the flash projector 13 project flash light to the subject by controlling the flash device 57. Date data outputted by the clock circuit 58 is stored in a management data file 76 (See
In the above described embodiment, the main controller 25 executes the image filing program PG1 to function as a face image extractor 61, a characteristic value calculator 62, a characteristic value comparing judging section 63 and a representative image decider 64.
The face image extractor 61 extracts face images from a plurality of image data files stored in the memory card 21. The face image extraction may be accomplished for example by pattern-matching against predetermined images of several patterns of faces or eyes.
The characteristic value calculator 62 calculates characteristic values from each face image extracted in the face image extractor 61. As the characteristic values, anything that can convert characteristics of the face image into numerical values is usable. For example as shown in
The characteristic value comparing judging section 63 compares the characteristic values X and Y of the face images extracted from the same group of image files, to judge that those face images whose characteristic values X and Y are close to each other are the same person's face images. For example as shown in
The representative image decider 64 carries out a representative image deciding process. In this process, one of the most frequently appearing person's face images among those face images extracted from a group of image files is determined to be a representative image of the image file group. In an example of
The representative image decided by the representative image decider 64 is stored in the memory card 21, associated with the corresponding image file group. The representative image is stored in a file structure as shown in
Now the operation of the above described embodiment will be explained while referring to a flowchart in
At the conclusion of inputting the title event, the event title input screen 80 switches into a viewfinder screen 83 as shown in
After image capturing, the image files are put into a group under the input event title, and then the main controller 25 causes the face image extractor 61 to extract face images from the respective image data in the above described way. The characteristic value calculator 62 calculates from the extracted face image data the characteristic values X and Y, both of which are then written in the management data file 76. When the extraction of face images is done on all the image data of one image file group, the characteristic values X and Y are calculated from every frame image and written in the management data file 76. When no face image is extracted from the image data, data indicating that there is no face image is written in the management data file 76, instead of the above-mentioned characteristic values X and Y.
Next, when the digital camera 10 exits from the imaging mode, the main controller 25 judges whether or not any face images are extracted from the image files of the last captured group. When face images are extracted, the characteristic value comparing judging section 63 produces the map of distribution of the characteristic values X and Y to compare and judge as explained in
Now a sequence of reproducing the image file after the above described image filing processing will be explained while referring to a flowchart in
When the user has chosen the appropriate image file group, the main controller 25 switches the LCD 15 from the event title list screen 85, as shown in
When for example there is no appropriate image in the image list screen 90a shown in
Because the user is able to choose the image file group while looking at the representative image as well as the event title in this way, it is easy for the user to recognize the content of the image file group, which improves convenience and saves time and labor for the choice of the image file group.
In the above described embodiment, the present invention is applied to the digital camera. However, the present invention is not limited to this application, but applicable to a personal computer or the like, which treats image data captured by an imaging device such as a digital camera and transferred to it. Now will be explained the second embodiment where the present invention is applied to a personal computer as an image filing device. As shown in
In a ROM 108, an image filing program PG2 is stored. A RAM 107 temporarily stores the image data read by the image data reader 104. By executing the image filing program PG2, the main controller 102 functions as a face image extractor 111, a characteristic value calculator 112, a characteristic value comparing judging section 113 and a representative image decider 114.
Now the operation of the second embodiment will be explained. When a storage medium 115, such as memory card, optical disc or the like, is set in the image data reader 104 in a power-on state of the PC 100, the main controller 102 detects it and starts to read the image data of stored still images. The read image data is copied in the RAM 107. The image filing program PG2 may be set in a startup status before the image data reader 104 starts to read the image data, or may get into the startup status with the start of reading the image data. The main controller 102 carries out an image filing processing of the read image data. From then on, in the same way as the above described first embodiment, the face image extractor 111 extracts face images from the respective image data. Then the characteristic value calculator 112 calculates characteristic values. On all image data in a group of image files, extraction of face images and calculation of the characteristic values are executed.
Next, the characteristic value comparing judging section 113 of the main controller 102 produces a map of distribution of the characteristic values to compare them with one another. From the comparison of the characteristic values, those frame images having similar characteristic values are judged to be the same person's and put into a group. Then, the representative image decider 114 selects one face image out of the most frequent face image group to be a representative image. While representative image data based on the representative image is stored in the RAM 107, data of its association with the image file group is also stored in the RAM 107.
After deciding on the representative image, it is possible to display the representative image with an event title representing the associated image file group, or to write the association with the image file group in a management data file while storing the representative image in a management folder of the memory card 115. Because the representative image is stored with the event title while being associated with the image file group in this way, it is easy for a user to recognize the content at the image reproduction.
In the above described first and second embodiments, the present invention is applied to the imaging device including the digital camera that mainly captures and files image data of still images and the image filing device such as the PC. However, the present invention is not limited to these embodiments. Now will be described a third embodiment where the present invention is applied to a video recording player that records captured moving images and plays the moving images.
The DVD recorder 120 is further provided with a tuner 136 and an A/D converter 137 connected between the tuner 136 and the image input controller 126. The tuner 136 receives radio waves as telecast through an antenna 136a, converts the signals received according to the user's choice of broadcast station into picture signals, and sends the picture signal to the A/D converter 137, which converts the analog picture signals to digital moving image data, and sends it to the image input controller 126.
Connected to the CPU 122 via the data bus 125, the image input controller 126 is controlled by the main controller 121. The main controller 121 controls the image input controller 126 to store the moving image data in the SDRAM 132 temporarily.
The image signal processing circuit 127 carries out various image processing, such as gradation conversion, white balance correction and γ correction and YC conversion, to the moving image data temporarily stored in the SDRAM 132. The 3-D YC-detection circuit 131 carries out motion measurement from brightness signals and color signals, and reduces noise.
The video encoder 129 converts the moving image data, which goes through the signal processing in the image signal processing circuit 127 and the 3-D YC-detection circuit 131, or a data inputting menu screen into video signals, and sends the video signal to a monitor 139. As receiving the video signals, the monitor 139 displays the moving image or the menu screen on a display screen 139a.
The media controller 134 writes the moving image data after the signal processing on a DVD 141. An input interface 142 consisting of a remote controller and other elements detects user's input operation which is necessary for recording or playing the images, and sends the operation signals to the CPU 122.
The main controller 121 functions as a face image extractor 151, a characteristic value calculator 152, a characteristic value comparing judging section 153 and a representative image decider 154 by running the image filing program PG3.
Now the operation of the image recording playing apparatus of the above described embodiment will be explained while referring to a flowchart in
When the moving image data made of the picture signals received from the broadcast station is recorded in the DVD 141, the main controller 121 runs the image filing program PG3. The main controller 121 then picks up still image frames from the moving image data at a given interval of time. The face image extractor 151 extracts face image data from the extracted still image frames, and then the characteristic value calculator 152 calculates characteristic values from the face image data. Until the recording television program finishes, the extraction of all face images and the calculation of the characteristic values are executed to all still image frames extracted from the moving image data.
Next, when the recording television program finishes, the main controller 122 judges whether any face image is extracted from the recorded television program (moving image data) or not. When the face image is extracted, the characteristic value comparing judging section 153 produces a map of distribution of the characteristic values, so as to determine from comparison of the characteristic values which of the face images belong to the same person. Then the representative image decider 154 decides on the representative face image, which has the closest characteristic values to center values of the most frequent face image group. When the representative image is decided by the representative image decider 154, the still image frame including the representative face image is stored in a management folder. At the same time, data which associates the representative image data with the corresponding recorded television program (moving image data) is also written in a management data file. When no face image is extracted from the moving image data, the still image frame picked up first from the moving image file is stored as the representative image.
Now a sequence of reproducing the moving image data after the above-described image filing processing will be explained while referring to a flowchart in
In the recorded program title list screen 170, recorded program menus 173a, 173b and 173c are displayed within a rectangular frame for each. Each of the recorded program menus 173a, 173b and 173c consists of a set of information 171a, 171b and 171c and the corresponding representative image 172a, 172b or 172c of the recorded program. The information includes date, broadcast station and program title, such as Live of Baseball, Journey to Space or Suspense Theater, of the recorded program.
A user chooses one of the recorded program menus by operating the input interface 142. During the choice, as shown in
When the user chooses the appropriate one among the recorded program menus 173a, 173b and 173c on the recorded program title list screen 170, the main controller 121 reads the moving image data from the recorded program file 164a, 164b or 164c that corresponds to the chosen recorded program menu 173a, 173b or 173c, and switches the monitor 139 from the recorded program title list screen 170 as shown in
Because the user is able to choose the recorded program while looking at the representative image in this way, it is easy for them to recognize the contents of the recorded program, which improves convenience and saves labor and time for the choice of the recorded program.
Although the present invention has been described with respect to the preferred embodiments, the present invention is not to be limited to the above embodiments but, on the contrary, various modifications will be possible without departing from the scope of claims appended hereto.
Number | Date | Country | Kind |
---|---|---|---|
2005-370690 | Dec 2005 | JP | national |