JP2005333186A - Digital camera - Google Patents

Digital camera Download PDF

Info

Publication number
JP2005333186A
JP2005333186A JP2004147371A JP2004147371A JP2005333186A JP 2005333186 A JP2005333186 A JP 2005333186A JP 2004147371 A JP2004147371 A JP 2004147371A JP 2004147371 A JP2004147371 A JP 2004147371A JP 2005333186 A JP2005333186 A JP 2005333186A
Authority
JP
Japan
Prior art keywords
image
image data
date
main image
partial
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
JP2004147371A
Other languages
Japanese (ja)
Inventor
Yukio Tamashima
征雄 玉嶋
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2004147371A priority Critical patent/JP2005333186A/en
Publication of JP2005333186A publication Critical patent/JP2005333186A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Image Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital camera capable of realizing suppression of the total amount of images, reproduction of an overwrite image, and easy restoration of an original image. <P>SOLUTION: Main image data of a field to be photographed captured by an image sensor 14 with a camera mode are secured in a main image area 24m of an SDRAM 24. A CPU 30 extracts partial image data belonging to a date area of the main image data, writes character data expressing the date in the date area of the main image data, and prepares reference coordinate data indicating a reference coordinate value of the date area. An image file including the partial image data, the main image data, and the reference coordinate data is prepared in a recording medium 38. At first, the main image data with a character is read out to the main image area 24m and a reproduced image based on the main image data with a character is displayed on an LCD monitor 28 in a reproduction mode. When date deletion operation is executed, the partial image data are synthesized in the date area of the main image data and the date are deleted from the reproduced image. Consequently, it is possible to realize the suppression of the total amount of images, the reproduction of an overwrite image without a special function, and the easy restoration of an original image. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、ディジタルカメラに関し、特にたとえば、撮影画像に日付を埋め込む機能を有する、ディジタルカメラに関する。   The present invention relates to a digital camera, and more particularly to a digital camera having a function of embedding a date in a captured image.

従来のこの種のディジタルカメラの一例が、特許文献1に開示されている。この従来技術によれば、撮影されたオリジナル画像と手書き入力画像とが別々に記録媒体に記録される。これによって、オリジナル画像に手書き入力画像が上書きされた上書き画像、およびオリジナル画像のいずれか一方を選択的に再生することができる。
特許第3177474号公報[H04N 5/91,5/225,5/765,5/781]
An example of a conventional digital camera of this type is disclosed in Patent Document 1. According to this prior art, the photographed original image and the handwritten input image are separately recorded on the recording medium. As a result, either the overwrite image obtained by overwriting the handwritten input image on the original image or the original image can be selectively reproduced.
Japanese Patent No. 3177474 [H04N 5/91, 5/225, 5/765, 5/781]

しかし、従来技術では、オリジナル画像および手書き入力画像が別々に記録媒体に記録されるため、上書き機能を有しないディジタルカメラでは上書き画像を再生できない。一方、オリジナル画像とは別に上書き画像を作成するようにすると、上書き機能を有しないディジタルカメラでも上書き画像を再生できるが、画像の総量が増大するという問題が生じる。さらに、上書き画像のみを記録するようにすると、画像の総量を抑えることができるが、オリジナル画像を復元することができない。     However, in the prior art, since the original image and the handwritten input image are separately recorded on the recording medium, the overwritten image cannot be reproduced by a digital camera having no overwriting function. On the other hand, if an overwrite image is created separately from the original image, the overwrite image can be reproduced even by a digital camera having no overwrite function, but there is a problem that the total amount of images increases. Furthermore, if only the overwritten image is recorded, the total amount of images can be suppressed, but the original image cannot be restored.

それゆえに、この発明の主たる目的は、画像の総量を抑えることができ、上書き画像を再生でき、そしてオリジナル画像を容易に復元することができる、ディジタルカメラを提供することである。     Therefore, a main object of the present invention is to provide a digital camera capable of suppressing the total amount of images, reproducing an overwritten image, and easily restoring the original image.

請求項1の発明に従うディジタルカメラは、被写界を捉える撮像手段、撮像手段によって捉えられた被写界像の所定部分から部分画像を抽出する抽出手段、任意の画像が被写界像の所定部分に上書きされた上書き画像を抽出手段による抽出処理の後に作成する上書き手段、所定部分の位置を特定できる位置特定情報を作成する作成手段、および任意の画像を消去する消去操作を受け付けたとき位置特定情報に基づいて上書き画像の所定部分に部分画像を合成する合成手段を備える。   According to a first aspect of the present invention, there is provided a digital camera including an imaging unit that captures a scene, an extraction unit that extracts a partial image from a predetermined part of the scene image captured by the imaging unit, and a predetermined image of the scene image. Overwriting means for creating an overwritten image overwritten on the part after extraction processing by the extracting means, creating means for creating position specifying information for specifying the position of the predetermined part, and position when an erasing operation for erasing an arbitrary image is received Synthesis means for synthesizing a partial image with a predetermined portion of the overwritten image based on the specific information is provided.

抽出手段は、撮像手段によって捉えられた被写界像の所定部分から部分画像を抽出する。上書き手段は、任意の画像が被写界像の所定部分に上書きされた上書き画像を、抽出手段による抽出処理の後に作成する。作成手段は、所定部分の位置を特定できる位置特定情報を作成する。合成手段は、任意の画像を消去する消去操作を受け付けたとき、位置特定情報に基づいて上書き画像の所定部分に部分画像を合成する。   The extraction unit extracts a partial image from a predetermined portion of the object scene image captured by the imaging unit. The overwriting means creates an overwritten image in which an arbitrary image is overwritten on a predetermined portion of the object scene image after the extraction processing by the extracting means. The creating means creates position specifying information that can specify the position of the predetermined portion. When the synthesizer receives an erasing operation for erasing an arbitrary image, the synthesizer synthesizes the partial image with the predetermined portion of the overwritten image based on the position specifying information.

部分画像を抽出することで、画像の総量を抑制できる。また、上書き画像を作成することで、特別な機能を準備することなく上書き画像を再生できる。さらに、部分画像を上書き画像に合成することで、オリジナル画像を復元できる。   By extracting partial images, the total amount of images can be suppressed. Further, by creating an overwrite image, the overwrite image can be reproduced without preparing a special function. Furthermore, the original image can be restored by combining the partial image with the overwritten image.

請求項2の発明に従うディジタルカメラは、請求項1に従属し、部分画像および上書き画像のうち少なくとも上書き画像を圧縮する圧縮手段をさらに備える。圧縮処理によって画像の総量をさらに抑制できる。   A digital camera according to a second aspect of the present invention is dependent on the first aspect, and further comprises compression means for compressing at least the overwrite image of the partial image and the overwrite image. The total amount of images can be further suppressed by the compression process.

請求項3の発明に従うディジタルカメラは、請求項2に従属し、圧縮手段は所定垂直サイズを有する画素ブロックを1単位として圧縮処理を行い、所定部分の垂直サイズは所定垂直サイズの整数倍である。これによって、上書き画像と部分画像との境界線が目立つのを防止できる。   A digital camera according to a third aspect of the invention is dependent on the second aspect, wherein the compression means performs compression processing with a pixel block having a predetermined vertical size as a unit, and the vertical size of the predetermined portion is an integral multiple of the predetermined vertical size. . Thereby, it is possible to prevent the boundary line between the overwritten image and the partial image from being noticeable.

請求項4の発明に従うディジタルカメラは、請求項2または3に従属し、圧縮処理はDCT処理を含む。   A digital camera according to the invention of claim 4 is dependent on claim 2 or 3, and the compression processing includes DCT processing.

請求項5の発明に従うディジタルカメラは、請求項1ないし4のいずれかに従属し、任意の画像は被写界像が捉えられた日時を示す日付情報を含む。   A digital camera according to a fifth aspect of the invention is dependent on any one of the first to fourth aspects, and the arbitrary image includes date information indicating a date and time when the object scene image is captured.

請求項6の発明に従うディジタルカメラは、請求項1ないし5のいずれかに従属し、部分画像,上書き画像および位置特定情報を含む画像ファイルを記録媒体に記録する記録手段、記録媒体に記録された所望の画像ファイルを再生する再生手段、および所望の画像ファイルが部分画像を含むとき消去操作を受け付ける受付手段をさらに備える。   A digital camera according to the invention of claim 6 is dependent on any one of claims 1 to 5 and is a recording means for recording an image file including a partial image, an overwritten image and position specifying information on a recording medium, and recorded on the recording medium Reproducing means for reproducing a desired image file and receiving means for accepting an erasing operation when the desired image file includes a partial image are further provided.

請求項7の発明に従う画像処理プログラムは、ディジタルカメラのプロセサによって実行される画像処理プログラムであって、撮像手段によって捉えられた被写界像の所定部分から部分画像を抽出する抽出ステップ、任意の画像が被写界像の所定部分に上書きされた上書き画像を抽出ステップによる抽出処理の後に作成する上書きステップ、所定部分の位置を特定できる位置特定情報を作成する作成ステップ、および任意の画像を消去する消去操作を受け付けたとき位置特定情報に基づいて上書き画像の所定部分に部分画像を合成する合成ステップを備える。   An image processing program according to a seventh aspect of the invention is an image processing program executed by a processor of a digital camera, wherein an extraction step of extracting a partial image from a predetermined portion of a scene image captured by an imaging means, an arbitrary step An overwrite step for creating an overwritten image in which an image is overwritten on a predetermined part of the object scene image after the extraction process in the extraction step, a creation step for creating position specifying information for specifying the position of the predetermined part, and erasing an arbitrary image And a synthesizing step of synthesizing the partial image with the predetermined portion of the overwritten image based on the position specifying information when the erasing operation is received.

この発明によれば、部分画像を抽出することで、画像の総量を抑制できる。また、上書き画像を作成することで、特別な機能を準備することなく上書き画像を再生できる。さらに、部分画像を上書き画像に合成することで、オリジナル画像を復元できる。   According to this invention, the total amount of images can be suppressed by extracting partial images. Further, by creating an overwrite image, the overwrite image can be reproduced without preparing a special function. Furthermore, the original image can be restored by combining the partial image with the overwritten image.

この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

図1を参照して、この実施例のディジタルカメラ10は、光学レンズ12を含む。被写界の光学像は、この光学レンズ12を介してイメージセンサ14の撮像面に照射される。撮像面では、光電変換によって、被写界像に対応する電荷つまり生画像信号が生成される。   Referring to FIG. 1, a digital camera 10 of this embodiment includes an optical lens 12. The optical image of the object scene is irradiated onto the imaging surface of the image sensor 14 through the optical lens 12. On the imaging surface, a charge corresponding to the object scene image, that is, a raw image signal is generated by photoelectric conversion.

キー入力装置42によってカメラモードが選択されると、対応する状態信号がシステムコントローラ40からCPU30に与えられる。CPU30は、スルー画像処理を実行するべく、TG18にプリ露光および間引き読み出しの繰り返しを命令し、かつ信号処理回 路20およびビデオエンコーダ26に処理命令を与える。   When the camera mode is selected by the key input device 42, a corresponding status signal is given from the system controller 40 to the CPU 30. The CPU 30 instructs the TG 18 to repeat the pre-exposure and thinning-out readout, and gives processing instructions to the signal processing circuit 20 and the video encoder 26 in order to execute through image processing.

TG18は、1/30秒に1回の割合で発生する垂直同期信号に応答して、イメージセンサ14にプリ露光を施し、かつこのプリ露光によって得られた生画像信号を間引き態様でイメージセンサ14から読み出す。読み出された各フレームの生画像信号は、CDS/AGC/AD回路16によって、ノイズ除去,ゲイン調整およびA/D変換の一連の処理を施される。これによって、ディジタル信号である生画像データが、1/30秒に1フレームの割合でCDS/AGC/AD回路16から出力される。   The TG 18 performs pre-exposure to the image sensor 14 in response to a vertical synchronization signal generated at a rate of once every 1/30 seconds, and the raw image signal obtained by this pre-exposure is thinned out. Read from. The read raw image signal of each frame is subjected to a series of processes of noise removal, gain adjustment, and A / D conversion by the CDS / AGC / AD circuit 16. As a result, the raw image data as a digital signal is output from the CDS / AGC / AD circuit 16 at a rate of one frame per 1/30 second.

信号処理回路20は、かかる生画像データに色分離,白バランス調整,YUV変換などの信号処理を施し、YUV形式の画像データを出力する。出力された画像データは、メモリ制御回路22を通してSDRAM24に書き込まれる。   The signal processing circuit 20 performs signal processing such as color separation, white balance adjustment, and YUV conversion on the raw image data, and outputs YUV format image data. The output image data is written into the SDRAM 24 through the memory control circuit 22.

ビデオエンコーダ26は、こうして1/30秒毎にSDRAM24に格納される画像データをメモリ制御回路22を通してSDRAM24から読み出し、読み出された画像データをNTSC方式のコンポジットビデオ信号にエンコードする。エンコードされたコンポジットビデオ信号はLCDモニタ28に与えられ、これによって被写界のリアルタイム動画像つまりスルー画像が画面に表示される。   The video encoder 26 reads the image data stored in the SDRAM 24 every 1/30 seconds from the SDRAM 24 through the memory control circuit 22 and encodes the read image data into an NTSC composite video signal. The encoded composite video signal is supplied to the LCD monitor 28, whereby a real-time moving image of the object scene, that is, a through image is displayed on the screen.

キー入力装置42によって記録操作が行われると、対応する状態信号がシステムコントローラ40からCPU30に与えられる。CPU30は、1回の本露光および1回の全画素読み出しをTG18に命令する。TG18は、イメージセンサ18に本露光を施し、かつこの本露光によって得られた生画像信号を全画素読み出し態様でイメージセンサ18から読み出す。読み出された高解像度の生画像信号は、上述と同じ要領でYUV形式の画像データに変換される。変換された高解像度の画像データつまり主画像データは、メモリ制御回路22を通してSDRAM24の主画像エリア24mに書き込まれる。   When a recording operation is performed by the key input device 42, a corresponding status signal is given from the system controller 40 to the CPU 30. The CPU 30 instructs the TG 18 to perform one main exposure and one full pixel readout. The TG 18 performs a main exposure on the image sensor 18 and reads a raw image signal obtained by the main exposure from the image sensor 18 in an all-pixel reading mode. The read high-resolution raw image signal is converted into YUV format image data in the same manner as described above. The converted high-resolution image data, that is, main image data is written into the main image area 24 m of the SDRAM 24 through the memory control circuit 22.

主画像エリア24mには、たとえば図2に示す主画像データMIMが確保される。主画像データMIMの下端には、日付エリアDTが割り当てられる。日付エリアDTの下側エッジは、主画像データMIMの下側エッジと一致する。日付エリアDTのサイズおよび位置は、主画像データMIMの解像度に依存する。主画像データMIMの解像度がVGA(=垂直640画素×水平480画素)であれば、日付エリアDTのサイズは垂直48画素×水平480画素とされる。   For example, main image data MIM shown in FIG. 2 is secured in the main image area 24m. A date area DT is assigned to the lower end of the main image data MIM. The lower edge of the date area DT coincides with the lower edge of the main image data MIM. The size and position of the date area DT depends on the resolution of the main image data MIM. If the resolution of the main image data MIM is VGA (= vertical 640 pixels × horizontal 480 pixels), the size of the date area DT is 48 pixels × horizontal 480 pixels.

なお、日付エリアDTの垂直サイズは、後述する圧縮処理がJPEG方式に従って垂直8画素×水平8画素の画素ブロック単位で行われることを考慮したものである。つまり、日付エリアDTの垂直サイズは、画素ブロックの垂直サイズの整数倍とされる。   Note that the vertical size of the date area DT takes into account that the compression processing described later is performed in units of pixel blocks of 8 vertical pixels × 8 horizontal pixels according to the JPEG method. That is, the vertical size of the date area DT is an integral multiple of the vertical size of the pixel block.

本露光に基づく主画像データが主画像エリア24mに格納された後、CPU30は、メモリ制御回路22を通してSDRAM24にアクセスし、上述の日付エリアに対応する部分画像データを主画像エリア24mから部分画像エリア24pに複写する。複写が完了すると、この部分画像データに向けられた圧縮命令をJPEGコーデック32に与える。JPEGコーデック32は、メモリ制御回路22を通してSDRAM24の部分画像エリア24pから部分画像データを読み出し、読み出された部分画像データにJPEG圧縮(DCT,量子化,エントロピー符号化)を施し、そして圧縮部分画像データをメモリ制御回路22を通して同じ部分画像エリア24pに書き込む。   After the main image data based on the main exposure is stored in the main image area 24m, the CPU 30 accesses the SDRAM 24 through the memory control circuit 22 to transfer the partial image data corresponding to the date area from the main image area 24m to the partial image area. Copy to 24p. When copying is completed, a compression command directed to the partial image data is given to the JPEG codec 32. The JPEG codec 32 reads partial image data from the partial image area 24p of the SDRAM 24 through the memory control circuit 22, performs JPEG compression (DCT, quantization, entropy coding) on the read partial image data, and then compresses the compressed partial image. Data is written to the same partial image area 24p through the memory control circuit 22.

図2の例では、主画像データMIMの下端に存在する垂直48画素×水平480画素の部分画像データPIMが、部分画像エリア24pに複写される。複写された部分画像データPIMはJPEG圧縮を施され、この結果、圧縮部分画像データCPIMが部分画像エリア24pに確保される。   In the example of FIG. 2, the partial image data PIM of vertical 48 pixels × horizontal 480 pixels existing at the lower end of the main image data MIM is copied to the partial image area 24p. The copied partial image data PIM is subjected to JPEG compression. As a result, the compressed partial image data CPIM is secured in the partial image area 24p.

CPU30は続いて、時計回路44から今日の日付を取得し、取得した日付を示すキャラクタデータを主画像データの日付エリアに書き込む。書き込みが完了すると、CPU30は、この主画像データに向けられた圧縮命令をJPEGコーデック32に与える。JPEGコーデック32は上述と同様の処理を実行し、この結果、圧縮主画像データが主画像エリア24mに確保される。   Subsequently, the CPU 30 acquires today's date from the clock circuit 44 and writes character data indicating the acquired date in the date area of the main image data. When the writing is completed, the CPU 30 gives a compression instruction directed to the main image data to the JPEG codec 32. The JPEG codec 32 executes the same processing as described above, and as a result, the compressed main image data is secured in the main image area 24m.

図2の例では、日付を示すキャラクタデータ“2002.10.17”が、主画像データMIMの日付エリアDTに書き込まれる。日付を有する主画像データMIMはJPEG圧縮を施され、この結果、圧縮主画像データCMIMが主画像エリア24mに確保される。   In the example of FIG. 2, the character data “2002.10.17” indicating the date is written in the date area DT of the main image data MIM. The main image data MIM having the date is subjected to JPEG compression, and as a result, the compressed main image data CMIM is secured in the main image area 24m.

圧縮部分画像データおよび圧縮主画像データの作成が完了すると、CPU30は、メモリ制御回路22を通して部分画像エリア24pから圧縮部分画像データを読み出し、日付エリアの基準座標(左上座標)を示す基準座標データを自ら作成し、そして読み出された圧縮部分画像データと作成された基準座標データとを含むタグデータを記録媒体38に記録する。   When the creation of the compressed partial image data and the compressed main image data is completed, the CPU 30 reads the compressed partial image data from the partial image area 24p through the memory control circuit 22, and obtains the reference coordinate data indicating the reference coordinates (upper left coordinates) of the date area. Tag data that is created by itself and includes the read compressed partial image data and the created reference coordinate data is recorded on the recording medium 38.

CPU30はさらに、メモリ制御回路22を通して主画像エリア24mから圧縮主画像データを読み出し、読み出された圧縮主画像データを記録媒体38に記録する。圧縮主画像データはタグデータに続く位置に記録され、これによって画像ファイルが完成する。   The CPU 30 further reads out the compressed main image data from the main image area 24 m through the memory control circuit 22 and records the read compressed main image data on the recording medium 38. The compressed main image data is recorded at a position following the tag data, thereby completing the image file.

図2の例では、タグデータTAGに続いて圧縮主画像データCMIMが記録され、これによって画像ファイルFLが記録媒体38内に得られる。   In the example of FIG. 2, the compressed main image data CMIM is recorded following the tag data TAG, whereby an image file FL is obtained in the recording medium 38.

なお、記録媒体38は着脱自在であり、図示しないスロットに装着されたときにI/F36を通してアクセス可能となる。   The recording medium 38 is detachable, and can be accessed through the I / F 36 when it is mounted in a slot (not shown).

キー入力装置42によって再生モードが選択されると、対応する状態信号がシステムコントローラ40からCPU30に与えられる。CPU30は、ビデオエンコーダ26に処理命令を与え、記録媒体38に記録された所望の画像ファイルから圧縮主画像データを読み出す。圧縮主画像データは、I/F36およびメモリ制御回路22を通してSDRAM24の主画像エリア24mに書き込まれる。   When the reproduction mode is selected by the key input device 42, a corresponding status signal is given from the system controller 40 to the CPU 30. The CPU 30 gives a processing instruction to the video encoder 26 and reads the compressed main image data from a desired image file recorded on the recording medium 38. The compressed main image data is written into the main image area 24 m of the SDRAM 24 through the I / F 36 and the memory control circuit 22.

CPU30は次に、この圧縮主画像データに向けられた伸長命令をJPEGコーデック32に与える。JPEGコーデック32は、メモリ制御回路22を通して主画像エリア24mから圧縮主画像データを読み出し、読み出された圧縮主画像データにJPEG伸長(エントロピー復号化,逆量子化,IDCT)を施し、そして伸長主画像データをメモリ制御回路22を通して主画像エリア24mに書き込む。   Next, the CPU 30 gives a decompression instruction directed to the compressed main image data to the JPEG codec 32. The JPEG codec 32 reads compressed main image data from the main image area 24m through the memory control circuit 22, performs JPEG decompression (entropy decoding, inverse quantization, IDCT) on the read compressed main image data, and decompresses the main image data. The image data is written into the main image area 24m through the memory control circuit 22.

ビデオエンコーダ26は、主画像エリア24mに格納された伸長主画像データをメモリ制御回路22を通して読み出し、読み出された伸長主画像データに縮小ズームおよびエンコード処理を施し、これによって得られた低解像度のコンポジットビデオ信号をLCDモニタ28に与える。この結果、再生画像が画面に表示される。   The video encoder 26 reads the decompressed main image data stored in the main image area 24m through the memory control circuit 22, performs a reduction zoom and encoding process on the read decompressed main image data, and obtains a low-resolution image obtained thereby. A composite video signal is supplied to the LCD monitor 28. As a result, the reproduced image is displayed on the screen.

図3に示す画像ファイルFLを再生する場合、まず圧縮主画像データCMIMがSDRAM24の主画像エリア24mに転送される。転送された圧縮主画像データはJPEG伸長を施され、伸長された主画像データMIMは主画像エリア24mを経てビデオエンコーダ26に与えられる。この結果、日付が右下に書き込まれた主画像がLCDモニタ28から出力される。   When the image file FL shown in FIG. 3 is reproduced, first, the compressed main image data CMIM is transferred to the main image area 24 m of the SDRAM 24. The transferred compressed main image data is subjected to JPEG expansion, and the expanded main image data MIM is given to the video encoder 26 via the main image area 24m. As a result, the main image with the date written in the lower right is output from the LCD monitor 28.

この状態でキー入力装置42によって日付消去操作が行われると、対応する状態信号がシステムコントローラ40からCPU30に与えられる。CPU30は、圧縮部分画像データおよび基準座標データを所望の画像ファイルから読み出す。圧縮部分画像データは、I/F36およびメモリ制御回路22を通してSDRAM24の部分画像エリア24pに書き込まれる。   When a date deletion operation is performed by the key input device 42 in this state, a corresponding status signal is given from the system controller 40 to the CPU 30. The CPU 30 reads the compressed partial image data and the reference coordinate data from a desired image file. The compressed partial image data is written into the partial image area 24 p of the SDRAM 24 through the I / F 36 and the memory control circuit 22.

CPU30は続いて、この圧縮部分画像データに向けられた伸長命令をJPEGコーデック32に命令する。伸長命令には、読み出された基準座標データが示す座標値が含まれる。JPEGコーデック32は、メモリ制御回路22を通して部分画像エリア24pから圧縮部分画像データを読み出し、読み出された圧縮部分画像データにJPEG伸長を施し、そして伸長された部分画像データをメモリ制御回路22を通して主画像エリア24mに書き込む。   Subsequently, the CPU 30 instructs the JPEG codec 32 to perform a decompression instruction directed to the compressed partial image data. The decompression command includes a coordinate value indicated by the read reference coordinate data. The JPEG codec 32 reads the compressed partial image data from the partial image area 24p through the memory control circuit 22, performs JPEG decompression on the read compressed partial image data, and passes the decompressed partial image data through the memory control circuit 22. Write to image area 24m.

伸長された部分画像データの書き込み開始アドレスは、伸長命令に含まれる座標値に基づいて決定される。部分画像データは、主画像データの日付エリアに上書きされる。ビデオエンコーダ28は上述と同様の処理を繰り返し実行し、この結果、LCDモニタ28に表示された主画像から日付が消去される。   The write start address of the decompressed partial image data is determined based on the coordinate value included in the decompression command. The partial image data is overwritten on the date area of the main image data. The video encoder 28 repeatedly executes the same processing as described above. As a result, the date is deleted from the main image displayed on the LCD monitor 28.

なお、ここで記録操作が行われると、日付が消去された主画像データがJPEG圧縮を施され、これによって得られた圧縮主画像データを含む画像ファイルが記録媒体38に記録される。   When a recording operation is performed here, the main image data from which the date has been deleted is subjected to JPEG compression, and an image file including the compressed main image data obtained thereby is recorded on the recording medium 38.

CPU30は、カメラモードが選択されたとき図4に示すフロー図に従う処理を実行し、再生モードが選択されたとき図5〜図6に示すフロー図に従う処理を実行する。なお、これらのフロー図に対応する制御プログラムは、フラッシュメモリ34に記憶される。   The CPU 30 executes processing according to the flowchart shown in FIG. 4 when the camera mode is selected, and executes processing according to the flowcharts shown in FIGS. 5 to 6 when the playback mode is selected. The control program corresponding to these flowcharts is stored in the flash memory 34.

まず図4を参照して、ステップS1ではスルー画像処理を実行する。この結果、スルー画像がLCDモニタ28に表示される。記録操作が行われると、ステップS3でYESと判断し、ステップS5で本露光処理を実行する。具体的には、1回の本露光および1回の全画素読み出しをTG18に命令する。これによって、高解像度の生画像信号がイメージセンサ14から出力され、対応する主画像データがSDRAM24の主画像エリア24mに書き込まれる。   First, referring to FIG. 4, through image processing is executed in step S1. As a result, a through image is displayed on the LCD monitor 28. When the recording operation is performed, YES is determined in step S3, and the main exposure process is executed in step S5. Specifically, the TG 18 is instructed to perform one main exposure and one full pixel readout. As a result, a high-resolution raw image signal is output from the image sensor 14 and the corresponding main image data is written in the main image area 24 m of the SDRAM 24.

ただし、本露光処理が実行されてから主画像データが主画像エリア24mに書き込まれるまでに、2フレーム期間を要する。このため、ステップS7で2フレーム期間にわたって待機する。   However, two frame periods are required from the execution of the main exposure process until the main image data is written in the main image area 24m. For this reason, it waits for 2 frame periods in step S7.

2フレーム期間が経過すると、ステップS7からステップS9に進み、主画像データの日付エリアに属する部分画像データを部分画像エリア24pに複写する。ステップS11では、複写された部分画像データに向けられた圧縮命令をJPEGコーデック32に与える。部分画像データはJPEGコーデック32によって圧縮され、これによって得られた圧縮部分画像データが部分画像エリア24mに書き込まれる。   When two frame periods have elapsed, the process proceeds from step S7 to step S9, and the partial image data belonging to the date area of the main image data is copied to the partial image area 24p. In step S11, a compression instruction directed to the copied partial image data is given to the JPEG codec 32. The partial image data is compressed by the JPEG codec 32, and the compressed partial image data obtained thereby is written in the partial image area 24m.

ステップS13では、時計回路44から今日の日付を検出し、検出された日付を表すキャラクタデータを主画像エリア24mに書き込む。キャラクタデータは、主画像データの日付エリアに上書きされる。上書きが完了すると、ステップS15で主画像データの圧縮をJPEGコーデック32に命令する。日付が書き込まれた主画像データはJPEGコーデック32によって圧縮され、圧縮主画像データは主画像エリア24mに書き込まれる。   In step S13, today's date is detected from the clock circuit 44, and character data representing the detected date is written in the main image area 24m. The character data is overwritten in the date area of the main image data. When the overwriting is completed, the JPEG codec 32 is commanded to compress the main image data in step S15. The main image data in which the date is written is compressed by the JPEG codec 32, and the compressed main image data is written in the main image area 24m.

ステップS17では、部分画像エリア24pから圧縮部分画像データを読み出し、基準座標データを自ら作成し、そして読み出された圧縮部分画像データと作成された基準座標データとを含むタグデータを記録媒体38に記録する。ステップS19では、主画像エリア24mから圧縮主画像データを読み出し、読み出された圧縮主画像データをステップS17で記録されたタグデータに続く位置に記録する。これによって、画像ファイルが完成する。ステップS19の処理が完了すると、ステップS1に戻る。   In step S17, the compressed partial image data is read from the partial image area 24p, the reference coordinate data is created by itself, and tag data including the read compressed partial image data and the created reference coordinate data is stored in the recording medium 38. Record. In step S19, the compressed main image data is read from the main image area 24m, and the read compressed main image data is recorded at a position subsequent to the tag data recorded in step S17. Thereby, the image file is completed. When the process of step S19 is completed, the process returns to step S1.

図5を参照して、ステップS21ではビデオエンコーダ26を起動し、ステップS23ではファイル番号Nを初期値に設定し、そしてステップS25ではN番目の画像ファイルから圧縮主画像データを読み出す。圧縮主画像データは、メモリ制御回路22を通して主画像エリア24mに書き込まれる。ステップS27では、かかる圧縮主画像データに向けられた伸長命令をJPEGコーデック32に与える。圧縮主画像データはJPEGコーデック32によって伸長され、伸長された主画像データは主画像エリア24mに書き込まれる。主画像エリア24mに格納された主画像データはビデオエンコーダ26によって読み出され、この結果、再生画像がLCDモニタ28に表示される。   Referring to FIG. 5, in step S21, the video encoder 26 is activated, in step S23, the file number N is set to an initial value, and in step S25, compressed main image data is read from the Nth image file. The compressed main image data is written into the main image area 24m through the memory control circuit 22. In step S27, the decompression command directed to the compressed main image data is given to the JPEG codec 32. The compressed main image data is expanded by the JPEG codec 32, and the expanded main image data is written in the main image area 24m. The main image data stored in the main image area 24m is read by the video encoder 26, and as a result, the reproduced image is displayed on the LCD monitor 28.

ステップS29では、N番目の画像ファイルのタグデータが部分画像データを含んでいるか否かを判別する。ここでNOであれば、画像更新操作の有無をステップS31で判別する。キー入力装置42によって画像更新操作が行われると、ステップS33でファイル番号Nを更新し、ステップS25に戻る。この結果、LCDモニタ28に表示される再生画像が更新される。   In step S29, it is determined whether or not the tag data of the Nth image file includes partial image data. If “NO” here, the presence / absence of an image update operation is determined in a step S31. When an image update operation is performed by the key input device 42, the file number N is updated in step S33, and the process returns to step S25. As a result, the reproduced image displayed on the LCD monitor 28 is updated.

ステップS29でYESと判断されると、日付消去操作の有無をステップS35で判断し、画像更新操作の有無をステップS37で判断する。ステップS37でYESであれば、ステップS39でファイル番号Nを更新してからステップS25に戻る。   If YES is determined in the step S29, the presence / absence of a date erasing operation is determined in a step S35, and the presence / absence of an image update operation is determined in a step S37. If “YES” in the step S37, the file number N is updated in a step S39, and then the process returns to the step S25.

ステップS35でYESであれば、ステップS41に進み、圧縮部分画像データおよび基準座標データをN番目の画像ファイルから読み出す。圧縮部分画像データは、SDRAM24の部分画像エリア24pに書き込まれる。ステップS43では、基準座標データが示す座標値を含む伸長命令をJPEGコーデック32に与える。   If “YES” in the step S35, the process proceeds to a step S41, and the compressed partial image data and the reference coordinate data are read from the Nth image file. The compressed partial image data is written in the partial image area 24p of the SDRAM 24. In step S43, a decompression command including the coordinate value indicated by the reference coordinate data is given to the JPEG codec 32.

圧縮部分画像データは、JPEGコーデック32によって伸長される。伸長された部分画像データは、伸長命令に含まれる座標値に従って、主画像エリア24mに格納された主画像データの日付エリアに合成される。合成された主画像データは、ビデオエンコーダ26によって読み出される。この結果、LCDモニタ28に表示された再生画像から日付が消去される。   The compressed partial image data is decompressed by the JPEG codec 32. The expanded partial image data is combined with the date area of the main image data stored in the main image area 24m according to the coordinate value included in the expansion command. The synthesized main image data is read out by the video encoder 26. As a result, the date is deleted from the reproduced image displayed on the LCD monitor 28.

ステップS45では記録操作の有無を判断し、ステップS47では画像更新操作の有無を判断する。ステップS47でYESと判断されると、ステップS49でファイル番号Nを更新してからステップS25に戻る。   In step S45, the presence / absence of a recording operation is determined. In step S47, the presence / absence of an image update operation is determined. If YES is determined in the step S47, the file number N is updated in a step S49, and then the process returns to the step S25.

ステップS45でYESと判断されると、ステップS51〜S55で上述のステップS15〜S19と同様の処理を実行する。これによって、部分画像データを有しない画像ファイルが記録媒体38内に作成される。ステップS55の処理が完了すると、ステップS25に戻る。   If YES is determined in the step S45, the same processes as the above-described steps S15 to S19 are executed in steps S51 to S55. As a result, an image file having no partial image data is created in the recording medium 38. When the process of step S55 is completed, the process returns to step S25.

以上の説明から分かるように、カメラモードでイメージセンサ14によって捉えられた被写界の主画像データは、SDRAM24の主画像エリア24mに確保される。CPU30は、この主画像データの日付エリアに属する部分画像データを抽出し(S9, S11)、日付を表すキャラクタデータを主画像データの日付エリアに書き込み(S13)、そして日付エリアの基準座標値を示す基準座標データを作成する(S17)。記録媒体38には、部分画像データ,キャラクタ付き主画像データおよび基準座標データを含む画像ファイルが作成される。   As can be seen from the above description, the main image data of the object scene captured by the image sensor 14 in the camera mode is secured in the main image area 24 m of the SDRAM 24. The CPU 30 extracts partial image data belonging to the date area of the main image data (S9, S11), writes character data representing the date in the date area of the main image data (S13), and sets the reference coordinate value of the date area. The reference coordinate data shown is created (S17). On the recording medium 38, an image file including partial image data, character-added main image data, and reference coordinate data is created.

再生モードでは、まずキャラクタ付き主画像データがSDRAM24の主画像エリア24mに読み出され、このキャラクタ付き主画像データに基づく再生画像がLCDモニタ28に表示される(S25, S27)。ここで日付消去操作が行われると、部分画像データが主画像データの日付エリアに合成される(S41, S43)。この結果、LCDモニタ28に表示された再生画像から日付が消去される。   In the reproduction mode, character-added main image data is first read into the main image area 24m of the SDRAM 24, and a reproduction image based on the character-added main image data is displayed on the LCD monitor 28 (S25, S27). When the date erasing operation is performed here, the partial image data is combined with the date area of the main image data (S41, S43). As a result, the date is deleted from the reproduced image displayed on the LCD monitor 28.

部分画像を抽出することで、画像の総量を抑制できる。また、上書き画像を作成することで、特別な機能を準備することなく上書き画像を再生できる。さらに、部分画像を上書き画像に合成することで、オリジナル画像を復元できる。   By extracting partial images, the total amount of images can be suppressed. Further, by creating an overwrite image, the overwrite image can be reproduced without preparing a special function. Furthermore, the original image can be restored by combining the partial image with the overwritten image.

なお、この実施例では、部分画像データを主画像エリア24mから部分画像エリア24pに一旦複写し、その後に部分画像データを部分画像エリア24pからJPEGコーデック32に与えるようにしている。しかし、複写処理を省略し、部分画像データを主画像エリア24mから直接JPEGコーデック32に与えるようにしてもよい。   In this embodiment, the partial image data is temporarily copied from the main image area 24m to the partial image area 24p, and then the partial image data is given to the JPEG codec 32 from the partial image area 24p. However, the copying process may be omitted, and the partial image data may be directly supplied to the JPEG codec 32 from the main image area 24m.

また、この実施例では、被写界の全体像に対応する画像データは主画像データのみであるが、これに加えてサムネイル画像データを作成するようにしてもよい。この場合、サムネイル画像データについても、主画像データと同様の日付書き込み処理や日付消去処理が実行される。   In this embodiment, the image data corresponding to the entire image of the object scene is only the main image data. However, in addition to this, thumbnail image data may be created. In this case, the date writing process and the date erasing process similar to the main image data are executed for the thumbnail image data.

さらに、この実施例では、日付エリアの位置を特定するために基準座標データを作成するようにしている。しかし、日付エリアは主画像データの解像度に応じて一義的に決定される。したがって、基準座標データに代えて、主画像データの解像度を示す解像度データを作成し、解像度データに基づいて日付エリアの位置を特定するようにしてもよい。   Further, in this embodiment, reference coordinate data is created in order to specify the position of the date area. However, the date area is uniquely determined according to the resolution of the main image data. Therefore, instead of the reference coordinate data, resolution data indicating the resolution of the main image data may be created, and the position of the date area may be specified based on the resolution data.

この発明の一実施例を示すブロック図である。It is a block diagram which shows one Example of this invention. カメラモードにおける図1実施例の動作の一部を示す図解図である。It is an illustration figure which shows a part of operation | movement of FIG. 1 Example in camera mode. 再生モードにおける図1実施例の動作の一部を示す図解図である。It is an illustration figure which shows a part of operation | movement of FIG. 1 Example in reproduction | regeneration mode. カメラモードにおける図1実施例の動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of FIG. 1 Example in camera mode. 再生モードにおける図1実施例の動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of FIG. 1 Example in reproduction | regeneration mode. 再生モードにおける図1実施例の動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of FIG. 1 Example in reproduction | regeneration mode.

符号の説明Explanation of symbols

10 … ディジタルカメラ
14 … イメージセンサ
24 … SDRAM
28 … LCDモニタ
30 … CPU
32 … JPEGコーデック
34 … フラッシュメモリ
38 … 記録媒体
DESCRIPTION OF SYMBOLS 10 ... Digital camera 14 ... Image sensor 24 ... SDRAM
28 ... LCD monitor 30 ... CPU
32 ... JPEG codec 34 ... Flash memory 38 ... Recording medium

Claims (7)

被写界を捉える撮像手段、
前記撮像手段によって捉えられた被写界像の所定部分から部分画像を抽出する抽出手段、
任意の画像が前記被写界像の前記所定部分に上書きされた上書き画像を前記抽出手段による抽出処理の後に作成する上書き手段、
前記所定部分の位置を特定できる位置特定情報を作成する作成手段、および
前記任意の画像を消去する消去操作を受け付けたとき前記位置特定情報に基づいて前記上書き画像の前記所定部分に前記部分画像を合成する合成手段を備える、ディジタルカメラ。
Imaging means for capturing the object scene,
Extraction means for extracting a partial image from a predetermined portion of the object scene image captured by the imaging means;
Overwriting means for creating an overwritten image in which an arbitrary image is overwritten on the predetermined portion of the object scene image after extraction processing by the extracting means;
Creating means for creating position specifying information capable of specifying the position of the predetermined portion; and when receiving an erasing operation for deleting the arbitrary image, the partial image is added to the predetermined portion of the overwritten image based on the position specifying information. A digital camera provided with combining means for combining.
前記部分画像および前記上書き画像のうち少なくとも前記上書き画像を圧縮する圧縮手段をさらに備える、請求項1記載のディジタルカメラ。   The digital camera according to claim 1, further comprising compression means for compressing at least the overwrite image of the partial image and the overwrite image. 前記圧縮手段は所定垂直サイズを有する画素ブロックを1単位として圧縮処理を行い、
前記所定部分の垂直サイズは前記所定垂直サイズの整数倍である、請求項2記載のディジタルカメラ。
The compression means performs compression processing with a pixel block having a predetermined vertical size as one unit,
The digital camera according to claim 2, wherein a vertical size of the predetermined portion is an integral multiple of the predetermined vertical size.
前記圧縮処理はDCT処理を含む、請求項2または3記載のディジタルカメラ。   The digital camera according to claim 2, wherein the compression processing includes DCT processing. 前記任意の画像は前記被写界像が捉えられた日時を示す日付情報を含む、請求項1ないし4のいずれかに記載のディジタルカメラ。   The digital camera according to claim 1, wherein the arbitrary image includes date information indicating a date and time when the object scene image is captured. 前記部分画像,前記上書き画像および前記位置特定情報を含む画像ファイルを記録媒体に記録する記録手段、
前記記録媒体に記録された所望の画像ファイルを再生する再生手段、および
前記所望の画像ファイルが前記部分画像を含むとき前記消去操作を受け付ける受付手段をさらに備える、請求項1ないし5のいずれかに記載のディジタルカメラ。
A recording means for recording an image file including the partial image, the overwrite image, and the position specifying information on a recording medium;
6. The reproducing apparatus according to claim 1, further comprising: a reproducing unit that reproduces a desired image file recorded on the recording medium; and a receiving unit that receives the erasing operation when the desired image file includes the partial image. The digital camera described.
ディジタルカメラのプロセサによって実行される画像処理プログラムであって、
撮像手段によって捉えられた被写界像の所定部分から部分画像を抽出する抽出ステップ、
任意の画像が前記被写界像の前記所定部分に上書きされた上書き画像を前記抽出ステップによる抽出処理の後に作成する上書きステップ、
前記所定部分の位置を特定できる位置特定情報を作成する作成ステップ、および
前記任意の画像を消去する消去操作を受け付けたとき前記位置特定情報に基づいて前記上書き画像の前記所定部分に前記部分画像を合成する合成ステップを備える、画像処理プログラム。
An image processing program executed by a digital camera processor,
An extraction step of extracting a partial image from a predetermined portion of the object scene image captured by the imaging means;
An overwriting step of creating an overwritten image in which an arbitrary image is overwritten on the predetermined portion of the object scene image after the extraction processing by the extraction step;
A creation step for creating position specifying information capable of specifying the position of the predetermined portion; and when an erasing operation for deleting the arbitrary image is received, the partial image is added to the predetermined portion of the overwritten image based on the position specifying information. An image processing program comprising a combining step for combining.
JP2004147371A 2004-05-18 2004-05-18 Digital camera Pending JP2005333186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004147371A JP2005333186A (en) 2004-05-18 2004-05-18 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004147371A JP2005333186A (en) 2004-05-18 2004-05-18 Digital camera

Publications (1)

Publication Number Publication Date
JP2005333186A true JP2005333186A (en) 2005-12-02

Family

ID=35487569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004147371A Pending JP2005333186A (en) 2004-05-18 2004-05-18 Digital camera

Country Status (1)

Country Link
JP (1) JP2005333186A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008227725A (en) * 2007-03-09 2008-09-25 Sony Corp Image processor, image processing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008227725A (en) * 2007-03-09 2008-09-25 Sony Corp Image processor, image processing method, and program

Similar Documents

Publication Publication Date Title
JP4270230B2 (en) Imaging apparatus and method, image processing apparatus and method, and program
JP4881210B2 (en) Imaging apparatus, image processing apparatus, and control method thereof
JP2005252754A (en) Apparatus and method for creating and reproducing image file
JP2001111959A (en) Monitor system
JP5783737B2 (en) Image pickup apparatus and moving image recording apparatus control method
JP4958758B2 (en) Recording apparatus, reproducing apparatus, recording method, reproducing method, and program
JP2008125059A (en) Device for recording/playing back moving image
KR20060051064A (en) Recording apparatus and method, reproducing apparatus and method, and program
JP2009147549A (en) Moving image recording apparatus, moving image reproducing apparatus and program
US9565360B2 (en) Image data recording apparatus capable of recording still and moving images simultaneously
JP2009147743A (en) Recording apparatus, reproduction apparatus, recording method, reproduction method, and program
JP5818599B2 (en) Movie recording device
JP5118465B2 (en) Recording apparatus, reproducing apparatus, recording method, reproducing method, and program
JP5769434B2 (en) Movie recording device, information processing device
JP2005333186A (en) Digital camera
JP2006101075A (en) Image compression apparatus
KR101480407B1 (en) Digital image processing apparatus, method for controlling the same and medium of recording the method
JP2008090611A (en) Image processor, image processing method and program
US8391621B2 (en) Image processing device and image reproducing device
JP4809451B2 (en) Image file generating apparatus and method, and image file reproducing apparatus and method
JPH10276397A (en) Digital still camera
JP2007013470A (en) Image processing apparatus and image processing method
JP4348486B2 (en) Image recording / reproducing method and image recording / reproducing apparatus
JP2732941B2 (en) Image signal processing device
JP2006093909A (en) Video camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090526

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091104