JP2005260597A - Digital camera and program - Google Patents
Digital camera and program Download PDFInfo
- Publication number
- JP2005260597A JP2005260597A JP2004069595A JP2004069595A JP2005260597A JP 2005260597 A JP2005260597 A JP 2005260597A JP 2004069595 A JP2004069595 A JP 2004069595A JP 2004069595 A JP2004069595 A JP 2004069595A JP 2005260597 A JP2005260597 A JP 2005260597A
- Authority
- JP
- Japan
- Prior art keywords
- character
- digital camera
- readability
- gradation
- change rate
- 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
Links
Images
Landscapes
- Character Input (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、デジタルカメラに関し、特に、文書の電子化に好適なデジタルカメラに関する。 The present invention relates to a digital camera, and more particularly to a digital camera suitable for digitizing a document.
従来、用紙などに記された文書を電子化するには、フラットベッドスキャナなどで読み込むことが一般的であったが、近年、高画素のデジタルカメラが低価格で入手できるようになったことにより、スキャナやメモの代わりとしてデジタルカメラが利用されつつある。撮影した画像をデジタルデータとして記録することができるデジタルカメラの特徴を活かし、用紙に印刷されている文書や、街中の看板などに記されている文字などをデジタルカメラで撮影することで、文書情報を手軽に電子化することができる。また、フラットベッドスキャナなどと異なり、デジタルカメラは携帯性にすぐれているため、対象とする文書の形態にかかわらず、いつでもどこでも文書の電子化を実施することができる。また、デジタルデータで記録することができるので、所定の文字認識処理などにより、利便性の高いテキストデータへの変換なども容易におこなうことができる。 Conventionally, in order to digitize documents on paper etc., it was common to read them with a flatbed scanner, etc., but in recent years, high-pixel digital cameras have become available at low prices. Digital cameras are being used instead of scanners and memos. Taking advantage of the features of a digital camera that can record the captured image as digital data, document information can be obtained by shooting a document printed on paper or characters on a signboard in the city with a digital camera. Can be easily digitized. In addition, unlike a flatbed scanner or the like, a digital camera is excellent in portability, so that it is possible to digitize a document anytime and anywhere regardless of the form of the target document. Further, since it can be recorded as digital data, it can be easily converted into convenient text data by a predetermined character recognition process or the like.
しかしながら、対象との距離などが常に一定であるフラットベッドスキャナなどとは異なり、デジタルカメラによる撮影では、撮影条件が撮影毎に異なるため、文字認識処理で必要とされる画像品質を常に得ることは困難である。特に、用紙に印刷されている文書を撮影する場合はマクロ撮影となることが多く、手ブレやピンボケなどが生じやすい。手ブレやピンボケなどが発生している画像は画像品質が低く、文字認識処理の認識精度を低下させる結果となる。 However, unlike flatbed scanners where the distance to the target is always constant, shooting with digital cameras has different shooting conditions for each shooting, so it is always possible to obtain the image quality required for character recognition processing. Have difficulty. In particular, when shooting a document printed on paper, macro shooting is often performed, and camera shake and blurring tend to occur. An image in which camera shake, blurring, or the like occurs has low image quality, resulting in a decrease in recognition accuracy of the character recognition process.
したがって、デジタルカメラを用いて文書情報を記録する場合には、従来、(1)同じ撮影対象を複数枚撮影し、最も画像品質のよいものを撮影後に選択したり、あるいは、(2)撮影毎に画面で画像品質を確認し、画像品質が悪い場合には撮り直しする、などの作業によって対応していた。(1)の方法では、画像品質の低い画像データまでも記録しておかなければならないため、メモリ領域を無駄に占有してしまい、本当に必要な画像の記録に支障をきたすことがある。また、デジタルカメラに備えられている画面(液晶表示装置など)は解像度が低いことが多く、画像品質を確認するためには拡大表示やスクロールをおこなわなければならない。したがって、(2)の方法では確認のための作業時間が長くなってしまい、撮影効率を低下させてしまう。また、いずれの方法もユーザ(撮影者)がおこなう作業であるため、ユーザの労力を要し、負担となっていた。 Therefore, when document information is recorded using a digital camera, conventionally, (1) a plurality of images of the same object to be imaged are selected and the best image quality is selected after shooting, or (2) each image is captured. In other cases, the image quality was confirmed on the screen, and if the image quality was poor, it was retaken. In the method (1), even image data with low image quality must be recorded, so that the memory area is occupied unnecessarily, which may hinder the recording of a really necessary image. In addition, a screen (such as a liquid crystal display device) provided in a digital camera often has a low resolution, and an enlarged display or scrolling must be performed in order to check the image quality. Therefore, in the method (2), the work time for confirmation becomes long and the photographing efficiency is lowered. In addition, since both methods are operations performed by the user (photographer), the user's labor is required and is a burden.
所定の画像品質であるか否かを画像処理によって自動的に判断する技術(例えば、特許文献1、2)も提案されているが、従来の手法では、判断基準が「文字の大きさ」のみ、あるいは、「画像のブレ」のみ、となっている。このような方法では、例えば、画像のブレはあっても文字が十分大きい場合、画像品質が低いと判断されて記録されない場合がある。すなわち、文字が十分大きい場合には、ブレがあっても文字認識に十分な画像品質となる場合があるにもかかわらず「画像品質が低い」と判断されてしまう。一方、画像のブレはなくとも文字が小さい場合、文字認識に必要な画像品質とならない場合があるが、ブレのみに基づいて「画像品質が高い」と判断され、画像品質の低い画像が記録されてしまう場合もある。すなわち、上記従来技術によっては、画像品質を正確に判別することができず、その結果、有用な画像が撮影できたにもかかわらず撮り直しを強いられたり、画像品質の低い画像を記録してしまうなどの不都合が生じ、効率的ではなかった。
本発明は上記実状に鑑みてなされたもので、文書撮影をおこなう場合に画像品質を正確に判定して通知することができるデジタルカメラおよびプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a digital camera and a program capable of accurately determining and notifying image quality when photographing a document.
上記目的を達成するため、本発明に係るデジタルカメラは、
入射光をデジタルデータに変換して画像データを取得するデジタルカメラにおいて、
前記画像データの特徴を検出する特徴検出手段と、
前記特徴検出手段が検出した特徴に基づいて、当該画像データに示される文字の可読性レベルを判定する判定手段と、
前記判定手段が判定した可読性レベルに基づいて、所定の動作を実行する実行手段と、を備え、
前記特徴検出手段は、前記画像データにおける階調変化率を検出する階調検出手段をさらに備え、
前記判定手段は、前記階調検出手段が検出した階調変化率に基づいて前記文字の可読性レベルを判定し、
前記実行手段は、前記判定手段が判定した可読性レベルに基づいて、所定の通知情報を出力する出力手段をさらに備える、
ことを特徴とする。
In order to achieve the above object, a digital camera according to the present invention provides:
In a digital camera that acquires image data by converting incident light into digital data,
Feature detection means for detecting the features of the image data;
Determination means for determining the readability level of the character indicated in the image data based on the feature detected by the feature detection means;
Execution means for executing a predetermined operation based on the readability level determined by the determination means,
The feature detection means further comprises a gradation detection means for detecting a gradation change rate in the image data,
The determination means determines the readability level of the character based on the gradation change rate detected by the gradation detection means,
The execution unit further includes an output unit that outputs predetermined notification information based on the readability level determined by the determination unit.
It is characterized by that.
上記デジタルカメラは、
前記画像データに示される文字のエッジを検出するエッジ検出手段をさらに備えていることが望ましく、この場合、
前記階調検出手段は、前記エッジ検出手段が検出したエッジ部分の階調変化率を検出することが望ましい。
The above digital camera
It is desirable to further comprise an edge detection means for detecting the edge of the character shown in the image data, in this case,
The gradation detecting means preferably detects the gradation change rate of the edge portion detected by the edge detecting means.
上記デジタルカメラにおいて、
前記特徴検出手段は、前記文字のサイズを特定する文字サイズ特定手段をさらに備えていることが望ましく、この場合、
前記判定手段は、前記階調検出手段が検出した階調変化率と、前記文字サイズ特定手段が特定した文字サイズとに基づいて、当該文字の可読性レベルを判定することが望ましい。
In the above digital camera,
The feature detection unit preferably further includes a character size specifying unit that specifies the size of the character. In this case,
The determination unit preferably determines the readability level of the character based on the gradation change rate detected by the gradation detection unit and the character size specified by the character size specification unit.
上記デジタルカメラは、
所定の閾値と前記判定手段が判定した可読性レベルとに基づいて、前記文字の判読可否を判別する判別手段をさらに備えていることが望ましく、この場合、
前記出力手段は、前記判別手段によって判読不可と判別された場合に、その旨を示す通知情報を出力することが望ましい。
The above digital camera
It is desirable to further include a determination unit that determines whether or not the character can be read based on a predetermined threshold and the readability level determined by the determination unit.
Preferably, the output means outputs notification information indicating that when it is determined by the determination means that reading is impossible.
上記デジタルカメラにおいて、
前記判定手段は、前記画像データ上の複数箇所で可読性レベルを判定し、
前記判別手段は、前記複数箇所で判読可否を判別し、
前記出力手段は、前記複数箇所のいずれかにおいて判読不可と判別された場合に、前記通知情報を出力してもよい。
In the above digital camera,
The determination means determines a readability level at a plurality of locations on the image data,
The determination means determines whether or not the plurality of places can be read,
The output means may output the notification information when it is determined that reading is impossible at any of the plurality of locations.
上記デジタルカメラは、
前記特徴検出手段が検出する特徴を示す情報と可読性レベルとが対応付けられた判定情報を記憶する記憶手段をさらに備えていることが望ましく、この場合、
前記判定手段は、前記記憶手段に記憶された判定情報に基づいて、可読性レベルを判定することが望ましい。
The above digital camera
It is desirable to further comprise storage means for storing determination information in which the information indicating the feature detected by the feature detection means is associated with the readability level.
It is desirable that the determination unit determines a readability level based on determination information stored in the storage unit.
上記デジタルカメラは、
ユーザからの指示を入力する入力手段をさらに備えていることが望ましく、この場合、
前記記憶手段は、前記入力手段に入力されたユーザの指示に応じて、前記判定情報を更新してもよい。
The above digital camera
It is desirable to further include an input means for inputting an instruction from the user.
The storage unit may update the determination information in accordance with a user instruction input to the input unit.
また、
前記文字サイズ特定手段は、前記入力手段に入力されたユーザの指示に応じて、文字サイズを特定してもよい。
Also,
The character size specifying unit may specify a character size in accordance with a user instruction input to the input unit.
上記デジタルカメラにおいて、
前記階調検出手段は、前記画像データにおける階調変化率の分布を検出する階調分布検出手段をさらに備えていてもよく、この場合、
前記判定手段は、前記階調分布検出手段が検出した階調変化率の分布に基づいて、前記文字の可読性レベルを判定してもよい。
In the above digital camera,
The gradation detection means may further comprise gradation distribution detection means for detecting a distribution of gradation change rate in the image data.
The determination unit may determine the readability level of the character based on a distribution of gradation change rates detected by the gradation distribution detection unit.
この場合、
前記判定手段は、前記階調変化率の分布に基づき、最も出現頻度の高い階調変化率を前記文字における階調変化率として可読性レベルを判定することが望ましい。
in this case,
It is preferable that the determination unit determines the readability level based on the distribution of the gradation change rate, with the gradation change rate having the highest appearance frequency as the gradation change rate in the character.
上記デジタルカメラは、
前記画像データに示される文字領域を抽出する文字領域抽出手段をさらに備えていることが望ましく、この場合、
前記特徴検出手段は、前記文字領域抽出手段が抽出した文字領域内での特徴を検出することが望ましい。
The above digital camera
It is desirable to further comprise a character area extraction means for extracting the character area shown in the image data, in this case,
It is desirable that the feature detection means detects a feature in the character area extracted by the character area extraction means.
上記目的を達成するため、本発明の第2の観点にかかるプログラムは、
入射光をデジタルデータに変換して画像データを取得するデジタルカメラを制御するコンピュータに、
取得した画像データに示される文字を検出するステップと、
少なくとも検出された文字における階調変化率を検出するステップと、
検出された文字のサイズを特定するステップと、
検出された階調変化率および/または特定された文字サイズに基づいて、前記文字の可読性レベルを判定するステップと、
判定された可読性レベルに応じた所定の通知情報を出力するステップと、
を実行させることを特徴とする。
In order to achieve the above object, a program according to the second aspect of the present invention is:
To a computer that controls a digital camera that converts incident light into digital data and acquires image data,
Detecting characters shown in the acquired image data;
Detecting a gradation change rate in at least the detected character;
Identifying the size of the detected characters;
Determining a readability level of the character based on the detected gradation change rate and / or the specified character size;
Outputting predetermined notification information according to the determined readability level;
Is executed.
本発明によれば、撮影した画像中の階調変化率に基づいて、当該画像に示される文字の可読性を判定して通知するので、画像品質を正確に判定して通知することができる。この結果、撮影時の省力化や撮影効率の向上を図ることができるとともに、メモリ領域の浪費などを防止することができる。 According to the present invention, since the readability of the character shown in the image is determined and notified based on the gradation change rate in the captured image, the image quality can be accurately determined and notified. As a result, it is possible to save labor at the time of shooting and improve shooting efficiency, and to prevent the memory area from being wasted.
本発明にかかる実施形態を、以下図面を参照して説明する。本実施形態では、CCD(Charge Coupled Device:電荷結合素子)などの撮像素子を用いて画像データを取得するデジタルカメラ(撮像装置)によって文字や文書を撮影する場合(以下、「文書撮影」とする)を例に以下説明する。本実施形態において「文書撮影」とは、例えば、用紙や看板などに記されている文字をデジタルカメラで撮影し、スキャナなどによる取り込みやメモなどの代用として文字情報を記録することをいうものとする。また、文書撮影を目的として取得された画像を「文書画像」とする。このような文書画像は所定の文字認識処理に供せられることでテキストデータなどに変換される。すなわち、デジタルカメラで文書を撮影することで、文書情報の電子化を図るものである。 Embodiments according to the present invention will be described below with reference to the drawings. In this embodiment, when a character or document is photographed by a digital camera (imaging device) that acquires image data using an imaging device such as a CCD (Charge Coupled Device) (hereinafter referred to as “document photographing”). ) As an example. In this embodiment, “document shooting” refers to, for example, shooting characters written on paper or a signboard with a digital camera and recording character information as a substitute for taking in by a scanner or a memo. To do. In addition, an image acquired for the purpose of taking a document is referred to as a “document image”. Such a document image is converted into text data by being subjected to a predetermined character recognition process. That is, document information is digitized by photographing a document with a digital camera.
本実施形態に係るデジタルカメラの構成を図1、図2を参照して説明する。図1は本実施形態にかかるデジタルカメラ100のシステム構成(内部構成)を示すブロック図であり、図2はデジタルカメラ100の外観例を示す図(図2(a)は正面図、図2(b)は背面図)である。図示するように、本実施形態にかかるデジタルカメラ100は、制御部110と、撮像部120と、入力部130、出力部140と、画像記録部150と、記憶部160と、を備える。
The configuration of the digital camera according to this embodiment will be described with reference to FIGS. FIG. 1 is a block diagram showing a system configuration (internal configuration) of a
制御部110は、例えば、CPU(Central Processing Unit:中央演算処理装置)などから構成され、デジタルカメラ100の各部を制御する。ここで、制御部110は、記憶部160に格納された動作プログラムを実行することで後述する各処理が実現される。なお、制御部110は、動作時に必要なデータや動作プログラムなどを展開(ロード)するための記憶領域を備えているものとする。この記憶領域(以下「ワークエリア」とする)は、例えば、レジスタやキャッシュメモリ、および、RAM(Random Access Memory)などから構成される。
The
撮像部120は、制御部110の制御によって撮像動作をおこなうものであり、本実施形態では、図2に示すように、レンズユニット121、測距・測光部122、撮像素子123、などを備える。
The
レンズユニット121は、レンズ群や絞り羽根などから構成される光学的部材や、光学的部材を駆動する駆動部などから構成される。駆動部は、制御部110の制御により光学的部材を駆動する。例えば、設定された絞りとなるよう絞り羽根を駆動する。また、レンズユニット121がAF(Auto Focus:オートフォーカス)機能を備えている場合は、撮影対象に合焦するよう光学的部材を駆動し、ズーム機能を備えている場合には、ユーザのズーム操作に応じて光学的部材を駆動する。
The
測距・測光部122は、例えば、赤外線照射部や距離センサ、および、光センサなどから構成され、デジタルカメラ100から撮影対象(被写体)までの距離や撮影空間の光量などを測定する。
The distance measurement /
撮像素子123は、例えば、CCDなどから構成され、レンズユニット121を介して入光した可視光(入射光)を光電変換により電荷に変換して蓄積する。ここで撮像素子123は、所定のAD変換回路を備えるものとし、変換された電荷の電荷量に基づいてデジタルデータに変換する。すなわち、変換されたデジタルデータは、入射光から得られる「画像データ」を構成することとなる。
The
入力部130は、ユーザからの指示を受け付けるボタンなどから構成され、ユーザによって操作される。入力部130は、操作に応じた所定の信号を制御部110に送出することで、ユーザの指示を制御部110に入力する。本実施形態では、入力部130は、少なくとも、シャッタボタン131と操作入力部132とを備える。
The
シャッタボタン131は、ユーザによる押下に応じて上下方向に可動するボタンなどから構成され、ユーザに押下されることによって、撮影開始などを指示する信号(以下、「シャッタ信号」とする)を制御部110に送出する。なお、シャッタボタン131は、いわゆる「半押し」状態と「全押し」状態の2つの状態に応じて異なる信号を制御部110に送出するものとする。ここで「半押し」とはシャッタボタン131の可動ストロークの半ばまで押された状態をいい、「全押し」とはシャッタボタン131が完全に押し込まれた状態をいうものとする。
The
通常のカメラと同様、本実施形態にかかるデジタルカメラ100においても、「半押し」で測距・測光およびピント合わせ(合焦)など(以下、「撮像準備動作」とする)をおこない、「全押し」で撮像・記録(以下、「撮像動作」とする)をおこなう。したがって、シャッタボタン131が半押しされたときには、その旨を示すシャッタ信号(以下、「半押し信号」とする)が制御部110に送出され、制御部110はこれに応じて合焦動作の開始などを実行する。また、シャッタボタン131が全押しされたときには、その旨を示すシャッタ信号(以下、「全押し信号」とする)が制御部110に送出され、制御部110は撮像・記録動作の開始などを実行する。すなわち、制御部110は、シャッタボタン131から送出された信号の受信を契機に撮像のための各動作を開始する。
As with a normal camera, the
操作入力部132は、例えば、所定の操作ボタンやダイヤル、カーソルキー、などから構成され、ユーザの操作により、種々の設定を変更する指示などが入力される。本実施形態においては、撮影モードをはじめとする各種モードの変更・設定に用いられる他、文書画像における文字の判読可否の基準となる可読性レベル(詳細後述)の設定に用いられる。また、本実施形態では、撮影モードとして「文書撮影モード」が用意されるものとし、デジタルカメラ100で文書撮影をおこなう場合は、操作入力部132を操作して文書撮影モードにする。
The
出力部140は、ユーザに対して通知される種々の情報を出力するものであり、本実施形態では、画像を出力する表示部141と、音声を出力する報音部142と、点灯や点滅などの発光をおこなうインジケータ部143、を備える。表示部141、報音部142、インジケータ部143は、図2(b)に示すように、デジタルカメラ100の背面側に構成される。すなわち、デジタルカメラ100を用いた撮影時に、出力された情報を撮影者(ユーザ)に伝達可能な位置に構成されることが望ましい。
The output unit 140 outputs various types of information notified to the user. In the present embodiment, the
表示部141は、例えば、液晶表示装置などから構成され、画像情報を表示出力する。本実施形態では、撮像素子123によって得られた画像や画像記録部150に記録された画像を表示する他、設定変更をおこなうためのメニュー画面、および、設定状態やユーザに対する警告を示す情報(例えば、文字やアイコン)などが表示される。本実施形態では、可読性レベルに応じたユーザへの警告や案内を示す画像や文字情報が表示される。なお、表示部141がタッチパネルなどから構成される場合には、操作入力部132と同等の入力装置として機能させてもよい。
The
報音部142は、例えば、スピーカなどから構成され、所定の音声情報を出力する。ここでは、デジタルカメラ100による撮影時の各種動作(例えば、合焦、シャッタ押下)に応じた音声(アラーム音など)が出力される他、本実施形態では、可読性レベルに応じたユーザへの警告や案内を示す音声などが出力される。
The
インジケータ部143は、例えば、LED(Light Emitting Diode:発光ダイオード)などから構成され、デジタルカメラ100による撮影時の各種動作(例えば、合焦、シャッタ押下)に応じて所定の色や明滅パターンで発光される他、本実施形態では、可読性レベルに応じたユーザへの警告時などにも発光する。
The
なお、可読性レベルに応じた警告や案内の出力は、表示部141、報音部142、インジケータ部143のすべてによって行われてもよく、あるいは、これらのいずれかによって行われてもよい。また、いずれの出力装置を用いるかはユーザによって任意に選択・設定可能であるものとする。
Note that the output of the warning or guidance according to the readability level may be performed by all of the
画像記録部150は、例えば、フラッシュメモリなどの記憶装置を備えるメモリカードなどから構成され、撮像素子123のAD変換回路によって変換されたデジタルデータを記録することで、撮像部120の撮像動作によって得られた画像データを記録する。
The
記憶部160は、例えば、フラッシュメモリなどの記憶装置から構成され、制御部110が実行するプログラムや、各処理に必要なデータ(以下、「処理データ」とする)などを記憶する。ここでは、撮像準備動作および撮像動作のための各種制御を実行するプログラム(以下、「撮像プログラム」とする)の他、本実施形態では、撮像素子123によって得られた画像データに基づいた特徴を検出し、画像データに示される文字の可読性を判定するためのプログラムが格納される。より詳細には、以下のようなプログラムが格納される。
(1)「文字検出プログラム」:画像データに文字が示されているかを判別し、文字領域を抽出するプログラム
(2)「エッジ検出プログラム」:画像データに示される文字のエッジを検出するプログラム
(3)「文字サイズ特定プログラム」:画像データに示されている文字のサイズを特定するプログラム
(4)「階調変化率検出プログラム」:画像データ上の階調変化率を検出するプログラム
(5)「可読性レベル判定プログラム」:画像データに示されている文字のサイズや階調変化率に基づいて、文字の可読性レベル(詳細後述)を判定するプログラム
(6)「判読可否判定プログラム」:判定された可読性レベルに基づいて、画像データに示されている文字が判読可能か否かを判定するプログラム
(7)「通知情報出力プログラム」:判定された可読性レベルに基づいて所定の通知情報を出力するプログラム
The
(1) “Character detection program”: a program for determining whether or not a character is shown in image data and extracting a character area (2) “Edge detection program”: a program for detecting an edge of a character indicated in image data ( 3) “Character size identification program”: a program that identifies the size of the character indicated in the image data (4) “Gradation change rate detection program”: a program that detects the gradation change rate in the image data (5) “Readability level determination program”: a program for determining a character readability level (details will be described later) based on the character size and gradation change rate indicated in the image data (6) “readability determination program”: determined (7) “Notification information output program for determining whether or not the characters shown in the image data are legible based on the readability level : Program that outputs a predetermined notification information based on the readability levels determined
このようなプログラムを制御部110が実行することで、制御部110は以下のような機能を実現する。
(1)「撮像機能」:撮像部120を動作させ、レンズユニット121から入光した入射光に基づく画像データを取得する機能
(2)「文字検出機能」:取得された画像データに示される文字部分を検出する機能
(3)「特徴検出機能」:取得された画像データの特徴を検出する機能
(4)「可読性レベル判定機能」:検出された画像データの特徴に基づいて、画像データに示される文字の可読性レベル(詳細後述)を判定する機能
(5)「判読可否判定機能」:判定された可読性レベルに基づいて、画像データに示される文字が判読可能か否かを判定する機能
(6)「出力機能」:判定された可読性レベルに応じて、ユーザへの通知情報を出力する機能
When the
(1) “Imaging function”: a function for operating the
上記「特徴検出機能」は、画像データ上での階調変化率などを、当該画像データの「特徴」として検出する。また「出力機能」により、ユーザが撮像しようとしている文字の可読性レベルに応じた所定の「通知情報」(音声、画像、など)が出力部140から出力される。 The “feature detection function” detects a gradation change rate on image data as a “feature” of the image data. In addition, by the “output function”, predetermined “notification information” (sound, image, etc.) corresponding to the readability level of the character that the user is about to capture is output from the output unit 140.
なお、本実施形態では、制御部110がプログラムを実行することによるソフトウェア処理で上記各機能を実現するが、例えば、これらの各機能をそれぞれ専門的に処理する回路等(いわゆるASIC(Application Specific Integrated Circuit))をデジタルカメラ100に構成することにより、ハードウェア処理によって上記各機能が実現されてもよい。
In the present embodiment, each function is realized by software processing by the
また、記憶部160には、「処理データ」として、例えば、適正露出値(絞り値)やシャッタスピードなどの組み合わせなどといった撮影時に必要となる諸設定を示す情報(以下、「撮影パラメータ」という)などが記憶される他、本実施形態では、撮像された画像データに示される文字の可読性レベル(画像品質)を判定するための「可読性レベル判定テーブル」が記憶される。この「可読性レベル判定テーブル」の例を図3(a)に示す。
In the
図示するように、「可読性レベル判定テーブル」には、「文字サイズ」と「階調変化率」とに応じた「可読性レベル」が対応付けられて記録される。ここで「文字サイズ」とは、撮像素子123によって得られた画像データで示される文字のサイズを示すものであり、文字の縦横ドット数に基づいて規定される。すなわち、撮像素子123によって得られる画像データは、複数のピクセル(ドット)から構成されるラスタ画像であるため、その画像中に示される文字を構成するドット数によって文字サイズを規定する。本実施形態では、各文字の横方向ドット数を用いることとする。
As shown in the drawing, in the “readability level determination table”, “readability level” corresponding to “character size” and “gradation change rate” is recorded in association with each other. Here, the “character size” indicates the size of the character indicated by the image data obtained by the
また、文字サイズを示すドット数の範囲によって、文字サイズを「A」、「B」、「C」、「D」、「E」の5段階のレベル(以下、「文字サイズレベル」とする)に区分する。本実施形態では、ドット数範囲が「〜8」の場合を「レベルA」とし、以下、「レベルB」=「9〜16」、「レベルC」=「17〜32」、「レベルD」=「33〜64」、「レベルE」=「65〜」、と区分する。すなわち、各レベルによって文字サイズの大小関係を表すと「A<B<C<D<E」となる。なお、この区分数やドット数範囲の設定は任意であり、ユーザによって設定可能であってもよい。また、文字サイズを規定することができるのであれば任意の単位を採用してもよい。例えば、各文字の縦方向ドット数を用いてもよく、あるいは、横方向ドット数と縦方向ドット数の和もしくは積を用いてもよい。 Further, depending on the range of the number of dots indicating the character size, the character size is classified into five levels of “A”, “B”, “C”, “D”, and “E” (hereinafter referred to as “character size level”). Divide into In the present embodiment, the case where the dot number range is “˜8” is referred to as “level A”, and “level B” = “9-16”, “level C” = “17-32”, “level D” hereinafter. = “33 to 64” and “Level E” = “65 to”. In other words, the size relationship between the character sizes is expressed by “A <B <C <D <E”. Note that the setting of the number of divisions and the range of the number of dots is arbitrary and may be set by the user. Further, any unit may be adopted as long as the character size can be defined. For example, the number of vertical dots of each character may be used, or the sum or product of the number of horizontal dots and the number of vertical dots may be used.
また、「階調変化率」とは、画像のボケ具合を判定する指標となるものであり、「階調変化量/ドット数」で表す。本実施形態では、デジタルカメラ100によって文字を撮像する文書撮影をおこなうが、撮影時にピントが合っていない場合(いわゆる「ピンボケ」)や手ブレが生じた場合、撮影した画像が不鮮明になり文字部分の判読が困難となってしまう。すなわち、ピンボケや手ブレの場合には、画像がぼやけたり、ぶれたりするが、このとき、画像上の文字のエッジ部分(文字部分と背景との境界部分)などにいわゆる「ボケ足」が発生する。本実施形態では、この「ボケ足」の程度(画像品質)を示す指標として「階調変化率」を用いる。
The “gradation change rate” is an index for determining the degree of blurring of an image, and is represented by “gradation change amount / number of dots”. In the present embodiment, the
例えば、図4(a)に示すような白地に黒で表される文字(「C」)を画像表示する場合、ピンボケや手ブレがまったくない状態での文字のエッジ部(図中の矩形領域RA)を拡大すると、図4(b)に示すように、「黒」のピクセル(ドット)でエッジ部が構成され、ボケ足が生じていない。一方、ピンボケや手ブレが生じると、図4(c)に示すように、下地の白と文字の黒との間の中間階調のピクセルでエッジ部が構成される。この中間階調ピクセルがボケ足となり、輪郭がぼやけた文字となって判読性が低くなる。そして、ボケ足の幅が広い程、判読性もより低くなる。 For example, when a character (“C”) expressed in black on a white background as shown in FIG. 4A is displayed as an image, the edge portion of the character (rectangular region in the figure) without any blur or camera shake. When (RA) is enlarged, as shown in FIG. 4 (b), the edge portion is composed of “black” pixels (dots), and no blurring occurs. On the other hand, when out-of-focus or camera shake occurs, as shown in FIG. 4C, an edge portion is formed by pixels of intermediate gradation between the white background and the black character. This halftone pixel becomes blurred and becomes a character with a blurred outline, resulting in poor legibility. And the wider the blur foot, the lower the legibility.
このような場合の階調変化を図5を参照して説明する。ここでは、上記のような文字「C」を256階調(「黒」の階調を「0」、「白」の階調を「255」とする)で画像表示した場合の1次元方向ピクセル(例えば、図5(a)の「線分X−X’」上のピクセル)の階調変化をみる。 The gradation change in such a case will be described with reference to FIG. Here, the one-dimensional pixel when the character “C” as described above is displayed as an image with 256 gradations (the gradation of “black” is “0” and the gradation of “white” is “255”). A change in gradation is observed (for example, a pixel on “line segment XX ′” in FIG. 5A).
まず、ピンボケや手ブレが全くない状態での階調変化を図5(b)に示す。ここでは、横軸に線分X−X’上のドット(ピクセル)をとり、縦軸に各ドットの階調をとる(図5(c)においても同様)。ボケ足が生じていない場合、エッジ部での階調変化は、背景の「255」から文字部の「0」に急激に変化する。すなわち、文字のエッジ部においては、背景のピクセルから文字部分方向に1ドットずれると、256階調変化する(階調変化量)。この場合の階調変化率は、「256(階調変化量)/1(ドット数)=256」となる。すなわち、ピンボケや手ブレが全く生じていない状態での階調変化率は、背景と文字部分との間の階調差と一致することになる。 First, FIG. 5B shows a gradation change in a state where there is no blurring or camera shake. Here, the horizontal axis represents dots (pixels) on the line segment X-X ′, and the vertical axis represents the gradation of each dot (the same applies to FIG. 5C). When no blurring occurs, the gradation change at the edge portion changes abruptly from “255” in the background to “0” in the character portion. That is, at the edge portion of the character, when one dot is shifted from the background pixel in the direction of the character portion, 256 gradation changes (gradation change amount). The gradation change rate in this case is “256 (tone change amount) / 1 (number of dots) = 256”. That is, the gradation change rate in a state where there is no out-of-focus or camera shake coincides with the gradation difference between the background and the character portion.
一方、エッジ部にボケ足が生じている場合は、図5(c)に示すように、背景の白から文字の黒までなだらかに階調が変化する。すなわち、背景の白と文字の黒との間に中間階調のピクセルが存在してボケ足となる(図5(c)においてハッチングで示す部分)。ここで、中間階調を構成するピクセルの数(ドット数)が「ボケ足の幅」ということになる。例えば、中間階調ピクセルのドット数が「8」である場合の階調変化率は「256/8=32」となる。また、ドット数が「32」である場合の階調変化率は「256/32=8」となる。 On the other hand, when the blur is generated at the edge portion, as shown in FIG. 5C, the gradation gradually changes from white in the background to black in the character. In other words, there is an intermediate gradation pixel between the white background and the black character, resulting in blurring (the hatched portion in FIG. 5C). Here, the number of pixels (number of dots) constituting the intermediate gradation is the “blurred foot width”. For example, the gradation change rate when the number of dots of the intermediate gradation pixel is “8” is “256/8 = 32”. Further, the gradation change rate when the number of dots is “32” is “256/32 = 8”.
すなわち、本実施形態における「階調変化率」は、背景と文字部との階調差を最大値とし、ボケ足の幅が広くなるほど減少する数値である。したがって、階調変化率の値の大小を相対的にみることにより、当該画像のボケ具合を判定することができる。つまり、階調変化率の値が小さいほど画像のボケ具合が大きいことを示す。なお、上述したように、文字の判読性の良否にはボケ足の幅が影響するため、ボケ足のドット数のみからでも画像のボケ具合をある程度みることができる。しかし、撮影対象によっては、背景と文字部分との階調差が小さい場合(例えば、背景や文字がカラーである場合など)もあり、さらに、一つの画像内に、階調差が大きい部分と小さい部分とが混在する場合もある(例えば、背景や文字部分が複数色の色彩で構成されている場合など)。このような場合においても、画像全体のボケ具合を適正に判定するため、ボケ足のドット数と階調変化量(階調差)との関係から導き出す階調変化率を用いる。 That is, the “gradation change rate” in the present embodiment is a numerical value that decreases with an increase in the width of the blurred foot, with the gradation difference between the background and the character portion being the maximum value. Therefore, it is possible to determine the degree of blur of the image by relatively viewing the magnitude of the gradation change rate. That is, the smaller the gradation change rate value, the greater the degree of image blur. As described above, since the width of the blur foot affects the quality of the legibility of the characters, the degree of blur of the image can be seen to some extent only from the number of dots of the blur foot. However, there are cases where the gradation difference between the background and the character portion is small (for example, when the background or characters are in color) depending on the object to be photographed. There may be a case where a small part is mixed (for example, a case where a background or a character part is composed of a plurality of colors). Even in such a case, the gradation change rate derived from the relationship between the number of dots on the blurred foot and the gradation change amount (gradation difference) is used in order to appropriately determine the degree of blur of the entire image.
図3(a)に示す「可読性レベル判定テーブル」では、階調変化率を示す数値の範囲に応じて、階調変化率を「A’」、「B’」、「C’」、「D’」、「E’」の5段階のレベル(以下、「階調変化率レベル」とする)に区分する。階調変化率レベルは、階調変化率の所定の数値範囲ごとに設定される。本実施形態では、数値範囲が「〜5」の場合を「レベルA’」とし、以下、「レベルB’」=「6〜10」、「レベルC’」=「11〜20」、「レベルD’」=「21〜40」、「レベルE’」=「41〜」、と区分する。すなわち、各レベルによって階調変化率の大小関係を表すと「A’<B’<C’<D’<E’」となる。なお、「階調変化率」は、画像上のドット数を要素とするため、デジタルカメラ100の性能(例えば、解像度や画素数など。以下、「画像性能」とする)が影響する。したがって、「可読性レベル判定テーブル」には、デジタルカメラ100の画像性能などに応じて各段階を規定する数値範囲が設定されるものとする。ただし、区分数や数値範囲の設定は任意であり、ユーザによって設定可能であってもよい。
In the “readability level determination table” shown in FIG. 3A, the gradation change rates are set to “A ′”, “B ′”, “C ′”, “D” according to the range of numerical values indicating the gradation change rate. It is divided into five levels of “′” and “E” (hereinafter referred to as “gradation change rate level”). The gradation change rate level is set for each predetermined numerical range of the gradation change rate. In the present embodiment, the case where the numerical value range is “˜5” is “level A ′”, and hereinafter, “level B ′” = “6-10”, “level C ′” = “11-20”, “level” D ′ ”=“ 21-40 ”and“ level E ′ ”=“ 41- ”. That is, the level change of the gradation change rate is represented by each level, “A ′ <B ′ <C ′ <D ′ <E ′”. Note that since the “gradation change rate” is based on the number of dots on the image, the performance of the digital camera 100 (for example, the resolution, the number of pixels, etc., hereinafter referred to as “image performance”) is affected. Therefore, a numerical value range that defines each stage is set in the “readability level determination table” according to the image performance of the
そして「可読性レベル判定テーブル」には、文字サイズと階調変化率とに対応付けられた「可読性レベル」が記録される(図3(a))。この「可読性レベル」は、デジタルカメラ100による文書撮影で取得された文書画像データに示される文字の判読性を示す情報である。本実施形態では、「1」〜「9」の数値によってレベルを示すこととし、数値が小さいほど可読性が低く、数値が大きいほど可読性が高いことを示すものとする。なお、本実施形態における「判読」とは、取得した文書画像を表示等させたときにユーザ(人間)が目視により文字を認識することをいう他、所定の文字認識処理においてコンピュータが文字を認識することをいうものとする。
In the “readability level determination table”, the “readability level” associated with the character size and the gradation change rate is recorded (FIG. 3A). This “readability level” is information indicating the legibility of the characters shown in the document image data acquired by document shooting by the
ここで、文字の可読性は、文字のサイズと画像のボケ具合によってレベル分けされる。すなわち、文字サイズが小さく、かつ、ボケ具合が大きい(階調変化率の値が小さい場合)ほど可読性は低いため、最も小さい文字サイズを含んだ文字サイズレベルである「文字サイズレベル:A」で、かつ、最も小さい階調変化率を含んだ階調変化率レベルである「階調変化率レベル:A’」(以下、「A−A’レベル」というように表記する。この場合、ハイフンの前が文字サイズレベルを示し、ハイフンの後が階調変化率レベルを示す。)に対応する可読性レベルを、最低レベルとなる「1」に設定する。一方、文字サイズが大きく、かつ、ボケ具合が小さい(階調変化率の値が大きい場合)ほど可読性は高いため、最も大きい文字サイズと最も大きい階調変化率を含んでいる「E−E’レベル」に対応する可読性レベルを、最高レベルとなる「9」に設定する。 Here, the readability of characters is classified into levels according to the size of characters and the degree of image blur. That is, the smaller the character size and the greater the degree of blur (when the gradation change rate value is smaller), the lower the readability. Therefore, the character size level including the smallest character size is “character size level: A”. The tone change rate level including the smallest tone change rate is expressed as “tone change rate level: A ′” (hereinafter referred to as “AA ′ level”. In this case, the hyphen The readability level corresponding to the character size level before and the tone change rate level after the hyphen is set to “1” which is the lowest level. On the other hand, as the character size is larger and the degree of blur is smaller (when the gradation change rate value is larger), the readability is higher. Therefore, “EE” includes the largest character size and the largest gradation change rate. The readability level corresponding to “level” is set to “9” which is the highest level.
ここで、可読性レベルには所定の閾値を設定する。本実施形態では、「1」〜「9」の中間値となる「5」を閾値とする。この閾値は、文書画像に示される文字が判読可能であるか否かを判定するための基準として用いる。本実施形態では、可読性レベルの数値が閾値未満である場合は判読不可とし、閾値以上である場合は判読可能とする。すなわち、可読性レベル「5」は、文字が判読できる最低限度のレベルであることを示す。このような閾値として設定された可読性レベルがいずれであるかを示す情報が、「可読性レベル判定テーブル」とともに記憶部160に記憶されるものとする。
Here, a predetermined threshold is set for the readability level. In the present embodiment, “5” that is an intermediate value between “1” to “9” is set as a threshold value. This threshold value is used as a reference for determining whether or not the characters shown in the document image are legible. In this embodiment, when the numerical value of the readability level is less than the threshold value, it is not readable, and when it is equal to or higher than the threshold value, it is readable. That is, the readability level “5” indicates the minimum level at which characters can be read. Information indicating which readability level is set as such a threshold is stored in the
このような閾値となる可読性レベル「5」を、例えば、文字サイズレベルおよび階調変化率レベルがともに中位となる「C−C’レベル」に設定する。そして、「C−C’レベル」を基点として、階調変化率レベルが一段下がるごとに可読性レベルを「1」マイナスし、一段上がるごとに可読性レベルを「1」プラスすることで、「C−A’レベル」、「C−B’レベル」、「C−C’レベル」「C−D’レベル」「C−E’レベル」に対応する可読性レベルが設定される。このようにして設定される可読性レベルは、例えば、「C−A’レベル:3」、「C−B’レベル:4」、「C−C’レベル:5」「C−D’レベル:6」「C−E’レベル:7」、となる(図3(a))。 For example, the readability level “5” serving as the threshold is set to “C-C ′ level” in which both the character size level and the gradation change rate level are medium. Then, with the “CC ′ level” as a base point, the readability level is decremented by “1” every time the gradation change rate level is lowered by one level, and the readability level is incremented by “1” every time the gray level change rate level is raised by “C−”. Readability levels corresponding to “A ′ level”, “CB ′ level”, “CC ′ level”, “CD ′ level”, and “CE ′ level” are set. The readability level set in this way is, for example, “CA ′ level: 3”, “CB ′ level: 4”, “CC ′ level: 5”, “CD ′ level: 6”. "CE 'level: 7" (FIG. 3A).
そして、このように設定された各可読性レベルのそれぞれを基点として、文字サイズレベルが一段下がるごとに可読性レベルを「1」マイナスし、一段上がるごとに可読性レベルを「1」プラスすることで、すべての可読性レベルが設定される(図3(a))。このような設定とすることで、文字サイズが小さくても、ボケ具合が小さければ、判読可能となる場合があるとともに、ボケ具合が大きくても、文字サイズが大きければ判読可能となる場合もある。すなわち、文字サイズとボケ具合との相対評価によって、判読可否が決定される。したがって、文字サイズのみ、あるいは、ボケ具合のみによって判読可否を決定する場合に比べ、より正確かつ柔軟に判読可否の決定をすることができる。 Then, with each of the readability levels set in this way as a base point, every time the character size level decreases by one step, the readability level is decremented by “1”, and every time the character size level increases by one, the readability level is incremented by “1”. Is set (FIG. 3A). With this setting, even if the character size is small, it may be legible if the degree of blur is small, and even if the degree of blur is large, it may be legible if the text size is large. . That is, the legibility is determined by the relative evaluation of the character size and the degree of blur. Therefore, it is possible to determine whether or not reading can be performed more accurately and flexibly than when determining whether or not reading is possible based on only the character size or only the degree of blur.
なお、このような設定方法は一例であり、任意の方法によって可読性レベルを設定することができる。また、上記のような方法で設定した可読性レベルをデフォルト値とし、ユーザにより適宜変更可能としてもよい。この場合、例えば、ユーザの視力や好みなどに応じて変更してもよい他、文書画像の用途に応じて変更できるようにしてもよい。例えば、文書画像中の文字を、所定の文字認識プログラムなどでテキストデータとして抽出するような場合には、当該文字認識プログラムの認識精度などに応じて可読性レベルを設定してもよい。ユーザによる可読性レベルの設定は、デジタルカメラ100の操作入力部132などを操作することで行われるものとする。また、上記のような文字認識プログラムなどに応じて設定するような場合には、デジタルカメラ100と当該プログラムとの連携(協働)によって、可読性レベルが自動的に設定されるようにしてもよい。
Such a setting method is an example, and the readability level can be set by any method. Further, the readability level set by the method as described above may be a default value and may be changed as appropriate by the user. In this case, for example, it may be changed according to the user's visual acuity or preference, or may be changed according to the use of the document image. For example, when characters in a document image are extracted as text data by a predetermined character recognition program or the like, the readability level may be set according to the recognition accuracy of the character recognition program. It is assumed that the user's readability level is set by operating the
また記憶部160には、出力部140が出力する通知情報が記憶される。本実施形態では、後述する処理によって判定される可読性レベルや判読可否に応じた通知情報が出力される。したがって、本実施形態では、例えば、判読可否の判定結果や可読性レベルを示す情報などと、出力される通知情報とが対応付けられた、図3(b)に示すような「通知情報テーブル」が記憶部160に記憶される。「通知情報」には、所定のメッセージを示すテキストデータが記録される他、必要に応じてアイコンなどの画像情報が記録される。
The
また、「通知情報テーブル」には、設定されている通知方式がいずれであるかを示す情報も記録される。ここで「通知方式」とは、通知情報の出力形態であり、デジタルカメラ100が有する出力部140の構成に応じて用意される。本実施形態では、例えば、「メッセージ表示」、「アイコン表示」、「インジケータ発光」、「音声通知」、「アラーム通知」、などが用意される。これらの通知方式は、ユーザによって任意に選択されるものであり、操作入力部132などの操作によって、ユーザが所望する通知方式が選択・設定される。各通知方式の詳細は後述する。
In the “notification information table”, information indicating which notification method is set is also recorded. Here, the “notification method” is an output form of notification information, and is prepared according to the configuration of the output unit 140 of the
デジタルカメラ100には、上記の構成の他、デジタルカメラとして必要な構成や機能、および、その他の付加的な構成や機能が、必要に応じて備えられているものとする。
In addition to the above-described configuration, the
次に、上記のように構成されたデジタルカメラ100の動作を図面を参照して以下説明する。後述する各処理は、制御部110が記憶部160に格納されている動作プログラムを実行することで実現される。
Next, the operation of the
実施形態にかかる「文書撮影処理」を図6に示すフローチャートを参照して説明する。ここでは、用紙や看板などに記された文字(以下、「文書」とする)をデジタルカメラ100で撮影し、当該文書の内容を示す画像データとして保存する。保存された画像データは、例えば、所定の文字認識プログラムで処理されることにより、テキストデータなどに変換して抽出することで、従来のメモやスキャナによる取り込みの代用として利用される。このような目的で文書を撮影することを「文書撮影」とし、文書撮影によって得られる画像を「文書画像」とする。この「文書撮影処理」は、撮影モードとして「文書撮影モード」が選択された状態で、制御部110がシャッタボタン131からシャッタ信号を受信することを契機に開始される。
The “document photographing process” according to the embodiment will be described with reference to the flowchart shown in FIG. Here, characters (hereinafter referred to as “document”) written on a sheet of paper or a signboard are photographed by the
シャッタボタン131からは、まず半押し信号が制御部110に送出される。制御部110は、シャッタボタン131から半押し信号を受信したことを契機に撮影準備動作を開始する(ステップS101)。ここでは、測距・測光部122による測距・測光動作に基づいて、適正なシャッタスピードや絞りが決定されるとともに、レンズユニット121が駆動されて文書に対するピント合わせ(合焦)などが行われる。なお、ユーザがシャッタボタン131を半押し状態にしている間、半押し信号がシャッタボタン131から制御部110に送出され続けるものとする。
First, a half-press signal is sent from the
撮影準備動作により文書に合焦されると、撮像素子123がレンズユニット121を介して入光する入射光を受光し、受光した素子の電荷を、決定されたシャッタスピードなどに応じて蓄積(チャージ)する。撮像素子123は、蓄積された電荷を光電変換することにより、電荷量に応じたデジタルデータに変換し、画像データ(文書画像)を取得する(ステップS102)。ここで取得された画像データに基づく画像は、例えば、表示部141に表示される。
When the document is focused by the shooting preparation operation, the
制御部110は、ステップS102で取得した画像データに基づいて、文書画像に示されている文字が判読可能か否かを判定する「可読性判定処理」を実行する(ステップS200)。ここでは、文書画像に示されている文字について、サイズやボケ具合を検出することで、可読性レベル(画像品質)を特定し、特定された可読性レベルに応じて、文書画像として記録される文書の判読が可能か否かを判定する。この「可読性判定処理」(ステップS200)の詳細は後述する。
Based on the image data acquired in step S102, the
制御部110は、「可読性判定処理」(ステップS200)の判定結果に応じて、所定の通知情報を出力する「通知情報出力処理」を実行する(ステップS500)。ここでは、「可読性判定処理」(ステップS200)の判定結果に応じた通知情報が出力部140から出力される。すなわち、「判読不可」である場合には、その旨を示すとともに、撮影条件の変更を促す情報などを出力し、「判読可能」である場合には、そのまま撮影可能である旨を示す情報を出力する。この「通知情報出力処理」(ステップS500)の詳細は後述する。
The
通知情報出力処理によって所定の通知情報を出力すると、制御部110は、ユーザによる撮影指示の有無を判別する(ステップS103)。ここでは、シャッタボタン131からの全押し信号の到着の有無により撮影指示を判別する。例えば、ステップS500で出力された通知情報が「判読可能」を示す場合、ユーザは当該文書の撮影を決定し、シャッタボタン131を全押しする。この結果、シャッタボタン131から全押し信号が制御部110に送出される。すなわち、半押し信号から全押し信号に切り替わる。制御部110は、シャッタボタン131から全押し信号を受信すると、ユーザからの撮影指示であると判別し(ステップS103:Yes)、ステップS102で取得された画像データを画像記録部150に記録して(ステップS104)、処理を終了する。
When the predetermined notification information is output by the notification information output process, the
一方、例えば、ステップS500で出力された通知情報が「判読不可」を示す場合、ユーザは、撮影条件を変更するためにシャッタボタン131の押下をやめ、半押し状態が解除される。この結果、制御部110に送出されていた半押し信号が途絶える。これに基づき、制御部110はユーザからの撮影指示がないと判別し(ステップS103:No)、そのまま処理を終了し、例えば、次の撮影準備動作を待機する。
On the other hand, for example, when the notification information output in step S500 indicates “unreadable”, the user stops pressing the
上記のような「文書撮影処理」によれば、文書撮影の対象としている文書が判読可能であるか否かを文字サイズと階調変化率とに基づいて判定しているので、正確に画像品質を判定して、通知することができる。したがって、ユーザは画像品質の低い画像を無駄に記録をすることがない。この結果、無駄な撮影動作や記憶領域の消費などを防止することができ、撮影時あるいは後処理における省力化や撮影効率の向上を図ることができる。 According to the “document shooting process” as described above, whether or not the document that is the target of document shooting is legible is determined based on the character size and the gradation change rate. Can be determined and notified. Therefore, the user does not wastefully record an image with low image quality. As a result, it is possible to prevent useless shooting operations and consumption of storage areas, and to save labor and improve shooting efficiency during shooting or post-processing.
すなわち、撮影時に何度も撮り直す必要がない他、何枚も撮影した画像から判読可能なものを選択する作業などをする必要がなくなり、ユーザの労力を軽減させることができる。また、デジタルカメラに備えられている表示装置で画像品質を判別することは困難であるが、上記処理では、撮像素子123で取得された画像データを用いて、制御部110が判読可能か否かを判定して通知するので、正確に画像品質を判定することができる。
That is, it is not necessary to re-shoot many times at the time of shooting, and it is not necessary to select a legible one from the images that have been shot, and the user's labor can be reduced. In addition, although it is difficult to determine the image quality with the display device provided in the digital camera, in the above process, whether or not the
本実施形態では、判読可能であるか否かを判定する「可読性判定処理」(ステップS200)において、画像データに示される文書の文字サイズや画像のボケ具合に基づいて判読可能か否かを判定することで、正確かつ適正な判定を行う。この「可読性判定処理」(ステップS200)の詳細を図面を参照して以下説明する。まず、可読性を判定する方法の一例である「可読性判定処理(1)」を図7に示すフローチャートを参照して説明する。 In the present embodiment, in the “readability determination process” (step S200) for determining whether or not it is legible, it is determined whether or not it is legible based on the character size of the document indicated in the image data and the degree of blur of the image. By doing so, an accurate and appropriate determination is made. Details of the “readability determination processing” (step S200) will be described below with reference to the drawings. First, “readability determination processing (1)”, which is an example of a method for determining readability, will be described with reference to a flowchart shown in FIG.
「可読性判定処理(1)」では、取得された文書画像の特徴を検出する「特徴検出処理」(ステップS210)が実行される。この「特徴検出処理」では、文書画像に示されている文字のサイズと画像中の階調変化率を、当該文書画像の特徴として検出する。「特徴検出処理」の詳細を図8に示すフローチャートを参照して説明する。 In “readability determination processing (1)”, “feature detection processing” (step S210) for detecting the characteristics of the acquired document image is executed. In this “feature detection process”, the character size and the gradation change rate in the image shown in the document image are detected as features of the document image. The details of the “feature detection process” will be described with reference to the flowchart shown in FIG.
制御部110は、ステップS102で取得された画像データから、文字部分の切り出しをおこなう。ここでは、周知技術により文字切り出しをおこなうことができるが、例えば、まず背景色を検出した後、この背景色とは異なる色のピクセルで構成されている部分を文字部分として切り出す。
The
例えば、ステップS102で取得された画像データが、図9(a)に示すような、白地に黒い文字が表されている文書画像である場合、制御部110は、例えば、画像の四隅や縁部付近を構成しているピクセルの色に基づいて背景色を「白」と特定した後に、「黒」のピクセルが密集している部分を文字部分として特定する(ステップS211)。この場合、制御部110は、背景色の階調と文字部分の階調を検出し、検出されたそれぞれの階調を示す情報をワークエリアに保持する(ステップS212)。
For example, when the image data acquired in step S102 is a document image in which black characters are represented on a white background as shown in FIG. 9A, the
また、制御部110は、文字を構成している各ピクセルの位置(座標)を検出し、検出された位置を示す情報(以下、「位置情報」とする)をワークエリアに保持する(ステップS213)。制御部110はさらに、検出した位置情報に基づいて文字の範囲CAを特定し(図9(b))、当該範囲を含む領域を切り出す(ステップS214、図9(c))。ここでは、文書画像に示される文字の内の1文字を切り出してもよく、複数文字を切り出してもよい。理解を容易にするため、1文字を切り出す場合を例に以下説明する。
In addition, the
制御部110は、切り出した文字のサイズを特定する(ステップS215)。ここでは、切り出し時に検出した当該文字を構成するピクセルの座標に基づいて、当該文字の横方向ドット数を検出し、検出したドット数を当該文字のサイズとする。制御部110は、検出されたドット数を示す情報(以下、「文字サイズ情報」とする)をワークエリアに保持する(ステップS216)。
The
次に制御部110は、切り出した文字の位置情報に基づいて、当該文字のエッジ部分を検出する(ステップS217)。ここでは、図5(a)に示すX−X’線分のように、切り出された領域から1次元方向にピクセルを抽出し、背景の階調から文字の階調の階調に変化している部分を当該文字のエッジ部分として検出する。すなわち、抽出された1次元方向のピクセルの内、背景色の階調を示すピクセルの隣のピクセルが、当該背景色の階調と異なる階調となっている箇所と、文字色の階調を示すピクセルの隣のピクセルが、当該文字色の階調と異なる階調となっている箇所を特定する。そして、特定された2箇所間のピクセルを当該文字のエッジ部分とする。ここで検出するエッジ部分は1箇所でもよく、複数箇所でもよい。理解を容易にするため、1箇所のエッジ部分を検出する場合を例に以下説明する。
Next, the
制御部110は、検出したエッジ部分での階調変化率を求めるために、エッジ部分のドット数と階調変化量を求める。ここでは、ステップS217のエッジ検出において特定した2箇所間のピクセル数をエッジ部のドット数として検出し、検出したドット数を示す情報(以下、「ドット数情報」とする)をワークエリアに保持する。制御部110はまた、背景色の階調と文字色の階調との差分を求め、階調変化量とする。制御部110は、求めた階調変化量を示す情報(以下、「階調変化量情報」とする)をワークエリアに保持する(ステップS218)。
The
制御部110は、ステップS218で取得した「ドット数情報」と「階調変化量情報」を用いて、ステップS217で検出したエッジ部分の階調変化率を求める(ステップS219)。ここでは、制御部110が「階調変化量/ドット数」を演算することで、当該エッジ部での階調変化率を求め、求めた階調変化率を示す情報(以下、「階調変化率情報」とする)をワークエリアに保持する。階調変化率を求めると、制御部110は「特徴検出処理」を終了し、図7に示す「可読性判定処理(1)」のフローに戻る。
The
次に制御部110は、「特徴検出処理」での検出結果に応じて、当該文書画像に示される文字の可読性レベルを特定するための「可読性レベル特定処理」を実行する(ステップS230)。「可読性レベル特定処理」の詳細を、図10に示すフローチャートを参照して説明する。
Next, the
制御部110は、記憶部160の「可読性レベル判定テーブル」(図3(a))を参照し、「特徴検出処理」のステップS216で取得した文字サイズ情報に示される文字サイズに対応する文字サイズレベルを特定する(ステップS231)。同様に、「特徴検出処理」のステップS219で取得した階調変化率情報に示される階調変化率に対応する階調変化率レベルを特定する(ステップS232)。
The
制御部110は、ステップS231で特定した文字サイズレベルと、ステップS232で特定した階調変化率レベルとに対応した可読性レベルを「可読性レベル判定テーブル」で特定する(ステップS233)。制御部110は、可読性レベルを特定すると、特定した可読性レベルを示す情報(以下、「可読性レベル情報」とする)をワークエリアに保持し(ステップS234)、「可読性レベル特定処理」を終了して、図7に示す「可読性判定処理(1)」のフローに戻る。
The
制御部110は、記憶部160に記憶されている「可読性レベル判定テーブル」を参照し、「可読性レベル特定処理」(図10)のステップS234で取得した可読性レベル情報に示されている可読性レベルと閾値とを比較することで、文書画像に示されている文字が判別可能か否かを判別する(ステップS250)。ここでは、「可読性レベル特定処理」で特定された可読性レベルが閾値以上であるか否かを判別する。本実施形態の例では、閾値となる可読性レベルが「5」であるので、特定された可読性レベルに示される数値が「5」以上であるか否かが判別される。
The
特定された可読性レベルが閾値以上である場合(ステップS250:Yes)、制御部110は、文書画像に示される文字の判読が可能であると判別する(ステップS251)。一方、特定された可読性レベルが閾値未満である場合(ステップS250:No)、制御部110は、文書画像に示される文字の判読が不可能であると判別する(ステップS252)。
If the identified readability level is equal to or higher than the threshold (step S250: Yes), the
制御部110は、ステップS251またはステップS252での判別結果を示す情報(以下、「判読可否情報」とする)をワークエリアに保持し(ステップS253)、図6に示す「文書撮影処理」のフローに戻る。
The
「文書撮影処理」においては、ステップS253で取得された判読可否情報に示される判別結果に応じて、所定の通知情報が出力される(ステップS500)。ここで、判別結果が「判読可能」であれば、その旨を示す通知情報が出力部140から出力され、「判読不可」であれば、撮影条件の変更などを促す通知情報が出力される。 In the “document photographing process”, predetermined notification information is output according to the determination result indicated in the legibility information acquired in step S253 (step S500). Here, if the determination result is “readable”, notification information indicating that is output from the output unit 140, and if it is “unreadable”, notification information that prompts the user to change the shooting condition is output.
上記のような「可読性判定処理(1)」によれば、文書を撮影した文書画像から文字部分を切り出し、切り出した文字のサイズを検出するとともに、文字のエッジ部分の階調変化率を求めることで、文書画像のボケ具合を判定する。そして、検出された文字サイズと階調変化率とに基づいて、当該文書画像の可読性レベルを特定し、特定された可読性レベルと所定の閾値とを比較することで、文書画像に示される文字の判読可否が判定される。 According to the “readability determination processing (1)” as described above, a character portion is cut out from a document image obtained by photographing a document, the size of the cut-out character is detected, and the gradation change rate of the edge portion of the character is obtained. Then, the degree of blur of the document image is determined. Then, based on the detected character size and gradation change rate, the readability level of the document image is specified, and the specified readability level is compared with a predetermined threshold value to thereby determine the character of the character indicated in the document image. Judgment of legibility is made.
上記「可読性判定処理(1)」では、切り出した文字のエッジ部分における階調変化率によって画像のボケ具合を判定しているので、当該文字の判読性を的確に判定することができる。しかし、「可読性判定処理(1)」では、白黒文書などといった、背景と文字部分との階調差が大きい文書(以下、「モノクロ文書」とする)では適切な判定をすることができるが、文書中の文字が複数の色彩で構成されていたり、背景が複数の色彩で構成されている場合(以下、「カラー文書」とする)、場所によって文字と背景色との階調差にバラツキがあるため、特定の文字について判定された可読性レベルのみでは、画像全体で判読可能か否かを正確に判定できない場合がある。あるいは、文書を構成する文字によってサイズが異なるような場合も、特定の文字について判定された可読性レベルのみでは正確に判読可否を判定することができない。すなわち、ある文字についての可読性レベルに基づいて「判読可」と判定されても、当該文字については判読できるが他の文字は判読できない場合が生じうる。このような背景と文字との階調差が異なる場合や複数の異なる文字サイズが混在する場合であっても適切に判読性を判定するための処理例を「可読性判定処理(2)」として図11に示すフローチャートを参照して以下説明する。 In the “readability determination process (1)”, the degree of blurring of the image is determined based on the gradation change rate at the edge portion of the cut out character, so that the legibility of the character can be determined accurately. However, in the “readability determination process (1)”, an appropriate determination can be made for a document having a large gradation difference between the background and the character portion (hereinafter referred to as “monochrome document”), such as a black and white document. When the characters in the document are composed of multiple colors or the background is composed of multiple colors (hereinafter referred to as “color document”), the gradation difference between the characters and the background color varies depending on the location. For this reason, it may not be possible to accurately determine whether or not the entire image can be read only by the readability level determined for a specific character. Alternatively, even when the size differs depending on the characters constituting the document, it is not possible to accurately determine whether or not the characters can be read only with the readability level determined for the specific characters. That is, even if it is determined as “readable” based on the readability level of a certain character, there may occur a case where the character can be read but other characters cannot be read. A process example for appropriately determining the legibility even when the background and characters have different gradation differences or when a plurality of different character sizes are mixed is shown as “readability determination process (2)”. This will be described below with reference to the flowchart shown in FIG.
この「可読性判定処理(2)」では、図12(a)に示すような、異なる色彩の文字から構成される文書(カラー文書)を撮影して文書画像(カラー文書画像)を取得した場合を例に説明する。また、取得された文書画像に複数の領域を設定し、各領域毎に文字サイズと階調変化率を検出する。ここでは、例えば、図12(b)に示すような複数(9つ)の領域を文書画像に設定し、各領域に所定のインデックス(ここでは、「1」〜「9」の連続番号とする)を割り当てる。 In this “readability determination process (2)”, a document image (color document image) obtained by photographing a document (color document) composed of characters of different colors as shown in FIG. Explained as an example Also, a plurality of areas are set in the acquired document image, and the character size and gradation change rate are detected for each area. Here, for example, a plurality (nine) areas as shown in FIG. 12B are set in the document image, and predetermined indexes (here, “1” to “9” are assigned consecutive numbers) in each area. ).
制御部110はまず、割り当てられている連続番号に基づいて、設定されている領域の1つを選択する(ステップS261)。すなわち、領域に割り当てられている連続番号を示すカウンタを初期値の「1」に設定し、この値に対応する領域を選択する。
First, the
制御部110は、ステップS261で選択した領域について、上述した「特徴検出処理」(ステップS210、図8)を実行し(ステップS262)、「文字の切り出し」、「文字サイズの特定」、「エッジ部の検出」、「階調変化率の検出」、「可読性レベルの判定」、「判読可否の判定」、「判定結果の記録(ワークエリアでの保持)」をおこなう。
The
制御部110は、すべての領域について判読可否の判定がされたか否かを判別し(ステップS263)、未判定領域がある場合(ステップS263:No)には、カウンタを「+1」し(ステップS264)、当該カウンタ値に対応する領域について「特徴検出処理」を実行する(ステップS262)。
The
一方、すべての領域について判読可否の判定が完了した場合(ステップS263:Yes)、すべての領域についての判読可否結果を参照し、いずれかの領域において「判読不可」とする判定結果が存在するか否かを判別する(ステップS265)。 On the other hand, when the determination of readability for all areas is completed (step S263: Yes), the determination result for all areas is referred to, and whether there is a determination result of “unreadable” in any area. It is determined whether or not (step S265).
制御部110は、いずれかの領域で「判読不可」となった場合(ステップS265:Yes)、当該文書画像全体について「判読不可」と判定する(ステップS26)。一方、すべての領域において「判読可」となった場合(ステップS265:No)、当該文書画像全体について「判読可」と判定して(ステップS267)、図6に示す「文書撮影処理」のフローに戻る。
When it becomes “illegible” in any region (step S265: Yes), the
「文書撮影処理」においては、ステップS266またはS267の判定結果に基づいて、所定の通知情報が出力される(ステップS500)。 In the “document photographing process”, predetermined notification information is output based on the determination result in step S266 or S267 (step S500).
上記のような「可読性判定処理(2)」によれば、文書画像を複数の領域に分割し、各領域毎に判読可否を判定した上で、画像全体での判読可否を判定するので、文字と背景との階調差が均一でない場合や異なる文字サイズが混在する場合であっても、画像全体の判読可否を正確に判定することができる。 According to the “readability determination process (2)” as described above, the document image is divided into a plurality of areas, and whether or not the entire image is readable is determined after determining whether or not each area is readable. Even when the gradation difference between the image and the background is not uniform or when different character sizes are mixed, it is possible to accurately determine whether or not the entire image can be read.
上記「可読性判定処理(1)」および「可読性判定処理(2)」における文字サイズの特定は、文書画像の文字部分のドット数に基づいておこなったが、ユーザによる任意入力により文字サイズを特定してもよい。例えば、規定サイズ(JIS規格の「A4判」など)の用紙に印刷されている文書を撮影することで文書撮影をおこなう場合において、印刷されている文字の文字サイズ(例えば、「ポイント」などの既定の単位で示される文字サイズ。以下、「既定サイズ」とする)が予め分かっている際には、当該既定サイズなどをユーザが操作入力部132などを操作して入力する。
The character size in the above “readability determination process (1)” and “readability determination process (2)” is determined based on the number of dots in the character portion of the document image. May be. For example, when shooting a document by shooting a document printed on paper of a prescribed size (JIS standard “A4 size”, etc.), the character size of the printed character (eg, “point”, etc.) When the character size indicated in a predetermined unit (hereinafter referred to as “default size”) is known in advance, the user inputs the default size by operating the
この場合、デジタルカメラ100の画角全体と撮影対象の用紙全体とが一致するように撮影するものとする。すなわち、デジタルカメラ100と文書との距離を調整したり、ズーム機能などを用いることで、用紙全体が収まるように撮影する。ここで、デジタルカメラ100の画像性能(解像度や画素数など)、用紙のサイズ(「A4判」など)、および、既定サイズの単位(「ポイント」など)が規定のものであるため、それぞれの対応関係に基づいて、入力された規定サイズをラスタ画像におけるドット数に変換することができる。
In this case, it is assumed that shooting is performed so that the entire angle of view of the
すなわち、用紙サイズ、規定サイズ、、画像サイズ、などと、文字サイズ(ドット数)とを予め対応付けた、図13に示すような「文字サイズ対応テーブル」を記憶部160に記憶させておく。ここで「文字サイズ対応テーブル」は、デジタルカメラ100の画像性能に応じて設定されるものとする。ユーザは、操作入力部132などを操作し、撮影前に既定サイズと用紙サイズとを入力する。制御部110は、入力された既定サイズと用紙サイズとに対応するドット数を「文字サイズ対応テーブル」から取得し、当該文書を撮影して得られる文書画像における「文字サイズ」として特定する。制御部110は、このように特定した文字サイズと、別途取得する階調変化率とに基づいて、「可読性レベル判定テーブル」から可読性レベルを特定する。
That is, a “character size correspondence table” as shown in FIG. 13 in which the paper size, the prescribed size, the image size, and the like are associated in advance with the character size (number of dots) is stored in the
また、上記「可読性判定処理(1)」および「可読性判定処理(2)」では階調変化率と文字サイズとの関係から可読性レベルを特定して判読可否を判定したが、文字サイズを考慮せずに判読可否を判定してもよい。この場合の処理例を「可読性判定処理(3)」として図14に示すフローチャートを参照して説明する。 In the “readability determination process (1)” and “readability determination process (2)”, the readability level is determined by specifying the readability level from the relationship between the gradation change rate and the character size. It may be determined whether or not it is legible. A processing example in this case will be described as “readability determination processing (3)” with reference to the flowchart shown in FIG.
この「可読性判定処理(3)」では、文書画像の複数箇所で階調変化率を検出し、階調変化率の出現頻度に基づいて画像全体のボケ具合を判定して、判読可否を判定する。この「可読性判定処理(3)」でも、「可読性判定処理(2)」の場合と同様に、文書画像に複数の領域が割り当てられているものとする(図12(b)参照)。 In this “readability determination process (3)”, the gradation change rate is detected at a plurality of locations in the document image, and the degree of blurring of the entire image is determined based on the appearance frequency of the gradation change rate to determine whether or not the image can be read. . In this “readability determination process (3)”, it is assumed that a plurality of areas are assigned to the document image as in the case of “readability determination process (2)” (see FIG. 12B).
制御部110は、割り当てられている連続番号に基づいて、設定されている領域の1つを選択する(ステップS271)。すなわち、割り当てられている連続番号を示すカウンタを初期値の「1」に設定し、この値に対応する領域を選択する。
The
制御部110は、ステップS271で選択した領域について、上述した「特徴検出処理」(ステップS210、図8)と同様の処理を実行し、「文字の切り出し」、「エッジ部の検出」、「階調変化率の検出」、をおこなう。
The
すなわち、各領域における1次元方向のピクセル群から、階調が変化している部分のピクセルを抽出して、当該部分の階調変化率(階調変化量/ドット数)を取得する(ステップS272)。ここで、各領域において求める階調変化部分の箇所は任意であるものとする。 That is, the pixel of the portion where the gradation is changed is extracted from the pixel group in the one-dimensional direction in each region, and the gradation change rate (tone change amount / number of dots) of the portion is acquired (step S272). ). Here, it is assumed that the portion of the gradation change portion obtained in each region is arbitrary.
制御部110は、すべての領域についての階調変化率が取得されたか否かを判別し(ステップS273)、未判定領域がある場合(ステップS273:No)には、カウンタを「+1」し(ステップS274)、当該カウンタ値に対応する領域について階調変化率を取得する(ステップS272)。
The
一方、すべての領域で階調変化率が取得された場合(ステップS273:Yes)、制御部110は、求められた階調変化率の出現率を示すヒストグラムを作成する(ステップS275)。ここで作成されるヒストグラムの例を図15に示す。図15に示すヒストグラムは、文書画像に設定された複数領域のそれぞれから取得された階調変化率を合算することで、文書画像全体におけるおよその階調変化率の分布を示すものである。ここで、ヒストグラムの横軸は取得された階調変化率を示し、縦軸は階調変化率の出現頻度を示す。横軸の階調変化率の取りうる値は「0〜∞」とし、目安となるインデックスとして、例えば、「可読性レベル判定テーブル」(図15)で設定した階調変化率レベルに応じた値を設定する(図15の例では、「5」、「10」、「20」、「40」)。
On the other hand, when the gradation change rate is acquired in all regions (step S273: Yes), the
このようなヒストグラムには、画像全体のボケ具合に応じて、出現頻度のピークが現れる。ここで、階調変化率の最小値と最高値(すなわち、「0」と「∞」)付近にもピーク部が現れるが、このピークは、同じ階調値が一様に広く存在する部分、すなわち、背景部分と文字部分に対応するものであるので、「0」と「∞」付近のピークを除外したピーク部分を検出する(ステップS276)。 In such a histogram, an appearance frequency peak appears according to the degree of blur of the entire image. Here, a peak portion also appears near the minimum value and the maximum value (that is, “0” and “∞”) of the gradation change rate, and this peak is a portion where the same gradation value exists uniformly and widely, That is, since it corresponds to the background portion and the character portion, the peak portion excluding the peaks near “0” and “∞” is detected (step S276).
このようなピーク部分は、当該画像において最頻出の階調変化率を示すものであることから、このピーク部分の階調変化率の程度をみることで、当該画像全体のボケ具合を判定することができる。例えば、画像全体のボケ具合が高い場合は、図15(a)に示すようなヒストグラムとなり、ボケ具合が低い場合は図15(b)に示すようなヒストグラムとなる。上述したように、階調変化率は、ボケ足の幅が広いほど(すなわち、ボケ具合が高い程)値が小さくなるため、ピーク部分に対応する階調変化率が高いほど画像のボケ具合が低く、ピーク部分に対応する階調変化率が低いほど画像のボケ具合が高くなる。したがって、ピーク部分が出現している位置が、ヒストグラムの横軸上のどこにあるかをみることで、画像のボケ具合を判定できる。この場合、ヒストグラムの横軸上に閾値を設定し、ピーク部分の出現位置が、当該閾値より右か左かを検出することで、判読可否を判定する。より詳細には、ピーク部分に対応する階調変化率が閾値以上であるか否かを判別する(ステップS277)。 Since such a peak portion indicates the most frequent gradation change rate in the image, the degree of blur of the entire image can be determined by checking the degree of the gradation change rate of the peak portion. Can do. For example, when the degree of blur of the entire image is high, the histogram is as shown in FIG. 15A, and when the degree of blur is low, the histogram is as shown in FIG. As described above, the gradation change rate becomes smaller as the width of the blur foot becomes wider (that is, the higher the degree of blur), so the higher the gradation change rate corresponding to the peak portion, the more the degree of blur of the image. The lower the gradation change rate corresponding to the peak portion, the higher the degree of image blur. Therefore, the degree of blurring of the image can be determined by looking at where the position where the peak portion appears on the horizontal axis of the histogram. In this case, a threshold is set on the horizontal axis of the histogram, and it is determined whether or not interpretation is possible by detecting whether the appearance position of the peak portion is right or left of the threshold. More specifically, it is determined whether or not the gradation change rate corresponding to the peak portion is greater than or equal to a threshold value (step S277).
ここで、本処理においては、閾値となる階調変化率を、例えば、「40」に設定する。本処理では文字サイズを考慮しないため、上記「可読性判定処理(1)」および「可読性判定処理(2)」で設定された閾値よりも高めの数値を設定することで、文字サイズが小さい場合でも適切に判読可否を判定できるようにする。なお、閾値の設定は任意である。 Here, in this processing, the gradation change rate serving as a threshold is set to “40”, for example. Since the character size is not considered in this process, even if the character size is small by setting a numerical value higher than the threshold value set in the “readability determination process (1)” and “readability determination process (2)” above. Appropriately determine whether or not it can be read. The threshold value can be set arbitrarily.
制御部110は、検出したピーク部分に対応する階調変化率が閾値以上である場合(ステップS277:Yes)は、当該文書画像における文字について「判読可」と判定し(ステップS278)、ピーク部分に対応する階調変化率が閾値未満である場合には(ステップS277:No)、「判読不可」と判定して(ステップS279)、図6に示す「文書撮影処理」のフローに戻る。
When the gradation change rate corresponding to the detected peak portion is greater than or equal to the threshold (step S277: Yes), the
「文書撮影処理」においては、ステップS279またはS280の判定結果に基づいて、所定の通知情報が出力される(ステップS500)。 In the “document photographing process”, predetermined notification information is output based on the determination result of step S279 or S280 (step S500).
上記のような「可読性判定処理(3)」によれば、文字サイズを考慮しなくとも、画像全体のボケ具合から画像品質を正確に判定して、判読可否を判定することができる。 According to the “readability determination process (3)” as described above, it is possible to accurately determine the image quality from the degree of blur of the entire image without considering the character size, and determine whether or not the image can be read.
制御部110は、上記「可読性判定処理(1)〜(3)」のいずれかを実行するように構成されてもよいが、「可読性判定処理(1)〜(3)」のいずれかを選択的に実行してもよい。この場合、例えば、ユーザからの指示によって処理を選択することができる。すなわち、「可読性判定処理(1)」はモノクロ文書における判読可否の判定に好適であるため、撮影対象としている文書がモノクロ文書であることが明らかな場合には、ユーザが操作入力部132などを操作することによって「可読性判定処理(1)」が実行されるよう指定する。同様に、撮影対象がカラー文書であることが明らかな場合には、「可読性判定処理(2)」が実行されるよう指定する。また、例えば、看板などに記された大きな文字を撮影した場合など、文字サイズが十分に大きいことが明らかな場合には、文字サイズを考慮しない「可読性判定処理(3)」を指定する。
The
このような文書の種類や文字サイズを、制御部110が判定することで、「可読性判定処理(1)〜(3)」のいずれを適用するかを制御部110が決定してもよい。すなわち、好適な「可読性判定処理」が自動的に選択・適用される。この場合、文書画像全体の背景色と文字色とを認識することで、「モノクロ文書」であるか「カラー文書」であるかを判定し、「可読性判定処理(1)」または「可読性判定処理(2)」のいずれかを適用する。また、最初に文字の切り出しとサイズ特定をおこない、文字サイズレベルが最大レベル(図3(a)の「可読性レベル判定テーブル」における「レベルE」)である場合には、「可読性判定処理(3)」を実行するようにしてもよい。このように「可読性判定処理(1)〜(3)」が選択的に実行されてもよい他、制御部110が「可読性判定処理(1)〜(3)」のすべてを実行し、各処理の判定結果に基づいて、判読可否の最終判定をおこなうようにしてもよい。
The
上記のような「可読性判定処理」によって判読可否が判定されると、「通知情報出力処理」(ステップS500)によって判定結果に応じた所定の通知情報が出力される。「通知情報出力処理」の詳細を図16に示すフローチャートを参照して説明する。 When the readability is determined by the “readability determination process” as described above, predetermined notification information corresponding to the determination result is output by the “notification information output process” (step S500). Details of the “notification information output process” will be described with reference to the flowchart shown in FIG.
制御部110は、上記「可読性判定処理」のいずれかによって得られた判定結果が、「判読不可」であるか「判読可」であるかを判別する(ステップS501)。
The
判定結果が「判読不可」である場合(ステップS501:Yes)、制御部110は記憶部160にアクセスし、「通知情報テーブル」(図3(b))から、判定結果が「判読不可」に対応する通知情報を取得するとともに(ステップS502)、当該通知情報の通知方式(出力方式)がいずれであるかを識別する(ステップS503)。
When the determination result is “unreadable” (step S501: Yes), the
制御部110は、取得した通知情報を、識別した通知方式で出力部140から出力する(ステップS504)。ここでは、通知方式として、例えば、「メッセージ表示」、「アイコン表示」、「インジケータ発光」、「音声通知」、「アラーム通知」などが用意されるものとする。これらの通知方式は、ユーザの所望に応じて任意に選択される。すなわち、操作入力部132などを操作することで、通知方式をいずれにするかが予め設定される。なお、これらの通知方式のうち、1つが選択されてもよく、あるいは、複数が組み合わされて選択されてもよい。
The
「メッセージ表示」が選択されている場合、例えば、現在の撮影条件で撮影しても文字が判読できない旨や、撮影条件の変更を促すメッセージが、図17(a)に示すように、文字情報として表示部141に通知情報として表示される。すなわち、このようなメッセージを示すテキストデータが記憶部160の「通知情報テーブル」から取得されて、表示部141に表示される。
When “message display” is selected, for example, a message indicating that characters cannot be read even if shooting is performed under the current shooting conditions, or a message prompting the change of shooting conditions is displayed as text information as shown in FIG. As notification information on the
「アイコン表示」が選択されている場合、例えば、文字の判読ができないことを示す所定のアイコン(絵文字)が、図17(b)に示すように、表示部141に通知情報として表示される。
When “icon display” is selected, for example, a predetermined icon (pictogram) indicating that the character cannot be read is displayed as notification information on the
「インジケータ発光」が選択されている場合、例えば、文字の判読ができないことを示す所定の発光パターンで、インジケータ部143が点灯または点滅する。ここで、発光パターンとして、例えば、発光色や明滅パターンなどが予め規定される。例えば、インジケータ部143が「緑」と「赤」の2色のLEDから構成されている場合、いずれの色をどのように明滅させるか(明滅速度など)が規定されており、デジタルカメラ100における種々の検出事象(例えば、合焦、バッテリ切れ、など)とが予め対応付けられる。文字の判読ができないことを示す発光パターンとして、例えば、「赤色LEDの点滅」などとすることができる。この場合、規定されている発光パターンが通知情報として機能する。
When “indicator light emission” is selected, for example, the
「音声通知」が選択されている場合、例えば、現在の撮影条件で撮影しても文字が判読できない旨や、撮影条件の変更を促すメッセージが報音部142から出力される。この場合、「メッセージ表示」の場合に取得されるテキストデータが取得され、所定の音声合成手法により、当該テキストデータで示されるメッセージが、あたかも人が発話しているように報音部142から出力される。この場合、出力された音声が通知情報として機能する。
When “sound notification” is selected, for example, a message that the text cannot be read even if shooting is performed under the current shooting conditions, or a message that prompts the user to change the shooting conditions is output from the
「アラーム通知」が選択している場合、例えば、文字の判読ができないことを示す所定の報音パターンでアラーム音が報音部142から出力される。この場合の報音パターンは、例えば、音色や音程、あるいは、音の長さなどから規定され、デジタルカメラ100における種々の検出事象(例えば、合焦、バッテリ切れ、など)と予め対応付けられる。したがって、「文字の判読不可」という事象に対応付けられた報音パターンでアラーム音が報音部142から出力される。この場合、規定されている報音パターンが通知情報として機能する。
When “alarm notification” is selected, for example, an alarm sound is output from the
制御部110は、上記のように通知情報を出力すると、図6に示す「文書撮影処理」のフローに戻る。
When the notification unit outputs the notification information as described above, the
一方、判定結果が「判読可」である場合(ステップS501:No)、上記のような通知情報を出力せずに「文書撮影処理」(図6)のフローに戻る。 On the other hand, when the determination result is “readable” (step S501: No), the process returns to the “document photographing process” (FIG. 6) without outputting the notification information as described above.
上記のような「通知情報出力処理」によれば、文書撮影時の撮影準備動作時に、撮影後の文字が判読可能か否か、および、撮影条件変更の是非などを種々の方式によってユーザ(撮影者)に通知する。したがって、ユーザは、現在の撮影条件での撮影続行の是非をその場で判断することができる。この結果、無駄な撮影を回避することができ、メモリ領域の浪費を防止することができるとともに、ユーザの労力の軽減や撮影効率の向上を図ることができる。 According to the “notification information output process” as described above, during the shooting preparation operation at the time of document shooting, whether or not the characters after shooting can be read and whether or not the shooting conditions should be changed by various methods (shooting by the user). Person). Therefore, the user can determine on the spot whether or not to continue shooting under the current shooting conditions. As a result, useless shooting can be avoided, the waste of the memory area can be prevented, the user's labor can be reduced, and shooting efficiency can be improved.
上記「通知情報出力処理」では、判定結果が「判読可」の場合には通知情報を出力しないものとしたが、判定結果が「判読可」である場合にその旨を示す通知情報を出力するようにしてもよい。 In the above “notification information output process”, the notification information is not output when the determination result is “readable”, but the notification information indicating that is output when the determination result is “readable”. You may do it.
さらに、「可読性レベル判定テーブル」を用いて判定する場合においては、その判定の根拠となる可読性レベルに応じたアドバイス情報を通知情報として出力してもよい。例えば、可読性レベルが閾値より1段低いために「判読不可」と判定された場合には、(1)「撮影対象に近づいたり、ズーム機能を利用することで文字サイズを大きくする」、(2)「三脚等を利用して手ブレを防止する」、(3)「フラッシュなどを使用することで光量を増大させる」、などの対応策を講じれば「判読可」になり得る旨を示すアドバイス情報を出力するようにしてもよい。 Further, in the case of determining using the “readability level determination table”, advice information corresponding to the readability level that is the basis of the determination may be output as notification information. For example, if the readability level is determined to be “unreadable” because it is one step lower than the threshold value, (1) “get close to the shooting target or use the zoom function to increase the character size”, (2 ) Advice indicating that it can be “readable” by taking measures such as “Use a tripod to prevent camera shake”, (3) “Use a flash to increase the amount of light”, etc. Information may be output.
さらに、このような対応策の選択を、当該可読性レベルの根拠となった「文字サイズレベル」と「階調変化率レベル」とに基づいて制御部110が決定してもよい。図3(a)に示す「可読性レベル判定テーブル」の場合、「A−D’レベル」の可読性レベルが、閾値(「5」)より1段低い「4」となっているが、この「A−D’レベル」の場合、階調変化率レベルは十分であるにもかかわらず、文字サイズが小さいために可読性レベルが「4」となり、その結果「判読不可」と判定されてしまう。このような場合には、文字サイズを大きくするための対応策(上記(1)など)をアドバイス情報として出力する。一方、文字サイズが十分大きいにもかかわらず、階調変化率が低い(ボケ具合が大きい)ために「判読不可」と判定された場合には、ピンボケや手ブレを抑制するための対応策(上記(2)または(3)など)をアドバイス情報として出力する。
Further, the selection of the countermeasure may be determined by the
また、判定結果が「判読可」である場合でも、例えば、可読性レベルが閾値より1段上であるために「判読可」となった場合には、撮影条件を変更することで、より確実に判読可能な画像を得ることができる旨を示すアドバイス情報を出力してもよい。 Further, even when the determination result is “readable”, for example, when the readability level is “one legible” because the readability level is one level higher than the threshold value, it is more reliable by changing the shooting condition. Advice information indicating that a legible image can be obtained may be output.
以上説明したように、本発明にかかる上記実施形態によれば、当該文書画像の画像品質を正確に判定し、文書画像を記録する前に判読可否をユーザに通知することができる。この結果、無駄な撮影動作を回避することができ、撮影効率の向上やユーザの労力軽減を図ることができる。また、無駄な記録を回避することができるので、メモリ領域などの撮影資源の浪費を防止することができる。 As described above, according to the above-described embodiment of the present invention, it is possible to accurately determine the image quality of the document image and notify the user whether or not the document image can be read before recording the document image. As a result, useless shooting operations can be avoided, and shooting efficiency can be improved and user effort can be reduced. Moreover, since useless recording can be avoided, it is possible to prevent waste of photographing resources such as a memory area.
上記実施形態で取得される文書画像は、文字認識処理にてテキストデータなどに変換することが好適であるが、このような文字認識処理の実行形態は任意である。例えば、パーソナルコンピュータなどのコンピュータ装置で文字認識処理を実行することができる。この場合、画像記録部150に記録された文書画像データをコンピュータ装置に転送するが、転送方法は任意であり、例えば、デジタルカメラ100に備えられている所定のインタフェース(例えば、USB(Universal Serial Bus))などを介してコンピュータ装置と接続することで文書画像データを転送することができる。また、画像記録部150が脱着可能なメモリカードから構成されている場合には、コンピュータ装置がメモリカードから文書画像データを読み取ることで転送させることができる。
The document image acquired in the above embodiment is preferably converted into text data or the like by character recognition processing, but the execution form of such character recognition processing is arbitrary. For example, the character recognition process can be executed by a computer device such as a personal computer. In this case, the document image data recorded in the
このような文字認識処理をデジタルカメラ100で実行してもよい。この場合、デジタルカメラ100の記憶部160に文字認識処理をおこなうためのプログラム(文字認識プログラム)を格納し、制御部110がこの文字認識プログラムを実行することで、文字認識処理をおこなう。デジタルカメラ100で文字認識処理を実行した場合、撮影したその場でテキストデータへの変換などを行うことができる。デジタルカメラ100で変換されたテキストデータなどは、画像記録部150に記録したり、コンピュータ装置などに転送することができる。
Such a character recognition process may be executed by the
上記実施形態では、判読可否の判定結果に応じて通知情報を出力するようにしたが、判定結果に応じてデジタルカメラ100の撮影動作を自動的に制御して、ユーザをアシストするようにしてもよい。例えば、階調変化率は十分であるが、文字サイズが小さいために「判読不可」と判定された場合に、制御部110がレンズユニット121を駆動し、ズーム機能によって文字サイズが大きくなるよう制御したり、光量不足により手ブレが生じる場合に自動的にフラッシュが発光するように制御してもよい。
In the above embodiment, the notification information is output according to the determination result of legibility. However, the photographing operation of the
また、動作プログラムの更新により機能の拡張を図ることができるデジタルカメラに上述した各処理を実現するプログラムを適用することで、既存のデジタルカメラを上記実施形態にかかるデジタルカメラ100として機能させることができる。この場合、上記実施形態にかかる動作プログラムを当該デジタルカメラにインストールし、当該デジタルカメラの制御部が実行する。これにより、上述の各処理が実行され、文書撮影時の画像品質を正確に判定して判読可否の判定および通知をおこなうことができる。このような動作プログラムを配布する方法は任意であり、例えば、CD−ROMやメモリカードなどの記録媒体に格納して配布可能であることはもとより、インターネットなどの通信媒体を介して配布することもできる。
In addition, by applying a program for realizing each process described above to a digital camera whose functions can be expanded by updating the operation program, the existing digital camera can function as the
以上説明したように、本発明を上記実施形態の如く適用することで、文書を撮影する場合に、画像中の階調変化率に基づいて画像品質を正確に判定して通知することができる。この結果、撮影時の省力化や撮影効率の向上を図ることができるとともに、メモリ領域の浪費などを防止することができる。 As described above, by applying the present invention as in the above embodiment, when a document is photographed, it is possible to accurately determine and notify the image quality based on the gradation change rate in the image. As a result, it is possible to save labor at the time of shooting and improve shooting efficiency, and to prevent the memory area from being wasted.
100…デジタルカメラ、110…制御部、120…撮像部、121…レンズユニット、122…測距・測光部、123…撮像素子、130…入力部、131…シャッタボタン、132…操作入力部、140…出力部、141…表示部、142…報音部、143…インジケータ部、150…画像記録部、160…記憶部
DESCRIPTION OF
Claims (12)
前記画像データの特徴を検出する特徴検出手段と、
前記特徴検出手段が検出した特徴に基づいて、当該画像データに示される文字の可読性レベルを判定する判定手段と、
前記判定手段が判定した可読性レベルに基づいて、所定の動作を実行する実行手段と、を備え、
前記特徴検出手段は、前記画像データにおける階調変化率を検出する階調検出手段をさらに備え、
前記判定手段は、前記階調検出手段が検出した階調変化率に基づいて前記文字の可読性レベルを判定し、
前記実行手段は、前記判定手段が判定した可読性レベルに基づいて、所定の通知情報を出力する出力手段をさらに備える、
ことを特徴とするデジタルカメラ。 In a digital camera that acquires image data by converting incident light into digital data,
Feature detection means for detecting the feature of the image data;
Determination means for determining the readability level of the character indicated in the image data based on the feature detected by the feature detection means;
Execution means for executing a predetermined operation based on the readability level determined by the determination means,
The feature detection means further comprises a gradation detection means for detecting a gradation change rate in the image data,
The determination means determines the readability level of the character based on the gradation change rate detected by the gradation detection means,
The execution unit further includes an output unit that outputs predetermined notification information based on the readability level determined by the determination unit.
A digital camera characterized by that.
前記階調検出手段は、前記エッジ検出手段が検出したエッジ部分の階調変化率を検出する、
ことを特徴とする請求項1に記載のデジタルカメラ。 An edge detecting means for detecting an edge of the character indicated in the image data;
The gradation detection means detects a gradation change rate of the edge portion detected by the edge detection means;
The digital camera according to claim 1.
前記判定手段は、前記階調検出手段が検出した階調変化率と、前記文字サイズ特定手段が特定した文字サイズとに基づいて、当該文字の可読性レベルを判定する、
ことを特徴とする請求項1または2に記載のデジタルカメラ。 The feature detecting means further comprises character size specifying means for specifying the size of the character,
The determination means determines the readability level of the character based on the gradation change rate detected by the gradation detection means and the character size specified by the character size specification means.
The digital camera according to claim 1, wherein the digital camera is a digital camera.
前記出力手段は、前記判別手段によって判読不可と判別された場合に、その旨を示す通知情報を出力する、
ことを特徴とする請求項1乃至3のいずれか1項に記載のデジタルカメラ。 A determination unit that determines whether or not the character can be read based on a predetermined threshold and the readability level determined by the determination unit;
The output means outputs notification information indicating that when it is determined by the determination means that it cannot be read,
The digital camera according to claim 1, wherein the digital camera is a digital camera.
前記判別手段は、前記複数箇所で判読可否を判別し、
前記出力手段は、前記複数箇所のいずれかにおいて判読不可と判別された場合に、前記通知情報を出力する、
ことを特徴とする請求項4に記載のデジタルカメラ。 The determination means determines a readability level at a plurality of locations on the image data,
The determination means determines whether or not the plurality of places can be read,
The output means outputs the notification information when it is determined that it is unreadable at any of the plurality of locations.
The digital camera according to claim 4.
前記判定手段は、前記記憶手段に記憶された判定情報に基づいて、可読性レベルを判定する、
ことを特徴とする請求項1乃至5のいずれか1項に記載のデジタルカメラ。 A storage unit for storing determination information in which information indicating the feature detected by the feature detection unit is associated with a readability level;
The determination unit determines a readability level based on determination information stored in the storage unit.
The digital camera according to any one of claims 1 to 5, wherein:
前記記憶手段は、前記入力手段に入力されたユーザの指示に応じて、前記判定情報を更新する、
ことを特徴とする請求項6に記載のデジタルカメラ。 It further comprises an input means for inputting an instruction from the user,
The storage means updates the determination information in accordance with a user instruction input to the input means.
The digital camera according to claim 6.
ことを特徴とする請求項7に記載のデジタルカメラ。 The character size specifying means specifies a character size in accordance with a user instruction input to the input means;
The digital camera according to claim 7.
前記判定手段は、前記階調分布検出手段が検出した階調変化率の分布に基づいて、前記文字の可読性レベルを判定する、
ことを特徴とする請求項1乃至8のいずれか1項に記載のデジタルカメラ。 The gradation detection means further comprises gradation distribution detection means for detecting distribution of gradation change rate in the image data,
The determination unit determines a readability level of the character based on a distribution of gradation change rates detected by the gradation distribution detection unit;
The digital camera according to claim 1, wherein the digital camera is a digital camera.
ことを特徴とする請求項9に記載のデジタルカメラ。 The determination means determines the readability level based on the distribution of the gradation change rate, with the gradation change rate having the highest appearance frequency as the gradation change rate in the character.
The digital camera according to claim 9.
前記特徴検出手段は、前記文字領域抽出手段が抽出した文字領域内での特徴を検出する、
ことを特徴とする請求項1乃至10のいずれか1項に記載のデジタルカメラ。 A character area extracting means for extracting a character area shown in the image data;
The feature detection means detects a feature in the character area extracted by the character area extraction means;
The digital camera according to claim 1, wherein the digital camera is a digital camera.
取得した画像データに示される文字を検出するステップと、
少なくとも検出された文字における階調変化率を検出するステップと、
検出された文字のサイズを特定するステップと、
検出された階調変化率および/または特定された文字サイズに基づいて、前記文字の可読性レベルを判定するステップと、
判定された可読性レベルに応じた所定の通知情報を出力するステップと、
を実行させることを特徴とするプログラム。 To a computer that controls a digital camera that converts incident light into digital data and acquires image data,
Detecting characters shown in the acquired image data;
Detecting a gradation change rate in at least the detected character;
Identifying the size of the detected characters;
Determining a readability level of the character based on the detected gradation change rate and / or the specified character size;
Outputting predetermined notification information according to the determined readability level;
A program characterized by having executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004069595A JP4315024B2 (en) | 2004-03-11 | 2004-03-11 | Digital camera and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004069595A JP4315024B2 (en) | 2004-03-11 | 2004-03-11 | Digital camera and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005260597A true JP2005260597A (en) | 2005-09-22 |
JP4315024B2 JP4315024B2 (en) | 2009-08-19 |
Family
ID=35085896
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004069595A Expired - Fee Related JP4315024B2 (en) | 2004-03-11 | 2004-03-11 | Digital camera and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4315024B2 (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010140291A1 (en) * | 2009-06-02 | 2010-12-09 | 日本電気株式会社 | Information processing device |
JP2012053519A (en) * | 2010-08-31 | 2012-03-15 | Toshiba Corp | Image processing apparatus and image processing system |
JP2012098823A (en) * | 2010-10-29 | 2012-05-24 | Toshiba Corp | Server and image processing system |
JP2013045178A (en) * | 2011-08-22 | 2013-03-04 | Fujitsu Ltd | Image processing apparatus, image processing method, and program |
JP2015148986A (en) * | 2014-02-07 | 2015-08-20 | 富士通株式会社 | Information processing apparatus, blur level calculation method, and program |
US20180322355A1 (en) * | 2016-01-20 | 2018-11-08 | Pfu Limited | Mobile terminal, image processing method, and computer-readable recording medium |
JP2020004238A (en) * | 2018-06-29 | 2020-01-09 | 大日本印刷株式会社 | Authenticity determination device and program |
-
2004
- 2004-03-11 JP JP2004069595A patent/JP4315024B2/en not_active Expired - Fee Related
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010140291A1 (en) * | 2009-06-02 | 2010-12-09 | 日本電気株式会社 | Information processing device |
JP2012053519A (en) * | 2010-08-31 | 2012-03-15 | Toshiba Corp | Image processing apparatus and image processing system |
JP2012098823A (en) * | 2010-10-29 | 2012-05-24 | Toshiba Corp | Server and image processing system |
JP2013045178A (en) * | 2011-08-22 | 2013-03-04 | Fujitsu Ltd | Image processing apparatus, image processing method, and program |
US8861883B2 (en) | 2011-08-22 | 2014-10-14 | Fujitsu Limited | Image processing apparatus, image processing method, and storage medium storing image processing program |
JP2015148986A (en) * | 2014-02-07 | 2015-08-20 | 富士通株式会社 | Information processing apparatus, blur level calculation method, and program |
US20180322355A1 (en) * | 2016-01-20 | 2018-11-08 | Pfu Limited | Mobile terminal, image processing method, and computer-readable recording medium |
US10832070B2 (en) | 2016-01-20 | 2020-11-10 | Pfu Limited | Mobile terminal, image processing method, and computer-readable recording medium |
JP2020004238A (en) * | 2018-06-29 | 2020-01-09 | 大日本印刷株式会社 | Authenticity determination device and program |
JP7172189B2 (en) | 2018-06-29 | 2022-11-16 | 大日本印刷株式会社 | Authenticity determination device and program |
Also Published As
Publication number | Publication date |
---|---|
JP4315024B2 (en) | 2009-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7308158B2 (en) | Imaging method and system | |
JP5159515B2 (en) | Image processing apparatus and control method thereof | |
CN101867724B (en) | Imaging device and imaging method | |
US20050134719A1 (en) | Display device with automatic area of importance display | |
KR100967855B1 (en) | System and method for checking framing and sharpness of a digital image | |
JP2005215750A (en) | Face detecting device and face detecting method | |
JP2012027687A (en) | Image processing apparatus and program | |
CN105934940B (en) | Image processing apparatus, method and program | |
JP2009171318A (en) | Image processor, image processing method, and imaging device | |
JP2018107593A (en) | Image processing apparatus, image processing method, and program | |
JP4315024B2 (en) | Digital camera and program | |
JP4672587B2 (en) | Image output method, apparatus and program | |
JP3992720B2 (en) | Image correction apparatus, image correction method, program, and recording medium | |
JP4366484B2 (en) | Digital camera and program | |
JP2005260657A (en) | Photographing apparatus, image processing method and program therefor | |
JP2014123881A (en) | Information processing device, information processing method, and computer program | |
KR20100076793A (en) | A device and method for processing digital image, a computer-readable storage medium, a electronic device, and a method for controlling a electronic device | |
JP6696800B2 (en) | Image evaluation method, image evaluation program, and image evaluation device | |
JP2005316958A (en) | Red eye detection device, method, and program | |
JP2007174015A (en) | Image management program and image management apparatus | |
JP2006109005A (en) | Image output device and imaging device | |
JP2005217618A (en) | Image processing method, image processing apparatus, and image processing program | |
JP2006287517A (en) | Camera apparatus, photographing method, and photographing program | |
JP6952499B2 (en) | Information processing equipment and programs | |
JP4043499B2 (en) | Image correction apparatus and image correction method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070221 |
|
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: 20090428 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090511 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120529 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120529 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130529 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130529 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |