JP2009200577A - Image recording device - Google Patents

Image recording device Download PDF

Info

Publication number
JP2009200577A
JP2009200577A JP2008037243A JP2008037243A JP2009200577A JP 2009200577 A JP2009200577 A JP 2009200577A JP 2008037243 A JP2008037243 A JP 2008037243A JP 2008037243 A JP2008037243 A JP 2008037243A JP 2009200577 A JP2009200577 A JP 2009200577A
Authority
JP
Japan
Prior art keywords
image
image data
compressed
file
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008037243A
Other languages
Japanese (ja)
Inventor
Toshinori Tanioka
俊徳 谷岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Teac Corp
Original Assignee
Teac Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Teac Corp filed Critical Teac Corp
Priority to JP2008037243A priority Critical patent/JP2009200577A/en
Publication of JP2009200577A publication Critical patent/JP2009200577A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To easily transfer an image while preventing an image recorded in a memory card from being let out when an image recording device is stolen or lost. <P>SOLUTION: A digital camera 10 obtains compressed image data in JPEG format through an imaging unit 20, an image processing unit 21, and a JPEG processing unit 25. When encryption is set, a ZIP processing unit 25 encrypts the compressed image databased upon a designated password, and creates a compression (ZIP format) folder in a memory card loaded in a memory card unit 26 to record a photographed image, so security is ensured right after photography. When encryption is not set, the compressed image data in JPEG format are recorded in the memory card as they are. The encrypted compression folder is decrypted on a general PC only with the password. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、デジタルカメラ等の画像記録装置、特に、撮影画像をパスワードによって暗号化してメモリカードに記録する画像記録装置に関する。     The present invention relates to an image recording apparatus such as a digital camera, and more particularly to an image recording apparatus that encrypts a photographed image with a password and records it on a memory card.

デジタルカメラ等の画像記録装置では、通常、撮影した画像をファイルとして、そのデジタルカメラに設けられているメモリスロットに挿入したメモリカードに記録する。そして、このデジタルカメラをPC(パーソナルコンピュータ)にUSBインタフェースを介して接続したり、メモリスロットからメモリカードを抜いて、PCに組み込まれているカードリーダに装着することにより、画像ファイルをPC上で利用するような構成を有している。そのため、デジタルカメラまたは画像が記録されたメモリカードの盗難時または紛失時には、画像データが流出する恐れが有り、その対策が求められている。   In an image recording apparatus such as a digital camera, usually, a captured image is recorded as a file on a memory card inserted in a memory slot provided in the digital camera. Then, by connecting this digital camera to a PC (personal computer) via a USB interface, or removing the memory card from the memory slot and mounting it on a card reader built in the PC, the image file is stored on the PC. It has a configuration that can be used. For this reason, when a digital camera or a memory card on which an image is recorded is stolen or lost, image data may be leaked, and countermeasures are required.

その一例として、デジタルカメラ固有の情報として、不良画素を特定する補正情報を適用して、画像を暗号化してメモリカードに記録し、PCを介して画像を閲覧する場合は、閲覧を許可するPCに所定のアプリケーションを組み込んでおくようにしているものがある(特許文献1参照)。
特開2003−333519号公報
As an example, when the correction information for identifying a defective pixel is applied as information unique to the digital camera, the image is encrypted and recorded on a memory card, and the image is viewed via the PC, the viewing is permitted. There is one in which a predetermined application is incorporated in (see Patent Document 1).
JP 2003-333519 A

しかしながら、先述のデジタルカメラにおいては、閲覧を許可するPCに所定のアプリケーションを組み込むようにしており、より高いセキュリティ性を保つことが可能な一方で、メモリカードを遠隔地に送って画像を閲覧をする場合など、このアプリケーションも同時に提供する必要があり、これは利便性の低下を伴っていると言える。   However, in the above-mentioned digital camera, a predetermined application is incorporated in a PC that permits browsing, and while higher security can be maintained, a memory card is sent to a remote place to browse images. In this case, it is necessary to provide this application at the same time.

また、当然のことながら、通常のデジタルカメラのように、暗号化機能を有さないものであれば、メモリカードの輸送中の盗難または紛失に対処するために、前もって画像ファイルの暗号化作業をPC上で行う必要がある。この場合、撮影直後から暗号化作業の直前まで、デジタルカメラおよびメモリカードの盗難または紛失に十分留意する必要がある。   Of course, if you don't have an encryption function like an ordinary digital camera, you must encrypt the image file in advance to cope with theft or loss of the memory card during transportation. Must be done on a PC. In this case, it is necessary to pay sufficient attention to theft or loss of the digital camera and memory card immediately after shooting until immediately before the encryption work.

請求項1に記載の画像記録装置は、固体撮像素子の出力するアナログ画像信号から得られたデジタル画像データを、画像圧縮を用いて圧縮し、圧縮画像データとして出力する画像圧縮手段と、前記圧縮画像データを暗号化して暗号化画像データとして出力する暗号化手段と、前記暗号化画像データをデータファイルとして着脱可能な記録媒体に記録するファイル記録手段と、前記圧縮画像データを記憶する揮発性メモリから構成されるメモリ部とを備え、前記暗号化手段はパスワードに基づいてZIP圧縮処理を行い、前記ファイル記録手段は前記記録媒体内にZIP形式の圧縮フォルダを生成して暗号化したファイルを記録することを特徴とする。   The image recording apparatus according to claim 1, wherein the digital image data obtained from the analog image signal output from the solid-state imaging device is compressed using image compression, and the compressed image data is output as compressed image data. Encryption means for encrypting image data and outputting it as encrypted image data; File recording means for recording the encrypted image data on a removable recording medium as a data file; and volatile memory for storing the compressed image data The encryption unit performs a ZIP compression process based on a password, and the file recording unit generates a ZIP compressed folder in the recording medium and records the encrypted file. It is characterized by doing.

請求項2記載の画像記録装置は、さらに、前記デジタル画像データを表示する画像表示手段を備えており、前記画像表示手段によって、前記記録媒体内のZIP形式の圧縮フォルダの中のファイルを選択して画像を再生する際、前記メモリ部に前記ファイルに対応する暗号化前の圧縮画像データが存在する場合、前記メモリ部の前記圧縮画像データを使用して、画像を再生することを特徴とする。   The image recording apparatus according to claim 2, further comprising image display means for displaying the digital image data, wherein the image display means selects a file in a ZIP compressed folder in the recording medium. When the image is reproduced, if there is unencrypted compressed image data corresponding to the file in the memory unit, the compressed image data in the memory unit is used to reproduce the image. .

本発明によれば、撮影した画像を、画像記録装置の内部で直接、「圧縮(ZIP形式)フォルダ」の形式にしてメモリカードに記録できるため、画像データの流出の危険性を大幅に低下させることができる。このデータの形式は、現在、PC用のOS(オペレーティングシステム)として、最も普及しているとされるマイクロソフト社のWindows XP(登録商標)およびWindows Vista(登録商標)に標準装備されているファイルの圧縮・解凍ツールと互換性があるため、多くの環境でパスワードだけで画像の暗号を解除でき、利便性を大いに高めることができる。   According to the present invention, since a photographed image can be recorded directly on the memory card in the “compressed (ZIP format) folder” format inside the image recording apparatus, the risk of leakage of image data is greatly reduced. be able to. The format of this data is that of the files that are standard equipment in Microsoft Windows XP (registered trademark) and Windows Vista (registered trademark), which are considered to be the most popular OS (operating system) for PCs. Because it is compatible with compression / decompression tools, it is possible to decrypt the image only with a password in many environments, which can greatly enhance the convenience.

さらに、本画像記録装置で撮影した画像を本体に備えた表示部で再生する場合で、かつその画像がメモリカードに暗号化されて記録されている場合、本画像記録装置内部の揮発性メモリに暗号化前の圧縮画像データが存在していれば、この圧縮画像データを用いて画像を再生するようにしたため、画像が速やかに閲覧できる。この構成は、同時に、電源オフで揮発性メモリ上のデータは失われるため、セキュリティ的にも好適である。   Further, when an image captured by the image recording apparatus is reproduced on a display unit provided in the main body and the image is encrypted and recorded on a memory card, the image is recorded in a volatile memory inside the image recording apparatus. If compressed image data before encryption exists, the image is reproduced using the compressed image data, so that the image can be viewed quickly. This configuration is suitable for security because data on the volatile memory is lost when the power is turned off.

以下、本発明の画像記録装置を添付図面に示す好適実施例に基づいて詳細に説明する。なお、本実施例では代表的に、本発明の画像記録装置をデジタルカメラに適用した場合について説明する。   Hereinafter, an image recording apparatus of the present invention will be described in detail based on preferred embodiments shown in the accompanying drawings. In this embodiment, the case where the image recording apparatus of the present invention is applied to a digital camera will be described as a representative example.

図1は、デジタルカメラの構成例を示すブロック図である。同図に示すように、このデジタルカメラ10は、撮像部20、画像処理部21、メモリ部22、表示部23、JPEG処理部24、ZIP処理部25、メモリカード26、CPU27、操作部28、バス30を有している。   FIG. 1 is a block diagram illustrating a configuration example of a digital camera. As shown in the figure, the digital camera 10 includes an imaging unit 20, an image processing unit 21, a memory unit 22, a display unit 23, a JPEG processing unit 24, a ZIP processing unit 25, a memory card 26, a CPU 27, an operation unit 28, A bus 30 is provided.

撮像部20は、撮像光学系、CCDイメージセンサなどの固体撮像素子および駆動回路、アンプ、A/D変換器等(図示せず)から構成されている。CCDイメージセンサは2次元CCDセンサであり、入力光によって蓄積された電荷を、駆動回路からの駆動信号によって出力する。この出力信号は、さらにアンプによって増幅され、A/D変換器によって、デジタル化されて撮像部から出力されるように構成されている。   The imaging unit 20 includes an imaging optical system, a solid-state imaging device such as a CCD image sensor, a drive circuit, an amplifier, an A / D converter, and the like (not shown). The CCD image sensor is a two-dimensional CCD sensor, and charges accumulated by input light are output by a drive signal from a drive circuit. This output signal is further amplified by an amplifier, digitized by an A / D converter, and output from the imaging unit.

画像処理部21は、撮像部20から転送されるデジタル信号を入力し、ノイズ除去処理、鮮鋭化処理、濃度補正処理、色信号処理等のデジタル画像処理を施して、同期信号と共にデジタル画像データとして出力する。   The image processing unit 21 receives the digital signal transferred from the imaging unit 20 and performs digital image processing such as noise removal processing, sharpening processing, density correction processing, and color signal processing, as digital image data together with the synchronization signal. Output.

メモリ部22は、大容量のSDRAM等の揮発性メモリから構成されており、CPU27のワークメモリであると同時に、画像処理部21が出力したデジタル画像データ等の記憶領域としても使用される。   The memory unit 22 is composed of a volatile memory such as a large-capacity SDRAM, and is used as a work memory for the CPU 27 as well as a storage area for digital image data output from the image processing unit 21.

表示部23は、図示しないLCD(液晶ディスプレイ)を備え、入力されたデジタル画像データ信号に基づいて、撮影画像のプレビュー表示や、記録画像の再生表示を行う。LCDは、パスワード設定の際の文字・数字情報や現在の撮影可能枚数、撮影日時など各種データを単独で、または画像と重ね合わせて表示することもできる。   The display unit 23 includes an LCD (Liquid Crystal Display) (not shown), and performs preview display of a captured image and reproduction display of a recorded image based on the input digital image data signal. The LCD can also display various data such as character / numeric information at the time of password setting, the current number of images that can be captured, and the date and time of image capture, either alone or superimposed on the image.

JPEG処理部24は、先述のデジタル画像データに対し、JPEG(Joint Photographic Experts Group)フォーマットに従って圧縮処理を行い、圧縮画像データを生成する。なお、JPEGとは、静止画像のデジタルデータを圧縮する方式の1つであり、一般的にはDCT(離散コサイン変換)を用いて非可逆圧縮を行うものであり、JPEG処理部24もこれと同様に処理を行う。また、圧縮画像データを伸長して元のデジタル画像データに戻す処理も行う。   The JPEG processing unit 24 performs compression processing on the above-described digital image data according to a JPEG (Joint Photographic Experts Group) format, and generates compressed image data. JPEG is one of the methods for compressing digital data of still images, and generally performs lossy compression using DCT (Discrete Cosine Transform). The same processing is performed. Also, a process of decompressing the compressed image data and returning it to the original digital image data is performed.

ZIP処理部25は、圧縮画像データに対し、指定されたパスワードに従って、ZIP圧縮処理を行う。なお、ZIPとはファイル圧縮形式の1つであり、可逆圧縮を行うものとして知られており、ZIP処理部32は、Windows XPおよびWindows Vistaに標準装備の「圧縮(ZIP形式)フォルダ」で使用されるものと互換性の有るファイルを生成するように構成されている。なお、ZIP圧縮処理にはパスワードは必ずしも必要ではないが、本実施例では、データ量の削減でなく、暗号化を目的として、パスワード付きのZIP圧縮処理を使用する。実際、JPEGフォーマット後の圧縮画像データにZIP圧縮処理を施してもファイルサイズはほとんど小さくならない。ZIP処理部25は、ZIP圧縮されたデータを伸長して元のデータに戻す処理も行う。なお、ZIP圧縮のアルゴリズムの詳細については、例えばhttp://www.pkware.com/documents/casestudies/APPNOTE.TXTに開示されている。   The ZIP processing unit 25 performs ZIP compression processing on the compressed image data according to the specified password. Note that ZIP is one of the file compression formats, and is known to perform lossless compression. The ZIP processing unit 32 is used in the “compression (ZIP format) folder” that is standard in Windows XP and Windows Vista. It is configured to generate files that are compatible with Note that a password is not necessarily required for the ZIP compression process, but in the present embodiment, a ZIP compression process with a password is used for the purpose of encryption rather than reduction of the data amount. In fact, even if the compressed image data after the JPEG format is subjected to the ZIP compression process, the file size is hardly reduced. The ZIP processing unit 25 also performs a process of decompressing the ZIP compressed data and returning it to the original data. For details of the ZIP compression algorithm, see, for example, http: // www. pkware. com / documents / casestudios / APPNOTE. It is disclosed in TXT.

メモリカード部26は、SDカード、コンパクトフラッシュ(登録商標)等の着脱可能なメモリカードをメモリスロット(図示せず)を通して装着し、ファイルの記録を行う。メモリカードは、フラッシュメモリなどの不揮発性メモリから構成されており、PCに組み込まれている、または外付けのカードリーダを介して読み書きが可能である。   The memory card unit 26 mounts a removable memory card such as an SD card or a compact flash (registered trademark) through a memory slot (not shown), and records a file. The memory card is composed of a non-volatile memory such as a flash memory, and can be read and written via a built-in PC or an external card reader.

CPU27は、CPUコアの他に本デジタルカメラ10の動作を制御するためのシステムプログラムおよびデータテーブル等を保持するためのフラッシュメモリ等(図示せず)を内蔵しており、メモリ部22にアクセスする。また、シャッタボタンなどを含む操作部28からの操作信号を入力し、撮像部20、画像処理部21、表示部23、JPEG処理部24、ZIP処理部25、メモリカード部26の各部との入出力および各部間のデータ転送処理の制御をバス30を使用して行う。   In addition to the CPU core, the CPU 27 has a built-in flash memory (not shown) for holding a system program for controlling the operation of the digital camera 10 and a data table, and the like, and accesses the memory unit 22. . In addition, an operation signal from the operation unit 28 including a shutter button and the like is input, and input to each unit of the imaging unit 20, the image processing unit 21, the display unit 23, the JPEG processing unit 24, the ZIP processing unit 25, and the memory card unit 26 is input. Control of output and data transfer processing between each unit is performed using the bus 30.

操作部28は、電源スイッチ、シャッタボタン、メニューダイヤル、矢印キー等(図示せず)を備えており、ユーザが操作したボタン等の情報を入力して、CPU27に転送する。メニューダイヤルは、例えば回転式のスイッチで、撮影を行うための撮影モード、撮影した画像を確認表示するための再生モード、撮影条件やパスワード等を設定するための設定モード等を切り替えるものとする。矢印キーは、再生モード時に表示する画像の選択を行うために使用したり、パスワードの設定を行うために表示部に表示された文字を選択するために使用する。なお、パスワードは、印刷された1次元または2次元のバーコードや手書き文字を撮影してCPU27がその情報を認識することによって、設定または入力するようにしてもよい。   The operation unit 28 includes a power switch, a shutter button, a menu dial, an arrow key, and the like (not shown), inputs information such as buttons operated by the user, and transfers the information to the CPU 27. The menu dial is a rotary switch, for example, and switches between a shooting mode for shooting, a playback mode for confirming and displaying a shot image, a setting mode for setting shooting conditions, a password, and the like. The arrow key is used for selecting an image to be displayed in the reproduction mode, and for selecting a character displayed on the display unit for setting a password. Note that the password may be set or input by photographing a printed one-dimensional or two-dimensional bar code or handwritten character and the CPU 27 recognizing the information.

このように構成されるデジタルカメラ10の動作を図2に示すフローチャートに従って以下に説明する。   The operation of the digital camera 10 configured as described above will be described below with reference to the flowchart shown in FIG.

ユーザは、操作部28の電源スイッチによって、デジタルカメラ10の電源をオンにする(S101)。デジタルカメラ10で撮影を行う前に、まず操作部28を操作して、画像を暗号化して記憶する際のパスワードの設定を行う。具体的には、メニューダイヤルを操作して、設定モードを選択する(S102)。すると、表示部23の表示を確認しながら、操作部28の矢印キーを操作することによって、アルファベットや数字が選択できるようになっており、所定の文字数からなるパスワードを設定する(S103)。なお、表示部23におけるパスワードの表示は、他人の覗き見によるパスワードの漏洩を防ぐため、設定後、短時間で消えるようになっている。   The user turns on the digital camera 10 with the power switch of the operation unit 28 (S101). Before photographing with the digital camera 10, first, the operation unit 28 is operated to set a password for encrypting and storing the image. Specifically, the setting mode is selected by operating the menu dial (S102). Then, while confirming the display on the display unit 23, by operating the arrow keys of the operation unit 28, alphabets and numbers can be selected, and a password consisting of a predetermined number of characters is set (S103). Note that the display of the password on the display unit 23 disappears in a short time after the setting in order to prevent the leakage of the password due to peeping of others.

なお、決定したパスワードはCPU27内部のフラッシュメモリに記録保存されるようになっており、撮影画像のため、使用されることになるが、パスワードが保存されている以上、毎回設定する必要は無い。また、パスワードを設定後、これから撮影する画像について暗号化が必要か否かを設定する(S104)。ここでは、まず暗号化不要を選択したこととする。   The determined password is recorded and saved in a flash memory inside the CPU 27 and is used for a photographed image. However, as long as the password is saved, it is not necessary to set it every time. Also, after setting the password, it is set whether or not encryption is necessary for the image to be taken (S104). Here, first, it is assumed that encryption is unnecessary.

次に、メニューダイヤルを操作して撮影モードを選択する(S105)。撮影モードに入ると、撮像部20で撮影された画像に基づくデジタル信号は、画像処理部21へ転送され、ノイズ除去処理、鮮鋭化処理、濃度補正処理、色信号処理等のデジタル画像処理を施して、同期信号と共にデジタル画像データとして出力され、非圧縮のデジタル画像データとなり、メモリ部22の所定の領域に転送されて格納される。   Next, the shooting mode is selected by operating the menu dial (S105). When the photographing mode is entered, a digital signal based on the image photographed by the imaging unit 20 is transferred to the image processing unit 21 and subjected to digital image processing such as noise removal processing, sharpening processing, density correction processing, and color signal processing. Thus, it is output as digital image data together with the synchronization signal, becomes non-compressed digital image data, and is transferred to a predetermined area of the memory unit 22 and stored.

また、メモリ部22内のこのデジタル画像データは、表示部23に送られることによりLCDに表示される。撮影モード中は、撮像部20から画像処理部21、メモリ部22、表示部23への画像信号の転送が繰り返し行われるため、LCD上に画像がプレビューとしてほぼ動画的に表示される。なお、このプレビュー表示中の画像は、メモリカード上に記録されるものでなく、画像処理部での画像処理は、ユーザが撮影対象を適切に捉えているかどうかを確認する程度で十分であるので、処理速度を優先して簡略化したもの、またLCDの解像度に対応した低解像度のものでも構わない。   The digital image data in the memory unit 22 is sent to the display unit 23 and displayed on the LCD. During the shooting mode, image signals are repeatedly transferred from the image capturing unit 20 to the image processing unit 21, the memory unit 22, and the display unit 23, so that the image is displayed on the LCD as a preview almost in a moving image. Note that the image being displayed in the preview is not recorded on the memory card, and the image processing in the image processing unit is sufficient to confirm whether the user appropriately captures the shooting target. Alternatively, the processing speed may be simplified and a low resolution corresponding to the resolution of the LCD may be used.

ユーザがLCDを確認しながら撮影対象を捉え、シャッターボタンを押すことにより、撮影が実行される(S106)。これによって、撮像部20で撮影された信号は、改めて画像処理部21へ転送され、ノイズ除去、色変換等の処理が行われて、非圧縮のデジタル画像データとなり、さらにメモリ部22の所定の領域に転送されて格納される(S107)。また、ユーザの撮影画像確認のため、LCDにはこの画像が一定時間、継続表示される。   The user captures an image while confirming the LCD and presses the shutter button to execute the image capturing (S106). As a result, the signal captured by the image capturing unit 20 is transferred to the image processing unit 21 again, subjected to processing such as noise removal and color conversion, and becomes non-compressed digital image data. It is transferred to the area and stored (S107). Further, this image is continuously displayed on the LCD for a certain period of time in order to confirm the photographed image of the user.

それから、メモリ部内に格納されている画像データはJPEG処理部24によって、JPEGフォーマットである圧縮画像データに変換され、メモリ部22の別の位置にある格納領域に格納されるものとする(S108)。なお、この格納領域は、所定の大きさを有して、複数のデータが格納可能であり、撮影を繰り返すことにより、最も古いデータが記録されている部分から順次上書きして再利用することとする。ここで、CPU27は、データの格納について、メモリカードに記録されるファイル名と関連付けて、メモリ部のどのアドレスにいかなるサイズでデータが格納されているかを管理している。   Then, the image data stored in the memory unit is converted into compressed image data in the JPEG format by the JPEG processing unit 24 and stored in a storage area at another position in the memory unit 22 (S108). . The storage area has a predetermined size and can store a plurality of data. By repeating the shooting, the oldest data is sequentially overwritten and reused. To do. Here, the CPU 27 manages, in association with the file name recorded on the memory card, the data stored at which address in the memory unit and in what size the data is stored.

なお、図1でJPEG処理部24はCPU27とは別のブロックとして構成されているが、CPU27が自分でJPEG処理を行うようにしてもよい。   In FIG. 1, the JPEG processing unit 24 is configured as a separate block from the CPU 27, but the CPU 27 may perform JPEG processing by itself.

ここで、以前、すなわちS104にて、このデジタルカメラ10が暗号化有りに設定されているかどうかを参照する(S109)。もし、暗号化有りに設定されていないときは、撮影画像は、通常のデジタルカメラと同様に、メモリカード部26のメモリカードにJPEGフォーマットのファイルとして記録が行われる(S111)。   Here, it is referred to whether or not the digital camera 10 has been set to have encryption in S104 (S109). If the encryption is not set, the photographed image is recorded as a JPEG format file on the memory card of the memory card unit 26 as in the case of a normal digital camera (S111).

一方、暗号化有りに設定されているときは、JPEGフォーマットで格納されている画像データに対し、さらにCPU27内部のフラッシュメモリに格納されたパスワードに基づいて、ZIP処理が施され(S110)、メモリカードにはZIP圧縮されたファイルとして格納が行われる(S111)。JPEG処理部24の場合と同様に、ZIP処理部25はCPU27とは別のブロックとして構成されているが、CPU27が自分でZIP圧縮処理を行ってもよい。   On the other hand, when encryption is set, image data stored in the JPEG format is further subjected to ZIP processing based on the password stored in the flash memory inside the CPU 27 (S110), and the memory The card is stored as a ZIP compressed file (S111). As in the case of the JPEG processing unit 24, the ZIP processing unit 25 is configured as a block separate from the CPU 27, but the CPU 27 may perform the ZIP compression processing by itself.

なお、デジタルカメラ10において、設定モードを使用して、暗号化の有無を設定するとしたが、より簡便な動作を行うため、操作部28にシャッタボタンを2個設けて、どちらのボタンを押すかで、暗号化有りまたは無しの記録を切り替えるようにしてもよい。   In the digital camera 10, the setting mode is used to set the presence / absence of encryption. In order to perform a simpler operation, two shutter buttons are provided on the operation unit 28 and which button is pressed. Thus, the recording with or without encryption may be switched.

ここで、メモリカード内部のファイル構造を図3に示す。メモリカードは通常のPCからも認識可能なように汎用的なFATファイルシステムでフォーマットされているものとする。   Here, the file structure inside the memory card is shown in FIG. It is assumed that the memory card is formatted with a general-purpose FAT file system so that it can be recognized from a normal PC.

本デジタルカメラ10において、撮影を開始すると、フォーマット直後のメモリカードでは、ルート(¥)の下に、NOCRYPTおよびCRYPTの2つのフォルダが作成される。もし、これらのフォルダが既に存在しているならば、新たには作成されない。   In the digital camera 10, when shooting is started, two folders of NOCRYPT and CRYPT are created under the root (¥) in the memory card immediately after formatting. If these folders already exist, they will not be created anew.

まず、暗号化を行わないように設定して撮影を行うと、NOCRYPTの下に圧縮されていない普通のフォルダである001FOLDERが作成され、さらに001FOLDERの下にJPEGフォーマットの画像ファイルP0010001.JPGが記録される。そして、撮影を繰り返すと、メモリカードに空き領域が確保されている限り、画像ファイルがこのフォルダにさらに順番にP0010002.JPG,P0010003.JPGとファイル名を変えて記録される。仮に、ファイル名がP0019999.JPGまで到達すると、次にフォルダNOCRYPTの下に002FOLDERが作成され、同様にP0020001.JPG、P0020002.JPG,P0020003.JPGと記録が行われる。   First, when shooting is performed without performing encryption, 001FOLDER, which is an ordinary uncompressed folder, is created under NOCRYPT, and a JPEG-format image file P0010001. JPG is recorded. Then, when shooting is repeated, as long as an empty area is secured in the memory card, image files are further sequentially stored in this folder in P0010002. JPG, P0010003. JPG and file name are changed and recorded. If the file name is P0019999. When JPG is reached, 002FOLDER is created under the folder NOCRYPT, and P0020001. JPG, P0020002. JPG, P0020003. JPG and recording are performed.

ここで、NOCRYPTの下の001FOLDERの下のP0010003.JPGを記録した後で、撮影画像を暗号化して記録するようにデジタルカメラ10の設定を変更したとする。それから撮影を行うと、今度はCRYPTの下に圧縮フォルダ001FOLDER.ZIPが作成され、さらにこの圧縮フォルダ001FOLDER.ZIPの中にファイルP0010004.JPGが記録される。以後、撮影を繰り返すと、001FOLDER.ZIP内に、P0010005.JPG、P0010006.JPG、...と同じ圧縮フォルダ内に格納が行われる。   Here, P0010003. Under 001FOLDER under NOCRYPT. It is assumed that the setting of the digital camera 10 is changed so that the photographed image is encrypted after recording the JPG. Then, when shooting, the compressed folder 001FOLDER. ZIP is created, and this compressed folder 001FOLDER. The file P0010004. JPG is recorded. Thereafter, when photographing is repeated, 001FOLDER. In the ZIP, P0010005. JPG, P0010006. JPG,. . . Is stored in the same compressed folder.

ところで、こうして作成された圧縮フォルダの内部に格納されたファイルを、Windows XPまたはWindows VistaがOSとしてインストールされたPC上で閲覧するには、そのファイルを開こうとしたときに、パスワードの入力を求められるので、これに従って記録時のパスワードを入力するだけでよい。なお、それぞれのファイル(P0010004.JPG、P0010005.JPG、P0010006.JPG、...)が、それぞれ1つの圧縮フォルダに1つずつ含まれるように圧縮フォルダを個別に作成しても、もちろん構わない。   By the way, in order to view a file stored in the compressed folder created in this way on a PC in which Windows XP or Windows Vista is installed as an OS, the password must be entered when trying to open the file. You only need to enter the password for recording accordingly. Of course, it does not matter if the compressed folders are individually created so that each file (P0010004.JPG, P0010005.JPG, P0010006.JPG,...) Is included in one compressed folder. .

なお、暗号化されているファイルを解凍したとき、暗号化されずに記録されたファイルと同一のファイル名とならないように、ここでは両者を合わせて連番でファイル名を割り付けているが、それぞれ個別に連番としてもよい。CRYPTの下の001FOLDERの下のファイルがP0019999.JPGに達すると、次に002FOLDER.ZIPが作成され、001FOLDER.ZIPのフォルダの場合と同様に記録が行われる。   In addition, when decompressing an encrypted file, the file name is assigned with a sequential number here so that it does not have the same file name as the file recorded without encryption, It is good also as a serial number individually. The file under 001FOLDER under CRYPT is P0019999. When JPG is reached, 002FOLDER. ZIP is created and 001FOLDER. Recording is performed in the same manner as in the case of a ZIP folder.

さて、フォーマット後のメモリカードに対し、画像10枚を、暗号化有りとして、第1,2,3,7,8枚目の画像を撮影し、暗号化無しで、第4,5,6,9,10枚目の画像を撮影を行ったものとする。すると、メモリカードの内部は、例えば、図4に示されるようにファイルが格納される。   Now, with respect to the formatted memory card, 10 images are encrypted and the first, second, third, seventh, and eighth images are photographed. Assume that the ninth and tenth images are taken. Then, for example, a file is stored in the memory card as shown in FIG.

ここで、画像の再生の際の動作を図5に示すフローチャートに従って以下に説明する。デジタルカメラのモードを撮影モード(S201)から再生モード(S202)に変更する。すると、まず、直近の撮影画像として、10枚目の画像が表示され、矢印キーを操作することにより(S203)、メモリカード内の撮影した画像を選択的に表示することができる(S204)。   Here, the operation at the time of image reproduction will be described with reference to the flowchart shown in FIG. The mode of the digital camera is changed from the shooting mode (S201) to the playback mode (S202). Then, first, the tenth image is displayed as the latest photographed image, and the photographed image in the memory card can be selectively displayed by operating the arrow key (S203) (S204).

具体的には、メモリカード内のファイルを検索し、選択されているファイルに暗号化が施されているかどうかを判断する(S205)。ファイルがZIP圧縮処理されていない場合は、JPEGフォーマットに基づく圧縮画像データをメモリ部22に転送し(S208)、それから、JPEG処理部24によって、非圧縮形式のデジタル画像データに展開する(S210)。展開されたデジタル画像データは、表示部23によって、LCDに表示される(S211)。   Specifically, the file in the memory card is searched and it is determined whether or not the selected file is encrypted (S205). If the file has not been subjected to the ZIP compression process, the compressed image data based on the JPEG format is transferred to the memory unit 22 (S208), and then developed into the uncompressed digital image data by the JPEG processing unit 24 (S210). . The developed digital image data is displayed on the LCD by the display unit 23 (S211).

一方、S205で、選択されているファイルに暗号化が施されている場合は、まず、メモリ部22に対応するJPEGフォーマットによる圧縮画像データが残っているかどうかを判断する(S206)。メモリ部のSDRAMには、CPU27のワーク領域、非圧縮のデジタル画像データの格納領域、圧縮画像データの格納領域、暗号化画像データの格納領域等が、図6のメモリマップに示されるように設けられている。   On the other hand, if the selected file is encrypted in S205, it is first determined whether or not compressed image data in the JPEG format corresponding to the memory unit 22 remains (S206). In the SDRAM of the memory unit, a work area of the CPU 27, a storage area for uncompressed digital image data, a storage area for compressed image data, a storage area for encrypted image data, and the like are provided as shown in the memory map of FIG. It has been.

現在、10枚目の画像を撮影した時点で、1、2枚目の画像データが、それぞれ9、10枚目の画像データによって上書き消去され、3〜10枚目の画像データが残っているものとする。そこで、もし選択されている画像がこの中に残っているならば、このデータから非圧縮形式のデジタル画像データに展開する。   Currently, when the 10th image is taken, the 1st and 2nd image data are overwritten by the 9th and 10th image data, respectively, and the 3rd to 10th image data remain. And Therefore, if the selected image remains in this, it is expanded from this data into uncompressed digital image data.

もし、選択されているファイルに対応するデータがメモリ部22に残っていないならば、メモリカードからメモリ部22に暗号化されているデータを転送する(S207)。そして、さらに、暗号化解除を行い、JPEGフォーマットの元の圧縮画像データに戻すものとする(S209)。それから、暗号化されていない画像の場合と同様に、JPEG処理部24によって、非圧縮形式のデジタル画像データに展開する(S210)。復元された画像データは、表示部23によって、LCDに表示される(S211)。   If the data corresponding to the selected file does not remain in the memory unit 22, the encrypted data is transferred from the memory card to the memory unit 22 (S207). Further, the descrambling is further performed to restore the original compressed image data in the JPEG format (S209). Then, as in the case of an unencrypted image, the JPEG processing unit 24 develops the digital image data in an uncompressed format (S210). The restored image data is displayed on the LCD by the display unit 23 (S211).

このように、メモリ部22のSDRAMにZIP処理が施されていない圧縮画像データが残っていれば、こちらを参照するようにすると、ZIP処理されたデータの暗号解除処理が不要となるので、スムーズに画像の閲覧が行え好適である。この場合、SDRAM上の画像データは電源オフで消滅するため、セキュリティ的にも好適である。   As described above, if compressed image data that has not been subjected to the ZIP process remains in the SDRAM of the memory unit 22, if the reference is made here, the descrambling process of the data subjected to the ZIP process becomes unnecessary, so that smooth It is suitable for browsing images. In this case, the image data on the SDRAM disappears when the power is turned off, which is preferable from the viewpoint of security.

なお、デジタルカメラでは、非使用時の余分なバッテリーの消耗を防ぐために、通常、最後の操作時から数分程度の比較的短い時間で電源を自動的にオフにする機能を有するのが普通である。そこで、本実施例におけるデジタルカメラの場合、SDRAMについては電源オフ時でも、上記の閲覧操作のため、しばらくは通電を維持するような構成にしてもよい。   Digital cameras usually have a function that automatically turns off the power in a relatively short time of about several minutes after the last operation in order to prevent excessive battery consumption when not in use. is there. Therefore, in the case of the digital camera in the present embodiment, the SDRAM may be configured to maintain energization for a while for the above browsing operation even when the power is turned off.

ところで、本デジタルカメラ10では、暗号化されて記録されている画像について、パスワードの入力を求めずに、表示部23においては表示可能としている。これは、表示部23のLCDは低解像度のものであり、ここからの画像の流出は考慮していないからである。よって、もし、LCDの解像度が高ければ、暗号化した画像については、撮影者のみが判断程度できる程度にモザイクを掛けるなどして保護するようにしてもよい。もちろん、ZIP処理の暗号解除処理の段階で、再生のため、パスワードの入力を必要とするような仕様にすることも当然可能である。   By the way, the digital camera 10 can display the encrypted image on the display unit 23 without requiring the input of a password. This is because the LCD of the display unit 23 has a low resolution, and the outflow of images from here is not taken into consideration. Therefore, if the resolution of the LCD is high, the encrypted image may be protected by applying a mosaic to the extent that only the photographer can judge. Of course, it is of course possible to adopt a specification that requires the input of a password for reproduction at the stage of the descrambling process of the ZIP process.

さらに、図3では、CRYPTフォルダは1つしか無いが、例えばCRYPT0、CRYPT1と複数のフォルダを作成するようにして、それぞれの下に圧縮フォルダを格納するようにしてもよい。この場合、それぞれのフォルダに別々のパスワードを設定できるようにし、1台のデジタルカメラを複数の人間で共有しつつ、それぞれが秘匿すべき画像を保有できるようにできるようにもできる。   Furthermore, although there is only one CRYPT folder in FIG. 3, for example, a plurality of folders such as CRYPT0 and CRYPT1 may be created, and a compressed folder may be stored under each folder. In this case, a separate password can be set for each folder, and a single digital camera can be shared by a plurality of people and each can hold an image to be kept secret.

本発明の活用例として、例えば、デジタルカメラだけでなく、画像の記録を行うことができる他の電子機器にも適用することができる。 As an application example of the present invention, for example, the present invention can be applied not only to a digital camera but also to other electronic devices capable of recording an image.

本実施の形態に係るデジタルカメラの制御ブロック図である。It is a control block diagram of the digital camera according to the present embodiment. 本実施の形態に係るデジタルカメラの撮影に関する処理フローチャートである。It is a process flowchart regarding imaging | photography of the digital camera which concerns on this Embodiment. 本実施の形態に係るデジタルカメラに装着されるメモリカードのフォルダ構造を示す図である。It is a figure which shows the folder structure of the memory card with which the digital camera which concerns on this Embodiment is mounted | worn. 本実施の形態に係るデジタルカメラに装着されるメモリカードのフォルダの一例を示す図である。It is a figure which shows an example of the folder of the memory card with which the digital camera which concerns on this Embodiment is mounted | worn. 本実施の形態に係るデジタルカメラの再生に関する処理フローチャートである。It is a process flowchart regarding the reproduction | regeneration of the digital camera which concerns on this Embodiment. 本実施の形態に係るデジタルカメラのメモリ部のメモリマップを示す図である。It is a figure which shows the memory map of the memory part of the digital camera which concerns on this Embodiment.

符号の説明Explanation of symbols

10 デジタルカメラ、20 撮像部、21 画像処理部、22 メモリ部、23 表示部、24 JPEG処理部、 25 ZIP処理部、26 メモリカード部、27 CPU、 28 操作部、 30 バス 10 digital camera, 20 imaging unit, 21 image processing unit, 22 memory unit, 23 display unit, 24 JPEG processing unit, 25 ZIP processing unit, 26 memory card unit, 27 CPU, 28 operation unit, 30 bus

Claims (2)

固体撮像素子の出力するアナログ画像信号から得られたデジタル画像データを、画像圧縮を用いて圧縮し、圧縮画像データとして出力する画像圧縮手段と、前記圧縮画像データを暗号化して暗号化画像データとして出力する暗号化手段と、前記暗号化画像データをデータファイルとして着脱可能な記録媒体に記録するファイル記録手段と、前記圧縮画像データを記憶する揮発性メモリから構成されるメモリ部とを備え、前記暗号化手段はパスワードに基づいてZIP圧縮処理を行い、前記ファイル記録手段は前記記録媒体内にZIP形式の圧縮フォルダを生成して暗号化したファイルを記録することを特徴とする画像記録装置。   Digital image data obtained from the analog image signal output from the solid-state imaging device is compressed using image compression and output as compressed image data; and the compressed image data is encrypted as encrypted image data An encryption unit for outputting, a file recording unit for recording the encrypted image data on a removable recording medium as a data file, and a memory unit including a volatile memory for storing the compressed image data, An image recording apparatus, wherein the encryption means performs ZIP compression processing based on a password, and the file recording means generates a ZIP format compressed folder in the recording medium and records the encrypted file. 請求項1記載の画像記録装置であって、さらに、前記デジタル画像データを表示する画像表示手段を備えており、前記画像表示手段によって、前記記録媒体内のZIP形式の圧縮フォルダの中のファイルを選択して画像を再生する際、前記メモリ部に前記ファイルに対応する暗号化前の圧縮画像データが存在する場合、前記メモリ部の前記圧縮画像データを使用して、画像を再生することを特徴とする画像記録装置。   2. The image recording apparatus according to claim 1, further comprising image display means for displaying the digital image data, wherein the image display means stores a file in a ZIP format compressed folder in the recording medium. When selecting and reproducing an image, if there is unencrypted compressed image data corresponding to the file in the memory unit, the image is reproduced using the compressed image data in the memory unit. An image recording apparatus.
JP2008037243A 2008-02-19 2008-02-19 Image recording device Pending JP2009200577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008037243A JP2009200577A (en) 2008-02-19 2008-02-19 Image recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008037243A JP2009200577A (en) 2008-02-19 2008-02-19 Image recording device

Publications (1)

Publication Number Publication Date
JP2009200577A true JP2009200577A (en) 2009-09-03

Family

ID=41143657

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008037243A Pending JP2009200577A (en) 2008-02-19 2008-02-19 Image recording device

Country Status (1)

Country Link
JP (1) JP2009200577A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110045255A (en) * 2009-10-26 2011-05-04 삼성전자주식회사 Imaging process apparatus and method with security function
WO2012023603A1 (en) * 2010-08-20 2012-02-23 株式会社日立国際電気 Image monitoring system and camera

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110045255A (en) * 2009-10-26 2011-05-04 삼성전자주식회사 Imaging process apparatus and method with security function
KR101595262B1 (en) * 2009-10-26 2016-02-18 삼성전자주식회사 Imaging process apparatus and method with security function
WO2012023603A1 (en) * 2010-08-20 2012-02-23 株式会社日立国際電気 Image monitoring system and camera

Similar Documents

Publication Publication Date Title
JP4586684B2 (en) Information processing apparatus and method, and program
JP3687675B2 (en) Electronic camera having digital watermark function and image processing program
JP4600762B2 (en) Information processing apparatus and method, and program
KR101595262B1 (en) Imaging process apparatus and method with security function
US8558922B2 (en) Image file management apparatus and image file management method
JP2009200577A (en) Image recording device
JP6417752B2 (en) Network camera system, information processing method, program
KR101180584B1 (en) Apparatus and method for storing image in mobile terminal equiped with digital camera
JP4420450B2 (en) Image recording device
JP2005236496A (en) Image recording display system
JP4332076B2 (en) Image recording apparatus and image reproducing apparatus
JP2008099098A (en) Digital photographing device
JP2009225212A (en) Image pickup device and image storing method
JP2007159001A (en) Data recording and reproducing apparatus
JP2003333519A (en) Imaging apparatus and image data delivery method
JP2008219425A (en) Image processor and image processing method
JP2008177784A (en) Recording and reproducing device and its control method, program and storage medium
JP3964733B2 (en) Imaging apparatus and image data delivery method
JP4815693B2 (en) Electronic camera
JP2004173154A (en) Digital camera
US20080062279A1 (en) Image processing methods and systems
JP2004007100A (en) Image processor
JP5158237B2 (en) Electronic camera
JP3964732B2 (en) Imaging apparatus and image data delivery method
JP2005167548A (en) System and device for recording image data, digital camera, program thereof