ERRONEOUS ERASURE DETERMINATION APPARATUS, METHOD AND COMPUTER PROGRAM PRODUCT, AND IMAGE GENERATION APPARATUS
An image file generation apparatus includes an identification unit for identifying two or more image data desired to be recorded in a multi-page format in which a plurality of image data is recorded in a single image file, and an image file generation unit for generating a single image file by recording auxiliary information at a known position of a header of an image file which indicates that the image file is recorded in the multi-page format, and for recording the two or more image data identified by the identification unit delimited by a specific identifier between each image data.
Latest Fujifilm Corporation Patents:
- MANUFACTURING METHOD OF PRINTED CIRCUIT BOARD
- OPTICAL LAMINATE, OPTICAL LENS, VIRTUAL REALITY DISPLAY APPARATUS, OPTICALLY ANISOTROPIC FILM, MOLDED BODY, REFLECTIVE CIRCULAR POLARIZER, NON-PLANAR REFLECTIVE CIRCULAR POLARIZER, LAMINATED OPTICAL BODY, AND COMPOSITE LENS
- SEMICONDUCTOR FILM, PHOTODETECTION ELEMENT, IMAGE SENSOR, AND MANUFACTURING METHOD FOR SEMICONDUCTOR QUANTUM DOT
- SEMICONDUCTOR FILM, PHOTODETECTION ELEMENT, IMAGE SENSOR, DISPERSION LIQUID, AND MANUFACTURING METHOD FOR SEMICONDUCTOR FILM
- MEDICAL IMAGE PROCESSING APPARATUS AND ENDOSCOPE APPARATUS
The present application is a Continuation Application of U.S. patent application Ser. No. 12/285,301, filed on Oct. 1, 2008, which is based on and claims priority from Japanese patent application No. 2007-259659, filed on Oct. 3, 2007, and Japanese patent application No. 2008-250401, filed on Sep. 29, 2008, the entire contents of which are incorporated herein by reference.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to an erroneous erasure determination apparatus, method, and computer program product for determining the likelihood of erroneous erasure of image data in an image file.
2. Description of the Related Art
Technologies for improving management convenience for a plurality of image data related to each other by recording and managing them as a single image file are known.
For example, Japanese Unexamined Patent Publication No. 2006-013759 proposes a method for generating a stereoscopic image file by storing two image data (left image data and right image data) that form a stereoscopically viewable image with an identifier for delimiting the image data.
Japanese Unexamined Patent Publication No. 11(1999)-266420 proposes a method for combining and recording a serially photographed plurality of image data as a single compressed continuous still image file.
If an image file including a plurality of image data generated by the method proposed in Japanese Unexamined Patent Publication No. 2006-013759 or Japanese Unexamined Patent Publication No. 11(1999)-266420 is edited using image software of image editing device or the like that can recognize only one front image data, however, the image data recorded following the front image data may possibly be erased erroneously.
For example, when a JPEG image file including a plurality of image data delimited by an identifier, EOI marker, between each image data is opened with ancillary software “Windows Image and Fax Viewer” of Microsoft Windows XP, only an image of the front image data is displayed. Then, when the displayed image is rotated in the right or left direction, the image file is overwritten with the rotation processing performed on the front image data and the subsequent image data erroneously erased.
As such, there is a demand for a method of automatically detecting such erroneous erasure in order to reduce the burden on the user for image data management.
In view of the circumstances described above, it is an object of the present invention to provide an erroneous erasure determination apparatus, method and computer program product capable of determining the likelihood of erroneous erasure of image data in an image file.
SUMMARY OF THE INVENTIONThe erroneous erasure determination apparatus of the present invention is an apparatus including an erroneous erasure determination means for determining whether or not image data in an image file are likely to have been erroneously erased based on auxiliary information attached thereto which indicates whether or not the image file is recorded in a multi-page format, and information which indicates the number of image data recorded in the image file.
In the apparatus described above, the erroneous erasure determination means may be a means that includes a format judging unit that judges whether or not the image file is a file recorded in the multi-page format based on the auxiliary information, and an image data count judging unit that judges whether or not two or more image data are recorded in the image file, and determines that image data in the image file are likely to have been erroneously erased when the image file is judged by the format judging unit as recorded in the multi-page format and judged by the image data count judging unit that two or more image data are not recorded in the image file.
Further, the image data count judging unit may be a unit that judges whether or not two or more image data are recorded in the image file judged by the format judging unit as recorded in the multi-page format.
Here, the referent of “image data” in the context of “two or more image data are recorded” means image data recorded as principal data and does not include the other image data, such as the image data of a thumbnail image and the like.
Preferably, the auxiliary information is recorded at a known position of the header of the image file.
Further, the multi-page format may be a recording format in which a plurality of image data are recorded in a single image file delimited by a specific identifier between each image data, and the image data count judging unit may be a unit that judges whether or not two or more image data are recorded in the image file based on whether or not image data are present following the specific identifier first appearing in the image file.
Still further, the erroneous erasure determination means may be a means that, when determined that the erroneous erasure is likely to have occurred, outputs the determination result.
Further, the apparatus described above may further include a display means, and the erroneous erasure determination means may be a means that, when determined that the erroneous erasure is likely to have occurred, outputs the determination result that erroneous erasure is likely to have occurred to the display means to cause the display means to display that image data are likely to have been erroneously erased.
Still further, the erroneous erasure determination means may be a means that, when determined that erroneous erasure is likely to have occurred, attaches auxiliary information to the image file indicating that erroneous erasure of image data is likely to have occurred in the image file.
Further, the specific identifier may be an EOI marker.
The erroneous erasure determination method of the present invention is a method including the step of determining whether or not image data in an image file are likely to have been erroneously erased based on auxiliary information attached thereto which indicates whether or not the image file is recorded in a multi-page format, and information which indicates the number of image data recorded in the image file.
The computer program product of the present invention is a computer readable recording medium on which is recorded a program for causing a computer to perform the step of determining whether or not image data in an image file are likely to have been erroneously erased based on auxiliary information attached thereto which indicates whether or not the image file is recorded in a multi-page format, and information which indicates the number of image data recorded in the image file.
The image file generation apparatus of the present invention method, and computer program product of the present invention, the likelihood of erroneous erasure of image data in an image file may be determined by determining whether or not image data in the image file are likely to have been erroneously erased based on auxiliary information attached thereto which indicates whether or not the image file is recorded in a multi-page format, and information which indicates the number of image data recorded in the image file.
In the erroneous erasure determination apparatus, when a determination is made that erroneous erasure is likely to have occurred in the image file, the determination result may be outputted to a display means to cause the display means to display that image data are likely to have been erroneously erased, or auxiliary information may be attached to the image file indicating that erroneous erasure of image data is likely to have occurred in the image file, thereby the management capability for image data in an image file recorded in the multi-page format may be improved.
According to the image file generation apparatus of the present invention, the apparatus includes an identification unit for identifying two or more image data desired to be recorded in a multi-page format in which a plurality of image data are recorded in a single image file, and an image file generation unit for generating a single image file by recording auxiliary information at a known position of the header of the image file which indicates that the image file is recorded in the multi-page format and recording the two or more image data identified by the identification unit delimited by a specific identifier between each image data. Thus, an image file generated by the apparatus may be identified whether or not recorded in the multi-page format by referring to the auxiliary information recorded at a known position of the header, and also a determination may be made as to whether or not two or more image data are recorded in the file by checking to see if image data are present following the specific identifier appearing first in the image file. Further, based on these, the likelihood of erroneous erasure of image data in the image file may be determined easily.
In the image file generation apparatus described above, where the identification unit is a unit that identifies two or more image data desired to be recorded in the multi-page format from a plurality of image data based on either one of date and time information attached to each image data and evaluation result of correlation between each image data or both, highly related two or more image data may be recorded in the multi-page format.
Hereinafter, exemplary embodiments of the erroneous erasure determination apparatus and image file generation apparatus of the present invention will be described with reference to the accompanying drawings.
The camera system 1 includes two imaging units 21A, 21B, an imaging control unit 22, an image processing unit 23, a compression/expansion processing unit 24, a frame memory 25, a media control unit 26, an internal memory 27, a display control unit 28, and the like, which send and receive various signals and data through a data bus 35.
The imaging units 21A, 21B include lenses 10A, 10B, apertures 11A, 11B, shutters 12A, 12B, CCDs 13A, 13B, analog front ends (AFEs) 14A, 14B, and A/D conversion units 15A, 15B respectively. Each of the lenses 10A, 10B includes a plurality of lenses having different functions, such as a focus lens for bringing a subject into focus, a zoom lens for realizing a zoom function, and the like, and their positions are controlled by not shown lens drive units. The aperture diameter of each of the aperture units 11A, 11B is controlled by a not shown aperture drive unit based on aperture value data obtained through AE processing. Each of the shutters 12A, 12B is a mechanical shutter and is driven by a not shown shutter drive unit according to the shutter speed obtained through AF processing. Each of the CCDs 13A, 13B has a photoelectric surface which includes multitudes of light receiving elements arranged two-dimensionally on which subject light is focused and photoelectrically converted, thereby an analog imaging signal is obtained. The AFEs 14A, 14B perform noise elimination processing and gain control processing (collectively referred to as analog processing) on the analog imaging signals outputted from the CCDs 13A, 13B respectively. The A/D conversion units 15A, 15B convert the analog imaging signals analog-processed by the AFEs 14A, 14B to digital signals respectively.
The imaging control unit 22 includes an AF processing unit and an AE processing unit. Where the focus is under adjustable conditions, the AF processing unit determines the positions of the focus lenses of the lenses 10A, 10B based on pre-images obtained by the imaging units 21A, 21B through a halfway depression of the release button, and outputs the determined positions to the imaging units 21A, 21B. The AE processing unit determines aperture values and shutter speeds based on the pre-images, and outputs the determined values to the imaging units 21A, 21B.
The image processing unit 23 performs image processing, such as white balance control, tone correction, sharpness correction, color correction, YC conversion, and the like, on image data obtained by the imaging units 21A, 21B.
The compression/expansion processing unit 24 performs compression processing on the image data processed by the image processing unit 23 in a compression format such as JPEG, and outputs the compressed image data to the frame memory 25.
The frame memory 25 is a work memory used when various types of processing, including the processing performed by the image processing unit, are performed on the image data obtained by the imaging units 21A, 21B.
The media control unit 26 accesses a recording medium 29 to perform read/write control of an image file.
The internal memory 27 has stored therein various constants to be set in the camera system 1, programs to be executed by a CPU 32, and the like.
The display control unit 28 is provided for causing image data stored in the frame memory 25 or image data recorded in the recording medium 29 to be displayed on a monitor 20. Here, the display control unit 28 and monitor 20 constitute a display means.
An operation unit (photographing mode setting means) 33 includes a release button, an operation mode switch, a menu/OK button, a zoom/up-down lever, a left-right button, a back button, display switching button, and the like provided on the body of the camera system 1, and constitutes an input means that allows the user to perform various setting operations. The user may select a photographing mode for photographing performed by the imaging units 21A, 21B by operating the operation unit 33. Further, switching of the operation mode switch allows selection of a recording mode (photographing mode) or a reproduction mode.
Here, the photographing mode includes normal mode, action mode, bracket mode, panorama mode, stereoscopic mode, multiview image mode, and the like.
Normal mode is a mode in which single image data (image data of one image) are obtained by depressing the release button. Action mode is a mode in which photographing is performed continuously while the release button is depressed to obtain a plurality of image data. Bracket mode is a mode in which photographing is performed continuously while various setting values, including the exposure, white balance, focus position, and the like are changed according to predetermined conditions to obtain a plurality of image data. Panorama mode is a mode in which photographing is performed repeatedly while moving the camera system 1 in up-down directions or left-right directions within a range desired to be obtained as a panorama image to obtain a plurality of image data. Stereoscopic mode is a mode in which the same subject is photographed from different angles to obtain two image data stereoscopically viewable with the help of parallax. Here, the same subject is photographed using the imaging units 21A, 21B disposed spaced apart to each other or using either one of them by photographing the subject a plurality of times while changing the position of the imaging unit. Multiview Image Mode is a mode in which the same subject is photographed from various angles to obtain a plurality of image data for building motion capture, obtaining sport event data, and the like.
The CPU 32 controls each unit of the camera system 1 in response to signals from the operation unit 33 and each processing unit.
Hereinafter, image file generation processing through control of the CPU 32 will be described in detail. The CPU 32 receives the setting of photographing mode from the operation unit 33, and stores the setting result in the internal memory. The CPU 32 further identifies two or more image data obtained by either one of the imaging unit 21A, 21B or by both in either one of action mode, bracket mode, panorama mode, stereoscopic mode, and multiview image mode as the image data desired to be recorded in a multi-page format. Then, the CPU 32 causes various processing, such as image processing, compression processing, and the like, to be performed on the identified two or more image data and the processed two or more image data to be recorded in the multi-page format as a single image file, which is then stored in the recording medium 29 through the media control unit 26.
Here, the description has been made of a case in which a code indicating that the image file is recorded in the multi-page format, for example, “E3” is recorded in a portion of the image unique ID tag area. But the recording position of the auxiliary information indicating whether or not the image file is recorded in multi-page format is not limited to the image unique ID tag area, and the information may be recorded at any other arbitrarily determined position as long as it is a known position of the header recognizable by an image reader device that reads in the image file and performs processing thereon, such as reproduction and editing processing.
Further, the CPU 32 causes various processing, such as image processing, compression processing, and the like to be performed on single image data obtained by photographing with either one of the imaging units 21A, 21B in the normal mode and the processed image data to be recorded in the normal format, in which single image data are recorded in a single image file, to generate a single image file, which is then stored in the recording medium 29 through the media control unit 26.
Here, the description has been made of a case in which image data obtained by photographing by the imaging unit or units are recorded in the multi-page format or in the normal format, in which single image data are recorded in a single image file, according to the photographing mode of the photographing. But, for example, a plurality of image data may be read out from the external recording medium 29 and deployed in the frame memory 25. Then, two or more image data may be identified as the image data desired to be recorded in the multi-page format from the deployed image data by the CPU 32 based on the date and time information or subject distance information attached to each image data, or an evaluation result of correlation between the image data, and the identified image data may be recorded in the multi-page format as a single image file as shown in
Here, the processing for identifying two or more image data desired to be recorded in multi-page format based on the date and time information of the image data is processing performed by the CPU 32 in which the date and time information attached to each image data is referenced and, for example, two or more image data having a time interval between the dates and times which falls within a predetermined time range are assumed to be highly related image data to each other and identified as image data desired to be recorded in the multi-page format.
Note that, two or more highly related image data may be identified based on each type of tag information of imaging conditions, such as subject distance, subject position, scent type, and the like attached to each image data, as well as the date and time information, and so identified images may be determined as the image data desired to be recorded in the multi-page format.
Further, the processing for identifying two or more image data desired to be recorded in the multi-page format based on the evaluation result of correlation between the image data is processing performed by the CPU 32 in which image characteristics, such as color distribution, luminance distribution, shape extraction result (face extraction result, or the like), and the like are obtained from each image data, then a correlation between the image data is calculated with respect to each of the image characteristics, and two or more image data having evaluation values obtained by comprehensively evaluating the calculated correlations greater than a predetermined threshold value are assumed to be highly related image data to each other and identified as the image data desired to be recorded in multi-page format.
Next, image file reproduction processing by the CPU 32 will be described in detail. The CPU 32 determines the operation mode of the camera system 1, and if it is determined to be the reproduction mode, an image file is read out from the external recording medium 29 and deployed in the frame memory 25. Next, a determination is made as to whether or not image data in the image file is likely to have been erroneously erased and if not, the image data of the image file recorded in the frame memory 25 are expanded by the compression/expansion processing unit 24 and displayed on the monitor 20 through the display control unit 28.
In the mean time, if it is determined that image data in the image file is likely to have been erroneously erased, the front image data of the image file recorded in the frame memory 25 are expanded by the compression/expansion processing unit 24 and displayed on the monitor 20 through the display control unit 28, and the determination result that erroneous erasure is likely to have occurred is outputted to the display control unit 24 to display a message on the monitor 20 indicating that image data are likely to have been erroneously erased. For example, as shown in
Further, where a determination is made that erroneous erasure is likely to have occurred, auxiliary information may be attached to the image file indicating that erroneous erasure of image data is likely to have occurred in the image file, together with or without the display described above.
For example, as shown in
Once the auxiliary information indicating that erroneous erasure of image data is likely to have occurred in an image file is attached to the image file by the illustrated methods described above, the likelihood of erroneous erasure of image data may be easily recognized by referring to the auxiliary information, thereby image data management capability may be improved.
Hereinafter, determination processing by the CPU 32 for the likelihood of erroneous erasure of image data in an image file will be described in detail.
Where an image file recorded in the multi-page format is edited using image software of image editing device or the like that can recognize only one front image data, image data recorded following the front image data may possibly be erroneously erased. In the image file in which image data recorded following the front image data have been erroneously erased by this, a code indicating that the file is recorded in the multi-page format, for example, “E3” is recorded in the first two bytes of the image unique ID tag area 62 of the Exif IFD, but, for example, the file includes only single image data as shown in
With respect to such an image file, the CPU 32 performs format judgment processing for judging whether or not the image file is recorded in the multi-page format and image data count judgment processing for judging whether or not two or more image data are recorded. Then, the CPU 32 determines that image data in the image file are likely to have been erroneously erased if the image file is judged as recorded in the multi-page format and judged that two or more image data are not recorded.
In the format judgment processing, the code recorded in the first two bytes of the image unique ID tag area of the Exif IFD, that is, auxiliary information indicating whether or not the image file is recorded in the multi-page format is referenced to determine whether or not the image file is recorded in the multi-page format. More specifically, if “E3” which is defined as the code indicating that the image file is recorded in the multi-page format is recorded in the first two bytes of the image unique ID tag area of the Exif IFD, the image file is judged as recorded in the multi-page format, and if a code different from “E3” is recorded, the image file is judged as recorded in the normal format in which single image data are recorded in a single image file.
In the image data count judgment processing, for example, where the multi-page format is of a type that records a plurality of image data in a single image file by delimiting each image data by a specific identifier, such as an EOI marker or the like, a judgment as to whether or not two or more image data are recorded in the image file is made based on whether or not image data are present following the specific identifier, such as the EOI marker or the like, first appearing in the image file. Further, as shown in
The CPU 32 may perform the format judgment processing and image data count judgment processing on all target image files for determining the likelihood of erroneous erasure of image data and determine the likelihood of erroneous erasure based on both of the results. Alternatively, the CPU 32 may perform either one of the format judgment processing and image data count judgment processing first, and then the other processing is performed only when it is determined necessary based on the determination result in order to determine the likelihood of erroneous erasure, and may determine the likelihood of erroneous erasure based on these determination results.
For example, the format judgment processing is performed first, and if the image file is judged as recorded in the normal format in which single image data are recorded in a single image file, it is determined that image data in the image file are not likely to have been erroneously erased, while if the image file is judged as recorded in the multi-page format, the image data count judgment processing is further performed. In the image data count judgment processing, if it is judged that two or more image data are recorded, it may be determined that image data in the image file are not likely to have been erroneously erased, while if it is judged that two or more image data are not recorded, it may be determined that image data in the image file are likely to have been erroneously erased. Likewise, the image data count judgment processing may be performed first, and then the format judgment processing is further performed only when it is judged that two or more image data are not recorded. Then, if the image file is judged as recorded in the multi-page format, a determination may be made that image data in the image file are likely to have been erroneously erased.
Next, an example image file generation process performed by the camera system 1 will be described with reference to
In the mean time, if step ST7 is negative, a code representing that the image file is not recorded in the multi-page format, that is, a code which is different from the code representing that the file is recorded in the multi-page format is recorded in the first two bytes of the image unique ID tag area of the Exif IFD to generate the header of the image file (step ST10). Then, an image file in the normal format is generated by reading out the single image data recorded in the frame memory 25 in step ST5 and recording the readout single image data following the header generated in step ST10 (step ST11), which is then stored in the recording medium 29 through the media control unit 26.
Next, an example erroneous erasure determination process (image file reproduction process) performed by the camera system 1 will be described with reference to
On the other hand, if step ST24 is positive, a determination is made as to whether or not the file is recorded in the multi-page format by referring to the code recorded in the first two bytes of the image unique ID tag area, that is, the auxiliary information indicating whether or not the image file is recorded in the multi-page format (step ST25). If step ST25 is negative, it is determined that image data in the image file are not likely to have been erroneously erased and the process is terminated. If step ST25 is positive, a determination is made as to whether or not image data are recorded following the specific identifier, such as an EOI marker or the like, first appearing in the image file (step ST26). If step ST26 is positive, it is determined that image data in the image file are not likely to have been erroneously erased (step ST26) and the process is terminated.
On the other hand, if step ST26 is negative, it is determined that image data in the image file are likely to have been erroneously erased, and the front image data of the image file recorded in the frame memory 25 are expanded by the compression/expansion processing unit 24 and displayed on the monitor 20 through the display control unit 28, and at the same time the determination result that erroneous erasure is likely to have occurred is outputted to the display control unit 28 to display a message on the monitor 20 indicating that image data are likely to have been erroneously erased (step ST27).
Next, another example of erroneous erasure determination process (image file reproduction process) performed by the camera system 1 will be described with reference to
In the mean time, if step ST33 is negative, a determination is made as to whether or not the Exif Version tag value recorded in the Exif Version tag area of the header is greater than or equal to “0230” (step ST34). If step ST34 is negative, it is determined that image data in the image file are not likely to have been erroneously erased, and the process is terminated. On the other hand, if step ST34 is positive, a determination is made as to whether or not the image unique ID tag is present in the header of the image file (step ST35). If step ST35 is negative, it is determined that image data in the image file are not likely to have been erroneously erased, and the process is terminated. On the other hand, if step ST35 is positive, a judgment is made as to whether or not the file is recorded in the multi-page format by referring to the code recorded in the first two bytes of the image unique ID tag area, that is, the auxiliary information indicating whether or not the image file is recorded in the multi-page format (step ST36). If step ST36 is negative, it is determined that image data in the image file are not likely to have been erroneously erased, and the process is terminated. In the mean time, if step ST36 is positive, it is determined that image data in the image file are likely to have been erroneously erased, and the front image data of the image file recorded in the frame memory 25 are expanded by the compression/expansion processing unit 24 and displayed on the monitor 20 through the display control unit 28, and at the same time the determination result that erroneous erasure is likely to have occurred is outputted to the display control unit 28 to display a message on the monitor 20 indicating that image data are likely to have been erroneously erased (step ST37).
In the present embodiment, the description has been made of a case in which the erroneous erasure determination apparatus and image file generation apparatus of the present invention are applied to the camera system 1. But the erroneous erasure determination apparatus and image file generation apparatus of the present invention may also be realized by executing the image file generation program and erroneous erasure determination program read in an auxiliary storage device on a computer (e.g., personal computer). Here, the image file generation program and erroneous erasure determination program are stored in information recording media, or distributed through a network, such as the Internet, and installed on the computer.
Hereinafter, a description will be made of a case in which the erroneous erasure determination apparatus and image file generation apparatus of the present invention are applied to a personal computer (PC) 2.
A CD-ROM 44 has stored therein various programs executed by the CPU 41, including the image file generation program and erroneous erasure determination program according to the present invention. The CPU 41 controls each unit of the personal computer 2 by the programs stored in the CD-ROM 44.
First, image file generation processing performed by the CPU 41 by controlling each unit of the personal computer 2 using the image file generation program stored in the CD-ROM 44 will be described. A plurality of image data are read out from an external camera system 58 through the camera connection I/F 55 or from an external memory card 59 through the card I/F 45 and deployed in the main memory 42. Then, two or more image data assumed to have a high relation to each other are identified as the image data desired to be recorded in the multi-page format from the image data deployed in the main memory 42 based on the date and time information attached to each image data and evaluation result of correlation between the image data and, as in the image file generation processing in the camera system 1 described above, a single image file in which the identified image data are recorded in the multi-page format shown in
Next, erroneous erasure determination processing for determining the likelihood of erroneous erasure of image data in an image file recorded in the multi-page format performed by the CPU 41 by controlling each unit of the personal computer 2 using the erroneous erasure determination program stored in the CD-ROM 44 will be described. An image file is read out from an external camera system 58 through the camera connection I/F 55 or from an external memory card 59 through the card I/F 45 and deployed in the main memory 42. Then, as in the erroneous erasure determination processing (image file reproduction processing) in the camera system 1 described above, judgment processing for judging whether or not the image file is a file recorded in the multi-page format by checking to see if “E3” which is defined as the code representing that the image file is recorded in the multi-page format is recorded in the first two bytes of the image unique ID tag area of the Exif IFD of the image file deployed in the main memory 42 and processing for judging whether or not two or more image data are recorded in the image file by judging whether or not image data are present following a specific identifier, such as the EOI marker or the like, first appearing in the image file are preformed. Then, if the image file is judged as recorded in the multi-page format and judged that two or more image data are not recorded, then it is determined that image data in the image file are likely to have been erroneously erased. Where it is determined that image data in the image file are likely to have been erroneously erased, the determination result that erroneous erasure is likely to have occurred is outputted to the display memory 46 to display a message, for example like that shown in
According to each of the embodiments described above, a determination is made as to whether or not image data in an image file are likely to have been erroneously erased based on auxiliary information attached thereto which indicates whether or not the image file is recorded in the multi-page format in which a plurality of image data are recorded in a single image file, and information that indicates the number of image data recorded in the image file, so that the likelihood of erroneous erasure of image data in an image file may be determined.
In particular, where the image file originally included three or more image data of a multiview image recorded in the multi-page format and some of the image data have been erroneously erased, if two or more image data remains in the file, the remaining image data may be used as the multiview image or erased images may be estimated and reproduced from the remaining image data. Where only one image data remains due to erroneous erasure, however, the image data can not be used as the multiview image. Accordingly, it is highly advantageous that the present invention is capable of determining whether or not two or more image data remain in multiview image data.
The erroneous erasure determination apparatus and image file generation apparatus of the present invention are applicable not only to a camera system and a personal computer but also to various types of apparatuses that record an image file in the multi-page format, or reproduce and edit an image file recorded in the multi-page format. For example, the apparatuses are applicable to a medical image management system for recording, reproducing, and editing multitudes of image data obtained by medical imaging systems, such as CT, MRI, ultrasonograph, and the like, an image reproduction apparatus, such as a photo viewer, for reproducing an image recorded in a recording medium, an image server system that provides on-line album service through a network, such as the Internet, and the like.
Claims
1. An image file generation apparatus, comprising:
- an identification unit for identifying two or more image data desired to be recorded in a multi-page format in which a plurality of image data is recorded in a single image file; and
- an image file generation unit for generating a single image file by recording auxiliary information at a known position of a header of an image file which indicates that the image file is recorded in the multi-page format, and for recording the two or more image data identified by the identification unit delimited by a specific identifier between each image data.
2. The image file generation apparatus as claimed in claim 1, wherein the known position comprises a portion of an image unique ID tag area of a format standard Exif.
3. The image file generation apparatus as claimed in claim 1, wherein the apparatus further comprises an imaging unit for obtaining image data by photographing, and a photographing mode setting unit for setting a photographing mode of the photographing, and
- wherein the identification unit comprises a unit that identifies the two or more image data desired to be recorded in the multi-page format based on a photographing mode set by the photographing mode setting unit.
4. The image file generation apparatus as claimed in claim 3, wherein the identification unit comprises a unit that identifies two or more image data photographed in one of an action mode, a bracket mode, a panorama mode, a stereoscopic mode, and a multiview image mode as the two or more image data desired to be recorded in the multi-page format.
5. The image file generation apparatus as claimed in claim 1, wherein the identification unit comprises a unit that identifies the two or more image data desired to be recorded in the multi-page format from a plurality of image data based on date and time information attached to each image data.
6. The image file generation apparatus as claimed in claim 1, wherein the identification unit comprises a unit that identifies the two or more image data desired to be recorded in the multi-page format from a plurality of image data by evaluating a correlation between each image data and based on a result of the evaluation.
Type: Application
Filed: Feb 14, 2012
Publication Date: Jun 14, 2012
Applicant: Fujifilm Corporation (Tokyo)
Inventor: Satoshi NAKAMURA (Kurokawa-gun)
Application Number: 13/396,358
International Classification: H04N 5/76 (20060101);