JP2007011738A - Character processor - Google Patents
Character processor Download PDFInfo
- Publication number
- JP2007011738A JP2007011738A JP2005192472A JP2005192472A JP2007011738A JP 2007011738 A JP2007011738 A JP 2007011738A JP 2005192472 A JP2005192472 A JP 2005192472A JP 2005192472 A JP2005192472 A JP 2005192472A JP 2007011738 A JP2007011738 A JP 2007011738A
- Authority
- JP
- Japan
- Prior art keywords
- character
- correction characteristics
- correction
- selection
- characters
- 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
Links
- 238000000034 method Methods 0.000 claims description 43
- 238000003384 imaging method Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 230000001419 dependent effect Effects 0.000 description 2
- 239000002131 composite material Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Images
Landscapes
- Character Input (AREA)
- Image Processing (AREA)
- Character Discrimination (AREA)
Abstract
Description
この発明は、文字処理装置に関し、特にたとえば、撮影された被写界に現れた文字を認識する、文字処理装置に関する。 The present invention relates to a character processing device, and more particularly to, for example, a character processing device that recognizes characters appearing in a photographed scene.
従来のこの種の装置の一例が、特許文献1に開示されている。この従来技術は、読み取られた画像データに対してコントラストを最適化した濃度補正を行おうとするものである。これによって、OCRの認識率を向上させることができる。
しかし、従来技術では、被写体の文字と同じ文字を装置が独力で作成することを想定しているため、厳密な濃度補正が必要となる。 However, in the prior art, since it is assumed that the device creates the same character as the character of the subject by itself, strict density correction is required.
それゆえに、この発明の主たる目的は、被写界に現れた文字と同じ文字を簡単な処理で作成することができる、文字処理装置を提供することである。 Therefore, a main object of the present invention is to provide a character processing apparatus capable of creating the same character as the character appearing in the scene by simple processing.
請求項1の発明に従う文字処理装置(28)は、被写界を捉える撮像手段(48)、撮像手段によって捉えられた被写界像の再現性を互いに異なる態様で補正するM個(M:3以上の整数)の補正特性を保持する保持手段(52b~52g)、撮像手段によって捉えられた被写界像のコントラストに基づいてM個の補正特性の中からN個(N:2以上M個未満の整数)の補正特性を選択する選択手段(S5)、選択手段によって選択されたN個の補正特性の各々によって補正された再現性を有する被写界像から文字を認識する認識手段(S9)、認識手段によって認識されたN個の文字を表示する表示手段(S15)、表示手段の表示処理に関連して文字選択操作を受け付ける受付手段(S17)、および表示手段によって表示されたN個の文字のうち前記文字選択操作に従う1つの文字を保存する保存手段(S19)を備える。 The character processing device (28) according to the first aspect of the present invention includes an image pickup means (48) for capturing a scene, and M pieces (M: M) for correcting the reproducibility of the scene image captured by the image pickup means in different modes. A holding means (52b to 52g) for holding correction characteristics of an integer of 3 or more, and N out of M correction characteristics (N: 2 or more M) based on the contrast of the object scene image captured by the imaging means A selection means (S5) for selecting a correction characteristic of less than (integer) pieces, and a recognition means for recognizing a character from the object scene image having reproducibility corrected by each of the N correction characteristics selected by the selection means ( S9), display means (S15) for displaying N characters recognized by the recognition means, accepting means (S17) for accepting a character selection operation in relation to display processing of the display means, and N displayed by the display means One character that follows the character selection operation is preserved. Comprising storage means (S19) for.
被写界は、撮像手段によって捉えられる。保持手段は、撮像手段によって捉えられた被写界像の再現性を互いに異なる態様で補正するM個の補正特性を保持する。選択手段は、撮像手段によって捉えられた被写界像のコントラストに基づいて、M個の補正特性の中からN個の補正特性を選択する。 The object scene is captured by the imaging means. The holding unit holds M correction characteristics for correcting the reproducibility of the object scene image captured by the imaging unit in different modes. The selection unit selects N correction characteristics from the M correction characteristics based on the contrast of the object scene image captured by the imaging unit.
文字は、選択手段によって選択されたN個の補正特性の各々によって補正された再現性を有する被写界像から、認識手段によって認識される。認識手段によって認識されたN個の文字は、表示手段によって表示される。文字選択操作は、表示手段の表示処理に関して、受付手段によって表示される。保存手段は、表示手段によって表示されたN個の文字のうち文字選択操作に従う1つの文字を保存する。 The character is recognized by the recognition unit from the object scene image having reproducibility corrected by each of the N correction characteristics selected by the selection unit. N characters recognized by the recognition means are displayed by the display means. The character selection operation is displayed by the receiving unit regarding the display process of the display unit. The storage unit stores one character according to the character selection operation among the N characters displayed by the display unit.
このように、文字認識を施される被写界像の再現性を補正する補正特性は、被写界像のコントラストに基づいて選択される。この結果、認識精度が向上する。さらに、選択される補正特性の数は、保持手段によって保持された補正特性の数よりも小さい。この結果、的外れな認識処理が排除される。さらに、文字認識のために選択される補正特性の数は2以上であり、認識された2以上の文字のいずれか1つが文字選択操作によって選択される。この結果、いずれの文字を最終的に選択するかが操作者の操作に委ねられる。 As described above, the correction characteristic for correcting the reproducibility of the object scene image subjected to character recognition is selected based on the contrast of the object scene image. As a result, recognition accuracy is improved. Furthermore, the number of correction characteristics to be selected is smaller than the number of correction characteristics held by the holding means. As a result, inappropriate recognition processing is eliminated. Furthermore, the number of correction characteristics selected for character recognition is two or more, and any one of the two or more recognized characters is selected by a character selection operation. As a result, it is left to the operator's operation which character is finally selected.
これによって、被写界に現れた文字と同じ文字を簡単な処理で作成することができる。 As a result, the same character as that appearing in the object scene can be created by a simple process.
請求項2の発明に従う文字処理装置は、請求項1に従属し、保持手段は各々がN個の補正特性を有するようにM個の補正特性を複数のグループに分割し、選択手段は複数のグループのいずれか1つからN個の補正特徴を選択する。
The character processing device according to the invention of claim 2 is dependent on
請求項3の発明に従う文字処理装置は、請求項1または2に従属し、選択手段は文字認識操作に応答して選択処理を実行する。 A character processing device according to a third aspect of the invention is dependent on the first or second aspect, and the selection means executes the selection process in response to a character recognition operation.
請求項4の発明に従う携帯端末(10)は、請求項1ないし3のいずれかに記載の文字処理装置を備える。
A portable terminal (10) according to the invention of claim 4 comprises the character processing device according to any one of
請求項5の発明に従う文字処理プログラムは、被写界を捉える撮像手段、および撮像手段によって捉えられた被写界像の再現性を互いに異なる態様で補正するM個(M:3以上の整数)の補正特性を保持する保持手段(52b~52g)を備える文字処理装置(10)のプロセサ(60)に、撮像手段によって捉えられた被写界像のコントラストに基づいてM個の補正特性の中からN個(N:2以上M個未満の整数)の補正特性を選択する選択ステップ(S5)、選択手段によって選択されたN個の補正特性の各々によって補正された再現性を有する被写界像から文字を認識する認識ステップ(S9)、認識手段によって認識されたN個の文字を表示する表示ステップ(S15)、表示手段の表示処理に関連して文字選択操作を受け付ける受付ステップ(S17)、および表示手段によって表示されたN個の文字のうち文字選択操作に従う1つの文字を保存する保存ステップ(S19)を実行させる。 A character processing program according to a fifth aspect of the present invention is an image pickup means for capturing a scene and M pieces (M: an integer equal to or greater than 3) for correcting the reproducibility of the scene image captured by the image pickup means in different manners. The processor (60) of the character processing device (10) having the holding means (52b to 52g) for holding the correction characteristics of the M is based on the contrast of the object scene image captured by the imaging means. A selection step (S5) for selecting N (N: integer greater than or equal to 2 and less than M) correction characteristics, and an object field having reproducibility corrected by each of the N correction characteristics selected by the selection means A recognition step for recognizing characters from the image (S9), a display step for displaying N characters recognized by the recognition means (S15), and a reception step for accepting a character selection operation related to the display processing of the display means (S17) And by display means Are N number of storage step of storing a single character following the character selection operation of the character (S19) is executed.
この発明によれば、文字認識を施される被写界像の再現性を補正する補正特性は、被写界像のコントラストに基づいて選択される。この結果、認識精度が向上する。さらに、選択される補正特性の数は、保持手段によって保持された補正特性の数よりも小さい。この結果、的外れな認識処理が排除される。さらに、文字認識のために選択される補正特性の数は2以上であり、認識された2以上の文字のいずれか1つが文字選択操作によって選択される。この結果、いずれの文字を最終的に選択するかが操作者の操作に委ねられる。これによって、被写界に現れた文字と同じ文字を簡単な処理で作成することができる。 According to the present invention, the correction characteristic for correcting the reproducibility of the object scene image subjected to character recognition is selected based on the contrast of the object scene image. As a result, recognition accuracy is improved. Furthermore, the number of correction characteristics to be selected is smaller than the number of correction characteristics held by the holding means. As a result, inappropriate recognition processing is eliminated. Furthermore, the number of correction characteristics selected for character recognition is two or more, and any one of the two or more recognized characters is selected by a character selection operation. As a result, it is left to the operator's operation which character is finally selected. As a result, the same character as that appearing in the object scene can be created by a simple process.
この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。 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は、操作キー26を含む。操作キー26によって通話のための発話操作が行われると、メインCPU30は、信号処理回路16,無線回路14およびアンテナ12を通して、発話信号を図示しない相手方の携帯端末に送信する。これに対して、相手方が着話操作を行うと、通話可能状態となる。
With reference to FIG. 1, the portable terminal 10 of this embodiment includes an
通話可能状態となった後にマイクロフォン24に音声が入力されると、この音声は、マイクロフォン20によってアナログ信号である音声信号に変換される。変換された音声信号は、アンプ22によって増幅され、AD/DA変換回路18によってディジタル信号である音声データに変換される。変換された音声データは、信号処理回路16によって符号化処理を施され、さらに無線回路14によって変調処理を施される。無線回路14によって生成された変調音声データは、アンテナ12から発信される。
When voice is input to the
一方、相手方から送られてきた変調音声データは、アンテナ12によって受信され、無線回路14によって復調処理を施されるとともに、信号処理回路16によって複合処理を施される。信号処理回路16によって複合された音声データは、AD/DA変換回路18によってアナログ音声信号に変換され、変換された音声信号は、アンプ24を介してスピーカ26から出力される。
On the other hand, the modulated audio data sent from the other party is received by the
このようにして相手方との間で通話が行われている最中に、操作キー26によって通話終了操作が行われると、メインCPU30は、信号処理回路16および無線回路14を制御して、相手方に通話終了信号を送信する。通話終了信号の送信後、メインCPU30は、通話処理を終了する。先に相手方から通話終了信号を受信した場合も、メインCPU30は、通話処理を終了する。
When a call end operation is performed by the
通話が行われていない状態で、操作キー26によって文字認識機能が有効化されると、カメラユニット28およびメインCPU30によってスルー画像出力処理が実行される。カメラユニット28はまず、被写界像を撮影し、撮影された被写界像に対応する生画像データを30fpsのフレームレートで生成し、生成された各フレームの生画像データにγ補正処理を含む信号処理を施す。これによって得られた各フレームの画像データは、メインCPU30に出力される。メインCPU30は、カメラユニット28から出力された画像データを30fpsのフレームレートでVRAM32に書き込まれる。VRAM32に書き込まれた画像データはLCDドライバ34によって読み出され、この結果、被写界像のリアルタイム動画像(スルー画像)がLCD36に表示される。
When the character recognition function is validated by the
操作キー26に設けられた図示しないボタンにより文字認識開始操作が行われると、カメラユニット28およびメインCPU30によって文字認識処理が実行される。カメラユニット28は、γ補正処理を施された画像データに2値化処理を行い、テキストコード表を参照して、2値化データによって表現された文字に近似する文字を検出する。なお、テキストコード表はフラッシュメモリ62に格納される。また、このテキストコード表とは、文字コードとビットマップ状の文字との対照表である。
When a character recognition start operation is performed by a button (not shown) provided on the
メインCPU30は、検出された文字を表すビットマップデータをVRAM32に描画する。LCDドライバ34は、VRAM32からビットマップデータを読み出し、これに対応する文字をLCD36に表示する。こうして、被写界に現れた文字と同じ(または近似する)文字がLCD36に表示される。
The main CPU 30 draws bitmap data representing the detected character in the
このような文字認識処理および文字表示処理は、文字認識終了操作が行われるまで、互いに異なるγ補正曲線を用いて複数回にわたって実行される。LCD36には、複数の文字が表示される。
Such character recognition processing and character display processing are executed a plurality of times using different γ correction curves until a character recognition end operation is performed. A plurality of characters are displayed on the
LCD36に表示された複数の文字の中から操作者が所望の文字を1つ選択する操作つまり文字選択操作が行われると、メインCPU30は操作者によって選択された文字に対応する文字コードをテキストコード表から読み出し、読み出された文字コードをフラッシュメモリ42に保存する。
When the operator performs an operation of selecting one desired character from the plurality of characters displayed on the
図2によれば、LCD36には、ピクトエリア36a,プレビューエリア36b,認識結果エリア36cおよびキー操作機能エリア36dが形成される。LCDドライバ34は、メインCPU30より発行される命令に基づいてVRAM32に描画されたビットマップデータをLCD36に出力する。スルー画像出力処理中、プレビューエリア36bにスルー画像が表示される。文字認識処理中、プレビューエリア36bにスルー画像が表示され、認識結果エリア36cに文字が表示される。編集用画面の表示処理中、認識結果エリア36cに複数の文字が表示される。
As shown in FIG. 2, the
カメラユニット28は、詳しくは図3に示すように構成される。被写界の光学像は、光学レンズ46を介してイメージセンサ48の撮像面に照射される。撮像面では、光電変換によって被写界の光学像に対応する電荷つまり生画像信号が生成される。カメラCPU60は、プリ露光および間引き読み出しの繰り返しをタイミングジェネレータ(TG)58に命令する。
The
TG58は、イメージセンサ48のプリ露光と、これによって生成された画像信号の間引き読み出しとを繰り返し実行する。TG58はまた、画素クロック,水平同期信号Hsyncおよび垂直同期信号Vsyncを含む複数のタイミング信号を発生する。ドライバ56は、かかるタイミング信号に応答してイメージセンサ48を駆動する。この結果、垂直同期信号Vsyncは1/30秒毎に発生し、画像信号は1/30秒に1フレームの割合でイメージセンサ48から出力される。
The
出力された生画像信号は、CDS/AGC/AD回路50によってノイズ除去,レベル調整およびA/D変換の一連の処理を施され、これによってディジタル信号である生画像データが得られる。γ補正回路52は、CDS/AGC/AD回路50から出力された生画像データにγ補正処理を施し、カメラ信号処理回路54は、γ補正回路52から出力されたγ補正画像データに白バランス調整,色分離,YUV変換などの処理を施し、YUV形式の画像データを生成する。生成された画像データはメモリコントローラ66によってSDRAM68に書き込まれる。カメラCPU60は、SDRAM68に書き込まれた画像データを読み出し、この画像データに上述で示した文字認識処理を施す。これによって得られた文字コードは、再びメモリコントローラ66によってSDRAM68に書き込まれる。メモリコントローラ66はまた、SDRAM68に書き込まれた文字コードを読み出し、I/F70に向けて出力される。こうして、カメラユニット28で生成された文字コードがメインCPU30に出力される。
The output raw image signal is subjected to a series of processes of noise removal, level adjustment and A / D conversion by the CDS / AGC /
γ補正回路52は、詳しくは図4に示すように構成される。クランプ回路52aは、CDS/AGC/AD回路50から出力された生画像データにクランプ処理を施し、クランプ処理が施された生画像データをスイッチSW1に向けて出力する。
The
カメラCPU60は、SDRAM68に格納された画像データのコントラストが閾値よりも大きいか否か判別し、この判別結果に従ってγ補正回路52に切り換え命令を発行する。スイッチSW1は、コントラストが閾値よりも大きければ端子T1に接続され、コントラストが閾値以下であれば端子T2に接続される。つまり、スイッチSW1の接続先は画像データのコントラストの大きさに基づいて変更される。これによって、文字認識処理にかかる時間が短縮される。
The
γ補正回路52に形成された6つのLUT52b〜52gは、2値化処理グループ(GRP1)およびリニア処理グループ(GRP2)の2つのグループに分けられる。GRP1はLUT52b,LUT52cおよびLUT52dによって構成され、GRP2はLUT52e,LUT52fおよびLUT52gによって構成される。
The six
クランプ回路52aから出力された生画像データがLUT52bに与えられると、LUT52bは図5(A)に示すγ曲線に従って補正された生画像データを端子T3に向けて出力する。こうして、強度の2値化処理を施されたγ補正画像データがLUT52bから出力される。
When the raw image data output from the
クランプ回路52aから出力された生画像データがLUT52cに与えられると、LUT52cは図5(B)に示すγ曲線に従って補正された生画像データを端子T4に向けて出力する。こうして、中度の2値化処理を施されたγ補正画像データがLUT52cから出力される。
When the raw image data output from the
クランプ回路52aから出力された生画像データがLUT52dに与えられると、LUT52dは図5(C)に示すγ曲線に従って補正された生画像データを端子T5向けて出力する。こうして、弱度の2値化処理を施されたγ補正画像データがLUT52dから出力される。
When the raw image data output from the
クランプ回路52aから出力された生画像データがLUT52eに与えられると、LUT52eは図6(A)に示すγ曲線に従って補正された生画像データを端子T6に向けて出力する。こうして、強度のリニア処理を施されたγ補正画像データがLUT52eから出力される。
When the raw image data output from the
クランプ回路52aから出力された生画像データがLUT52fに与えられると、LUT52fは図6(B)に示すγ曲線に従って補正された生画像データを端子T7に向けて出力する。こうして、中度のリニア処理を施されたγ補正画像データがLUT52fから出力される。
When the raw image data output from the
クランプ回路52aから出力された生画像データがLUT52fに与えられると、LUT52fは図6(C)に示すγ曲線に従って補正された生画像データを端子T8に向けて出力する。こうして、弱度のリニア処理を施されたγ補正画像データがLUT52gから出力される。
When the raw image data output from the
図4に戻って、カメラCPU60は、スイッチSW2およびSW3を同時に切り換える命令をγ補正回路52に発行し、この切り換え命令に従ってSDRAM68に形成された第1エリア68a,第2エリア68bおよび第3エリア68c(図7参照)への書き込み先切り換え命令をメモリコントローラ66に発行する。
Returning to FIG. 4, the
具体的には、スイッチSW2およびSW3は、端子T3およびT6にそれぞれ接続される。コントローラ66は、カメラ信号処理回路54より与えられた画像データを第1エリア68aに書き込み、第1エリア68aに書き込まれた画像データを読み出す。カメラCPU60は、これによって得られた画像データを文字コードに変換する。変換された文字コードは、コントローラ66によって第1エリア68aに書き込まれる。
Specifically, the switches SW2 and SW3 are connected to terminals T3 and T6, respectively. The
カメラCPU60から切り換え命令が発行されると、スイッチSW2およびSW3は端子T4およびT7にそれぞれ接続され、コントローラ66はカメラ信号処理回路54より与えられた画像データを第2エリア68bに書き込む。また、カメラCPU60から切り換え命令が発行されると、スイッチSW2およびSW3は端子T5およびT8にそれぞれ接続され、コントローラ66はカメラ信号処理回路54より与えられた画像データを第3エリア68cに書き込む。さらに、カメラCPU60から切り換え命令が発行されると、スイッチSW2およびSW3は端子T3およびT6にそれぞれ接続され、コントローラ66はカメラ信号処理回路54より与えられた画像データを第1エリア68aに書き込む。
When a switching command is issued from the
つまり、スイッチSW2およびSW3の接続先は文字コードがSDRAM68に格納される毎に変更され、コントローラ66はγ補正の強度が異なる3つの生画像データをSDRAM68に格納する。
That is, the connection destination of the switches SW2 and SW3 is changed every time the character code is stored in the
この実施例によれば、図8(A)に示すような文字と背景とのコントラストの大きい被写体が撮影されるとき、文字認識処理中の文字が認識結果エリア42cに表示される(図9参照)。文字認識処理が終了すると、第1エリア68a,第2エリア68bおよび第3エリア68cに格納された文字コードに対応する文字が図10(A)に示すようにそれぞれ表示される。
According to this embodiment, when a subject having a large contrast between the character and the background as shown in FIG. 8A is photographed, the character being subjected to the character recognition process is displayed in the recognition result area 42c (see FIG. 9). ). When the character recognition process is completed, the characters corresponding to the character codes stored in the
一方、図8(B)に示すような文字と背景とのコントラストの小さい被写体が撮影されるとき、文字認識処理が終了すると、第1エリア68a,第2エリア68bおよび第3エリア68cに格納された文字コードに対応する文字が図10(B)に示すようにそれぞれ表示される。
On the other hand, when a subject having a small contrast between the character and the background is photographed as shown in FIG. 8B, when the character recognition process is completed, the characters are stored in the
文字認識機能が有効化されたとき、カメラCPU60は図11〜図13に示すフロー図に従う処理を実行する。なお、図11〜図13に示すフロー図に対応する制御プログラムはフラッシュメモリ62に記憶される。
When the character recognition function is validated, the
図11を参照して、ステップS1で初期設定を行う。具体的には、スイッチSW1を端子T1に接続させる命令,スイッチSW2を端子T3に接続させる命令およびスイッチSW3を端子T6に接続させる命令をγ補正回路52に発行し、カウント値Nを1に設定する。
Referring to FIG. 11, initial setting is performed in step S1. Specifically, an instruction to connect the switch SW1 to the terminal T1, an instruction to connect the switch SW2 to the terminal T3, and an instruction to connect the switch SW3 to the terminal T6 are issued to the
ステップS3では、認識開始操作が行われるまで待機する。認識開始操作が行われると、ステップS5で選択処理を行う。ステップS7では、垂直同期信号Vsyncが発生するまで待機する。垂直同期信号Vsyncが発生すると、ステップS9で文字認識処理を行う。ステップS11ではγ曲線切換処理を実行し、この処理を終えると、認識終了操作が行われたか否かをステップS13で判断する。判断結果がYESであればステップS15に進み、判断結果がNOであればステップS7に戻る。ステップS15では、SDRAM68に格納された文字コードを認識結果エリア42cに表示すべく一覧表示処理を実行する。ステップS17で操作者による所望の文字が選択されると、選択完了と判断し、ステップS19に進む。ステップS19では、所望の文字に対応する文字コードをフラッシュメモリ42に保存し、この処理を終える。
In step S3, the process waits until a recognition start operation is performed. When a recognition start operation is performed, a selection process is performed in step S5. In step S7, the process waits until the vertical synchronization signal Vsync is generated. When the vertical synchronization signal Vsync is generated, character recognition processing is performed in step S9. In step S11, a γ curve switching process is executed. When this process is completed, it is determined in step S13 whether or not a recognition end operation has been performed. If the determination result is YES, the process proceeds to step S15, and if the determination result is NO, the process returns to step S7. In step S15, a list display process is executed to display the character codes stored in the
ステップS5の選択処理について図12を用いて説明する。ステップS21では、SDRAM68に格納された画像データのコントラストが閾値よりも大きいか否か判別する。判別結果がYESであればステップS23に進み、判別結果がNOであればステップS25に進む。ステップS23では、スイッチSW1を端子T1に接続させる命令をγ補正回路52に発行し、上位ルーチンに復帰する。ステップS25では、スイッチSW1を端子T2に接続させる命令をγ補正回路52に発行し、上位ルーチンに復帰する。
The selection process in step S5 will be described with reference to FIG. In step S21, it is determined whether or not the contrast of the image data stored in the
ステップS11のγ曲線切換処理について図13を用いて説明する。ステップS31では、カウント値Nをインクリメントさせる。ステップS33では、カウント値Nが3より大きいか否か判断する。判別結果がYESであればステップS35に進み、判別結果がNOであればステップS37に進む。ステップS35では、カウント値Nに1を代入し、ステップS37に進む。ステップS37では、カウント値Nの値に基づいてスイッチSW2およびSW3を切り換える命令をγ補正回路52に発行する。つまり、カウント値Nが1のとき、スイッチSW2およびSW3は端子T3およびT6にそれぞれ接続され、カウント値Nが2のとき、スイッチSW2およびSW3は端子T4およびT7にそれぞれ接続され、そしてカウント値Nが3のとき、スイッチSW2およびSW3は端子T5およびT8に接続される。
The γ curve switching process in step S11 will be described with reference to FIG. In step S31, the count value N is incremented. In step S33, it is determined whether the count value N is greater than 3. If the determination result is YES, the process proceeds to step S35, and if the determination result is NO, the process proceeds to step S37. In step S35, 1 is substituted into the count value N, and the process proceeds to step S37. In step S37, an instruction to switch the switches SW2 and SW3 based on the count value N is issued to the
以上の説明からわかるように、被写界は、イメージセンサ48によって捉えられる。LUT52b〜52gは、イメージセンサ48によって捉えられた被写界像の再現性を互いに異なる態様で補正する6個のγ補正特性を保持する。カメラCPU60は、イメージセンサ48によって捉えられた被写界像のコントラストに基づいて、6個の補正特性の中から3個の補正特性を選択する。
As can be seen from the above description, the object scene is captured by the
文字は、カメラCPU60によって選択された3個のγ補正特性の各々によって補正された再現性を有する被写界像から、カメラCPU60によって認識される。カメラCPU60によって認識された3個の文字は、LCD36に表示される。文字選択操作は、カメラCPU60によって受け付けられる。LCD36に表示された3個の文字のうち文字選択操作に従う1つの文字がフラッシュメモリ42に保存される。
The character is recognized by the
このように、文字認識を施される被写界像の再現性を補正するγ補正特性は、被写界像のコントラストに基づいて選択される。この結果、認識精度が向上する。さらに、選択されるγ補正特性の数は、LUT52a〜52gによって保持されたγ補正特性の数よりも小さい。この結果、的外れな認識処理が排除される。さらに、文字認識のために選択されるγ補正特性の数は2以上であり、認識された2以上の文字のいずれか1つが文字選択操作によって選択される。この結果、いずれの文字を最終的に選択するかが操作者の操作に委ねられる。
これによって、被写界に現れた文字と同じ文字を簡単な処理で作成することができる。
As described above, the γ correction characteristic for correcting the reproducibility of the object scene image subjected to character recognition is selected based on the contrast of the object scene image. As a result, recognition accuracy is improved. Further, the number of γ correction characteristics to be selected is smaller than the number of γ correction characteristics held by the
As a result, the same character as that appearing in the object scene can be created by a simple process.
なお、この実施例では、認識処理の対象が文字であるが、これに限らず、数字,符号,アルファベットなどのキャラクタデータも認識することができる。 In this embodiment, the object of the recognition process is a character. However, the present invention is not limited to this, and character data such as numbers, codes, and alphabets can also be recognized.
また、この実施例では、2値化処理グループはLUT52b〜52dによって構成され、リニア処理グループはLUT52e〜52gによって構成されるため、LUT52b〜52gの各々は2値化処理グループおよびリニア処理グループの両方に属しない。しかし、これに限らず、LUT52b〜52gのいずれか一つが2値化処理グループおよびリニア処理グループの両方のグループに属する構成を持つこともの可能である。
In this embodiment, since the binarization processing group is composed of
10 … 携帯通話装置
12 … アンテナ
26 … 操作キー
28 … カメラユニット
30 … メインCPU
36 … LCD
48 … イメージセンサ
52 … γ補正回路
52a … クランプ回路
52b〜52g … LUT
60 … カメラCPU
68 … SDRAM
48 … USBコントローラ
50 … USB端子
52 … PC
DESCRIPTION OF SYMBOLS 10 ...
36 ... LCD
48 ...
60 ... Camera CPU
68 ... SDRAM
48 ...
Claims (5)
前記撮像手段によって捉えられた被写界像の再現性を互いに異なる態様で補正するM個(M:3以上の整数)の補正特性を保持する保持手段、
前記撮像手段によって捉えられた被写界像のコントラストに基づいて前記M個の補正特性の中からN個(N:2以上M個未満の整数)の補正特性を選択する選択手段、
前記選択手段によって選択されたN個の補正特性の各々によって補正された再現性を有する被写界像から文字を認識する認識手段、
前記認識手段によって認識されたN個の文字を表示する表示手段、
前記表示手段の表示処理に関連して文字選択操作を受け付ける受付手段、および
前記表示手段によって表示されたN個の文字のうち前記文字選択操作に従う1つの文字を保存する保存手段を備える、文字処理装置。 Imaging means for capturing the object scene,
Holding means for holding M (M: integer greater than or equal to 3) correction characteristics for correcting the reproducibility of the object scene image captured by the imaging means in different manners;
Selection means for selecting N (N: an integer less than or equal to 2 and less than M) correction characteristics from the M correction characteristics based on the contrast of the object scene image captured by the imaging means;
Recognizing means for recognizing characters from an object scene image having reproducibility corrected by each of the N correction characteristics selected by the selecting means;
Display means for displaying N characters recognized by the recognition means;
Character processing comprising: a receiving unit that receives a character selection operation related to the display process of the display unit; and a storage unit that stores one character according to the character selection operation among N characters displayed by the display unit apparatus.
前記選択手段は前記複数のグループのいずれか1つから前記N個の補正特徴を選択する、請求項1記載の文字処理装置。 The holding means divides the M correction characteristics into a plurality of groups so that each has the N correction characteristics,
The character processing apparatus according to claim 1, wherein the selection unit selects the N correction features from any one of the plurality of groups.
前記撮像手段によって捉えられた被写界像のコントラストに基づいて前記M個の補正特性の中からN個(N:2以上M個未満の整数)の補正特性を選択する選択ステップ、
前記選択手段によって選択されたN個の補正特性の各々によって補正された再現性を有する被写界像から文字を認識する認識ステップ、
前記認識手段によって認識されたN個の文字を表示する表示ステップ、
前記表示手段の表示処理に関連して文字選択操作を受け付ける受付ステップ、および
前記表示手段によって表示されたN個の文字のうち前記文字選択操作に従う1つの文字を保存する保存ステップを実行させる、文字処理プログラム。 Imaging means for capturing an object scene, and holding means for retaining M (M: an integer of 3 or more) correction characteristics for correcting the reproducibility of the object scene image captured by the image capturing means in different modes. In the processor of the character processor
A selection step of selecting N (N: integer from 2 to less than M) correction characteristics from the M correction characteristics based on the contrast of the object scene image captured by the imaging means;
A recognition step for recognizing characters from a scene image having reproducibility corrected by each of the N correction characteristics selected by the selection means;
A display step of displaying N characters recognized by the recognition means;
A character receiving step for receiving a character selection operation in relation to the display process of the display means, and a storage step for storing one character according to the character selection operation among the N characters displayed by the display means. Processing program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005192472A JP2007011738A (en) | 2005-06-30 | 2005-06-30 | Character processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005192472A JP2007011738A (en) | 2005-06-30 | 2005-06-30 | Character processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007011738A true JP2007011738A (en) | 2007-01-18 |
Family
ID=37750140
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005192472A Pending JP2007011738A (en) | 2005-06-30 | 2005-06-30 | Character processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007011738A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009124439A (en) * | 2007-11-14 | 2009-06-04 | Canon Inc | Image pickup apparatus, method and program for controlling the same |
JP2012080588A (en) * | 2012-01-10 | 2012-04-19 | Canon Inc | Imaging device and control method of the same |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01147784A (en) * | 1987-12-04 | 1989-06-09 | Oki Electric Ind Co Ltd | Character recognizing device |
JPH06292007A (en) * | 1993-03-31 | 1994-10-18 | Minolta Camera Co Ltd | Picture processing unit and picture reader |
JPH08255224A (en) * | 1995-03-17 | 1996-10-01 | Ricoh Co Ltd | Digital copy machine |
JP2001203934A (en) * | 2000-01-24 | 2001-07-27 | Ricoh Co Ltd | Digital camera |
JP2003289467A (en) * | 2002-03-27 | 2003-10-10 | Casio Comput Co Ltd | Imaging apparatus and automatic focusing method therefor |
JP2004355518A (en) * | 2003-05-30 | 2004-12-16 | Sharp Corp | Mobile communication device |
-
2005
- 2005-06-30 JP JP2005192472A patent/JP2007011738A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01147784A (en) * | 1987-12-04 | 1989-06-09 | Oki Electric Ind Co Ltd | Character recognizing device |
JPH06292007A (en) * | 1993-03-31 | 1994-10-18 | Minolta Camera Co Ltd | Picture processing unit and picture reader |
JPH08255224A (en) * | 1995-03-17 | 1996-10-01 | Ricoh Co Ltd | Digital copy machine |
JP2001203934A (en) * | 2000-01-24 | 2001-07-27 | Ricoh Co Ltd | Digital camera |
JP2003289467A (en) * | 2002-03-27 | 2003-10-10 | Casio Comput Co Ltd | Imaging apparatus and automatic focusing method therefor |
JP2004355518A (en) * | 2003-05-30 | 2004-12-16 | Sharp Corp | Mobile communication device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009124439A (en) * | 2007-11-14 | 2009-06-04 | Canon Inc | Image pickup apparatus, method and program for controlling the same |
JP2012080588A (en) * | 2012-01-10 | 2012-04-19 | Canon Inc | Imaging device and control method of the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100627018B1 (en) | Computer-readable recording medium recording image display apparatus, image display method and program for controlling on-screen display | |
US7777785B2 (en) | Image pickup device, picked-up image processing method, and computer-readable recording medium for performing a correction process on a picked-up image | |
JP5683745B2 (en) | Image display apparatus and method | |
JP4251650B2 (en) | Image processing apparatus and program | |
JPWO2006009300A1 (en) | Multi-colored two-dimensional barcode and video display device, information terminal device, display method, decoding method, information communication system, and information communication method | |
EP2437473A2 (en) | Control apparatus and control method | |
US8687106B2 (en) | Camera device, mobile terminal and frame rate controlling method | |
JP4662874B2 (en) | Image processing apparatus and program | |
US20120188440A1 (en) | Camera device, mobile terminal and ae controlling method | |
JP2007011738A (en) | Character processor | |
US8417281B2 (en) | Communication terminal with camera | |
US7714930B2 (en) | Control method for digital photographing apparatus for efficient setting operation and digital photographing apparatus using the method | |
US20060082661A1 (en) | Method of controlling digital photographing apparatus for classification reproduction and digital photographing apparatus using the method | |
US8810690B2 (en) | Method of controlling digital photographing apparatus and digital photographing apparatus using the same | |
JP2007174229A (en) | Color video image display device | |
US7456893B2 (en) | Method of controlling digital image processing apparatus for efficient reproduction and digital image processing apparatus using the method | |
KR101889702B1 (en) | Method for correcting user’s hand tremor, machine-readable storage medium and imaging device | |
KR101464532B1 (en) | Digital image processing apparatus and method for controlling the same | |
JP2005176272A (en) | Image pickup method and apparatus thereof | |
KR100547706B1 (en) | How to register wallpaper on TV | |
KR100800896B1 (en) | Device and method for transmitting a message in a portable terminal | |
JP2012119798A (en) | Image generation method, image generation device and program | |
JP2011197995A (en) | Image processor and image processing method | |
KR100663580B1 (en) | Display Method of Image in Mobile Communication Terminal with Camera | |
US20060152613A1 (en) | Method and apparatus for displaying digital images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080619 |
|
A625 | Written request for application examination (by other person) |
Free format text: JAPANESE INTERMEDIATE CODE: A625 Effective date: 20080619 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20090925 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20090928 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100722 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100803 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101001 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110426 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110627 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20111206 |