JP3995547B2 - Image processing device - Google Patents
Image processing device Download PDFInfo
- Publication number
- JP3995547B2 JP3995547B2 JP2002208656A JP2002208656A JP3995547B2 JP 3995547 B2 JP3995547 B2 JP 3995547B2 JP 2002208656 A JP2002208656 A JP 2002208656A JP 2002208656 A JP2002208656 A JP 2002208656A JP 3995547 B2 JP3995547 B2 JP 3995547B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- character
- cpu
- overwriting
- character input
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Editing Of Facsimile Originals (AREA)
- Studio Devices (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Image Processing (AREA)
- Television Signal Processing For Recording (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、画像処理装置に関し、特にたとえばディジタルカメラに適用され、画像信号を記録媒体に記録する手段を備える、画像処理装置に関する。
【0002】
【従来技術】
ディジタルカメラにおいて、撮影した画像に任意の文字を入力する機能を備えたものがある。この機能を実現する方法として、たとえば画像データ上に文字データを直接上書きする方法があるが、この方法では、一度上書きされた文字データを後で削除したり或いは変更したりすることができない。そこで、従来、別の方法として、画面に表示された画像上にOSD(On Screen Display)技術によって文字を重ね合わせて表示する方法がある。この方法によれば、画像データおよび文字データの各々を別個に取り扱うことができるので、当該文字データを後で任意に編集することができる。
【0003】
【発明が解決しようとする課題】
ところで、最近のディジタルカメラの多くは、撮影した画像をパーソナルコンピュータに転送する機能をも備えている。ここで、上述のOSD技術を利用した従来技術によれば、ディジタルカメラ側で入力された文字をパーソナルコンピュータ側で再現するには、ディジタルカメラ側で使用されているのと同じフォントデータがパーソナルコンピュータ側においても用意されている必要がある。換言すれば、ディジタルカメラ側で文字の入力に使用されたとの同じフォントデータがパーソナルコンピュータ側においても用意されていなければ、パーソナルコンピュータ側で当該文字を再現することができない、という問題がある。
【0004】
それゆえに、この発明の主たる目的は、画像に入力された文字を編集することができ、しかも特定のフォントデータが用意されていない環境下でも当該文字を再現することができる、画像処理装置を提供することである。
【0005】
【課題を解決するための手段】
この発明に従う画像処理装置は、画像ファイルの第1既定位置に格納された第1画像を再生操作に応答して再生する再生手段、再生手段の再生処理に関連して文字入力操作を受け付ける受付手段、文字入力操作に応答して入力された文字を表す第2画像を再生手段によって再生された第1画像上の指定位置に部分的に存在する部分第1画像に上書きして部分合成画像を作成する上書き手段、上書き手段の上書き処理が完了する毎に指定位置を変更する変更手段、および上書き手段によって作成された1または2以上の部分合成画像を文字入力操作の後の埋め込み操作に応答して画像ファイルの第2既定位置に埋め込む埋め込み手段を備える。
【0006】
【作用】
再生手段は、画像ファイルの第1既定位置に格納された第1画像を再生操作に応答して再生する。文字入力操作は、再生手段の再生処理に関連して受付手段によって受け付けられる。上書き手段は、文字入力操作に応答して入力された文字を表す第2画像を再生手段によって再生された第1画像上の指定位置に部分的に存在する部分第1画像に上書きして部分合成画像を作成する。指定位置は、上書き手段の上書き処理が完了する毎に、変更手段によって変更される。埋め込み手段は、上書き手段によって作成された1または2以上の部分合成画像を、文字入力操作の後の埋め込み操作に応答して画像ファイルの第2既定位置に埋め込む。
【0007】
好ましくは、第1画像は所定方式で圧縮された状態で画像ファイルに格納され、上書き手段によって作成される部分合成画像は所定方式で圧縮された画像である。
【0011】
【発明の効果】
この発明によれば、第1画像と、第1画像の一部に第2画像が上書きされた部分合成画像とが、画像ファイルに個別に収められるので、当該第2画像を含む部分合成画像を第1画像とは別個に編集することができる。しかも、特定のフォントデータが用意されていない環境下でも当該第2画像によって表される文字を再現することができる。
【0012】
この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。
【0013】
【実施例】
図1を参照して、この実施例のディジタルカメラ10は、フォーカスレンズ12を介して被写体の光学像が入射されるCCD(Charge Coupled Device)型のイメージセンサ14を有している。
【0014】
メインスイッチ16によって被写体を撮影するための撮影モードが選択されると、CPU18は、TG(Timing Generator)20に対してプリ露光および間引き読み出しの繰り返しを命令する。TG20は、この命令に対応するタイミング信号をイメージセンサ14に供給し、イメージセンサ14は、供給されたタイミング信号に従って、被写体の光学像を露光するとともに、当該露光によって蓄積された電荷の一部を次の1フレーム期間に出力する。つまり、撮影モードが選択された当初は、低解像度の生画像信号が1フレーム期間毎にイメージセンサ14から出力される。
【0015】
イメージセンサ14から出力された各フレームの生画像信号は、CDS(Correlated Double Sampling)/AGC(Automatic Gain Control)回路22に入力され、ここで相関二重サンプリング処理およびゲイン調整処理を施された後、A/D変換回路24に入力される。A/D変換回路24は、入力された生画像信号をディジタル信号である生画像データに変換し、変換後の生画像データを信号処理回路26に入力する。
【0016】
信号処理回路26は、入力された生画像データに色分離,白バランス調整,ガンマ補正,YUV変換などの一連の処理を施す。この信号処理回路26による処理後の画像データ(YUVデータ)は、メモリ制御回路28によって、一旦、メインメモリとしてのSDRAM(Synchronous Dynamic RAM)30の画像データ記憶領域30aに記憶された後、バッファメモリ32に転送される。
【0017】
バッファメモリ32に転送された画像データは、混合回路34に入力され、ここで、後述するOSDメモリ36から入力されるOSDデータと混合される。ただし、この時点では、OSDメモリ36からOSDデータが入力されないので、混合回路34からは、バッファメモリ32から入力される画像データがそのまま出力される。混合回路34から出力された画像データは、ビデオエンコーダ38に入力され、ここでNTSC方式の複合画像信号に変換される。そして、変換後の複合画像信号は、液晶モニタ40に入力され、これによって液晶モニタ40に被写体のリアルタイム動画像、いわゆるスルー画像が表示される。
【0018】
ここで、シャッタボタン42が押下されると、CPU18は、記録動作に入る。すなわち、CPU18は、TG20に対して1フレーム分の本露光および全画素読み出しを命令する。TG20は、CPU18からの命令に対応するタイミング信号をイメージセンサ14に供給する。これによって、イメージセンサ16による本露光が行われ、この本露光によって蓄積された全電荷、つまり1フレーム分の高解像度生画像信号がイメージセンサ14から出力される。イメージセンサ14から出力された生画像信号は、CDS/AGC回路22による処理を経て、A/D変換回路24に入力され、ここで生画像データに変換される。そして、この生画像データは、信号処理回路26に入力され、ここで上述した一連の処理を施された後、メモリ制御回路28によって、SDRAM30内の画像データ記憶領域30aに記憶される。
【0019】
メモリ制御回路28は、CPU18による制御に従って、画像データ記憶領域30aに記憶された高解像度の画像データを読み出し、読み出した画像データを圧縮伸長回路44に入力する。圧縮伸長回路44には、CPU18から圧縮命令が与えられており、圧縮伸長回路44は、この圧縮命令に応答して、入力された画像データにJPEG(Joint Photographic Expert Group)方式に従う圧縮処理を施す。この圧縮処理によって生成されたJPEG圧縮画像ファイルは、メモリ制御回路28によって、一旦、SDRAM30内の圧縮画像ファイル記憶領域30bに記憶された後、メモリインタフェース回路46を介してメモリカード48に入力され、記録される。
【0020】
このようにしてメモリカード48に記録された画像(JPEG圧縮画像ファイル)は、再生モードによって再生することができる。すなわち、メインスイッチ16によって再生モードが選択されると、CPU18は、メモリ制御回路28に対してJPEG圧縮画像ファイルの読み出しを命令する。メモリ制御回路28は、この命令に応答して、メモリインタフェース回路46を介してメモリカード48からJPEG圧縮画像ファイルを読み出し、読み出したJPEG圧縮画像ファイルを、一旦、SDRAM30内の圧縮画像ファイル記憶領域30bに一時記憶する。
【0021】
そして、メモリ制御回路28は、圧縮画像ファイル記憶領域30bに記憶されたJPEG圧縮画像ファイルの記憶を、圧縮伸長回路44に入力する。圧縮伸長回路44には、CPU18から伸長命令が与えられており、圧縮伸長回路44は、この伸長命令に応答して、入力されたJPEG圧縮画像ファイルを伸長し、元の画像データを再現する。再現された画像データは、メモリ制御回路28によって、一旦、SDRAM30の画像データ記憶領域30aに記憶された後、バッファメモリ32に転送される。
【0022】
バッファメモリ32に転送された画像データは、混合回路34に入力される。この時点でも、混合回路34にはOSDメモリ36からOSDデータが入力されていない状態にあるので、混合回路34からは、バッファメモリ32から入力された画像データがそのまま出力される。混合回路34から出力された画像データは、ビデオエンコーダ36に入力され、ここで複合画像信号に変換される。そして、変換後の複合画像信号は、液晶モニタ40に入力され、これによって、液晶モニタ40に高解像度な再生画像が写し出される。
【0023】
なお、再生モードにおいては、希望の再生画像を1枚ずつ表示させることもできるし、複数枚の再生画像をマルチ表示させることもできる。このようにいずれの態様でいずれの再生画像を表示させるかは、後述するモードキー50,セットキー52および十字キー54の操作によって任意に選択できるが、これについての詳しい説明は省略する。
【0024】
図2を参照して、モードキー50およびセットキー52は、上述のメインスイッチ16とともに、ディジタルカメラ10の背面の右側上方の位置に横並びの状態で配置されている。そして、これらモードキー50,セットキー52およびメインスイッチ16の下方に、上下左右の4つの接点を有する十字キー54が配置されている。なお、シャッタスイッチ42は、ディジタルカメラ10の上面のメインスイッチ16に近い位置に設けられている。そして、液晶モニタ40は、ディジタルカメラ10の背面の左寄りの位置に設けられている。
【0025】
ところで、この実施例のディジタルカメラ10は、撮影した画像に任意の文字(テキスト)を入力するという文字入力機能を備えている。この文字入力機能によって入力可能な文字は、周知のASCII(American Standard Code for Information Interchange)コードに従う文字であり、かかる文字を表現するための文字データがEEPROM(Electrically Erasable ROM)56に記憶されている。なお、この文字入力機能によって文字を入力するには、当該文字の入力を希望する画像が再生されていることが前提となる。
【0026】
すなわち、今、メインスイッチ16によって再生モードが選択されており、文字の入力を希望する画像が再生されているとする。この状態で、モードキー50,セットキー52および十字キー54の操作によって文字入力モードが選択されると、液晶モニタ40に、図3(a)に示すようなカーソル設定画面がOSD(オーバレイ)表示される。具体的には、CPU18が、当該カーソル設定画面を表示させるためのOSDデータを生成し、このOSDデータをOSDメモリ36に入力する。OSDメモリ36に入力されたOSDデータは、混合回路34に入力され、ここでバッファメモリ32から当該混合回路34に入力される画像データと混合された後、ビデオエンコーダ38に入力される。ビデオエンコーダ36は、入力されたデータを複合画像信号に変換し、変換した複合画像信号を液晶モニタ40に入力する。これによって、液晶モニタ40に、画像データに従う再生画像、言わば被写体の本画像と、OSDデータに従うカーソル設定画面とが、重なって表示される。
【0027】
図3(a)に示すように、カーソル設定画面には、矩形のカーソル60が表示される。このカーソル60は、これから文字を入力しようとする場所を指示するための指標であり、十字キー54の操作に応じて上下左右の各方向に移動する。具体的には、CPU18が、十字キー54の操作に応じてカーソル60が移動するようなOSDデータを生成する。
【0028】
このカーソル設定画面において、カーソル60が或る位置に置かれた状態でセットキー52が押下されると、液晶モニタ40の画面表示が、図3(b)に示すような文字入力画面に遷移する。すなわち、カーソル60の他に、ASCIIコードに従う複数の文字(符号を含む)62,62,・・・、およびこれらの文字62,62,・・・のいずれか1つを囲む矩形のポインタ64が、OSD表示される。なお、各文字62,62,・・・は、上述したEEPROM56に記憶されている文字データに基づいて表示される。
【0029】
この文字入力画面におけるポインタ64は、一覧表示された複数の文字62,62,・・・の中から、これから本画像上に入力しようとする文字を選択するための指標であり、十字キー54の操作に応じて上下左右の各方向に移動する。ここで、ポインタ64によって“H”という文字62が選択され(囲まれ)、この状態で、セットキー52が押下されたとする。すると、液晶モニタ40の画面表示は、図3(c)に示すような状態に遷移する。
【0030】
すなわち、図3(b)においてセットキー52が押下される前にカーソル60が存在していた場所に、“H”という文字66が表示されるとともに、この文字66の幅寸法分だけカーソル60が右側に移動する。ここで、“H”という文字66は、OSD表示されるのではなく、本画像上に上書きされる。具体的には、CPU18が、SDRAM30内の画像データ記憶領域30aに展開された画像データに、文字66に対応する文字データを上書きする。この文字データが上書きされた画像データは、メモリ制御回路28によって読み出され、バッファメモリ32に転送される。これによって、当該文字66が上書きされた本画像が、液晶モニタ40に表示される。
【0031】
なお、文字66は、上述のEEPROM56に記憶されている文字データに基づいて、図4(a)に示すように、横32画素×縦32画素の計1024個の画素で表現される。この文字66自体の色は、白色とされており(図では便宜上黒色で表している)、当該文字66自体を除く背景部分68の色は、透明色とされる。したがって、文字66が上書きされる前の本画像上に、たとえば図4(b)に示すような縞模様70がある場合は、図4(a)に示すように、当該縞模様70のうち文字66自体と重なる部分(画素)は当該文字66自体によって塗りつぶされるが、文字66自体と重ならない部分は塗りつぶされずに表に現れる。
【0032】
さらに、CPU18は、図3(c)の状態のとき、圧縮伸長回路44に命令して、本画像(画像データ)のうち文字66が上書きされた横32画素×縦32画素の部分をJPEG方式に従って圧縮させる。そして、この圧縮処理によって生成された言わば圧縮文字ファイルを、自身が内蔵するキャッシュメモリ18aに一時記憶する。なお、後述するが、この圧縮文字ファイルには、“m”という組合せ番号を表す情報,本画像上における文字66の位置を表す座標情報、文字66に対応するASCIIコード,および圧縮されたデータの本体である圧縮データが含まれる。
【0033】
上述の“H”という文字66が上書きされたのと同様の手順で、図3(d)に示すように、“E”,“L”,“L”,“O”および“!”という5つの文字66,66,・・・がこの順番で続けて上書きされたとする。そして、これらの文字66,66,・・・に対応する5つの圧縮文字ファイルが、CPU18のキャッシュメモリ18aに記憶されたとする。この状態で、セットキー52が押下されると、液晶モニタ40の画面表示が、図3(e)に示すような入力確認画面に遷移する。すなわち、文字66,66,・・・が上書きされた本画像上に、“OK”という文字列72と、“CANCEL”という文字列74とが、上下二段にOSD表示されるとともに、これらの文字列72および74の一方、ここでは文字列72、を囲むように細長い矩形のポインタ76がOSD表示される。
【0034】
この入力確認画面におけるポインタ76は、各文字66,66,・・・の上書きを有効化するか否かを選択するための指標であり、十字キー54の操作に応じて文字列72および74のいずれかを囲むように上下方向に移動する。ここで、ポインタ76によって文字列72(“OK”)が選択された状態でセットキー52が押下されると、液晶モニタ40の画面表示は、図3(f)に示すような状態に遷移する。すなわち、本画像上に6つの文字66,66,・・・によって表される“HELLO!”という文字列が入力された画面が表示されるとともに、OSD表示が解除される。
【0035】
このとき、CPU18は、自身のキャッシュメモリ18aに記憶しておいた上述の6つの圧縮文字ファイルを、現在再生されている本画像のJPEG圧縮画像ファイルに埋め込む。
【0036】
すなわち、JPEG圧縮画像ファイルには、図5に示すようにAPP[n](Reserved for Application segments)というオプション・マーカを埋め込むことができる。CPU18は、図6に示すように各圧縮文字ファイルに“0”から始まる個別の識別番号nを付与して、当該識別番号n毎にAPP[n]を生成する。それぞれのAPP[n]には、上述した組合せ番号m,文字66の位置座標,ASCIIコードおよび文字66部分の圧縮データが含まれる。そして、CPU18は、メモリ制御回路28を制御して、SDRAM30内の圧縮画像ファイル記憶領域30bに記憶されているJPEG圧縮画像ファイルに、生成したAPP[n]を埋め込む。このAPP[n]が埋め込まれたJPEG圧縮画像ファイルは、メモリ制御回路28によってメモリインタフェース回路46を介してメモリカード48に入力される。メモリカード48に入力されたJPEG圧縮画像ファイルは、文字入力モードによって文字66,66,・・・が入力される以前に当該JPEG圧縮画像ファイルが記録されていた領域に記録される。つまり。JPEG圧縮画像ファイルの内容が更新される。このJPEG圧縮画像ファイルの更新を以って、文字入力モードによる一連の文字入力処理が完了する。
【0037】
なお、この一連の文字入力処理が繰り返されることによって、1つの画像に複数の文字列が入力される。つまり、オペレータは、1つの画像に複数の文字列を入力することができる。このとき、CPU18は、1回の文字入力処理によって入力される各文字66,66,・・・に同じ組合せ番号mを付与し、当該文字入力処理が繰り返される毎に組合せ番号mを更新する。したがって、互いに同じ文字列を構成する文字66,66,・・・間では互いに同じ組合せ番号mが付与され、互いに異なる文字列を構成する文字66,66,・・・間では互いに異なる組合せ番号mが付与される。
【0038】
また、図3(e)の入力確認画面において、ポインタ76によって文字列74(“CANCEL”)が選択された状態でセットキー52が押下された場合には、上書きされた全ての文字66,66,・・・が液晶モニタ40の画面から消去されるとともに、OSD表示が解除される。その結果、液晶モニタ40には、本画像のみが表示される。
【0039】
さて、上述の再生モードによって任意の画像が再生されるとき、上述の文字入力モードによって当該画像に1以上の文字列が入力されている場合には、液晶モニタ40には、図7(a)に示すような文字列一覧画面がOSD表示される。すなわち、再生された本画像上に、上述の文字入力モードによって入力された1以上の文字列、ここでは“HELLO!”,“GOOD LUCK!”および“YOO−HOO!”という3つの文字列80〜84が上下方向に沿って一列に表示される。そして、これらの文字列80〜84のいずれか、ここでは文字列80を、囲むように細長い矩形のポインタ86が表示される。
【0040】
この文字列一覧画面におけるポインタ86は、各文字列80〜84のうちのいずれを画面に表示させるのかを選択するための指標であり、十字キー54の操作に応じて各文字列80〜84のいずれかを囲むように上下方向に移動する。ここで、ポインタ86によって文字列80(“HELLO!”)が選択された状態でセットキー52が押下されると、液晶モニタ40の画面表示が、図7(b)に示すような状態に遷移する。すなわち、上述した図3(f)と同様に、本画像上に6つの文字66,66,・・・によって表される“HELLO!”という文字列が入力された画面が表示されるとともに、OSD表示が解除される。
【0041】
なお、図7(a)の文字列一覧画面において、ポインタ86によって文字列82(“GOOD LUCK!”)が選択された状態でセットキー52が押下された場合には、液晶モニタ40には、本画像上に“GOOD LUCK!”という文字列が入力された画面が表示される。同様に、ポインタ86によって文字列84(“YOO−HOO!”)が選択された状態でセットキー52が押下されると、液晶モニタ40には、本画像上に“YOO−HOO!”という文字列が入力された画面が表示される。
【0042】
さらに、上述の文字入力モードによって入力された文字66,66,・・・(文字列)は、文字編集モードによって任意に編集することができる。すなわち、今、再生モードにおいて液晶モニタ40に上述の図6(b)に示す画面が表示されているとする。この状態で、モードキー50,セットキー52および十字キー54の操作によって文字編集モードが選択されると、液晶モニタ40に、図8(a)に示すようなカーソル設定画面がOSD表示される。すなわち、先頭の文字66を囲むように、矩形のカーソル90が表示される。このカーソル90は、これから編集しようとする文字66を選択するための指標であり、十字キー54の操作に応じて上下左右の各方向に移動する。
【0043】
この図8(a)のカーソル設定画面において、各文字66,66,・・・のうち先頭から数えて4番目に位置する“L”という文字66がカーソル90によって選択された状態で、セットキー52が押下されたとする。すると、液晶モニタ40の画面表示が、図8(b)に示すような編集選択画面に遷移する。すなわち、カーソル90の他に、“INSERT”という文字列92と、“DELETE”という文字列94とが、上下二段にOSD表示されるとともに、これらの文字列92および94の一方、ここでは文字列92、を囲むように細長い矩形のポインタ96がOSD表示される。なお、ポインタ96は、十字キー54の操作に応じて文字列92および94のいずれかを囲むように上下方向に移動する。
【0044】
この編集選択画面は、これから実施しようとする編集内容を選択するための画面であり、具体的には図8(a)のカーソル設定画面において選択された文字66を書き換えるのか(Insert)、若しくは当該選択された文字66を消去(Delete)するのかを選択するための画面である。ここで、ポインタ96によって文字列92(“INSERT”)が選択された状態でセットキー52が押下されると、液晶モニタ40の画面表示が、図8(c)に示すような文字入力画面に遷移する。
【0045】
この図8(c)の文字入力画面においては、上述した図3(b)の文字入力画面と同様に、ASCIIコードに従う複数の文字98,98,・・・、およびこれらの文字98,98,・・・のいずれか1つを囲む矩形のポインタ100が、OSD表示される。なお、ポインタ100は、十字キー54の操作に応じて上下左右の各方向に移動する。ここで、ポインタ100によって“P”という文字98が選択され、この状態で、セットキー52が押下されたとする。すると、液晶モニタ40の画面表示は、図3(d)に示すような状態に遷移する。
【0046】
すなわち、図8(c)においては“L”であった先頭から4番目の文字66が、“P”に書き換えられる。そして、図8(c)における文字98,98,・・・の一覧およびポインタ100が消去されるとともに、カーソル90が文字66の1文字分だけ右側に移動する。
【0047】
なお、新たに書き換えられた“P”という文字66は、OSD表示されるのではなく、それ以前の“L”という文字66に代えて本画像上に上書きされる。具体的には、CPU18が、まず、メモリ制御回路28を制御して、SDRAM30内の圧縮画像ファイル記憶領域30bから、当該圧縮画像ファイル記憶領域30bに記憶されているJPEG圧縮画像ファイルを読み出す。そして、読み出したJPEG圧縮画像ファイルから、当該“L”という先頭から5番目の文字66に対応するAPP[n]を削除する。そして、このAPP[n]が削除されたJPEG圧縮画像ファイルを圧縮伸長回路44に伸長させ、伸長後の画像データをメモリ制御回路28によってSDRAM30の画像データ記憶領域30aに展開させる。さらに、CPU18は、この画像データ記憶領域30aに展開された画像データに、新たに“P”という文字66に対応する文字データを上書きする。この文字データが上書きされた画像データは、メモリ制御回路28によって読み出され、バッファメモリ32に転送される。これによって、先頭から4番目の文字66が“P”に書き換えられた本画像が、液晶モニタ40に表示される。
【0048】
さらに、CPU18は、圧縮伸長回路44に命令して、“P”という文字66に書き換えられた横32画素×縦32画素の部分をJPEG方式に従って圧縮させる。そして、この圧縮処理によって生成された圧縮文字ファイルに上述した識別番号nを付与して、新たなAPP[n]を生成する。そして、CPU18は、メモリ制御回路28を制御して、SDRAM30内の圧縮画像ファイル記憶領域30bに記憶されているJPEG圧縮画像ファイルに、当該新たに生成したAPP[n]を埋め込む。
【0049】
上述の“H”という先頭から4番目の文字66が“P”に上書きされたのと同様の手順で、当初は“O”であった先頭から5番目の文字66が図8(e)に示すように“!”に上書きされたとする。そして、カーソル90によって“!”という最後尾(先頭から6番目)の文字66が選択された状態で、セットキー52が押下されたとする。すると、液晶モニタ40の画面表示は、図8(f)に示すように編集選択画面に遷移する。
【0050】
この図8(f)に示す編集選択画面において、ポインタ96によって文字列94(“DELETE”)が選択された状態でセットキー52が押下されると、液晶モニタ40の画面表示は、図8(g)に示すような画面に遷移する。すなわち、図8(f)においては“!”であった最後尾の文字66が、画面から消去される。
【0051】
このとき、CPU18は、メモリ制御回路28を制御して、SDRAM30内の圧縮画像ファイル記憶領域30bから、当該圧縮画像ファイル記憶領域30bに記憶されているJPEG圧縮画像ファイルを読み出す。そして、読み出したJPEG圧縮画像ファイルから、当該“!”という最後尾の文字66に対応するAPP[n]を削除する。さらに、CPU18は、このAPP[n]が削除されたJPEG圧縮画像ファイルを圧縮伸長回路44に伸長させ、伸長後の画像データをメモリ制御回路28によってSDRAM30の画像データ記憶領域30aに展開させる。この画像データ記憶領域30aに展開された画像データは、メモリ制御回路28によって読み出され、バッファメモリ32に転送される。これによって、最後尾の文字66が消去された本画像が、液晶モニタ40に表示される。
【0052】
そして、図8(g)の状態で、モードキー50が押下されると、液晶モニタ40の画面表示は、図8(h)に示すような状態に遷移する。すなわち、当初本画像上に6つの文字66,66,・・・によって“HELLO!”と入力されていた文字列が、5つの文字66,66,・・・によって“HELP!”という文字列に書き換えられた画面が表示されるとともに、OSD表示が解除される。さらに、CPU18は、メモリ制御回路28を制御して、SDRAM30の圧縮画像ファイル記憶領域30bに記憶されているJPEG圧縮画像ファイルをメモリカード48に転送させる。このメモリカード48に転送されたJPEG圧縮画像ファイルは、文字編集モードによって文字66,66,・・・が編集される以前に当該JPEG圧縮画像ファイルが記録されていた領域に記録される。これによって、JPEG圧縮画像ファイルの内容が更新される。
【0053】
なお、文字編集モードにおいては、既に上書きされている文字66を書き換え、または当該文字66を消去するばかりでなく、文字66が上書きされていない場所に新たな文字を追加することもできる。この場合、上述した文字入力モードと同様の手順によって、新たな文字が追加される。
【0054】
この実施例における文字入力機能を実現するために、CPU18は、自身が内蔵するプログラムメモリ18bに記憶されている制御プログラムに従って次のような動作をする。
【0055】
すなわち、文字入力モードが選択されると、CPU18は、図9のステップS1に進み、上述した図3(a)のカーソル設定画面を液晶モニタ40にOSD表示させる(厳密には、このカーソル設定画面を表示させるためのOSDデータを生成してOSDメモリ36に入力する)。そして、CPU18は、ステップS3に進み、何らかのキー操作が成されるのを待機する。
【0056】
ステップS3において何らかのキー操作が成されると、CPU18は、ステップS5に進み、当該キー操作の内容を判別する。ここで、モードキー50が押下されたと判断すると、CPU18は、ステップS7に進む。そして、このステップS7においてOSD表示を解除して、文字入力モードにおける一連の処理を終了する。
【0057】
一方、ステップS5において十字キー54が操作されたと判断すると、CPU18は、ステップS9に進み、当該十字キー54の操作に応じてカーソル60を移動させる。そして、ステップS11において、移動後のカーソル60の位置をキャッシュメモリ18aに記憶した後、ステップS3に戻る。
【0058】
さらに、ステップS5においてセットキー52が押下されたとき、CPU18は、ステップS13に進む。そして、このステップS13において、図3(b)の文字入力画面をOSD表示した後、ステップS15に進み、何らかのキー操作が成されるのを待機する。
【0059】
ステップS15において何らかのキー操作が成されると、CPU18は、ステップS17に進み、当該キー操作の内容を判別する。ここで、十字キー54が操作されると、CPU18は、ステップS19に進み、当該十字キー54の操作に応じてポインタ64を移動させる。そして、このステップS19の処理後、CPU18は、ステップS15に戻る。
【0060】
一方、ステップS15においてセットキー52が押下されたと判断すると、CPU18は、ステップS21に進む。そして、このステップS21において、上述のポインタ64によって選択された文字62に対応する文字66を本画像上に上書きした後、ステップS23に進む。
【0061】
ステップS23において、CPU18は、本画像上の文字66が上書きされた部分を圧縮する(厳密には、圧縮伸長回路44に圧縮させる)。そして、CPU18は、ステップS25に進み、当該圧縮処理によって生成された圧縮文字ファイルに上述の識別番号nを付与してAPP[n]を生成した後、ステップS27において、当該APP[n]をキャッシュメモリ18aに一時記憶する。さらに、CPU18は、ステップS29において、カーソル60を文字66の1文字分だけ右側に移動させた後、ステップS15に戻る。
【0062】
ステップS15においてモードキー50が押下された場合、CPU18は、図10のステップS31に進む。このステップS31において、CPU18は、図3(b)の文字入力画面において1文字以上の文字が入力(上書き)されたか否かを判断する。ここで、何ら文字が入力されていないと判断した場合、CPU18は、図9のステップS1に戻り、改めて図3(a)に示すカーソル設定画面を表示する。
【0063】
一方、ステップS31において1文字以上の文字が入力されたと判断すると、CPU18は、ステップS33に進む。そして、このステップS33において、図3(e)の入力確認画面をOSD表示した後、ステップS35に進み、何らかのキー操作が成されるのを待機する。
【0064】
ステップS35において何らかのキー操作が成されると、CPU18は、ステップS37に進み、当該キー操作の内容を判別する。ここで、モードキー50が押下されたと判断すると、CPU18は、ステップS39に進む。そして、このステップS39において、上述のステップS11でキャッシュメモリ18aに記憶したカーソル60の位置を参照した後、図9のステップS13に戻り、改めて文字入力画面を表示する。このとき、CPU18は、ステップS39における参照結果に基づいて、文字入力画面上でのカーソル60の表示位置を設定する。
【0065】
一方、ステップS37において十字キー54が操作されたと判断すると、CPU18は、ステップS41に進む。そして、このステップS41において、十字キー54の操作に応じてポインタ76を移動させた後、ステップS35に戻る。
【0066】
さらに、ステップS37においてセットキー52が押下されると、CPU18は、ステップS43に進む。そして、このステップS43において、入力確認画面上で“OK”という文字列72が選択されたか否かを判断し、当該文字列72が選択された場合には、ステップS45に進む。このステップS45において、CPU18は、キャッシュメモリ18aに記憶しておいたAPP[n]を現在再生されているJPEG圧縮画像ファイルに埋め込む。そして、CPU18は、ステップS47に進み、当該キャッシュメモリ18aに記憶しておいたAPP[n]を削除した後、図9のステップS7を経て、この文字入力モードにおける一連の処理を終了する。
【0067】
ステップS43において、入力確認画面上で“OK”という文字列72が選択されなかった場合、つまり“CANCEL”という文字列74が選択された場合、CPU18は、ステップS49に進む。そして、このステップS49において、キャッシュメモリ18aに記憶しておいたAPP[n]を削除した後、ステップS51に進み、本画像を再描画する。このステップS51の処理後、CPU18は、図9のステップS7を経て、文字入力モードにおける処理を終了する。
【0068】
なお、この文字入力モードを抜けた後、CPU18は、SDRAM30の圧縮画像ファイル記憶領域30bに記憶されているJPEG圧縮画像ファイルをメモリカード48に記録(上書き)する。これによって、現在再生されている画像のJPEG圧縮画像ファイルの内容が更新される。
【0069】
次に、図11を参照して、再生モードにおけるCPU18の動作について説明する。再生モードにおいて任意の画像が再生されると、CPU18は、図11のステップS61に進む。そして、このステップS61において、再生された画像のJPEG圧縮画像ファイルにAPP[n](厳密には文字66を表すAPP[n])が含まれているか否かを判断する。
【0070】
ここで、APP[n]が含まれていない場合、CPU18は、ステップS61からステップS63に進む。そして、このステップS63において、再生された画像には文字入力モードによって何ら文字が入力されていないことを表すメッセージを液晶モニタ40に一定期間OSD表示して、この図11のフロー図で示される一連の処理を終了する。
【0071】
一方、ステップS61においてAPP[n]が含まれているとき、CPU18は、ステップS65に進む。そして、このステップS65において、図7(a)に示す文字列一覧画面をOSD表示した後、CPU18は、ステップS67に進み、何らかのキー操作が成されるのを待機する。
【0072】
ステップS67において何らかのキー操作が成されると、CPU18は、ステップS69に進み、当該キー操作の内容を判別する。ここで、モードキー50が押下されたと判断すると、CPU18は、ステップS71に進む。そして、このステップS71において文字列一覧画面のOSD表示を解除して、この図11のフロー図で示される一連の処理を終了する。
【0073】
ステップS69において十字キー54が操作されると、CPU18は、ステップS73に進む。そして、このステップS73において文字列、つまり組合せ番号mは複数であるか否かを判断し、複数である場合には、ステップS75に進む。ステップS75において、CPU18は、十字キー54の操作に応じてポインタ86を移動させる。そして、このポインタ86の移動後、CPU18は、ステップS67に戻る。なお、ステップS73において文字列が複数でない場合、つまり1つの場合は、CPU18は、ステップS75をスキップして、直接ステップS67に戻る。
【0074】
ステップS69においてセットキー52が押下された場合、CPU18は、ステップS77に進む。そして、このステップS77において、文字列一覧画面上でポインタ86によって選択された文字列80,82または84の組合せ番号mを認識するとともに、認識した番号mを自身が有する所定のレジスタm’に記憶する。そして、CPU18は、ステップS79に進み、識別番号nを表すインデックスを“0”(n=0)とした後、ステップS81において、再生画像のJPEG圧縮画像ファイルから当該識別番号nに従うAPP[n]を読み出す。
【0075】
ステップS81の処理後、CPU18は、ステップS83に進む、当該ステップS81で読み出したAPP[n]に含まれる組合せ番号mを、上述のレジスタm’に記憶された番号と比較する。ここで、両者が一致する(m=m’)とき、CPU18は、読み出したAPP[n]が文字列一覧画面で選択された文字列を構成するものであると認識し、ステップS85に進む。そして、このステップS85において、当該APP[n]に含まれる圧縮データを伸長し、この伸長処理によって再現された文字(文字66を含む横32画素×縦32画素の部分)を、ステップS87において本画像上に上書きする。このステップS87の処理後、CPU18は、ステップS89に進む。
【0076】
ステップS89において、CPU18は、再生画像のJPEG圧縮画像ファイルから全てのAPP[n]を読み出したか否か、具体的には現在のインデックスnがその最大値Nに達したか否かを判断する。ここで、未だインデックスnが最大値Nに達していない(全てのAPP[n]を読み出していない)と判断した場合、CPU18は、ステップS91に進み、当該インデックスnを“1”だけインクリメントした後、であるか否か、つまり全てのAPP図3(b)の文字入力画面を表示した後、ステップS81に戻る。
【0077】
一方、インデックスnが最大値Nに達した(全てのAPP[n]を読み出した)と判断すると、CPU18は、ステップS71に進み、OSD表示を解除して、この図11のフロー図で示される一連の処理を終了する。
【0078】
なお、上述のステップS83において、ステップS81で読み出したAPP[n]に含まれる組合せ番号mと、レジスタm’に記憶されている番号とが一致しない場合には、CPU18は、ステップS85およびステップS87をスキップして、ステップS89に進む。
【0079】
次に、文字編集モードにおけるCPU18の動作について説明する。この文字編集モードが選択されると、CPU18は、まず、図12のステップS101に進み、上述した図8(a)のカーソル設定画面をOSD表示する。そして、CPU18は、ステップS103に進み、何らかのキー操作が成されるのを待機する。
【0080】
ステップS103において何らかのキー操作が成されると、CPU18は、ステップS105に進み、当該キー操作の内容を判別する。ここで、モードキー50が押下されたと判断すると、CPU18は、ステップS107に進む。そして、このステップS107においてOSD表示を解除して、文字編集モードにおける一連の処理を終了する。
【0081】
一方、ステップS105において十字キー54が操作されると、CPU18は、ステップS109に進む。そして、このステップS105において十字キー54の操作に応じてカーソル90を移動させた後、CPU18は、ステップS103に戻る。
【0082】
さらに、ステップS105においてセットキー52が押下されたとき、CPU18は、ステップS113に進む。そして、このステップS113において、図8(b)の編集選択画面をOSD表示した後、ステップS115に進み、何らかのキー操作が成されるのを待機する。
【0083】
ステップS115において何らかのキー操作が成されると、CPU18は、ステップS117に進み、当該キー操作の内容を判別する。ここで、モードキー50が押下されたと判断すると、CPU18は、ステップS101に戻り、改めて図8(a)のカーソル設定画面を表示する。
【0084】
一方、ステップS117において十字キー54が操作された場合は、CPU18は、ステップS119に進む。そして、このステップS119において、十字キー54の操作に応じてポインタ96を移動させた後、CPU18は、ステップS115に戻る。
【0085】
さらに、ステップS117においてセットキー52が押下された場合、CPU18は、ステップS121に進む。そして、このステップS121において、上述のポインタ96によって選択されたのが“INSERT”という文字列92であるか否かを判断する。ここで、文字列92が選択されたと判断すると、CPU18が、ステップS123に進む。そして、このステップS123において、図8(c)の文字入力画面をOSD表示した後、ステップS125に進み、何らかのキー操作が成されるのを待機する。
【0086】
ステップS125において何らかのキー操作が成されると、CPU18は、ステップS127に進み、当該キー操作の内容を判別する。ここで、モードキー50が押下されたと判断すると、CPU18は、ステップS113に戻り、改めて図8(b)の編集選択画面を表示する。
【0087】
一方、ステップS127において十字キー54が操作されると、CPU18は、ステップS129に進み、当該十字キー54の操作に応じてポインタ100を移動させる。そして、このステップS129の処理後、CPU18は、ステップS125に戻る。
【0088】
さらに、ステップS127においてセットキー52が押下されたと判断すると、CPU18は、ステップS131に進む。そして、このステップS131において、カーソル90の位置に既に上書きされている文字66が存在するか否かを判断する。ここで、文字66が存在する場合、CPU18は、図13のステップS133に進む。
【0089】
ステップS133において、CPU18は、カーソル90の位置に存在する文字66のAPP[n]を認識する。そして、CPU18は、ステップS135に進み、当該認識したAPP[n]をJPEG圧縮画像ファイルから削除する。さらに、CPU18は、ステップS137に進み、現在再生されている本画像を再描画する。そして、ステップS139に進み、当該一部のAPP[n]が削除された後のAPP[n]に基づいて文字66を含む横32画素×縦32画素の部分を再描画する。
【0090】
さらに、CPU18は、ステップS141に進み、上述のポインタ100によって選択された文字98に対応する文字66を本画像上に上書きした後、ステップS143に進む。このステップS143において、CPU18は、本画像上の文字66が上書きされた部分を圧縮する。そして、CPU18は、ステップS145に進み、当該圧縮処理によって生成された圧縮文字ファイルに識別番号nを付与してAPP[n]を生成した後、ステップS147において、当該APP[n]をJPEG圧縮画像ファイルに埋め込む。
【0091】
そして、CPU18は、ステップS149において、カーソル90を文字66の1文字分だけ右側に移動させた後、図12のステップS101に戻り、改めて図8(a)のカーソル設定画面を表示する。
【0092】
なお、上述のステップS131において、カーソル90の位置に文字66が存在しない場合は、CPU18は、図13のステップS133〜ステップS139をスキップして、ステップS141に進む。
【0093】
また、図12のステップS121において、図8(b)のポインタ96によって選択されたのが“INSERT”という文字列92でない場合、つまり“DELETE”という文字列94が選択された場合、CPU18は、図14のステップS151に進む。そして、このステップS151において、カーソル90の位置に既に上書きされている文字66が存在するか否かを判断し、文字66が存在する場合、CPU18は、ステップS153に進む。
【0094】
ステップS153において、CPU18は、カーソル90の位置に存在する文字66のAPP[n]を認識する。そして、CPU18は、ステップS155に進み、当該認識したAPP[n]をJPEG圧縮画像ファイルから削除する。さらに、CPU18は、ステップS157に進み、現在再生されている本画像を再描画する。そして、ステップS159に進み、当該一部のAPP[n]が削除された後のAPP[n]に基づいて文字66を含む横32画素×縦32画素の部分を再描画した後、図12のステップS101に戻る。
【0095】
なお、ステップS151においてカーソル90の位置に文字66が存在しない場合、CPU18は、図14のステップS153〜ステップS159をスキップして、直接ステップS101に戻る。
【0096】
以上の説明から判るように、この実施例の文字入力機能によれば、本画像の圧縮画像データを含むJPEG圧縮画像ファイルのオプション・マーカに、当該本画像に上書きされた文字66,66,・・・のデータが埋め込まれる。すなわち、本画像のデータと、文字66,66,・・・のデータとは、個別に記録される。したがって、本画像に上書きされた各文字66,66,・・・を個別に編集することができる。しかも、各々の文字66は、文字データとしてではなく、当該文字66を含む横32画素×縦32画素の画像データとして記録されるので、特定のフォントデータが用意されていない環境下でも当該文字66を再現することができる。
【0097】
なお、この実施例では、ディジタルカメラ10にこの発明を適用する場合について説明したが、これに限らない。たとえば、ディジタルカメラの機能を備えた携帯電話機にも、この発明を適用することができる。また、ディジタルカメラを備えた装置に限らず、既存の画像上に任意の文字を入力する機能を備えた装置であれば、この発明を適用できる。
【0098】
また、画像に入力可能な文字をASCIIコードに従う文字に限定したが、これに限らない。すなわち、ひらがなや漢字などのアルファベット以外で表される文字を入力できるようにしてもよい。
【0099】
そして、入力される文字66のサイズを横32画素×縦32画素としたが、これ以外のサイズとしてもよい。ただし、JPEG方式では、横8画素×縦8画素を1単位として圧縮処理が成されるので、縦横ともに8の倍数の画素数によって当該文字66を表現するのが望ましい。
【図面の簡単な説明】
【図1】この発明の一実施例の概略構成を示すブロック図である。
【図2】図1の実施例のディジタルカメラの背面図である。
【図3】図1の実施例における文字入力モードでの画面の表示例を示す図解図である。
【図4】図1の実施例において本画像に文字が上書きされた状態を示す図解図である。
【図5】図1の実施例におけるJPEG圧縮画像ファイルの構成を示す図解図である。
【図6】図5におけるオプション・マーカの詳細を示す図解図である。
【図7】図1の実施例における再生モードでの画面の表示例を示す図解図である。
【図8】図1の実施例における文字編集モードでの画面の表示例を示す図解図である。
【図9】図1の実施例における文字入力モードでのCPUの動作を示すフロー図である。
【図10】図9に続くフロー図である。
【図11】図1の実施例における再生モードでのCPUの動作を示すフロー図である。
【図12】図1の実施例における文字編集モードでのCPUの動作を示すフロー図である。
【図13】図12に続くフロー図である。
【図14】図12に続く図13とは別のフロー図である。
【符号の説明】
10…ディジタルカメラ
16…メインスイッチ
18…CPU
28…メモリ制御回路
30…SDRAM
34…混合回路
36…OSDメモリ
40…液晶モニタ
44…圧縮伸長回路
48…メモリカード
56…EEPROM[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that is applied to, for example, a digital camera and includes means for recording an image signal on a recording medium.
[0002]
[Prior art]
Some digital cameras have a function of inputting arbitrary characters into a photographed image. As a method for realizing this function, for example, there is a method of directly overwriting character data on image data. However, with this method, once overwritten character data cannot be deleted or changed later. Therefore, conventionally, as another method, there is a method of superimposing characters on an image displayed on a screen by OSD (On Screen Display) technology. According to this method, since each of the image data and the character data can be handled separately, the character data can be arbitrarily edited later.
[0003]
[Problems to be solved by the invention]
By the way, many recent digital cameras have a function of transferring a photographed image to a personal computer. Here, according to the prior art using the OSD technology described above, in order to reproduce characters input on the digital camera side on the personal computer side, the same font data used on the digital camera side is used. It needs to be prepared on the side. In other words, there is a problem that if the same font data used for character input on the digital camera side is not prepared on the personal computer side, the character cannot be reproduced on the personal computer side.
[0004]
SUMMARY OF THE INVENTION Therefore, a main object of the present invention is to provide an image processing apparatus capable of editing a character input to an image and reproducing the character even in an environment where specific font data is not prepared. It is to be.
[0005]
[Means for Solving the Problems]
This inventionThe image processing apparatus according to the present invention includes a reproducing unit that reproduces the first image stored in the first predetermined position of the image file in response to the reproducing operation, a receiving unit that accepts a character input operation in relation to the reproducing process of the reproducing unit, Overwriting to create a partial composite image by overwriting the second image representing the character input in response to the input operation over the partial first image partially existing at the designated position on the first image reproduced by the reproducing means An image file in response to an embedding operation after a character input operation on one or more partial composite images created by the overwriting unit Embedded in the second predetermined position.
[0006]
[Action]
The reproduction means reproduces the first image stored at the first predetermined position of the image file in response to the reproduction operation. The character input operation is accepted by the accepting means in association with the reproduction process of the reproducing means. The overwriting means overwrites the partial first image partially existing at the designated position on the first image reproduced by the reproduction means with the second image representing the character input in response to the character input operation, and performs partial synthesis. Create an image. The designated position is changed by the changing means every time the overwriting process of the overwriting means is completed. The embedding unit embeds one or more partial composite images created by the overwriting unit in a second predetermined position of the image file in response to the embedding operation after the character input operation.
[0007]
Preferably, the first image is stored in the image file in a state compressed by a predetermined method, and the partial composite image created by the overwriting means is an image compressed by the predetermined method.
[0011]
【The invention's effect】
According to this invention, the first pictureStatue and, First imageofPart 2StatueOverwrittenportionComposite imageStatue andBut,Image fileIndividuallyStowThe second pictureStatueIncludeportionComposite imageStatueFirst pictureStatue andCan be edited separately. Moreover, SpecialThe second screen even in environments where certain font data is not preparedTo the statueRepresented bySentenceThe character can be reproduced.
[0012]
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.
[0013]
【Example】
Referring to FIG. 1, a
[0014]
When the photographing mode for photographing the subject is selected by the
[0015]
The raw image signal of each frame output from the
[0016]
The
[0017]
The image data transferred to the
[0018]
Here, when the
[0019]
The
[0020]
The image (JPEG compressed image file) recorded on the
[0021]
Then, the
[0022]
The image data transferred to the
[0023]
In the playback mode, desired playback images can be displayed one by one, or a plurality of playback images can be displayed in a multi display. In this manner, which playback image is to be displayed can be arbitrarily selected by operating a
[0024]
Referring to FIG. 2,
[0025]
By the way, the
[0026]
In other words, it is assumed that the reproduction mode is selected by the
[0027]
As shown in FIG. 3A, a
[0028]
In this cursor setting screen, when the
[0029]
The
[0030]
That is, in FIG. 3B, the
[0031]
Note that the
[0032]
Further, in the state of FIG. 3C, the
[0033]
As shown in FIG. 3 (d), 5 "E", "L", "L", "O" and "!" Assume that two
[0034]
The
[0035]
At this time, the
[0036]
That is, an optional marker called APP [n] (Reserved for Application segments) can be embedded in the JPEG compressed image file as shown in FIG. As shown in FIG. 6, the
[0037]
By repeating this series of character input processes, a plurality of character strings are input to one image. That is, the operator can input a plurality of character strings in one image. At this time, the
[0038]
In the input confirmation screen of FIG. 3E, when the
[0039]
Now, when an arbitrary image is reproduced in the above-described reproduction mode, if one or more character strings are input to the image in the above-described character input mode, the liquid crystal monitor 40 displays the image shown in FIG. The character string list screen as shown in FIG. That is, one or more character strings input in the character input mode described above on the reproduced main image, here, three
[0040]
The
[0041]
When the set
[0042]
Furthermore, the
[0043]
In the cursor setting screen of FIG. 8A, in the state where the
[0044]
This edit selection screen is a screen for selecting the edit contents to be executed from now on. Specifically, whether the
[0045]
In the character input screen of FIG. 8C, as in the character input screen of FIG. 3B described above, a plurality of
[0046]
That is, the
[0047]
The newly rewritten
[0048]
Further, the
[0049]
The
[0050]
When the set
[0051]
At this time, the
[0052]
Then, when the
[0053]
In the character editing mode, not only the already overwritten
[0054]
In order to realize the character input function in this embodiment, the
[0055]
That is, when the character input mode is selected, the
[0056]
When any key operation is performed in step S3, the
[0057]
On the other hand, when determining that the cross key 54 has been operated in step S5, the
[0058]
Further, when the
[0059]
When any key operation is performed in step S15, the
[0060]
On the other hand, when determining that the
[0061]
In step S23, the
[0062]
When the
[0063]
On the other hand, when determining that one or more characters have been input in step S31, the
[0064]
When any key operation is performed in step S35, the
[0065]
On the other hand, when determining that the cross key 54 has been operated in step S37, the
[0066]
Further, when the
[0067]
If the character string 72 “OK” is not selected on the input confirmation screen in step S43, that is, if the
[0068]
After exiting this character input mode, the
[0069]
Next, the operation of the
[0070]
Here, when APP [n] is not included, the
[0071]
On the other hand, when APP [n] is included in step S61, the
[0072]
When any key operation is performed in step S67, the
[0073]
When the cross key 54 is operated in step S69, the
[0074]
If the
[0075]
After the processing in step S81, the
[0076]
In step S89, the
[0077]
On the other hand, when it is determined that the index n has reached the maximum value N (all APP [n] have been read), the
[0078]
In step S83 described above, if the combination number m included in APP [n] read out in step S81 does not match the number stored in the register m ′, the
[0079]
Next, the operation of the
[0080]
When any key operation is performed in step S103, the
[0081]
On the other hand, when the cross key 54 is operated in step S105, the
[0082]
Further, when the
[0083]
When any key operation is performed in step S115, the
[0084]
On the other hand, if the cross key 54 is operated in step S117, the
[0085]
Furthermore, when the
[0086]
When any key operation is performed in step S125, the
[0087]
On the other hand, when the cross key 54 is operated in step S127, the
[0088]
Further, when determining that the
[0089]
In step S133, the
[0090]
Further, the
[0091]
In step S149, the
[0092]
If the
[0093]
In addition, when the
[0094]
In step S153, the
[0095]
If the
[0096]
As can be seen from the above description, according to the character input function of this embodiment, the
[0097]
In this embodiment, the case where the present invention is applied to the
[0098]
Further, although the characters that can be input to the image are limited to characters according to the ASCII code, the present invention is not limited to this. That is, it may be possible to input characters expressed in other than the alphabet such as hiragana and kanji.
[0099]
The size of the
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of the present invention.
FIG. 2 is a rear view of the digital camera of the embodiment of FIG.
FIG. 3 is an illustrative view showing a display example of a screen in a character input mode in the embodiment of FIG. 1;
4 is an illustrative view showing a state in which characters are overwritten on the main image in the embodiment of FIG. 1; FIG.
FIG. 5 is an illustrative view showing a configuration of a JPEG compressed image file in the embodiment of FIG. 1;
6 is an illustrative view showing details of an option marker in FIG. 5; FIG.
FIG. 7 is an illustrative view showing a display example of a screen in a reproduction mode in the embodiment of FIG. 1;
FIG. 8 is an illustrative view showing a display example of a screen in a character editing mode in the embodiment of FIG. 1;
FIG. 9 is a flowchart showing the operation of the CPU in the character input mode in the embodiment of FIG. 1;
FIG. 10 is a flowchart following FIG. 9;
FIG. 11 is a flowchart showing the operation of the CPU in the reproduction mode in the embodiment of FIG. 1;
12 is a flowchart showing the operation of the CPU in the character editing mode in the embodiment of FIG.
FIG. 13 is a flowchart following FIG. 12;
14 is a flowchart different from FIG. 13 following FIG.
[Explanation of symbols]
10. Digital camera
16 ... Main switch
18 ... CPU
28: Memory control circuit
30 ... SDRAM
34. Mixing circuit
36 ... OSD memory
40 ... LCD monitor
44. Compression / decompression circuit
48 ... Memory card
56… EEPROM
Claims (4)
前記再生手段の再生処理に関連して文字入力操作を受け付ける受付手段、
前記文字入力操作に応答して入力された文字を表す第2画像を前記再生手段によって再生された第1画像上の指定位置に部分的に存在する部分第1画像に上書きして部分合成画像を作成する上書き手段、
前記上書き手段の上書き処理が完了する毎に前記指定位置を変更する変更手段、および 前記上書き手段によって作成された1または2以上の部分合成画像を前記文字入力操作の後の埋め込み操作に応答して前記画像ファイルの第2既定位置に埋め込む埋め込み手段を備える、画像処理装置。 Reproduction means for reproducing the first image stored in the first predetermined position of the image file in response to the reproduction operation;
Accepting means for accepting a character input operation in relation to the reproduction processing of the reproducing means;
A partial composite image is created by overwriting a partial first image partially existing at a specified position on the first image reproduced by the reproduction unit with a second image representing a character input in response to the character input operation. Override means to create,
In response to the embedding operation after the character input operation, the changing unit that changes the designated position every time the overwriting process of the overwriting unit is completed, and one or more partial composite images created by the overwriting unit An image processing apparatus comprising embedding means for embedding in a second predetermined position of the image file .
前記上書き手段によって作成される部分合成画像は前記所定方式で圧縮された画像である、請求項1記載の画像処理装置。 The first image is stored in the image file in a compressed state by a predetermined method,
The image processing apparatus according to claim 1, wherein the partial composite image created by the overwriting unit is an image compressed by the predetermined method .
前記再生手段の再生処理に関連して文字入力操作を受け付ける受付ステップ、An accepting step of accepting a character input operation in relation to the reproduction process of the reproduction means;
前記文字入力操作に応答して入力された文字を表す第2画像を前記再生手段によって再生された第1画像上の指定位置に部分的に存在する部分第1画像に上書きして部分合成画像を作成する上書きステップ、A partial composite image is created by overwriting a partial first image partially existing at a specified position on the first image reproduced by the reproduction unit with a second image representing a character input in response to the character input operation. Overwrite step to create,
前記上書きステップの上書き処理が完了する毎に前記指定位置を変更する変更ステップ、およびA change step of changing the designated position every time the overwriting process of the overwriting step is completed; and
前記上書きステップによって作成された1または2以上の部分合成画像を前記文字入力操作の後の埋め込み操作に応答して前記画像ファイルの第2既定位置に埋め込む埋め込みステップを実行させるための、画像処理プログラム。An image processing program for executing an embedding step of embedding one or more partial composite images created by the overwriting step at a second predetermined position of the image file in response to an embedding operation after the character input operation .
前記再生手段の再生処理に関連して文字入力操作を受け付ける受付ステップ、An accepting step of accepting a character input operation in relation to the reproduction process of the reproduction means;
前記文字入力操作に応答して入力された文字を表す第2画像を前記再生手段によって再生された第1画像上の指定位置に部分的に存在する部分第1画像に上書きして部分合成画像を作成する上書きステップ、A partial composite image is created by overwriting a partial first image partially existing at a specified position on the first image reproduced by the reproduction unit with a second image representing a character input in response to the character input operation. Overwrite step to create,
前記上書きステップの上書き処理が完了する毎に前記指定位置を変更する変更ステップ、およびA change step of changing the designated position every time the overwriting process of the overwriting step is completed; and
前記上書きステップによって作成された1または2以上の部分合成画像を前記文字入力操作の後の埋め込み操作に応答して前記画像ファイルの第2既定位置に埋め込む埋め込みステップを備える、画像処理方法。An image processing method comprising: an embedding step of embedding one or more partial composite images created by the overwriting step at a second predetermined position of the image file in response to an embedding operation after the character input operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002208656A JP3995547B2 (en) | 2002-07-17 | 2002-07-17 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002208656A JP3995547B2 (en) | 2002-07-17 | 2002-07-17 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004056301A JP2004056301A (en) | 2004-02-19 |
JP3995547B2 true JP3995547B2 (en) | 2007-10-24 |
Family
ID=31932742
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002208656A Expired - Fee Related JP3995547B2 (en) | 2002-07-17 | 2002-07-17 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3995547B2 (en) |
-
2002
- 2002-07-17 JP JP2002208656A patent/JP3995547B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004056301A (en) | 2004-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8059182B2 (en) | Display apparatus, display method, program and storage medium | |
US6014170A (en) | Information processing apparatus and method | |
KR100722711B1 (en) | Imaging device and signal processing method | |
US7593045B2 (en) | Digital camera, image output method, and program for outputting selected image data | |
US6980700B2 (en) | Image processing apparatus and method of storage medium | |
US6038365A (en) | Image retrieval-oriented processing apparatus which generates and displays search image data that is used as index | |
JP3972527B2 (en) | Imaging apparatus and automatic folder creation method | |
JP4916553B2 (en) | Image processing device | |
JP4517310B2 (en) | Imaging apparatus, character information association method, and character information association program | |
JP2000341644A (en) | Picture processor, picture processing method and recording medium | |
JP2001249653A (en) | Picture display method and device, and electronic camera | |
JP4663662B2 (en) | Drawing device | |
JP2006262442A (en) | Image editing apparatus and image editing method | |
JP2007096574A (en) | Image display device and program | |
JP3995547B2 (en) | Image processing device | |
JP4476368B2 (en) | Information processing apparatus, information processing method, and recording medium | |
JP4027254B2 (en) | Image processing device | |
JP4476369B2 (en) | Information processing device | |
JP3661682B2 (en) | High-speed image display in digital cameras | |
JP2009213095A (en) | Image file creating apparatus, image file creating method, and program | |
KR101107928B1 (en) | Image processing unit | |
JP2010134216A (en) | Image display apparatus, and digital camera having the same | |
JP3729200B2 (en) | Digital camera | |
JP4192487B2 (en) | Image processing method | |
JP3832510B2 (en) | Digital camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050614 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070403 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070410 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070611 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070703 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070731 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100810 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100810 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100810 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110810 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110810 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120810 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130810 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130810 Year of fee payment: 6 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130810 Year of fee payment: 6 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |