JPH11220741A - Digital camera - Google Patents

Digital camera

Info

Publication number
JPH11220741A
JPH11220741A JP10021795A JP2179598A JPH11220741A JP H11220741 A JPH11220741 A JP H11220741A JP 10021795 A JP10021795 A JP 10021795A JP 2179598 A JP2179598 A JP 2179598A JP H11220741 A JPH11220741 A JP H11220741A
Authority
JP
Japan
Prior art keywords
image
unit
character recognition
color
frame memory
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.)
Granted
Application number
JP10021795A
Other languages
Japanese (ja)
Other versions
JP3997586B2 (en
Inventor
Natsuyuki Ono
奈津志 小野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP02179598A priority Critical patent/JP3997586B2/en
Publication of JPH11220741A publication Critical patent/JPH11220741A/en
Application granted granted Critical
Publication of JP3997586B2 publication Critical patent/JP3997586B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To drastically reduce the deterioration of frequency components needed for character recognition and to enhance character recognition ratio. SOLUTION: At character recognition image-pickup of a digital camera, a camera control part 108 instructs an image binarization part 105 to perform binarization processing of the image. Then, when the image binarization part 105 refers to contents of a frame memory 102, interprets the data of each pixel as luminance data as they are and has a luminance more than a certain threshold, other wise it interprets it as being white or black. Thus, by binarizing the image and writing it in an image storage part 106, it is determined whether or not it is an image-pickup for the character recognition pixel, a binary pixel that is not much distorted is taken out without performing pixel mixing processing at image-pickup of the character recognition pixel and the character recognition ratio is improved.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する利用分野】本発明は、静止画像を電子的
にデジタルデータとして記録するデジタルカメラに関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital camera for electronically recording a still image as digital data.

【0002】[0002]

【従来の技術】パーソナルコンピュータなどの文字認識
ソフトでは、2値化された画像データを読み込み、この
画像内の文字を認識している。そのためデジタルカメラ
で名刺などを撮影し、そのカラー画像をパソコンに読み
込み、2値化した上で文字認識処理を行っていた。
2. Description of the Related Art Character recognition software such as a personal computer reads binary image data and recognizes characters in the image. For this reason, a business card or the like is photographed with a digital camera, the color image is read into a personal computer, and then binarized and then subjected to character recognition processing.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
デジタルカメラで撮影した画像では、単板式のカラーC
CD(Charge Coupled Device)
を使用しているため、各画素について(原色フィルター
タイプの場合)RGB(Red・Green・Blu
e)のいずれかの情報しか持っていない。
However, in an image taken by a conventional digital camera, a single-plate color C
CD (Charge Coupled Device)
, RGB (Red / Green / Blu) for each pixel (in case of primary color filter type)
e) has only any one of the information of e).

【0004】したがって、ある画素に注目すると、たと
えばその画素がRの情報しか持っていない場合、その画
素に対してG,Bのデータを生成しなければならない。
Therefore, focusing on a certain pixel, for example, if the pixel has only R information, G and B data must be generated for the pixel.

【0005】従来のデジタルカメラでは、画素混合と呼
ばれる手法を用いてG,Bの情報を補間する。より具体
的には、隣接するG,Bの情報を持つ画素からローパス
フィルタ演算などによって注目している画素に対する
G,Bの情報を算出する。
In a conventional digital camera, G and B information are interpolated using a method called pixel mixing. More specifically, G and B information for a pixel of interest is calculated by low-pass filter calculation or the like from adjacent pixels having G and B information.

【0006】このように、画素混合が行われるとローパ
スフィルタなどの演算が施されることとなり、文字の輪
郭のように高周波成分を多く含む画像は歪んでしまう。
たとえば、名刺などを撮影し、画素混合を行った場合、
文字の輪郭はぼやけてしまい、文字に含まれる白い部分
は黒くつぶれてしまう。このように、歪んだ画像に対し
て2値化を行い、文字認識処理を実行しても高い認識率
は期待できない。
As described above, when pixel mixing is performed, an operation such as a low-pass filter is performed, and an image containing many high-frequency components such as a character outline is distorted.
For example, if you shoot a business card and mix pixels,
The outline of the character is blurred, and the white portion included in the character is blackened. Thus, even if the distorted image is binarized and the character recognition process is executed, a high recognition rate cannot be expected.

【0007】そこで、本発明は、文字認識に必要な高周
波成分の劣化を大幅に低減させ、文字の認識率を向上さ
せることのできるデジタルカメラを提供することを目的
とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a digital camera capable of greatly reducing the deterioration of high-frequency components required for character recognition and improving the character recognition rate.

【0008】[0008]

【課題を解決するための手段】この課題を解決するため
に、本発明のデジタルカメラは、カラー画像を取り込む
単板式カラーCCDと、前記単板式カラーCCDが取り
込んだ画像データを記憶するフレームメモリと、前記フ
レームメモリに記憶された画像データに対し、個々の画
素に対応するRGBのデータを生成するカラーデータ補
間部と、撮影した画像に対して文字認識を行うか否かの
指示を記憶する撮影モード指示部と、前記撮影モード指
示部に記憶された指示が文字認識用画像の撮影の場合
に、前記単板式カラーCCDから前記フレームメモリに
取り込まれた画像データを2値化する画像2値化部と、
前記カラーデータ補間部または前記画像2値化部の出力
結果を記憶する画像記憶部とを有するものである。
In order to solve this problem, a digital camera according to the present invention comprises a single-chip color CCD for capturing a color image, and a frame memory for storing image data captured by the single-chip color CCD. A color data interpolating unit for generating RGB data corresponding to individual pixels with respect to the image data stored in the frame memory, and an instruction to store an instruction as to whether or not to perform character recognition on the captured image A mode instructing unit and an image binarizing unit that binarizes image data taken into the frame memory from the single-chip color CCD when an instruction stored in the photographing mode instructing unit is to photograph a character recognition image. Department and
An image storage unit for storing an output result of the color data interpolation unit or the image binarization unit.

【0009】これにより、文字認識用画素の撮影である
か否かの判断ができるので、文字認識用画素の撮影時に
画素混合処理を行わずに歪みの少ない2値画素を取り出
すのことができ、文字認識率を大幅に向上することがで
きる。
Thus, it is possible to determine whether or not the image of the character recognition pixel has been photographed, and it is possible to extract a binary pixel with little distortion without performing a pixel mixing process when photographing the character recognition pixel. The character recognition rate can be greatly improved.

【0010】また、本発明のデジタルカメラは、前記画
像2値化部に対し、2値化処理を行う際のしきい値を指
示する2値化しきい値指示部と、前記2値化しきい値指
示部の指示した内容による画像の変化を表示する画像デ
ータを記憶する表示用メモリと、前記表示用メモリの内
容を表示する表示部とを有するものである。
In the digital camera according to the present invention, preferably, the image binarizing section designates a threshold value for performing a binarizing process; A display memory for storing image data for displaying a change in the image according to the content specified by the instruction unit; and a display unit for displaying the content of the display memory.

【0011】これにより、ユーザが画像を確認しながら
2値化しきい値を選択して撮影できるので、文字認識に
必要な高周波成分を保存でき、文字認識率を向上するこ
とができる。
Thus, the user can select and select the binarization threshold value while checking the image, and can save the high-frequency components necessary for character recognition, thereby improving the character recognition rate.

【0012】さらに、本発明のデジタルカメラは、前記
単板式カラーCCDに対して、前記画像記憶部の内容に
基づいてホワイトバランスを算出し、RGBの各ゲイン
を指示するオートホワイトバランス設定部を有するもの
である。
Further, the digital camera of the present invention has an automatic white balance setting section for calculating the white balance for the single-chip color CCD based on the contents of the image storage section and instructing each of the RGB gains. Things.

【0013】これにより、光源の色温度に左右されず、
安定した輝度成分もしくは2値化された画像の取り出し
を行えるので、文字認識に必要な高周波成分が保存さ
れ、文字の認識率を向上することができる。
[0013] Thus, the color temperature of the light source does not depend on
Since a stable luminance component or a binarized image can be taken out, high-frequency components necessary for character recognition are preserved, and the character recognition rate can be improved.

【0014】また、本発明のデジタルカメラは、前記フ
レームメモリの内容を参照して、輪郭強調処理を行う輪
郭強調部を有するものである。
Further, the digital camera of the present invention has an outline emphasizing section for performing an outline emphasizing process by referring to the contents of the frame memory.

【0015】これにより、光学系による高周波成分の劣
化を改善するため、文字認識に必要な高周波成分が保存
され、文字の認識率を向上することができる。
[0015] Thereby, in order to improve the deterioration of the high frequency component due to the optical system, the high frequency component necessary for character recognition is preserved, and the character recognition rate can be improved.

【0016】さらに、本発明のデジタルカメラは、接写
か通常撮影かを指示する撮影距離指示部と、前記単板式
カラーCCDに取り込まれている画像から色情報を抽出
し、色情報が少なくかつ接写モードの場合に文字認識用
の撮影であると判断するOCR(Optical Ch
aracter Reader)撮影判断部を有するも
のである。
The digital camera according to the present invention further comprises a photographing distance instructing unit for instructing whether the photographing is a close-up photographing or a normal photographing, and a color information extracting unit for extracting color information from the image taken in the single-plate type color CCD. OCR (Optical Ch) that determines that the shooting is for character recognition in the mode
(Archor Reader) photographing determination unit.

【0017】これにより、接写撮影状況下で被写体の色
情報が少ない場合に文字認識用画像の撮影と判定される
のでユーザによるOCR用の撮影における指示が不要と
なり、操作の負担を軽減することができる。
Accordingly, when the color information of the subject is small in the close-up photographing situation, it is determined that the image for character recognition is to be photographed, so that the user does not need to give an instruction in the photographing for OCR, and the burden on the operation can be reduced. it can.

【0018】本発明のデジタルカメラは、カラー画像を
取り込む単板式カラーCCDと、前記単板式カラーCC
Dが取り込んだ画像データを記憶するフレームメモリ
と、前記フレームメモリに記憶された画像データに対
し、個々の画素に対応するRGBのデータを生成するカ
ラーデータ補間部と、接写か通常撮影かを指示する撮影
距離指示部と、前記単板式カラーCCDに取り込まれて
いる画像から色情報を抽出し、色情報が少なくかつ接写
モードであれば、文字認識用の撮影であると判断するO
CR撮影判断部と、前記撮影モード指示部に記憶された
指示が文字認識用画像の撮影の場合に、前記単板式カラ
ーCCDから前記フレームメモリに取り込まれた画像デ
ータを2値化する画像2値化部と、前記カラーデータ補
間部または前記画像2値化部の出力結果を記憶する画像
記憶部とを有するものである。
The digital camera according to the present invention includes a single-chip color CCD for capturing a color image and the single-chip color CCD.
D, a frame memory for storing the captured image data, a color data interpolator for generating RGB data corresponding to individual pixels for the image data stored in the frame memory, and an instruction for close-up or normal shooting A photographing distance instructing unit that performs color recognition from an image captured by the single-chip color CCD, and determines that the photographing is for character recognition if the color information is small and the close-up mode is set.
A CR image determination unit, and an image binary for binarizing image data taken into the frame memory from the single-chip color CCD when an instruction stored in the imaging mode instruction unit is to capture a character recognition image. And an image storage unit for storing an output result of the color data interpolation unit or the image binarization unit.

【0019】これにより、接写撮影状況下で被写体の色
情報が少ない場合に文字認識用画像の撮影と判定するさ
れるのでユーザによるOCR用の撮影における指示が不
要となり、操作の負担を軽減することができる。
Accordingly, when the color information of the subject is small in the close-up photographing situation, it is determined that the image for character recognition is to be photographed, so that the user does not need to give an instruction in photographing for OCR, thereby reducing the burden of operation. Can be.

【0020】[0020]

【発明の実施の形態】本発明の請求項1に記載の発明
は、カラー画像を取り込む単板式カラーCCDと、前記
単板式カラーCCDが取り込んだ画像データを記憶する
フレームメモリと、前記フレームメモリに記憶された画
像データに対し、個々の画素に対応するRGBのデータ
を生成するカラーデータ補間部と、撮影した画像に対し
て文字認識を行うか否かの指示を記憶する撮影モード指
示部と、前記撮影モード指示部に記憶された指示が文字
認識用画像の撮影の場合に、前記単板式カラーCCDか
ら前記フレームメモリに取り込まれた画像データを2値
化する画像2値化部と、前記カラーデータ補間部または
前記画像2値化部の出力結果を記憶する画像記憶部とを
備えたデジタルカメラであり、撮影モード指示部によっ
て文字認識用画素の撮影であるか否かの判断を行うので
文字認識用画素の撮影時に画素混合処理を行わずに歪み
の少ない2値画素を取り出すことができ文字認識率を大
幅に向上できるという作用を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention according to claim 1 of the present invention provides a single-chip color CCD for taking in a color image, a frame memory for storing image data taken by the single-chip color CCD, and a frame memory. A color data interpolation unit that generates RGB data corresponding to each pixel with respect to the stored image data, a shooting mode instruction unit that stores an instruction as to whether or not to perform character recognition on a captured image; An image binarization unit for binarizing image data taken into the frame memory from the single-panel color CCD when the instruction stored in the imaging mode instruction unit is to capture a character recognition image; A digital interpolating unit or an image storing unit that stores an output result of the image binarizing unit. Since it is determined whether or not a shadow has the effect of a can retrieve the binary pixels less distortion without pixel mixing process at the time of shooting for character recognition pixel character recognition rate can be greatly improved.

【0021】本発明の請求項2に記載の発明は、請求項
1記載の発明において、前記画像2値化部に対し、2値
化処理を行う際のしきい値を指示する2値化しきい値指
示部と、前記2値化しきい値指示部の指示した内容によ
る画像の変化を表示する画像データを記憶する表示用メ
モリと、前記表示用メモリの内容を表示する表示部とを
設けたデジタルカメラであり、2値化しきい値指示部な
らびに表示部により、ユーザが画像を確認しながら2値
化しきい値を選択して撮影できるので、文字認識に必要
な高周波成分を保存でき、文字認識率を向上できるとい
う作用を有する。
According to a second aspect of the present invention, in the first aspect of the present invention, a binarization threshold for instructing the image binarization section to specify a threshold value for performing a binarization process. A digital memory comprising: a value indicating unit; a display memory for storing image data for displaying a change in an image according to the content specified by the binarization threshold value indicating unit; and a display unit for displaying the content of the display memory. The camera is a camera, and a binarization threshold instructing unit and a display unit allow a user to select and select a binarization threshold while checking an image, so that high-frequency components required for character recognition can be stored and a character recognition rate can be saved. Can be improved.

【0022】本発明の請求項3に記載の発明は、請求項
1または2記載の発明において、前記単板式カラーCC
Dに対して、前記画像記憶部の内容に基づいてホワイト
バランスを算出し、RGBの各ゲインを指示するオート
ホワイトバランス設定部を設けたデジタルカメラであ
り、ホワイトバランス算出部によって光源の色温度に左
右されず、安定した輝度成分あるいは2値化された画像
の取り出しを行うことができるので、文字認識率を向上
でき、色の付いている名刺などであっても正しく文字認
識を行うことができるという作用を有する。
According to a third aspect of the present invention, in the first or second aspect, the single plate type color CC is provided.
D is a digital camera provided with an auto white balance setting unit that calculates a white balance based on the content of the image storage unit and instructs each of the RGB gains. Since a stable luminance component or a binarized image can be taken out without being affected, the character recognition rate can be improved, and character recognition can be performed correctly even with a colored business card. It has the action of:

【0023】本発明の請求項4に記載の発明は、請求項
1〜3のいずれか1項に記載の発明において、前記フレ
ームメモリの内容を参照して、輪郭強調処理を行う輪郭
強調部を設けたデジタルカメラであり、この輪郭強調部
によって光学系による高周波成分の劣化が改善されるの
で、文字認識に必要な高周波成分が保存され、文字認識
の認識率を向上できるという作用を有する。
According to a fourth aspect of the present invention, in the invention according to any one of the first to third aspects, the outline emphasizing section for performing the outline emphasizing process by referring to the contents of the frame memory is provided. The outline emphasis section improves deterioration of high-frequency components due to the optical system, so that high-frequency components necessary for character recognition are preserved, and the recognition rate of character recognition can be improved.

【0024】本発明の請求項5に記載の発明は、請求項
1〜4のいずれか1項に記載の発明において、接写か通
常撮影かを指示する撮影距離指示部と、前記単板式カラ
ーCCDに取り込まれている画像から色情報を抽出し、
色情報が少なくかつ接写モードの場合に文字認識用の撮
影であると判断するOCR撮影判断部を設けたデジタル
カメラであり、OCR撮影判断部によって接写撮影にお
いて被写体の色情報が少ない場合でも文字認識用の画像
を認識することができるのでユーザによるOCR用撮影
の指示が不要となり、操作負担を軽減できるという作用
を有する。
According to a fifth aspect of the present invention, in accordance with the first aspect of the present invention, there is provided a photographing distance indicating section for instructing a close-up photographing or a normal photographing, and the single-plate type color CCD. Extract color information from the image captured in the
This digital camera is equipped with an OCR shooting determination unit that determines that the shooting is for character recognition when the color information is small and in the close-up mode. Even if the color information of the subject is small in the close-up shooting by the OCR shooting determination unit, character recognition is performed. Since it is possible to recognize the image for the OCR, there is no need for the user to give an instruction for the OCR shooting, and the operation load can be reduced.

【0025】本発明の請求項6に記載の発明は、カラー
画像を取り込む単板式カラーCCDと、前記単板式カラ
ーCCDが取り込んだ画像データを記憶するフレームメ
モリと、前記フレームメモリに記憶された画像データに
対し、個々の画素に対応するRGBのデータを生成する
カラーデータ補間部と、接写か通常撮影かを指示する撮
影距離指示部と、前記単板式カラーCCDに取り込まれ
ている画像から色情報を抽出し、色情報が少なくかつ接
写モードであれば、文字認識用の撮影であると判断する
OCR撮影判断部と、前記撮影モード指示部に記憶され
た指示が文字認識用画像の撮影の場合に、前記単板式カ
ラーCCDから前記フレームメモリに取り込まれた画像
データを2値化する画像2値化部と、前記カラーデータ
補間部または前記画像2値化部の出力結果を記憶する画
像記憶部とを備えたデジタルカメラであり、OCR撮影
判断部によって接写撮影において被写体の色情報が少な
い場合でも文字認識用の画像を認識することができるの
でユーザによるOCR用撮影の指示が不要となり、操作
負担を軽減できるという作用を有する。
According to a sixth aspect of the present invention, there is provided a single-chip color CCD for capturing a color image, a frame memory for storing image data captured by the single-chip color CCD, and an image stored in the frame memory. For the data, a color data interpolator for generating RGB data corresponding to each pixel, a photographing distance instructing unit for instructing close-up or normal photographing, and color information from an image captured by the single-chip color CCD If the color information is small and the shooting mode is the close-up mode, an OCR shooting determination unit that determines that the shooting is for character recognition, and the instruction stored in the shooting mode instruction unit is a shooting of a character recognition image An image binarization unit for binarizing image data taken into the frame memory from the single-chip color CCD; and the color data interpolation unit or the color data interpolation unit. The digital camera includes an image storage unit that stores an output result of the image binarization unit. The OCR imaging determination unit can recognize an image for character recognition even in a case where color information of a subject is small in close-up photography. Therefore, there is no need for the user to give an instruction for OCR shooting, and the operation load can be reduced.

【0026】以下、本発明の実施の形態について、図1
から図10を用いて説明する。なお、これらの図面にお
いて同一の部材には同一の符号を付しており、また、重
複した説明は省略される。
Hereinafter, an embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. In these drawings, the same members are denoted by the same reference numerals, and duplicate description will be omitted.

【0027】(実施の形態1)図1は本発明の実施の形
態1によるデジタルカメラの機能ブロック図、図2は本
発明の実施の形態1によるデジタルカメラの撮影動作を
示すフローチャートである。
(Embodiment 1) FIG. 1 is a functional block diagram of a digital camera according to Embodiment 1 of the present invention, and FIG. 2 is a flowchart showing a photographing operation of the digital camera according to Embodiment 1 of the present invention.

【0028】本実施の形態1において、デジタルカメラ
は、単板式カラーCCD101、フレームメモリ10
2、カラーデータ補間部103、撮影モード指示部10
4、画像2値化部105、画像保存部106、シャッタ
107および、カメラ制御部108によって構成されて
る。
In the first embodiment, the digital camera comprises a single-chip color CCD 101, a frame memory 10
2. Color data interpolation unit 103, shooting mode instruction unit 10
4, an image binarization unit 105, an image storage unit 106, a shutter 107, and a camera control unit 108.

【0029】また、単板式カラーCCD101は、カラ
ー画像の取り込みを行い、単板式カラーCCD101
は、カメラ制御部108と接続されている。フレームメ
モリ102は、単板式カラーCCD101が取り込んだ
画像データを記憶するものであり、同様にカメラ制御部
108と接続されている。
The single-chip color CCD 101 captures a color image, and the single-chip color CCD 101
Is connected to the camera control unit 108. The frame memory 102 stores image data captured by the single-plate type color CCD 101, and is similarly connected to the camera control unit 108.

【0030】カラーデータ補間部103は、フレームメ
モリ102に記憶された画像データに対し、個々の画素
に対するRGBのデータを生成する。たとえば、原色フ
ィルタータイプの単板式のカラーCCDでは個々の画素
に対してRGBのうち、いずれか1つの情報しか持ちえ
ないために、個々の画素に存在しないR,G,Bのデー
タを隣接する他の画素から補間して生成する。また、補
色フィルタータイプでも同様である。このカラーデータ
補間部103もカメラ制御部108と接続されている。
The color data interpolation unit 103 generates RGB data for each pixel with respect to the image data stored in the frame memory 102. For example, a single-panel color CCD of a primary color filter type can have only one of RGB information for each pixel, so that R, G, and B data that does not exist in each pixel are adjacent to each other. Generated by interpolating from other pixels. The same applies to the complementary color filter type. The color data interpolation unit 103 is also connected to the camera control unit 108.

【0031】また、撮影モード指示部104は、ユーザ
が撮影した画像に対して文字認識を行うか否かをあらか
じめ指示し、その指示を記憶する。この撮影モード指示
部104もカメラ制御部108と接続されている。
The photographing mode instructing section 104 instructs in advance whether or not to perform character recognition on an image photographed by the user, and stores the instruction. The shooting mode instruction unit 104 is also connected to the camera control unit 108.

【0032】さらに、文字認識処理は2値化された画像
を期待するので、画像2値化部105は、ユーザが、撮
影モード指示部104によって文字認識用画像の撮影を
指示した場合に単板式カラーCCD101からフレーム
メモリ102に取り込まれた画像データを2値化する。
Further, since the character recognition process expects a binarized image, the image binarizing unit 105 is a single-panel type when the user instructs the photographing mode instructing unit 104 to photograph a character recognizing image. The image data taken into the frame memory 102 from the color CCD 101 is binarized.

【0033】画像保存部106は、カラーデータ補間部
103、もしくは画像2値化部105の出力結果を記憶
し、シャッタ107は、ユーザが所望のタイミングで撮
影を指示する。また、これら画像2値化部105、画像
保存部106ならびに、シャッタ107は、カメラ制御
部108と接続されている。
The image storage unit 106 stores the output result of the color data interpolation unit 103 or the image binarization unit 105, and the shutter 107 instructs the user to shoot at a desired timing. The image binarization unit 105, the image storage unit 106, and the shutter 107 are connected to a camera control unit 108.

【0034】カメラ制御部108は、ユーザーがシャッ
タ107を押した時に、単板式カラーCCD101に対
して画像の取り込みを指示し、その取り込み結果をフレ
ームメモリ102に格納し、撮影モード指示部104に
よって、通常の撮影モードが選択された場合にはフレー
ムメモリ102に格納された画像データをカラーデータ
補間部103に渡し、カラーデータの補間を実行し、結
果を画像保存部106に格納し、また、撮影モード指示
部104によって文字認識用画像の撮影が選択された場
合にはフレームメモリ102に格納された画像データを
画像2値化部105に渡し、その結果を画像保存部10
6に格納する。
When the user presses the shutter 107, the camera control unit 108 instructs the single-panel color CCD 101 to capture an image, stores the captured result in the frame memory 102, and When the normal shooting mode is selected, the image data stored in the frame memory 102 is passed to the color data interpolation unit 103, the color data is interpolated, and the result is stored in the image storage unit 106. When shooting of an image for character recognition is selected by the mode instruction unit 104, the image data stored in the frame memory 102 is transferred to the image binarization unit 105, and the result is stored in the image storage unit 10.
6 is stored.

【0035】次に、本実施の形態1におけるデジタルカ
メラ撮影動作を図1および図2のフローチャートを用い
て説明する。
Next, the photographing operation of the digital camera according to the first embodiment will be described with reference to the flowcharts of FIGS.

【0036】まず、ユーザがシャッタ107を操作する
と、カメラ制御部108が単板式カラーCCD101に
対し、画像取り込みの指示を行い、単板式カラーCCD
101が画像データをフレームメモリ102に書き込む
(ステップS101)。
First, when the user operates the shutter 107, the camera control unit 108 instructs the single-panel color CCD 101 to capture an image, and the single-panel color CCD 101
101 writes the image data into the frame memory 102 (step S101).

【0037】その後、カメラ制御部108が、撮影モー
ド指示部104に対して現在の撮影モードを問い合わせ
る(ステップS102)。
Thereafter, the camera control unit 108 inquires of the photographing mode instructing unit 104 about the current photographing mode (step S102).

【0038】ステップS102の処理において、ユーザ
の指示しているモードが通常の撮影モードの場合、カメ
ラ制御部108がカラーデータ補間部103にカラーデ
ータの補間を指示し、カラーデータ補間部103がフレ
ームメモリ102の内容を参照してカラーデータの補間
を行い、結果を画像保存部106に書き込む(ステップ
S103)。以上によって、通常の撮影モードにおける
撮影動作は終了する。
In the process of step S102, when the mode instructed by the user is the normal photographing mode, the camera control unit 108 instructs the color data interpolation unit 103 to interpolate color data, and the color data interpolation unit 103 The color data is interpolated with reference to the contents of the memory 102, and the result is written to the image storage unit 106 (step S103). Thus, the shooting operation in the normal shooting mode ends.

【0039】また、ステップS102の処理において、
文字認識用画像撮影を指示している場合、カメラ制御部
108が画像2値化部105に対して、画像の2値化処
理を指示し、画像2値化部105はフレームメモリ10
2の内容を参照し、各画素のデータをそのまま輝度デー
タと解釈した上で、あるしきい値以上の輝度を持つ場
合、白、さもなければ、黒と解釈することによって画像
を2値化し、画像保存部106に書き込み(ステップS
104)、文字認識用画像の撮影モードでの撮影動作が
終了となる。
Further, in the processing of step S102,
When instructing to capture an image for character recognition, the camera control unit 108 instructs the image binarization unit 105 to perform image binarization processing, and the image binarization unit 105
2, the data of each pixel is interpreted as luminance data as it is, and when the luminance has a certain threshold or more, the image is binarized by interpreting as white, otherwise as black, Write to the image storage unit 106 (step S
104), the photographing operation of the character recognition image in the photographing mode ends.

【0040】それにより、本実施の形態1では、撮影モ
ード指示部104により、文字認識用画素の撮影である
か否かの判断ができるので、文字認識用画素の撮影時に
画素混合処理を行わずに歪みの少ない2値画素を取り出
すので文字認識率を大幅に向上することができる。
Thus, in the first embodiment, the photographing mode instructing unit 104 can determine whether or not the photographing of the character recognition pixel is performed. Therefore, the pixel mixing process is not performed when photographing the character recognition pixel. Since a binary pixel with less distortion is extracted, the character recognition rate can be greatly improved.

【0041】なお、本実施の形態1によれば、カラーデ
ータを補間した後、画像保存部106に格納している
が、デジタルカメラで通常行われているようにJPEG
(Joint Photographic Exper
ts Group)などの画像圧縮処理を行った後、画
像保存部106に格納しても本発明の主旨となんら変わ
りない。
According to the first embodiment, the color data is interpolated and then stored in the image storage unit 106.
(Joint Photographic Expert
After performing image compression processing such as “ts Group”, the image data is stored in the image storage unit 106, which is no different from the gist of the present invention.

【0042】また、フレームメモリ102の内容につい
て、各画素をそのまま「輝度成分」とみなしているが、
一般に、CCDではRGBの感度に差があるため、この
感度の逆数を乗算した上で「輝度成分」と解釈しても、
本発明の主旨となんらかわりない。
In the contents of the frame memory 102, each pixel is regarded as a "luminance component" without any change.
In general, since there is a difference in RGB sensitivity in a CCD, even if interpreted as a “luminance component” after multiplying the reciprocal of this sensitivity,
It does not change the gist of the present invention.

【0043】(実施の形態2)図3は、本発明の実施の
形態2によるデジタルカメラの機能ブロック図、図4は
本発明の実施の形態2によるデジタルカメラの撮影動作
を示すフローチャートである。
(Embodiment 2) FIG. 3 is a functional block diagram of a digital camera according to Embodiment 2 of the present invention, and FIG. 4 is a flowchart showing a photographing operation of the digital camera according to Embodiment 2 of the present invention.

【0044】本実施の形態2においては、前記実施の形
態1に記載のデジタルカメラに2値化しきいち指示部1
09、画像記憶部110、表示用画像メモリ111およ
び、表示部112が設けられている。
In the second embodiment, the digital camera described in the first embodiment has a binary
09, an image storage unit 110, a display image memory 111, and a display unit 112.

【0045】また、2値化しきい値指示部109は、画
像2値化部105に対し、2値化処理を行う際のしきい
値を指示する。画像記憶部110は、カラーデータ補間
部103、もしくは画像2値化部105の出力結果を記
憶する。
The binarization threshold value instructing section 109 instructs the image binarization section 105 to specify a threshold value for performing the binarization processing. The image storage unit 110 stores the output result of the color data interpolation unit 103 or the image binarization unit 105.

【0046】さらに、表示用画像メモリ111は、ユー
ザがしきい値を指示することによって2値化した画像が
どのように変化するかを確認するための画像を記憶す
る。表示部112は、表示画像用メモリ111の内容を
表示する。
Further, the display image memory 111 stores an image for confirming how the binarized image changes when the user designates a threshold value. The display unit 112 displays the contents of the display image memory 111.

【0047】これら2値化しきい値指示部109、画像
記憶部110ならびに表示画像用メモリ111は、カメ
ラ制御部108と接続されており、該カメラ制御部10
8によって制御が司られている。また、表示部112
は、表示用画像メモリ111と接続されている。
The binarization threshold value instructing section 109, the image storage section 110, and the display image memory 111 are connected to the camera control section 108, and the camera control section 10
8 controls the operation. The display unit 112
Are connected to the display image memory 111.

【0048】次に、本実施の形態2におけるデジタルカ
メラの撮影動作を図3および図4のフローチャートを用
いて説明する。ここでは、名刺を文字認識用の画像とし
て撮影を行うものとして説明する。
Next, the photographing operation of the digital camera according to the second embodiment will be described with reference to the flowcharts of FIGS. Here, a description will be given assuming that a business card is photographed as an image for character recognition.

【0049】まず、カメラ制御部108が単板式カラー
CCD101に画像の取り込みを指示する。単板式カラ
ーCCD101は取り込んだ画像をフレームメモリ10
2に格納する(ステップS201)。
First, the camera control unit 108 instructs the single-panel color CCD 101 to capture an image. The single-chip color CCD 101 stores the captured image in the frame memory 10.
2 (step S201).

【0050】そして、カメラ制御部108が撮影モード
指示部104に、現在のユーザの指定が文字認識用画像
の撮影か否かを問い合わせる(ステップS202)。
Then, the camera control unit 108 inquires of the photographing mode instructing unit 104 whether or not the current user's designation is to photograph a character recognition image (step S202).

【0051】ステップS202の処理において、文字認
識用画像撮影を指示している場合は撮影モードが文字認
識用画像の撮影モードであるため、画像2値化部105
に対し、画像の2値化を指示する。カメラ制御部108
が2値化しきい値指示部109を参照し、ユーザが指定
しているしきい値をもとに2値化を行い、結果を画像記
憶部110に格納する(ステップS203)。
In the process of step S202, when the instruction for photographing the image for character recognition has been given, the photographing mode is the photographing mode for the image for character recognition, and therefore, the image binarization unit 105
Is instructed to binarize the image. Camera control unit 108
Refers to the binarization threshold instructing unit 109, performs binarization based on the threshold specified by the user, and stores the result in the image storage unit 110 (step S203).

【0052】また、ステップS202の処理において、
ユーザが指示しているモードが通常の撮影モードを指示
している場合、カメラ制御部108がカラーデータ補間
部103にカラーデータの補間を指示し、カラーデータ
補間部103がフレームメモリ102の内容を参照して
カラーデータの補間を行い(ステップS204)、結果
を画像記憶部110に書き込みを行う。
Also, in the processing of step S202,
If the mode instructed by the user is the normal shooting mode, the camera control unit 108 instructs the color data interpolation unit 103 to interpolate color data, and the color data interpolation unit 103 updates the contents of the frame memory 102. The color data is interpolated with reference to the result (step S204), and the result is written in the image storage unit 110.

【0053】以降、表示部112の内容をユーザが確認
し、所望の画像であればシャッタ107を押して、画像
保存部106に上記画像が取り込められる。以上で、通
常の撮影動作は終了する。
Thereafter, the user checks the contents of the display unit 112, and if the image is a desired image, presses the shutter 107 to load the image into the image storage unit 106. Thus, the normal photographing operation ends.

【0054】次に、カメラ制御部108は、シャッタ1
07が押されているか否かの判断を行い(ステップS2
05)、シャッタ107が押されている場合、カメラ制
御部108が、画像記憶部110の内容を表示用画像メ
モリ111へ転送する。そして表示部112が表示用画
像メモリ111の内容を実際に表示を行い(ステップS
206)、ステップS201の処理に戻る。
Next, the camera control unit 108 controls the shutter 1
07 is pressed (step S2).
05) When the shutter 107 is pressed, the camera control unit 108 transfers the contents of the image storage unit 110 to the display image memory 111. Then, the display unit 112 actually displays the contents of the display image memory 111 (step S
206), and returns to the process of step S201.

【0055】ここで、ユーザが表示部112の内容を参
照し、2値化された画像が所望の画像ではなかった、た
とえば、画面全体が黒くなりすぎている場合などについ
て説明する。
Here, a case will be described in which the user refers to the contents of the display unit 112 and the binarized image is not the desired image, for example, the entire screen is too black.

【0056】この場合、ユーザが2値化しきい値指示部
109を操作して、しきい値の値を小さくすることにな
る。すると、前述したステップS201〜ステップS2
03およびステップS205,S206の処理を経て表
示部112に以前より全体が白くなった画像を表示す
る。
In this case, the user operates the binarization threshold value instructing unit 109 to reduce the threshold value. Then, steps S201 to S2 described above are performed.
03 and the processing of steps S205 and S206, the display unit 112 displays an image that is entirely whiter than before.

【0057】ユーザはこのようにユーザが2値化しきい
値指示部109を操作して、撮影を行おうとしている被
写体がもっともはっきりとしたコントラストの画像を表
示部112で確認する。
As described above, the user operates the binarization threshold value instructing section 109 to confirm on the display section 112 an image having the clearest contrast of the subject to be photographed.

【0058】そして、ユーザが表示部112で画像を確
認した後、シャッタ107を押すと、ステップS205
の処理において、シャッタ107が押されているのが確
認されてカメラ制御部108が現在の画像記憶部110
の内容を画像保存部106に書き込み(ステップS20
7)文字認識用の撮影動作が終了となる。
When the user presses the shutter 107 after confirming the image on the display unit 112, a step S205 is performed.
In the processing of (1), it is confirmed that the shutter 107 is pressed, and the camera control unit 108 sets the current image storage unit 110
Is written into the image storage unit 106 (step S20).
7) The photographing operation for character recognition ends.

【0059】それにより、本実施の形態2によれば、2
値化しきい値指示部109ならびに表示部112によ
り、ユーザが画像を確認しながら2値化しきい値を選択
して撮影できるので、文字認識に必要な高周波成分を保
存でき、文字認識率を向上することができる。
Thus, according to the second embodiment, 2
The binarization threshold instructing unit 109 and the display unit 112 allow the user to select and binarize the binarization threshold while checking the image, so that high-frequency components required for character recognition can be saved and the character recognition rate can be improved. be able to.

【0060】(実施の形態3)図5は、本発明の実施の
形態3によるデジタルカメラの機能ブロック図、図6は
本発明の実施の形態3によるデジタルカメラの撮影動作
を示すフローチャートである。
(Embodiment 3) FIG. 5 is a functional block diagram of a digital camera according to Embodiment 3 of the present invention, and FIG. 6 is a flowchart showing a photographing operation of the digital camera according to Embodiment 3 of the present invention.

【0061】本実施の形態3では、前記実施の形態1に
記載のデジタルカメラにホワイトバランス算出部113
が設けられており、該ホワイトバランス算出部113
は、カメラ制御部108と接続されている。また、ホワ
イトバランス算出部113はカメラ制御部108によっ
て制御が司られている。
In the third embodiment, the white balance calculation unit 113 is added to the digital camera described in the first embodiment.
Is provided, and the white balance calculation unit 113 is provided.
Is connected to the camera control unit 108. The white balance calculation unit 113 is controlled by a camera control unit 108.

【0062】ホワイトバランス算出部113は、単板式
カラーCCD101に対して各RGBに対するゲインを
設定するためにフレームメモリ102の内容から各RG
B成分の値を全画面に関して積分し、RGBの比を求め
る。
The white balance calculation unit 113 determines each RGB from the contents of the frame memory 102 in order to set a gain for each RGB for the single-chip color CCD 101.
The value of the B component is integrated over the entire screen to determine the RGB ratio.

【0063】次に、本実施の形態3におけるデジタルカ
メラの撮影動作を図5および図6のフローチャートを用
いて説明する。
Next, the photographing operation of the digital camera according to the third embodiment will be described with reference to the flowcharts of FIGS.

【0064】まず、ユーザがシャッタ107を操作する
と、カメラ制御部108が単板式カラーCCD101に
対し、画像取り込み指示を行い、単板式カラーCCD1
01が画像データをフレームメモリ102に書き込む
(ステップS301)。
First, when the user operates the shutter 107, the camera control unit 108 issues an image capture instruction to the single-chip color CCD 101, and the single-chip color CCD 1
01 writes the image data into the frame memory 102 (step S301).

【0065】次に、カメラ制御部108は、ホワイトバ
ランス算出部113にホワイトバランスの算出を指示す
ることにより、ホワイトバランス算出部113はフレー
ムメモリ102を参照し、各RGBの値を積分した上で
画像全体としてRGBの各積分値が等しくなるようなR
GBの各ゲインを算出する(ステップS302)。カメ
ラ制御部108はこの値を受け取って単板式カラーCC
D101に設定する。
Next, the camera control unit 108 instructs the white balance calculation unit 113 to calculate the white balance, and the white balance calculation unit 113 refers to the frame memory 102, integrates each RGB value, and R such that the integrated values of RGB are equal for the entire image
Each gain of GB is calculated (step S302). The camera control unit 108 receives this value and receives a single-plate color CC.
Set to D101.

【0066】そして、カメラ制御部108は、撮影モー
ド指示部104に対してユーザの指示しているモードが
通常の撮影であるか、文字認識用画像撮影であるかの判
断を行う(ステップS303)。
Then, the camera control unit 108 determines whether the mode instructed by the user to the shooting mode instruction unit 104 is a normal shooting or a character recognition image shooting (step S303). .

【0067】そして、通常の撮影の場合、カメラ制御部
108はカラーデータ補間部103にカラーデータの補
間を指示し、カラーデータ補間部103がフレームメモ
リ102の内容を参照してカラーデータの補間を行い
(ステップS304)、結果を画像保存部106に書き
込み、通常の撮影モードの撮影動作が終了する。
In the case of normal photographing, the camera control unit 108 instructs the color data interpolation unit 103 to interpolate color data, and the color data interpolation unit 103 refers to the contents of the frame memory 102 to interpolate color data. Then, the result is written in the image storage unit 106, and the photographing operation in the normal photographing mode ends.

【0068】また、ステップS303の処理において、
ユーザが文字認識用画像を撮影するモードを指示してい
た場、カメラ制御部108が画像2値化部105に対し
て、画像の2値化処理を指示し、画像2値化部105は
フレームメモリ102の内容を参照して各画素のデータ
をそのまま輝度データと解釈した上で、あるしきい値以
上の輝度を持つ場合、白、さもなければ、黒と解釈する
ことによって画像を2値化し(ステップS305)、画
像保存部106に書き込むことによって、文字認識用画
像の撮影モードの撮影動作が終了する。
Further, in the process of step S303,
If the user has instructed a mode for shooting a character recognition image, the camera control unit 108 instructs the image binarization unit 105 to perform image binarization processing, and the image binarization unit 105 The data of each pixel is interpreted as it is as luminance data with reference to the contents of the memory 102, and if the luminance has a certain threshold or more, the image is binarized by interpreting as white or otherwise black. (Step S305) By writing in the image storage unit 106, the photographing operation of the photographing mode of the image for character recognition ends.

【0069】それにより、本実施の形態3によれば、ホ
ワイトバランス算出部113によって光源の色温度に左
右されず、安定した輝度成分あるいは2値化された画像
の取り出しを行うことができるので、文字認識率を向上
でき、色の付いている名刺などであっても正しく文字認
識を行うことができる。
As a result, according to the third embodiment, the white balance calculation unit 113 can take out a stable luminance component or a binarized image regardless of the color temperature of the light source. The character recognition rate can be improved, and character recognition can be performed correctly even with colored business cards.

【0070】また、本実施の形態3では、カラーデータ
を補間した後、画像保存部106に格納しているが、デ
ジタルカメラで通常行われているようにJPEGなどの
画像圧縮処理を行った後、画像保存部106に格納して
も本発明の主旨となんら変わりない。
In the third embodiment, the color data is interpolated and then stored in the image storage unit 106. However, after the image compression processing such as JPEG is performed as is generally performed in a digital camera, However, even if it is stored in the image storage unit 106, it is not different from the gist of the present invention.

【0071】(実施の形態4)図7は、本発明の実施の
形態4によるデジタルカメラの機能ブロック図、図8は
本発明の実施の形態4によるデジタルカメラの撮影動作
を示すフローチャートである。
(Embodiment 4) FIG. 7 is a functional block diagram of a digital camera according to Embodiment 4 of the present invention, and FIG. 8 is a flowchart showing a photographing operation of the digital camera according to Embodiment 4 of the present invention.

【0072】本実施の形態4では、前記実施の形態1に
おけるデジタルカメラに輪郭強調部114が設けられて
おり、該輪郭強調部114は、カメラ制御部108と接
続され、該カメラ制御部108によって制御が司られて
いる。また、この輪郭強調部114は、フレームメモリ
102の内容を参照してラプラッシャン演算を行い、そ
の結果を再びフレームメモリ102に格納する。
In the fourth embodiment, the digital camera according to the first embodiment is provided with an outline emphasis unit 114, and the outline emphasis unit 114 is connected to the camera control unit 108. Control is governed. Further, the contour emphasizing unit 114 performs a Laplacian operation with reference to the contents of the frame memory 102 and stores the result in the frame memory 102 again.

【0073】次に、本実施の形態4におけるデジタルカ
メラの撮影動作を図7および図8のフローチャートを用
いて説明する。
Next, the photographing operation of the digital camera according to the fourth embodiment will be described with reference to the flowcharts of FIGS.

【0074】まず、ユーザがシャッタ107を操作する
と、カメラ制御部108が単板式カラーCCD101に
対し、画像取り込みを指示する。単板式カラーCCD1
01が画像データをフレームメモリ102に書き込む
(ステップS401)。
First, when the user operates the shutter 107, the camera control unit 108 instructs the single-panel color CCD 101 to capture an image. Single-plate color CCD1
01 writes the image data into the frame memory 102 (step S401).

【0075】そして、カメラ制御部108は撮影モード
指示部104に対して現在の撮影モードを問い合わせ、
ユーザが指示しているモードが通常の撮影モードか、文
字認識用画像撮影であるかを判断する(ステップS40
2)通常撮影モードをユーザが指示していた場合、カメ
ラ制御部108がカラーデータ補間部103にカラーデ
ータの補間を指示する。すると、カラーデータ補間部1
03がフレームメモリ102の内容を参照し、カラーデ
ータの補間を行い(ステップS403)、結果を画像保
存部106に書き込み、通常の撮影モードでの撮影動作
が終了となる。
Then, the camera control unit 108 inquires of the photographing mode instruction unit 104 about the current photographing mode,
It is determined whether the mode instructed by the user is a normal shooting mode or a character recognition image shooting (step S40).
2) When the user has instructed the normal shooting mode, the camera control unit 108 instructs the color data interpolation unit 103 to interpolate color data. Then, the color data interpolation unit 1
03 performs color data interpolation by referring to the contents of the frame memory 102 (step S403), writes the result in the image storage unit 106, and ends the shooting operation in the normal shooting mode.

【0076】なお、ここでは、カラーデータを補間した
後、画像保存部106に格納しているが、デジタルカメ
ラで通常行われているようにJPEGなどの画像圧縮処
理を行った後、画像保存部106に格納しても本発明の
主旨となんら変わりない。
In this case, the color data is interpolated and then stored in the image storage unit 106. However, after image compression processing such as JPEG is performed as is usually performed in a digital camera, the image storage unit 106 Even if it is stored in 106, it is not different from the gist of the present invention.

【0077】次に、ステップS402の処理において、
ユーザが文字認識用画像を撮影するモードを指示してい
た場合、カメラ制御部108が、輪郭強調部114に輪
郭強調処理を指示する。輪郭強調部114はフレームメ
モリ102を参照し、ラプラッシャン演算を行い、その
結果をフレームメモリ102に格納する(ステップS4
04)。
Next, in the process of step S402,
When the user has instructed the mode for shooting a character recognition image, the camera control unit 108 instructs the outline emphasis unit 114 to perform outline emphasis processing. The contour emphasizing unit 114 performs a Laplacian operation with reference to the frame memory 102, and stores the result in the frame memory 102 (step S4).
04).

【0078】その後、カメラ制御部108は、画像2値
化部105に対して、画像の2値化処理を指示し、画像
2値化部105がフレームメモリ102の内容を参照
し、各画素のデータをそのまま輝度データと解釈した上
で、あるしきい値以上の輝度を持つ場合、白、さもなけ
れば、黒と解釈することによって画像を2値化し(ステ
ップS405)、画像保存部106に書き込むことによ
って、文字認識用画像の撮影モードでの撮影動作が終了
する。
Thereafter, the camera control unit 108 instructs the image binarization unit 105 to perform image binarization processing, and the image binarization unit 105 refers to the contents of the frame memory 102 and After interpreting the data as it is as luminance data, if the luminance is equal to or higher than a certain threshold, the image is binarized by interpreting as white or otherwise as black (step S405), and written into the image storage unit 106. Thus, the photographing operation of the character recognition image in the photographing mode ends.

【0079】このように、本実施の形態4によれば、輪
郭強調部114によって、光学系による高周波成分の劣
化が改善されるので、文字認識に必要な高周波成分が保
存され、文字認識の認識率を向上することができる。
As described above, according to the fourth embodiment, since the deterioration of the high frequency component due to the optical system is improved by the contour emphasizing unit 114, the high frequency component necessary for character recognition is preserved, and the character recognition is performed. Rate can be improved.

【0080】なお、本実施の形態4では、輪郭強調を行
うためにラプラッシャン演算を用いているがその他の関
数、演算を用いても本発明の主旨と何ら変わりない。
In the fourth embodiment, the Laplacian operation is used to enhance the contour. However, the use of other functions and operations does not change the gist of the present invention.

【0081】また、輪郭強調部114においてフレーム
メモリ102を参照しているが、画像保存部106を代
わりに利用しても本発明の主旨と変わりない。
Although the frame memory 102 is referred to in the outline emphasizing unit 114, the gist of the present invention is the same even if the image storage unit 106 is used instead.

【0082】(実施の形態5)図9は本発明の実施の形
態5によるデジタルカメラの機能ブロック図、図10は
本発明の実施の形態5によるデジタルカメラの撮影動作
を示すフローチャートである。
(Embodiment 5) FIG. 9 is a functional block diagram of a digital camera according to Embodiment 5 of the present invention, and FIG. 10 is a flowchart showing a photographing operation of the digital camera according to Embodiment 5 of the present invention.

【0083】本実施の形態5においては、デジタルカメ
ラが、単板式カラーCCD101、フレームメモリ10
2、カラーデータ補間部103、画像2値化部105、
画像保存部106、シャッタ107、カメラ制御部10
8、撮影モード指示部115および、OCR撮影判断部
116により構成されている。
In the fifth embodiment, the digital camera comprises a single-chip color CCD 101, a frame memory 10
2, color data interpolation unit 103, image binarization unit 105,
Image storage unit 106, shutter 107, camera control unit 10
8, an imaging mode instruction unit 115 and an OCR imaging determination unit 116.

【0084】撮影モード指示部115は、ユーザが接写
か通常撮影かを指示する。OCR撮影判断部116は、
フレームメモリ102に格納されている画像から色情報
を抽出し、色情報が少なくかつ接写モードであれば、文
字認識用の撮影であると判断する。
The photographing mode instructing section 115 instructs whether the user takes a close-up photograph or a normal photographing. The OCR shooting determination unit 116
Color information is extracted from the image stored in the frame memory 102, and if the color information is small and the mode is the close-up mode, it is determined that the shooting is for character recognition.

【0085】また、カメラ制御部108は、これら単板
式カラーCCD101、フレームメモリ102、カラー
データ補間部103、画像2値化部105、画像保存部
106、シャッタ107、撮影モード指示部115なら
びに、OCR撮影判断部116の制御を司る。
The camera control unit 108 includes the single-chip color CCD 101, the frame memory 102, the color data interpolation unit 103, the image binarization unit 105, the image storage unit 106, the shutter 107, the shooting mode instruction unit 115, and the OCR It controls the control of the photographing determination unit 116.

【0086】次に、本実施の形態5におけるデジタルカ
メラの撮影動作を図9および図10のフローチャートを
用いて説明する。
Next, the photographing operation of the digital camera according to the fifth embodiment will be described with reference to the flowcharts of FIGS.

【0087】まず、ユーザがシャッタ107の操作を行
い、カメラ制御部108が単板式カラーCCD101に
対し、画像取り込みを指示する。すると、単板式カラー
CCD101が画像データをフレームメモリ102に書
き込む(ステップS501)。
First, the user operates the shutter 107, and the camera control unit 108 instructs the single-panel color CCD 101 to capture an image. Then, the single-plate color CCD 101 writes the image data into the frame memory 102 (step S501).

【0088】そして、カメラ制御部108が、接写か通
常撮影かを撮影モード指示部115に問い合わせる(ス
テップS502)。ここでユーザが接写を指定していた
場合には、カメラ制御部108がOCR撮影判断部11
6に対してユーザが現在接写を選択していることを通知
する。
Then, the camera control unit 108 inquires of the photographing mode instructing unit 115 about close-up photographing or normal photographing (step S502). If the user has specified close-up shooting, the camera control unit 108
6 is notified that the user is currently selecting close-up photography.

【0089】OCR撮影判断部116はフレームメモリ
102に格納されている画像からRGBの各成分につい
て積分を行い、各積分値が近ければ、色情報が少ないと
解釈し(ステップS503)、文字認識用の撮影である
と判断し、カメラ制御部108が画像2値化部105に
対して、画像の2値化処理を指示する(ステップS50
4)。
The OCR photographing judging section 116 integrates each component of RGB from the image stored in the frame memory 102. If the respective integrated values are close to each other, it is interpreted that there is little color information (step S503). Is determined, the camera control unit 108 instructs the image binarization unit 105 to perform image binarization processing (step S50).
4).

【0090】次に、画像2値化部105はフレームメモ
リ102の内容を参照し、各画素のデータをそのまま輝
度データと解釈した上で、あるしきい値以上の輝度を持
つ場合、白、さもなければ、黒と解釈することによって
画像を2値化し、画像保存部106に書き込み、文字認
識用画像の撮影動作は終了する。
Next, the image binarization unit 105 refers to the contents of the frame memory 102, interprets the data of each pixel as it is as luminance data, and if the luminance of the pixel exceeds a certain threshold, white and white If not, the image is binarized by interpreting it as black and written into the image storage unit 106, and the photographing operation of the character recognition image ends.

【0091】また、ステップS502の処理において、
ユーザが通常を撮影するモードを指示していた場合、カ
メラ制御部108がカラーデータ補間部103にカラー
データの補間を指示する(ステップS505)。カラー
データ補間部103はフレームメモリ102の内容を参
照し、カラーデータの補間を行い、結果を画像保存部1
06に書き込み、通常の撮影モードでの撮影動作が終了
する。
In the process of step S502,
If the user has instructed the normal shooting mode, the camera control unit 108 instructs the color data interpolation unit 103 to interpolate color data (step S505). The color data interpolation unit 103 refers to the contents of the frame memory 102, interpolates the color data, and stores the result in the image storage unit 1.
06, and the photographing operation in the normal photographing mode ends.

【0092】それにより、本実施の形態5では、OCR
撮影判断部116によって接写撮影において被写体の色
情報が少ない場合でも、文字認識用の画像を認識するこ
とができるのでユーザによるOCR用撮影の指示が不要
となり、操作負担を軽減することができる。
Thus, in the fifth embodiment, the OCR
Even when the color information of the subject is small in close-up shooting by the shooting determination unit 116, an image for character recognition can be recognized, so that the user does not need to give an instruction for OCR shooting, and the operation load can be reduced.

【0093】なお、本実施の形態5においては、カラー
データを補間した後、画像保存部106に格納している
が、デジタルカメラで通常行われているようにJPEG
などの画像圧縮処理を行った後、画像保存部106に格
納しても本発明の主旨となんら変わりない。
In the fifth embodiment, the color data is interpolated and then stored in the image storage unit 106.
After the image compression processing such as described above is performed, the image data is stored in the image storage unit 106, which is no different from the gist of the present invention.

【0094】また、本実施の形態では、ユーザが接写か
通常撮影かを指示するものとしているが、オートフォー
カスにより接写が自動的に行われても、本発明の主旨を
逸脱するものではない。
Further, in the present embodiment, the user instructs whether to perform close-up shooting or normal shooting. However, even if close-up shooting is performed automatically by auto-focusing, this does not depart from the gist of the present invention.

【0095】[0095]

【発明の効果】以上のように、本発明によれば、撮影モ
ード指示部によって文字認識用画素の撮影であるか否か
の判断を行うので、文字認識用画素の撮影時に画素混合
処理を行わずに歪みの少ない2値画素を取り出すことが
でき文字認識率を大幅に向上できるという有効な効果が
得られる。
As described above, according to the present invention, since the photographing mode instructing unit determines whether or not the photographing of the character recognition pixel is performed, the pixel mixing process is performed at the time of photographing the character recognition pixel. Thus, a binary pixel with little distortion can be taken out, and the character recognition rate can be greatly improved.

【0096】また、本発明によれば、2値化しきい値指
示部ならびに表示部によってユーザが画像を確認しなが
ら2値化しきい値を選択して撮影することができるの
で、文字認識に必要な高周波成分を保存でき、文字認識
率を向上するという有効な効果が得られる。
Further, according to the present invention, the user can select the binarization threshold while photographing the image while confirming the image with the binarization threshold instructing section and the display section. High frequency components can be stored, and an effective effect of improving the character recognition rate can be obtained.

【0097】さらに、本発明によれば、ホワイトバラン
ス算出部によって光源の色温度に左右されず、安定した
輝度成分あるいは2値化された画像の取り出しを行うこ
とができるので、文字認識利率をより大幅に向上できる
という有効な効果が得られる。
Further, according to the present invention, a stable luminance component or a binarized image can be taken out without being influenced by the color temperature of the light source by the white balance calculating section. An effective effect of being able to greatly improve is obtained.

【0098】本発明によれば、輪郭強調部によって光学
系による高周波成分の劣化が改善されるので、文字認識
に必要な高周波成分が保存され、文字認識の認識率を向
上できるという有効な効果が得られる。
According to the present invention, since the deterioration of the high frequency component due to the optical system is improved by the contour emphasizing section, the high frequency component necessary for character recognition is preserved, and the effective effect of improving the recognition rate of character recognition can be obtained. can get.

【0099】そして、本発明によれば、OCR撮影判断
部によって接写撮影において被写体の色情報が少ない場
合でも文字認識用の画像を認識することができるので、
ユーザによるOCR用撮影の指示が不要となり、操作負
担を軽減できるという有効な効果が得られる。
According to the present invention, an image for character recognition can be recognized by the OCR photographing determination unit even when the color information of the subject is small in close-up photography.
This eliminates the need for the user to give an instruction for OCR shooting, and provides an effective effect of reducing the operation load.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態1によるデジタルカメラの
機能ブロック図
FIG. 1 is a functional block diagram of a digital camera according to a first embodiment of the present invention.

【図2】本発明の実施の形態1によるデジタルカメラの
撮影動作を示すフローチャート
FIG. 2 is a flowchart showing a shooting operation of the digital camera according to the first embodiment of the present invention;

【図3】本発明の実施の形態2によるデジタルカメラの
機能ブロック図
FIG. 3 is a functional block diagram of a digital camera according to a second embodiment of the present invention.

【図4】本発明の実施の形態2によるデジタルカメラの
撮影動作を示すフローチャート
FIG. 4 is a flowchart showing a photographing operation of the digital camera according to the second embodiment of the present invention;

【図5】本発明の実施の形態3によるデジタルカメラの
機能ブロック図
FIG. 5 is a functional block diagram of a digital camera according to a third embodiment of the present invention.

【図6】本発明の実施の形態3によるデジタルカメラの
撮影動作を示すフローチャート
FIG. 6 is a flowchart showing a photographing operation of the digital camera according to the third embodiment of the present invention.

【図7】本発明の実施の形態4によるデジタルカメラの
機能ブロック図
FIG. 7 is a functional block diagram of a digital camera according to a fourth embodiment of the present invention.

【図8】本発明の実施の形態4よるデジタルカメラの撮
影動作を示すフローチャート
FIG. 8 is a flowchart showing a photographing operation of the digital camera according to the fourth embodiment of the present invention.

【図9】本発明の実施の形態5によるデジタルカメラの
機能ブロック図
FIG. 9 is a functional block diagram of a digital camera according to a fifth embodiment of the present invention.

【図10】本発明の実施の形態5よるデジタルカメラの
撮影動作を示すフローチャート
FIG. 10 is a flowchart showing a photographing operation of the digital camera according to the fifth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

101 単板式カラーCCD 102 フレームメモリ 103 カラーデータ補間部 104 撮影モード指示部 105 画像2値化部 106 画像保存部 107 シャッタ 108 カメラ制御部 109 2値化しきい値指示部 110 画像記憶部 111 表示用画像メモリ 112 表示部 113 ホワイトバランス算出部 114 輪郭強調部 115 撮影モード指示部 116 OCR撮影判断部 Reference Signs List 101 single-chip color CCD 102 frame memory 103 color data interpolation unit 104 shooting mode instruction unit 105 image binarization unit 106 image storage unit 107 shutter 108 camera control unit 109 binarization threshold instruction unit 110 image storage unit 111 display image Memory 112 Display unit 113 White balance calculation unit 114 Outline enhancement unit 115 Shooting mode instruction unit 116 OCR shooting determination unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】カラー画像を取り込む単板式カラーCCD
と、 前記単板式カラーCCDが取り込んだ画像データを記憶
するフレームメモリと、 前記フレームメモリに記憶された画像データに対し、個
々の画素に対応するRGBのデータを生成するカラーデ
ータ補間部と、 撮影した画像に対して文字認識を行うか否かの指示を記
憶する撮影モード指示部と、 前記撮影モード指示部に記憶された指示が文字認識用画
像の撮影の場合に、前記単板式カラーCCDから前記フ
レームメモリに取り込まれた画像データを2値化する画
像2値化部と、 前記カラーデータ補間部または前記画像2値化部の出力
結果を記憶する画像記憶部とを備えたことを特徴とする
デジタルカメラ。
1. A single-chip color CCD for capturing a color image
A frame memory for storing image data captured by the single-chip color CCD; a color data interpolation unit for generating RGB data corresponding to individual pixels with respect to the image data stored in the frame memory; A shooting mode instructing unit that stores an instruction as to whether or not to perform character recognition on the captured image; and if the instruction stored in the shooting mode instructing unit is to shoot a character recognition image, An image binarization unit that binarizes the image data taken into the frame memory; and an image storage unit that stores an output result of the color data interpolation unit or the image binarization unit. Digital camera.
【請求項2】前記2画像値化部に対し、2値化処理を行
う際のしきい値を指示する2値化しきい値指示部と、 前記2値化しきい値指示部の指示した内容による画像の
変化を表示する画像データを記憶する表示用メモリと、 前記表示用メモリの内容を表示する表示部とを設けたこ
とを特徴とする請求項1記載のデジタルカメラ。
2. A binarization threshold instructing unit for instructing a threshold value for performing a binarization process with respect to the binary image binarization unit, and according to contents specified by the binarization threshold instructing unit. 2. The digital camera according to claim 1, further comprising: a display memory for storing image data for displaying a change in an image; and a display unit for displaying the contents of the display memory.
【請求項3】前記単板式カラーCCDに対して、前記画
像記憶部の内容に基づいてホワイトバランスを算出し、
RGBの各ゲインを指示するオートホワイトバランス設
定部を設けたことを特徴とする請求項1または2記載の
デジタルカメラ。
3. A white balance is calculated for the single-chip color CCD based on the contents of the image storage unit.
3. The digital camera according to claim 1, further comprising an auto white balance setting unit for instructing each of RGB gains.
【請求項4】前記フレームメモリの内容を参照して、輪
郭強調処理を行う輪郭強調部を設けたことを特徴とする
請求項1〜3のいずれか1項に記載のデジタルカメラ。
4. The digital camera according to claim 1, further comprising an outline emphasis unit for performing an outline emphasis process by referring to the contents of said frame memory.
【請求項5】接写か通常撮影かを指示する撮影距離指示
部と、前記単板式カラーCCDに取り込まれている画像
から色情報を抽出し、色情報が少なくかつ接写モードの
場合に文字認識用の撮影であると判断するOCR撮影判
断部とを設けたことを特徴とする請求項1〜4のいずれ
か1項に記載のデジタルカメラ。
5. A photographing distance instructing unit for instructing whether the photographing is close-up or normal photographing, and color information is extracted from an image taken in the single-chip color CCD, and is used for character recognition when the color information is small and in close-up mode. The digital camera according to any one of claims 1 to 4, further comprising an OCR photographing determining unit that determines that the photographing is performed.
【請求項6】カラー画像を取り込む単板式カラーCCD
と、 前記単板式カラーCCDが取り込んだ画像データを記憶
するフレームメモリと、 前記フレームメモリに記憶された画像データに対し、個
々の画素に対応するRGBのデータを生成するカラーデ
ータ補間部と、 接写か通常撮影かを指示する撮影距離指示部と、 前記単板式カラーCCDに取り込まれている画像から色
情報を抽出し、色情報が少なくかつ接写モードであれ
ば、文字認識用の撮影であると判断するOCR撮影判断
部と、 前記撮影モード指示部に記憶された指示が文字認識用画
像の撮影の場合に、前記単板式カラーCCDから前記フ
レームメモリに取り込まれた画像データを2値化する画
像2値化部と、 前記カラーデータ補間部または前記画像2値化部の出力
結果を記憶する画像記憶部とを備えたことを特徴とする
デジタルカメラ。
6. A single-chip color CCD for capturing a color image
A frame memory for storing image data captured by the single-chip color CCD; a color data interpolator for generating RGB data corresponding to individual pixels with respect to the image data stored in the frame memory; A shooting distance instructing unit for instructing whether to perform normal shooting or not, and extracting color information from an image captured in the single-chip type color CCD, and if the color information is small and in a close-up mode, the shooting is for character recognition. An OCR imaging determination unit for determining, and an image for binarizing image data taken into the frame memory from the single-chip color CCD when an instruction stored in the imaging mode instruction unit is to capture a character recognition image. A digital camera comprising: a binarization unit; and an image storage unit that stores an output result of the color data interpolation unit or the image binarization unit. La.
JP02179598A 1998-02-03 1998-02-03 Digital camera Expired - Fee Related JP3997586B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02179598A JP3997586B2 (en) 1998-02-03 1998-02-03 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02179598A JP3997586B2 (en) 1998-02-03 1998-02-03 Digital camera

Publications (2)

Publication Number Publication Date
JPH11220741A true JPH11220741A (en) 1999-08-10
JP3997586B2 JP3997586B2 (en) 2007-10-24

Family

ID=12064997

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02179598A Expired - Fee Related JP3997586B2 (en) 1998-02-03 1998-02-03 Digital camera

Country Status (1)

Country Link
JP (1) JP3997586B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007066231A (en) * 2005-09-02 2007-03-15 Sanyo Electric Co Ltd Character recognition device
JP2007088965A (en) * 2005-09-26 2007-04-05 Casio Hitachi Mobile Communications Co Ltd Image output device and program
JP2018129689A (en) * 2017-02-08 2018-08-16 パナソニック株式会社 Character recognition system, character recognition method, and character recognition server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007066231A (en) * 2005-09-02 2007-03-15 Sanyo Electric Co Ltd Character recognition device
JP2007088965A (en) * 2005-09-26 2007-04-05 Casio Hitachi Mobile Communications Co Ltd Image output device and program
JP4718950B2 (en) * 2005-09-26 2011-07-06 Necカシオモバイルコミュニケーションズ株式会社 Image output apparatus and program
JP2018129689A (en) * 2017-02-08 2018-08-16 パナソニック株式会社 Character recognition system, character recognition method, and character recognition server

Also Published As

Publication number Publication date
JP3997586B2 (en) 2007-10-24

Similar Documents

Publication Publication Date Title
US7808533B2 (en) Electronic camera having signal processing units that perform signal processing on image data
RU2443068C2 (en) Image forming apparatus and method and software
US6366318B1 (en) CFA correction for CFA images captured at partial resolution
JP5089405B2 (en) Image processing apparatus, image processing method, and imaging apparatus
US7944487B2 (en) Image pickup apparatus and image pickup method
US7916181B2 (en) Method and device for creating high dynamic range pictures from multiple exposures
US6163342A (en) Image sensing method and apparatus
US20080013787A1 (en) Imaging apparatus, image processor, image filing method, image processing method and image processing program
JP2000078597A (en) Processor of digital color image value
JP2002010108A (en) Device and method for processing image signal
JP4992698B2 (en) Chromatic aberration correction apparatus, imaging apparatus, chromatic aberration calculation method, and chromatic aberration calculation program
JP3543774B2 (en) Image processing apparatus, image processing method, and recording medium
US20070091184A1 (en) Method and apparatus for maintaining consistent white balance in successive digital images
JP5589660B2 (en) Image processing apparatus, imaging apparatus, and image processing program
US20070230779A1 (en) Digital camera
US7260267B2 (en) Image processing apparatus, computer readable medium storing program, image processing method, image capturing apparatus, printing apparatus, and scanning apparatus
US7719727B2 (en) Image reproducing apparatus for preventing white balance offset and solid-state imaging apparatus
CN102045507B (en) Image processing apparatus, imaging apparatus, and image processing method
JP2921973B2 (en) Image extraction method and image extraction device for specific object
US20100079582A1 (en) Method and System for Capturing and Using Automatic Focus Information
JP2002092607A (en) Image processor, image state determining method and recording medium
JP3997586B2 (en) Digital camera
JP2007228221A (en) Imaging apparatus, image processing apparatus, image processing method and image processing program
JP4705146B2 (en) Imaging apparatus and imaging method
JP3643042B2 (en) Image processing apparatus, image processing method, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040311

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040413

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050627

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060808

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: 20070717

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070730

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100817

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120817

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130817

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees