Abstract:
A digital camera has a memory for storing a plurality of programs each to embed a watermark on a digital image data. The digital camera embeds the watermark on the image data according to the program selected by a program selector. In the case of a digital camera capable of selecting whether or not to embed a watermark, the digital camera forcibly controls to embed the watermark if the selection is failed. The digital camera has a processor for processing a digital image data in accordance with one of a plurality of selective data forms, one of the data forms being suitable for a watermark, and another unsuitable. In this case, the digital camera controls the processor to replace the unsuitable data form by the suitable one under the necessity of embedding the watermark on the digital image data.

Description:
[0001]     This application is a division of U.S. patent application Ser. No. 09/655,917, filed Sep. 6, 2000, which is based upon and claims priority of Japanese Patent Applications No. 11-256548 filed on Sep. 10, 1999, and No. 2000-105973 filed on Apr. 7, 2000, the contents being incorporated herein by reference. 
     
    
     BACKGROUND OF THE INVENTION  
       [0002]     1. Field of the Invention  
         [0003]     The present invention relates to a digital camera, and more specifically to a digital camera that is capable of embedding an electronic watermark into electronic image data of the digital camera.  
         [0004]     2. Description of Related Art  
         [0005]     Many publishers and newspaper companies or the like post image data taken by a digital camera on their home pages on the Internet. Since the image data on home pages is electronic image data, it is easy to copy it from the home pages. The image data on home pages is apt to be used or sold without approval of image data&#39;s owner, such as a publisher, a newspaper company, or a photographer. Accordingly, publishers and newspaper companies embed electronic watermarks into the electronic image data in order to check whether the image data on their home pages has been used without publisher&#39;s or newspaper company&#39;s approval.  
         [0006]     A technology that embeds an electronic watermark into electronic image data is disclosed in Japanese Laid-open Patent Application No. 10-164349, and a digital camera that embeds the electronic watermark into the image data is disclosed in Japanese Laid-open Patent Application No. 10-248046.  
         [0007]     A photographer sometimes contracts a plurality of publishers and newspaper companies. The photographer brings the image data directly to the publishers and newspaper companies or sends the image data to them via a telephone line or the Internet. Since each publisher or newspaper company uses its own embedding program and authentication key with respect to the electronic watermark, it is necessary to embed an unique electronic watermark data corresponding to each publisher or newspaper company. Furthermore, a plurality of photographers sometimes share one digital camera. In this case, it is necessary for each photographer to use its own embedding program and authentication key different from others.  
         [0008]     Furthermore, the setting operation of the digital camera for the purpose of embedding the electronic watermark into the digital image is apt to cause a photographer to loose a shutter chance.  
         [0009]     Furthermore, each digital camera maker sometimes adopts an original format for storing image data, such as a raw image data storing format. As to the raw image data storing, it is sometimes impossible to embed the electronic watermark into the raw image data using a normal embedding program, although it is possible to embed the electronic watermark into JPEG compression image data or non-compression image data (such as a bitmap image data) using the normal program. Accordingly, when the electronic watermark is embedded into the raw image data, it is necessary to develop an original embedding program for the electronic watermark, and it is costly.  
       SUMMARY OF THE INVENTION  
       [0010]     In order to overcome the problems and disadvantages, the invention provides a digital camera comprising a memory for storing a plurality of programs each to embed a watermark on a digital image data and an embedding circuit for embedding the watermark on the image data according to the program selected by a program selector. This makes it possible to select the watermark needed.  
         [0011]     According to another feature of the invention, a digital camera comprises a transmitter for transmitting a digital image data to a place remote from the camera and a controller for inhibiting the transmitter from transmitting the digital image data on which the watermark is failed to be embedded.  
         [0012]     According to still another feature of the invention, a digital camera comprises a controller for controlling a embedding circuit to surely embed the watermark on a digital image data on which the watermark is failed to be embedded. This feature makes it possible to avoid the watermark being failed to be embedded.  
         [0013]     According to a further feature of the invention, a digital camera comprises an embedding circuit for embedding a watermark on a digital image data and a controller forgiving a warning if a watermark is failed to be embedded. This feature makes it possible to avoid the watermark being failed to be embedded.  
         [0014]     According to a still further feature of the invention, a digital camera comprises a processor for getting a first and second picture image data on the basis of a same digital image data from the imaging device and an embedding circuit for embedding the watermark on one of the first and second picture image data with the other kept without the watermark.  
         [0015]     According to another feature of the invention, a digital camera comprises a setting circuit for setting whether or not to have an embedding circuit embed a watermark and a controller for forcibly controlling the embedding circuit to embed the watermark if the setting by the setting circuit is failed. This feature makes it possible to avoid the watermark being failed to be embedded.  
         [0016]     More specifically, the invention further provides a digital camera comprising a processor for processing a digital image data in accordance with one of a plurality of selective data forms, one of the data forms being suitable for a watermark, and another unsuitable. The digital camera further comprises a controller for controlling the processor to replace the unsuitable data form by the suitable one under the necessity of embedding the watermark on the digital image data.  
         [0017]     Or, the invention provides a digital camera comprising a processor for processing a digital image data in accordance with one of a plurality of selective data forms, one of the data forms being suitable for a watermark, and another unsuitable. The digital camera further comprises a controller for giving a warning if the processor is to process the digital image data in accordance with the unsuitable data form under the necessity of embedding the watermark on the digital image data.  
         [0018]     Other features and advantages according to the invention will be readily understood from the detailed description of the preferred embodiments in conjunction with the accompanying drawings. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0019]      FIG. 1  is an external view of a digital camera according to embodiments of the present invention.  
         [0020]      FIG. 2  is a block diagram illustrating the function of the digital camera according to embodiments of the present invention  
         [0021]      FIG. 3  is a flowchart illustrating the control for transmitting image data in accordance with the first embodiment of the present invention.  
         [0022]      FIG. 4  is a flowchart illustrating the control for transmitting image data in accordance with the first embodiment of the present invention.  
         [0023]      FIG. 5  is a flowchart illustrating the control for transmitting image data in accordance with the first embodiment of the present invention.  
         [0024]      FIG. 6  is a flowchart illustrating the control performed in the digital camera in accordance with the second embodiment of the present invention.  
         [0025]      FIG. 7  is a flowchart illustrating the control performed in the digital camera in accordance with the third embodiment of the present invention.  
         [0026]      FIG. 8  is a flowchart illustrating the control performed in the digital camera in accordance with the fourth embodiment of the present invention.  
         [0027]      FIGS. 9, 10  are flowcharts illustrating the control of photographing and storing image data of the digital camera in accordance with the fifth embodiment of the present invention.  
         [0028]      FIG. 11  is a flowchart illustrating the control of settings that is performed in accordance with the sixth embodiment of the present invention. 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0029]      FIG. 1  is an external view of the digital camera according to the first embodiment of the present invention. The digital camera comprises LCD display  101 , shutter-release button  102 , menu button  103  and setting dial  104 .  
         [0030]     LCD display  101  includes a liquid crystal device for displaying an image of an object to be taken or a reproduced image. LCD display  101  also displays menu screens that are used in various settings. Shutter-release button  102  starts the process of taking a picture. Menu button  103  and setting dial  104  perform various settings. Menu button  103  is for causing a display of a menu screen on LCD display  101 . Dial  104  enables settings for various kinds of photographing control and image processing control.  
         [0031]      FIG. 2  is a block diagram illustrating the function of the digital camera according to embodiments of the present invention. CPU  201  controls other circuits to take a picture and store the image data. Imaging circuit  202  includes an imaging device and an A/D converter, and outputs an image signal of a photographed object. Image processing circuit  203  processes the signal output from imaging circuit  202  in various manner to output the image data. Embedding circuit  204  embeds electronic watermark data into the image data that is output from image processing circuit  203 . JPEG circuit  205  JPEG-compresses the image data output from image processing circuit  203  or the embedding circuit  204 . JPEG circuit  205  on the other hand expands the compressed image data stored in memory  207 .  
         [0032]     Storing circuit  206  stores the image data into memory  207  and reads out the image data stored in memory  207 . Storing circuit  206  also stores the image data into a memory card (not shown) which is detachable from the digital camera, and reads out the image data stored in the memory card. Memory  207  is a nonvolatile memory that stores the image data. Memory  207  also stores a control program for controlling the digital camera and a plurality of embedding programs each to embed a electronic watermark into the image data. Furthermore, memory  207  stores necessary information for identifying destination companies such as publishers and newspaper companies, as well as information for identifying the kind of electronic watermark that is used by each of the destination companies. Memory  207  also stores folder information that is used to classify the image data, and stores electronic watermark information that is assigned to each folder. Switch circuit  208  is electrically connected to shutter-release button  102 , menu button  103  and dial  104 . When any of these buttons is operated, switch circuit  208  detects the operation of the button to transmit a signal to CPU  201 . Display circuit  209  drives LCD display  101  in order to display images on the screen. Transmitting circuit  210  transmits image data to a selected destination.  
         [0033]     Furthermore, the digital camera can set durability of the electronic watermark. If the durability is set at high level for the electronic watermark, the electronic watermark remains against any edition, such as copying, changing the size and cutting, so that it is valid for protecting copyright. If the durability is set at low level, on the contrary, even a slight edition causes a change in the electronic watermark, so that it is valid for proving that the image has been tampered.  
         [0034]     Furthermore, the digital camera according to the present invention has a plurality of watermark embedding programs, one of which is selectable in accordance with a specific need.  
         [0035]     The digital camera according to the invention can select one of a plurality of authentication keys and embed it into the image data by using the above-mentioned program. This is advantageous for a photographer who contracts with a plurality of publishers and newspaper companies in that it is possible to select a desired one of authentication keys in accordance with the publisher or newspaper company.  
         [0036]     The following explains functions performed in a CPU  201  of the digital camera in accordance with the first embodiment of the present invention.  
       The First Embodiment  
       [0037]     When the image data is to be transmitted to a destination, the digital camera determines whether or not electronic watermark data should be embedded into the image data. If the electronic watermark data should be embedded for the destination, then it is checked whether or not the electronic watermark data has been embedded into the image data. If the electronic watermark data has not been embedded into the image data, then the corresponding electronic watermark data is embedded into the image data. Embedding the corresponding electronic watermark data is possible by designating only the destination according to a database in which each destination corresponds to destination&#39;s electronic watermark data and each user of the electronic watermark data corresponds to user&#39;s electronic watermark data, in memory  207 . If the electronic watermark data has been embedded, and the embedded watermark data does not correspond to the destination&#39;s watermark data, then the embedded electronic watermark data is replaced to the destination&#39;s electronic watermark data.  
         [0038]      FIGS. 3 through 5  are flowcharts illustrating control performed during transmitting the image data. Referring to  FIGS. 3 through 5 , the process starts when the digital camera is set so that the image data is transmitted to a destination. Referring to  FIG. 3 , in step S 101 , it is determined whether or not the destination is selected. If the destination is selected, then the process advances to step S 102 . If the destination is not selected, then the process turns back to step S 101  and performs the operation of step S 101  again. In step S 102 , it is determined whether or not the electronic watermark data should be embedded into the image data for the selected destination.  
         [0039]     When the destination is a company such as a publisher or a newspaper company, the electronic watermark data should be embedded in order to protect copyright. When the destination is a destination such as photographer&#39;s home, the electronic watermark data need not be embedded. Information on whether the electronic watermark data should be embedded is stored in memory  7  in advance. If the electronic watermark data should be embedded for the destination, then the process advances to step S 103 . If not, the process advances to step S 105 .  
         [0040]     In step S 103 , it is determined whether or not the electronic watermark data has been embedded into the image data. If the electronic watermark data has been embedded, then the process advances to step S 104 . If not, the process advances to step S 201  in  FIG. 4 . The operation of step S 201  will be described later. In step S 104 , it is determined whether or not the selected destination corresponds to the electronic watermark data embedded in the image data. If the selected destination corresponds to the electronic watermark data embedded in image data, then the process advances to step S 105 . If not, the process advances to step S 301  in  FIG. 5 . The operation of step S 301  will be described later. In step S 105 , the image data is transmitted to the selected destination.  
         [0041]     In step S 201  in  FIG. 4 , the digital camera warns a user that copyright may not be protected because the electronic watermark data is not embedded in the image data, and the digital camera asks him whether to embed the electronic watermark data. In step S 202 , it is determine whether or not a command to embed the electronic watermark is set. If the command is set, then the process advances to step S 203 . If not, the process advances to step S 204 , and prevents the image data from being transmitted.  
         [0042]     In step S 301  in  FIG. 5 , the digital camera warns the user that the electronic watermark data embedded in the image data does not correspond to the destination, and asks him whether to change the destination or the electronic watermark data. In step S 302 , it is determined whether or not a command to change the destination is set. If the command to change the destination is set, the process turns back to step S 101 . If not, the process advances to step S 303 .  
       The Second Embodiment  
       [0043]     The second embodiment of the digital camera according to the present invention will be explained. The digital camera creates a folder on each destination and a folder on each photographer in advance, and embeds the electronic watermark corresponding to the folder into the image data at the time when the image data is stored into the folder, thereby preventing an improper watermark from being embedded into the image data. And the digital camera also can prevent the user from forgetting to embed the electronic watermark data.  
         [0044]     Referring to  FIG. 6 , a flowchart starts when the image data is formed after a picture is taken. In step S 401 , it is determined whether or not a folder for storing image data has been selected. When a plurality of photographers share one camera, the folders on photographers are used. If the folder has been selected, then the process advances to step S 402 . If not, then the process advances to step S 405 , and the image data without the embedded electronic watermark data is stored in a predetermined folder.  
         [0045]     In step S 402 , the electronic watermark data corresponding to the selected folder is searched through information stored in memory  207 . In step S 403 , the electronic watermark data is embedded into the image data. In step S 404 , the image data is stored in the selected folder.  
       The Third Embodiment  
       [0046]     The third embodiment of the digital camera according to the present invention will be explained. When a destination to which the image data is transmitted is designated, the digital camera embeds the electronic watermark data of the destination into the image data and stores the image data into a folder corresponding to the destination.  
         [0047]     Referring to  FIG. 7 , a flowchart starts when the image data is formed after a picture is taken. In step S 501 , it is determined whether or not a destination has been designated. If the destination has been designated, then the process advances to step S 502 . If not, the process advances to step S 506  and the image data without the embedded electronic watermark data is stored into a predetermined folder. In step S 502 , the electronic watermark data corresponding to the designated destination is searched. In step S 503 , the electronic watermark data is embedded into the image data. In step S 504 , the folder corresponding to the destination is searched. In step S 505 , the found folder stores the image data.  
       The Fourth Embodiment  
       [0048]     The fourth embodiment of the digital camera according to the present invention will be explained. The digital camera creates a folder on each electronic watermark, a folder on each authentication key and a folder on each durability, and stores the image data into the corresponding folder. Since each image data is classified and stored into the corresponding folder, it is possible to avoid transmitting the image data to an improper destination. And it is easy to search for the image data having the same electronic watermark data.  
         [0049]     Referring to  FIG. 8 , a flowchart starts when the image data is formed after a picture is taken. In step S 601 , it is determined whether or not the electronic watermark has been selected and whether or not the authentication key has been selected. If both of the electronic watermark and authentication key have been selected, then the process advances to step S 602 . If not, then the process repeats step S 601 . In step S 602 , the folder corresponding to the electronic watermark is searched. In step S 603 , it is determined whether or not the corresponding folder searched in step S 602  is present. If the corresponding folder is present, then the process advances to step S 604 . If not, then the process advances to step S 605 . In step S 604 , the electronic watermark is embedded into the image data and the image data is stored into the found folder. Instep S 605 , a new folder is created and the electronic watermark is embedded into the image data and the image data is stored into the created folder.  
       The Fifth Embodiment  
       [0050]     The fifth embodiment of the digital camera according to the present invention will be explained.  
         [0051]     Pressing menu button  103  enables display  101  to display a menu screen that presents description of settings for controlling various shooting manners and image processing. In the present embodiment, a setting of an electronic watermark embedding mode and a setting of an image data storing mode are performed as follows.  
         [0052]     The setting of an electronic watermark embedding mode includes a mode for storing only the image data having the embedded electronic watermark data, a mode for storing only the image data having no embedded electronic watermark data, and a mode for storing both of the image data with and without embedded electronic watermark data. These modes are selectable.  
         [0053]     When the setting is not established in the digital camera, the image data without the embedded electronic watermark data is automatically stored in the memory. At the same time the digital camera is set automatically so as that the image data with the embedded electronic watermark data is stored into the memory. After that, the digital camera stores the embedded electronic watermark data. In this case, the image data with the embedded electronic watermark data is stored into the memory at a higher compression rate, i.e., at lower resolution than that of the image data without the embedded electronic watermark data. This storage of the image data allows the image data to occupy smaller space of the memory and enables the digital camera to store much more image data in the memory. However, if the photographer doesn&#39;t desire to compress the image data, he may choose to store the image data at the same compression rate and resolution as those of the image data without the embedded electronic watermark data.  
         [0054]     In addition, durability of the embedded electronic watermark data can be set, as described previously. If the durability is set at high level, the quality of the image data, in which the electronic watermark data is embedded, is deteriorated. Setting the durability is dependent on the purpose of using the image data. That is, the durability intended for protecting copyright is different from the durability intended for preventing tampering. If the durability has not been set for the digital camera, the prevention of tampering should be preceded, with the durability being set at low level. Protecting copyright can be set at a later time because even the durability setting at a later time will bring the effect of protecting copyright. On the contrary, in preventing tampering, if the setting is not performed at the beginning, tampering could be conducted before setting the durability.  
         [0055]     The setting of the image data storing mode includes a raw data storing mode for storing raw image data that is hardly processed from a signal generated by an imaging device, a non-compression storing mode for storing uncompressed image data that is processed from a signal generated by the imaging device in a predetermined manner, and a JPEG compression storing mode for storing JPEG compressed image data that is compressed by JPEG compression after processed in a predetermined manner. These image data storing modes are selectable.  
         [0056]     The JPEG compression mode allows the selection of a compression rate and the selection of resolution (or the image size) of the image data. As described later, the compression rate of the image data with the embedded electronic watermark data is made equivalent to or higher than that of the image data without the embedded electronic watermark data, and the resolution of the image data with the embedded electronic watermark data is made equivalent to or lower than that of the image data without the embedded electronic watermark data. However, in the case where the compression rate and the resolution have been set for the image data with the embedded electronic watermark data, the image data is stored according to the set compression rate and the set resolution.  
         [0057]      FIGS. 9, 10  are flowcharts illustrating the process between taking a picture and storing the image data. CPU  201  implements the process in accordance with the fifth embodiment of the present invention. Referring to  FIG. 9 , a flowcharts starts with the press of shutter-release button  102 .  
         [0058]     In step S 1101 , shooting is controlled according to set imaging conditions. In step S 1102 , it is determined whether or not the digital camera has been set so as to store only the image data with the embedded electronic watermark data. If the digital camera has been set so as to store only the image data with the embedded electronic watermark data, then the process advances to step S 1103 . If not, then the process advances to step S 1107 . In step S 1103 , it is determined whether or not the raw data storing mode has been selected. If the raw data storing mode has been selected, then process advances to step S 1104 . If not, the process advances to step S 1105 .  
         [0059]     In step S 1104 , the image data, in the form of the raw data, is stored into a predetermined folder in the memory. In step S 1105 , the electronic watermark data is embedded into the image data with set durability. If the durability has not been set, the electronic watermark data is embedded with low durability. In step S 1106 , according to the selected image data storing mode, the image data with the embedded electronic watermark data is processed with JPEG compression or non-compression and stored into a predetermined folder in the memory. If the image data is the raw data, high quality and uncompressed image data with the embedded electronic watermark data is stored into a raw data folder in the memory. In this case, a file name for the image data is assigned as follows; if the image data of a subject, which is stored as the raw data, is named “DSC001”, the image data of the same subject, which has the embedded electronic watermark data, is named “DSC001WM”. Thus, names relating to the two image data files are correlated each other, and the two image data files are stored in the same folder.  
         [0060]     In the case where the digital camera has not been set so as to store only the image data with the embedded electronic watermark data in step S 1102 , the process advances to step S 1107  as described previously. In step S 1107 , it is determined whether or not the digital camera has been set so as to store both of the image data with and without the embedded electronic watermark data. If the digital camera has been set so as to store both of the image data with and without the embedded electronic watermark data, then the process advances to step S 1108 . If not, then the process advances to step S 1111 . In step S 1108 , according to the selected image data storing mode, JPEG-compression image data, non-compression image data, or raw-data image data is stored into predetermined folders. In step S 1109 , the electronic watermark data is embedded into the image data with set durability. If the setting of the durability has not been made, the electronic watermark data is embedded with low durability.  
         [0061]     In step S 1110 , according to the setting of the image data storing mode, the JPEG-compression or the non-compression image data with the embedded electronic watermark data is stored into a folder for storing the image data with the embedded electronic watermark data. If the raw data storing mode has been selected, the high quality and uncompressed image data is stored into the memory. Thus, the image data with and without the embedded electronic watermark data are stored in different folders in the memory respectively. It is, therefore, convenient to transmit only the image data with the electronic watermark data to other place outside. Each image data file&#39;s name is correlated each other as well as in step S 1106 .  
         [0062]     In the case where the digital camera has not been set so as to store both of the image data with and without the embedded electronic watermark data in step S 1107 , it is determined whether or not the digital camera has been set so as to store only the image data without the embedded electronic watermark data in step S 1111 . If the digital camera has been set so as to store only the image data without the embedded electronic watermark data, then the process advances to step S 1112 . If not, then the process advances to step S 1113 . In step S 1112 , according to the setting of the image data storing mode, the JPEG-compression, the non-compression, or the raw-data image data without the embedded electronic watermark data is stored into the memory.  
         [0063]     In step S 1111 , if the digital camera has not been set so as to store only the image data without the embedded electronic watermark data, it means that the digital camera is not set at all with respect to embedding the electronic watermark data. This situation, for example, could occur at the time such as when the digital camera is set fully automatic, or at the time when the photographer has no time for setting the digital camera because a shutter chance has come suddenly. However, even the image data taken in such a situation could be tampered or copied, it is, therefore, necessary to perform prevention of tampering and protection of copyright. In step S 1113 , according to the setting of the image data storing mode, the JPEG-compression, the non-compression, or the raw-data image data is stored into the memory.  
         [0064]     In step S 1114 , the electronic watermark data is embedded into the image data with low durability. In step S 1115 , the image data with the embedded electronic watermark data is JPEG-compressed and stored into the memory. In step S 1115 , not likely step S 1110 , the setting is not used, and the image data is JPEG-compressed at a high compression rate, i.e., at low resolution, and is stored into the memory. The image data is also stored in a temporary folder for temporary retention.  
         [0065]     As described above, the image data with the embedded electronic watermark data is JPEG-compressed at a predetermined compression rate because it is a waste of memory space if the photographer stores the image data with the embedded electronic watermark data, which could be unnecessary, into the memory without data compression. However, if it is necessary, the image data may be stored into the memory according to the setting of the image data storing mode as well as in step S 1110 .  
         [0066]     In step S 1116 , the digital camera displays an query whether or not to store the image data with the embedded electronic watermark data. In step S 1117 , it is determined whether or not “YES” is displayed on the LCD display according to an answer to the query. If “YES” is displayed on the LCD display, then the process advances to step S 1118 . If not, then the process advances to step S 1119 .  
         [0067]     In step S 1118 , the image data with the embedded electronic watermark data, which is stored in the temporary file in step S 1115 , is transferred to a predetermined folder in order to be stored. In step S 1119 , it is determined whether or not “NO” is displayed on the LCD display. If “NO” is displayed on the LCD display, then the process advances to step S 1120 . If not, the process advances to step S 1121 .  
         [0068]     In step S 1120 , the image data with the embedded electronic watermark, which is stored in the temporary folder in step S 1115 , is deleted. In step S 1121 , it is determined whether or not a predetermined period has been passed. Also in step S 1121  it is determined whether or not the shutter-release button has been pressed. If the predetermined period has been passed or the shutter-release button has been pressed, then the process advances to step S 1122 . If the predetermined period has been not passed nor the shutter-release button has been pressed, then the process returns to step S 1116 . In step S 1122 , the indication displayed in step S 1116  is deleted. And the present flowchart ends.  
         [0069]     In accordance with the fifth embodiment of the present invention, the digital camera can store both of the image data with and without the embedded electronic watermark data into the memory, so that the digital camera can store the image data without deterioration of image quality and can have the effect on protection of copyright and prevention of tampering.  
         [0070]     When the image data with the embedded electronic watermark data is used for verifying whether the image data has been tampered or not by comparing unused image data with used image data, the quality of the image data with the embedded electronic watermark data is allowed to be lower than the quality of the original image data.  
         [0071]     Furthermore, even if the image data storing mode is set in the raw data storing mode, the digital camera can obtain the image data with the embedded electronic watermark data by using the embedding circuit and the embedding program for the electronic watermark. And, even if the image data is set in one of the image data storing modes other than the raw data storing mode, which do not allow the digital camera to embed the electronic watermark, the digital camera can have the same effect as that in the raw data storing mode.  
         [0072]     Furthermore, when the setting on whether or not the electronic watermark data is embedded in the image data is not made, both of the image data with and without the embedded electronic watermark data are stored into the memory. This storage of both image data enables the photographer to surely obtain the image data with the embedded electronic watermark data, even if an abrupt shutter chance occurs. Therefore, by checking the image data with the embedded electronic watermark data, It is possible to verify whether or not the image data has been tampered. In this case, the electronic watermark is embedded into the image data with low durability, in advance. As to the protection of copyright, even if the electronic watermark is embedded at a later time, it is possible to protect copyright, as described previously.  
         [0073]     Furthermore, by storing each of the image data with and without the embedded electronic watermark data into a different folder, it is easy to individually handle each of the image data with and without the embedded electronic watermark data; for example, it is possible to prevent image data, of which copyright is not protected yet, from being transmitted outside carelessly. In the case of the digital camera having plural card slots, it is possible to store the image data into different memory cards instead of storing the image data into different folders.  
       The Sixth Embodiment  
       [0074]     In the fifth embodiment, when the digital camera stores the image data according to the setting indicated on the menu, problems and contradictions have arisen. However, these problems and contradictions have been resolved by implementing the process shown in  FIGS. 9, 10 . In the sixth embodiment, by limiting setting conditions, the problems and contradictions are resolved referring to  FIG. 11 .  
         [0075]      FIG. 11  is a flowchart illustrating control of settings that is implemented by CPU  201  in accordance with the sixth embodiment of the present invention. Since an external view and a functional block diagram of the digital camera of the sixth embodiment is the same as those of the fifth embodiment, explanation is omitted. The present flowchart starts with the press of menu button  103 .  
         [0076]     In step S 1201 , it is determined whether or not the selection for changing the setting has been made. If the selection for changing the setting has been made, then the process advances to step S 1202 . If not, then the process advances to step S 1208 . In step S 1202 , it is determined whether or not the raw image data storing mode has been selected. If the raw image data storing mode has been selected, then the process advances to step S 1203 . If not, then the process advances to step S 1204 .  
         [0077]     In step S 1203 , it is determined whether or not the setting has been made so as to embed electronic watermark data. If the setting has been made so as to embed electronic watermark data, then the process advances to step S 1206 . If not, then the process advances to step S 1204 . In step S 1204 , it is determined whether or not selection has been made so as to embed electronic watermark data. If the selection has been made so as to embed electronic watermark data, then the process advances to step S 1205 . If not, then the process advances to step S 1207 .  
         [0078]     In step S 1205 , it is determined whether or not the raw data storing mode is selected. If the raw data storing mode is selected, then the process advances to the step S 1206 . If not, then the process advances to step S 1207 . In step S 1206 , since the selection made in step S 1201  is to select the raw data storing mode and to select the electronic watermark data to be embedded into the image data simultaneously, an alert indicating that the raw data storing mode and the embedding of the electronic watermark data cannot be selected simultaneously is displayed on LCD display  101 . And the process turns back to step. S 1201 .  
         [0079]     In step S 1207 , since the selection made in step S 1201  is not to select the raw data storing mode and the embedding of the electronic watermark data simultaneously, the setting is changed according to selected operation. In step S 1208 , it is determined whether or not menu button  103  has been operated. If menu button  103  has been operated, then the present flowchart ends. If not, then the process turns back to step S 1201 .  
         [0080]     In accordance with the sixth embodiment of the present invention, since the embedding circuit cannot simultaneously select the raw data storing mode, in which an electronic watermark cannot be embedded, and the embedding of the electronic watermark, the contradictions and problems in storing settings do not arise.  
         [0081]     Although a few preferred embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes may be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents.