JP2000201293A - Image processor - Google Patents

Image processor

Info

Publication number
JP2000201293A
JP2000201293A JP11000653A JP65399A JP2000201293A JP 2000201293 A JP2000201293 A JP 2000201293A JP 11000653 A JP11000653 A JP 11000653A JP 65399 A JP65399 A JP 65399A JP 2000201293 A JP2000201293 A JP 2000201293A
Authority
JP
Japan
Prior art keywords
size
image
image data
character
imaging target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11000653A
Other languages
Japanese (ja)
Inventor
Daisaku Horie
大作 保理江
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP11000653A priority Critical patent/JP2000201293A/en
Publication of JP2000201293A publication Critical patent/JP2000201293A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a digital camera capable of outputting image data with the same size as an original which is an image pickup object. SOLUTION: The size Z of photographed image data is found based on the viewing angle θ of a camera and the distance L between an original and the camera. The distance per pixel on the original is calculated by dividing the size Z of the photographed image data by the number of the pixels of a CCD. Meanwhile, the actual size of a character on the original is calculated by detecting the number of pixels constituting the character on the original and multiplying the calculated distance by the number of pixels. The image data is printed on the basis of the calculated size so that the actual size of the character on the original is the same as the size of an outputted character.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は画像処理装置に関
し、特に撮像対象物(たとえば原稿)を撮像することで
得られた画像の解像度などを判定することができる画像
処理装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus capable of determining the resolution of an image obtained by imaging an object to be imaged (for example, a document).

【0002】[0002]

【従来の技術】従来より、デジタルカメラなどの撮像装
置により文字を含む文書などを撮像することが行なわれ
ている。
2. Description of the Related Art Conventionally, an image pickup device such as a digital camera has been used to image a document including characters.

【0003】[0003]

【発明が解決しようとする課題】しかし、デジタルカメ
ラで文書を撮像した場合には、撮像距離やズーム倍率に
よって画像データとして得られる文書(およびその中の
文字)のサイズが変わってしまう。しかも、元の文書の
サイズを知ることができないため、元の文書とプリント
される文書とのサイズが変わったり、元の文書に含まれ
る文字とプリントされる文字とのサイズが変わったりす
ることがある。
However, when a document is imaged by a digital camera, the size of the document (and the characters therein) obtained as image data changes depending on the imaging distance and zoom magnification. Moreover, since the size of the original document cannot be known, the size of the original document and the printed document may change, or the size of the characters included in the original document and the printed characters may change. is there.

【0004】具体的に、図16(A)のような原稿をデ
ジタルカメラによって撮影することにより、図16
(B)の画像データを得た場合を想定する。このとき図
16(B)の画像データからだけでは、遠くの大きな原
稿を撮像したのか、近くの小さな原稿を撮像したのかの
区別をつけることができない。これにより、画像データ
の出力解像度を適切に設定できない。これにより、図1
6(C)のように元の原稿と異なる原稿サイズおよび文
字サイズで出力がなされてしまうのである。また、入力
画像のOCR(オプチカルキャラクタリーダ)の結果を
印字する場合にも同様に元の原稿と同じ文字サイズを決
定できないという問題がある。
More specifically, by photographing an original as shown in FIG.
Assume that the image data of (B) is obtained. At this time, it is not possible to distinguish whether an image of a distant large document or an image of a nearby small document has been taken only from the image data of FIG. As a result, the output resolution of the image data cannot be set appropriately. As a result, FIG.
As shown in FIG. 6C, the document is output in a document size and character size different from the original document. Also, when printing the result of an OCR (optical character reader) of an input image, the same character size as that of the original document cannot be determined.

【0005】なお、画像データ中の最小の文字サイズ
と、画像処理装置の解像度によって決定される判読可能
な最小の文字サイズとを比較することで、文字の判読が
可能か否かを決定する方法が特開平10−75349号
公報に開示されている。しかしながら、このような方法
は読取条件に制約を与えることができるイメージスキャ
ナによって入力される画像に対する文字サイズ認識方法
であり、デジタルカメラのような読取条件の制約の少な
いデバイスにおける文字サイズの認識には適用できな
い。すなわち、デジタルカメラにおいては撮像対象物に
対する撮像距離や撮像角度などが一定ではないため、入
力原稿画像の解像度は不明である。従って、特開平10
−75349号公報に開示された技術をそのままデジタ
ルカメラに利用して文字サイズを復元することはできな
かったのである。
[0005] A method of determining whether a character can be read or not by comparing the minimum character size in the image data with the minimum readable character size determined by the resolution of the image processing apparatus. Is disclosed in JP-A-10-75349. However, such a method is a character size recognition method for an image input by an image scanner that can restrict reading conditions, and is used for character size recognition in a device such as a digital camera with less restrictions on reading conditions. Not applicable. That is, in a digital camera, the resolution of an input document image is unknown because the imaging distance and the imaging angle with respect to the imaging target are not constant. Therefore, Japanese Patent Application Laid-Open
The technique disclosed in Japanese Patent No. 75349 cannot be used as it is in a digital camera to restore the character size.

【0006】この発明は上述の問題点を解決するために
なされたもので、取得された画像の解像度を判定するこ
とができる画像処理装置を提供することを目的としてい
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide an image processing apparatus capable of determining the resolution of an acquired image.

【0007】さらにこの発明は撮像対象物に描かれた文
字のサイズを識別することができる画像処理装置を提供
することを目的としている。
Another object of the present invention is to provide an image processing apparatus capable of identifying the size of a character drawn on an object to be imaged.

【0008】さらにこの発明は撮像対象物のサイズを求
めることができる画像処理装置を提供することを目的と
している。
Another object of the present invention is to provide an image processing apparatus capable of obtaining the size of an object to be imaged.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
この発明のある局面に従うと画像処理装置は、撮像対象
物を撮像することで画像を取得する取得手段と、撮像対
象物までの距離を測定する測定手段と、測定された距離
を用いて取得された画像の解像度を判定する解像度判定
手段とを備える。
According to one aspect of the present invention, in order to achieve the above object, an image processing apparatus includes: an obtaining unit configured to obtain an image by capturing an image of an object; The image processing apparatus includes a measuring unit for measuring, and a resolution determining unit for determining a resolution of an image obtained using the measured distance.

【0010】好ましくは画像処理装置は、物体のサイズ
を予め複数記憶する記憶手段と、取得された画像および
測定された距離に基づいて撮像対象物のサイズを判定す
るサイズ判定手段と、記憶された物体のサイズと判定さ
れた撮像対象物のサイズとに基づいて、判定された解像
度を修正する修正手段とをさらに備える。
Preferably, the image processing apparatus includes a storage unit for storing a plurality of sizes of the object in advance, a size determination unit for determining the size of the imaging target based on the acquired image and the measured distance, and And a correction unit configured to correct the determined resolution based on the size of the object and the determined size of the imaging target.

【0011】さらに好ましくは画像処理装置は、判定さ
れた解像度に基づいて撮像対象物に描かれた文字のサイ
ズを識別する識別手段をさらに備える。
[0011] More preferably, the image processing apparatus further includes identification means for identifying a size of a character drawn on the object to be imaged based on the determined resolution.

【0012】この発明の他の局面に従うと画像処理装置
は、物体のサイズを予め複数記憶する記憶手段と、撮像
対象物を撮像することで画像を取得する取得手段と、撮
像対象物までの距離を測定する測定手段と、取得された
画像および測定された距離に基づいて、撮像対象物のサ
イズを判定するサイズ判定手段と、記憶された物体のサ
イズに基づいて、判定された撮像対象物のサイズを修正
する修正手段とを備える。
According to another aspect of the present invention, an image processing apparatus includes: a storage unit for storing a plurality of sizes of an object in advance; an obtaining unit for obtaining an image by capturing an image of a target; and a distance to the target. Measurement means for measuring the size of the imaging target based on the acquired image and the measured distance, and based on the size of the stored object, Correction means for correcting the size.

【0013】好ましくは撮像対象物は原稿であり、記憶
手段は原稿の定型サイズを複数記憶する。
Preferably, the object to be imaged is a document, and the storage means stores a plurality of fixed sizes of the document.

【0014】この発明に従うと取得された画像の解像度
を判定することができる。さらに判定された解像度に基
づいて撮像対象物に描かれた文字のサイズを識別するこ
とも可能である。
According to the present invention, the resolution of an obtained image can be determined. Furthermore, it is also possible to identify the size of the character drawn on the imaging target based on the determined resolution.

【0015】また、物体のサイズを予め複数記憶させて
おき、記憶された物体のサイズに基づいて判定された撮
像対象物のサイズを修正するようにすると、誤差の少な
い撮像対象物のサイズを求めることができる。
Further, if a plurality of object sizes are stored in advance and the size of the imaging target determined based on the stored size of the object is corrected, the size of the imaging target having a small error is obtained. be able to.

【0016】[0016]

【発明の実施の形態】<第1の実施の形態>図1は本発
明の第1の実施の形態におけるデジタルカメラを前方か
ら見た斜視図であり、図2は後方から見た斜視図(カメ
ラバック)である。図を参照して、デジタルカメラに
は、撮影ボタン3と、撮影レンズ部4と、カードメモリ
を挿入するためのカード挿入孔5と、電源ボタン6と、
本などの文字原稿を撮像するときに原稿と同じサイズで
プリントを行なうモードを設定する補正モード設定スイ
ッチ7とを備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS <First Embodiment> FIG. 1 is a perspective view of a digital camera according to a first embodiment of the present invention as viewed from the front, and FIG. Camera back). Referring to the figure, the digital camera has a shooting button 3, a shooting lens unit 4, a card insertion hole 5 for inserting a card memory, a power button 6,
A correction mode setting switch 7 is provided for setting a mode in which printing is performed in the same size as a document when a character document such as a book is imaged.

【0017】このデジタルカメラによる撮影結果は、デ
ジタルカメラ内部のハードディスクカード(カードメモ
リ)に電気データとして記憶される。ここでカードメモ
リは画像データの媒体であり、たとえばPCMCIA準
拠のハードディスクカードのようなものを用いることが
できる。
The result of photographing by the digital camera is stored as electrical data in a hard disk card (card memory) inside the digital camera. Here, the card memory is a medium for image data, for example, a hard disk card conforming to PCMCIA can be used.

【0018】また、カードメモリに代えてミニディスク
(MD)を用いてもよい。さらに、カードメモリを画像
データの記録媒体とせずに、たとえばSCSIケーブル
などで画像データを直接プリンタなどに送信するように
してもよい。
Further, a mini disk (MD) may be used instead of the card memory. Further, instead of using the card memory as a recording medium for image data, the image data may be directly transmitted to a printer or the like via, for example, a SCSI cable.

【0019】図3は本実施の形態におけるデジタルカメ
ラの構成を示すブロック図である。図を参照して、デジ
タルカメラは装置全体の制御を行なうCPU101と、
撮影レンズ部4を介して入射された光を電気信号に変換
するCCD部111と、CCD部111からの信号を一
時的に記憶するRAM103と、RAM103に記憶さ
れた信号(すなわち取得された画像データ)に対し歪み
の補正を行なう歪み補正部105と、煽り補正を行なう
煽り補正部107と、画像データの解像度を判定し撮像
対象物に描かれた文字のサイズを認識する文字サイズ認
識部109と、認識された文字サイズに基づいて画像デ
ータ内にある文字のサイズを変換する文字サイズ変換部
113と、文字サイズ変換部113からのデータを記憶
するカードメモリ部117と、撮像対象物までの距離を
測定する測距部119とから構成される。
FIG. 3 is a block diagram showing the configuration of the digital camera according to the present embodiment. Referring to the figure, a digital camera includes a CPU 101 for controlling the entire apparatus,
A CCD unit 111 that converts light incident through the photographing lens unit 4 into an electric signal; a RAM 103 that temporarily stores a signal from the CCD unit 111; and a signal stored in the RAM 103 (ie, acquired image data ), A skew correction unit 107 for skew correction, a character size recognition unit 109 for judging the resolution of image data, and recognizing the size of characters drawn on the object to be imaged. A character size conversion unit 113 for converting the size of characters in image data based on the recognized character size, a card memory unit 117 for storing data from the character size conversion unit 113, and a distance to an object to be imaged. And a distance measuring unit 119 for measuring the distance.

【0020】測距部119は三角測距法などの従来公知
の技術により、測距を行なう。煽り補正部107および
文字サイズ認識部109は、測距部119からのデータ
に基づいて処理を行なう。カードメモリ部117のデー
タは、プリンタ121に送られプリントが行なわれる。
The distance measuring section 119 measures the distance by a conventionally known technique such as a triangular distance measuring method. The tilt correction unit 107 and the character size recognition unit 109 perform processing based on data from the distance measurement unit 119. The data in the card memory unit 117 is sent to the printer 121 for printing.

【0021】図4は、補正モード設定スイッチ7がオン
であるときにデジタルカメラが行なう画像処理動作を示
すフローチャートである。図を参照して、ステップS1
でCCD部111を介して画像データが入力され、測距
部119を介して測距データが入力される。
FIG. 4 is a flowchart showing an image processing operation performed by the digital camera when the correction mode setting switch 7 is turned on. Referring to the figure, step S1
, Image data is input via the CCD unit 111 and distance measurement data is input via the distance measurement unit 119.

【0022】ステップS3で、歪み補正部105により
歪み補正が行なわれ、ステップS5で煽り補正部107
により煽り補正が行なわれる。ステップS7で、入力さ
れた画像データ中の文字のサイズの認識が行なわれる。
ステップS9で認識された文字サイズによる画像データ
のプリント処理が行なわれる。
In step S3, distortion correction is performed by the distortion correction unit 105, and in step S5, the tilt correction unit 107
A correction is made by this. In step S7, the size of the character in the input image data is recognized.
At step S9, the image data is printed according to the character size recognized.

【0023】以下、各ステップで行なわれる処理につい
て詳しく説明する。 [ステップS1]図5は、デジタルカメラ1とデジタル
カメラ1により撮影される文字原稿である本2を示す図
である。デジタルカメラの撮影ボタン3が押下されるこ
とにより、画像データと測距データとが取得される。
Hereinafter, the processing performed in each step will be described in detail. [Step S1] FIG. 5 is a diagram showing a digital camera 1 and a book 2 which is a character document photographed by the digital camera 1. When the photographing button 3 of the digital camera is pressed, image data and distance measurement data are obtained.

【0024】[ステップS3]画像データからレンズ歪
みが補正される。レンズ歪みはカメラ固有のものである
ため、容易に補正することができる。
[Step S3] Lens distortion is corrected from the image data. Since the lens distortion is specific to the camera, it can be easily corrected.

【0025】[ステップS5]画像データの煽り補正が
行なわれる。この処理では、まず画像データ内の撮像対
象物が識別される。次に、撮像対象物までの距離が複数
箇所で測定される。そしてその測定された距離に基づい
て補正が行なわれる。
[Step S5] Fanning correction of image data is performed. In this processing, first, an object to be imaged in the image data is identified. Next, the distance to the imaging target is measured at a plurality of locations. Then, correction is performed based on the measured distance.

【0026】具体的には、図6に示されるように、取得
された画像データ“A”内の撮像対象物までの距離を3
つの点P1〜P3で測定し、その距離データに基づいて
画像データ“A”を変形し、煽りのない画像データ
“B”とするものである。
Specifically, as shown in FIG. 6, the distance to the object to be imaged in the acquired image data “A” is 3
Measurement is performed at three points P1 to P3, and the image data “A” is deformed based on the distance data to obtain image data “B” without flutter.

【0027】[ステップS7]文字サイズ認識処理とし
て、図7のフローチャートに示される処理が行なわれ
る。図7を参照して、ステップS101で測距情報が測
距部119より入力される。ステップS103でカメラ
の固有情報が入力される。測距情報とは、デジタルカメ
ラから撮像対象物までの距離である。また、カメラの固
有情報とは、ここでは画角である。
[Step S7] As a character size recognition process, the process shown in the flowchart of FIG. 7 is performed. Referring to FIG. 7, distance measurement information is input from distance measurement unit 119 in step S101. In step S103, camera-specific information is input. The ranging information is a distance from the digital camera to the imaging target. In addition, the camera specific information is the angle of view here.

【0028】図8を参照して、デジタルカメラから撮像
対象物までの距離Lと画角θとによって、取得された画
像データの大きさZを求めることができる。
Referring to FIG. 8, the size Z of the acquired image data can be obtained from the distance L from the digital camera to the object to be imaged and the angle of view θ.

【0029】ステップS105で、取得された画像デー
タの大きさZに基づいて、CCDの1画素により捕らえ
られた画像データの実際のサイズが求められる。
In step S105, the actual size of the image data captured by one pixel of the CCD is obtained based on the size Z of the obtained image data.

【0030】図9を参照して、CCDの有する画素がN
×N画素であり、そのCCDによりZ×Zの大きさの画
像データが取得されたのであれば、CCDの1画素によ
り捕らえられた画像データの実際のサイズは、縦Z/
N、横Z/Nとなる。なお、CCDの1画素により捕ら
えられた画像データの実際のサイズは、画像データの解
像度を意味する。
Referring to FIG. 9, the pixels of the CCD are N
× N pixels, and if image data of Z × Z size is acquired by the CCD, the actual size of the image data captured by one pixel of the CCD is
N, horizontal Z / N. Note that the actual size of the image data captured by one pixel of the CCD means the resolution of the image data.

【0031】図7に戻って、ステップS107で、画像
データ中の文字が検出され、1つの文字を形成する画素
の数(縦×横)が画像データ内のすべての文字において
算出される。
Returning to FIG. 7, in step S107, characters in the image data are detected, and the number of pixels (vertical × horizontal) forming one character is calculated for all the characters in the image data.

【0032】たとえば取得された画像データが図10に
示されるものであったとすると、この中の文字が書かれ
ている領域が検出される。その領域内に存在する文字の
縦横の画素数が算出される。
For example, if the acquired image data is as shown in FIG. 10, an area in which characters are written is detected. The number of vertical and horizontal pixels of the character existing in the area is calculated.

【0033】たとえば図10の画像データ中の「タイト
ル」と描かれた部分の「タ」の文字を構成する画素数を
算出するときには、図11に示されるように、横方向の
画素数Wと縦方向の画素数Hとが算出される。この画素
数は水平方向や垂直方向のヒストグラム情報を用いる方
法などにより知ることができる。
For example, when calculating the number of pixels constituting the character of "ta" in the portion drawn as "title" in the image data of FIG. 10, the number of pixels W in the horizontal direction is calculated as shown in FIG. The number H of pixels in the vertical direction is calculated. This number of pixels can be known by a method using histogram information in the horizontal and vertical directions.

【0034】図7に戻って、ステップS109で、算出
された画素数に、1画素により捕らえられた画像データ
の実際のサイズ(解像度)を掛け合わせることで、画像
データ中の文字の現実のサイズが計算される。
Returning to FIG. 7, in step S109, the actual number of pixels in the image data is calculated by multiplying the calculated number of pixels by the actual size (resolution) of the image data captured by one pixel. Is calculated.

【0035】[ステップS9]プリントされる文字が撮
像対象物の実際の文字のサイズと同じサイズになるよう
に画像データのプリントが行なわれる。これは、具体的
には、(1) 画像データ中の文字部分の解像度を変更
することで、文字のサイズを変える、または(2) 画
像データに対しOCR(オプチカルキャラクタリーダ)
を用いた文字識別を行ない、ステップS109(図7参
照)で求められた文字サイズで文字のプリントを行な
う、ことで実現される。
[Step S9] Image data is printed so that the characters to be printed have the same size as the actual characters of the object to be imaged. Specifically, (1) changing the size of the character by changing the resolution of the character portion in the image data, or (2) OCR (optical character reader) for the image data
And character printing is performed using the character size determined in step S109 (see FIG. 7).

【0036】このようにして本実施の形態においては、
実際の原稿の文字サイズと同じサイズで文字のプリント
を行なうことができるデジタルカメラを提供することが
可能となる。
As described above, in the present embodiment,
It is possible to provide a digital camera capable of printing characters in the same size as the actual document character size.

【0037】<変形例>第1の実施の形態においては、
文字の現実のサイズを認識しそれと同じサイズで文字の
プリントを行なうこととしたが、図12に示されるよう
に、原稿を構成する画素数(W×H)を調べることで、
現実の原稿と同じサイズで原稿のプリントを行なうよう
にしてもよい。
<Modification> In the first embodiment,
Recognizing the actual size of the character and printing the character in the same size, as shown in FIG. 12, by examining the number of pixels (W × H) constituting the original,
The original may be printed in the same size as the actual original.

【0038】原稿の領域は、画像データ中の最も大きな
矩形を認識することで抽出したり、画像データ中の下地
領域の端を認識する方法を用いた原稿認識を利用するこ
とで求めることができる。
The document area can be extracted by recognizing the largest rectangle in the image data, or can be obtained by using document recognition using a method of recognizing the edge of the background area in the image data. .

【0039】<第2の実施の形態>第2の実施の形態に
おけるデジタルカメラのハードウェア構成は、第1の実
施の形態におけるそれと同じであるためここでの説明を
繰返さない。第2の実施の形態におけるデジタルカメラ
においては測距情報に要求される精度を低く抑えること
ができる。
<Second Embodiment> The hardware configuration of a digital camera according to the second embodiment is the same as that of the first embodiment, and thus description thereof will not be repeated. In the digital camera according to the second embodiment, the accuracy required for the ranging information can be reduced.

【0040】たとえば文字サイズとして11ポイントの
文字や12ポイントの文字が多く用いられている。しか
しながらこの2つのサイズを判別するためには、第1の
実施の形態では測距精度として11/12=約91%以
上が要求される。よって、測距精度が低い場合には、第
1の実施の形態におけるデジタルカメラでは文字サイズ
の認識が難しくなる。
For example, 11-point characters and 12-point characters are often used as character sizes. However, in order to determine these two sizes, in the first embodiment, 11/12 = about 91% or more is required as the distance measurement accuracy. Therefore, when the distance measurement accuracy is low, it is difficult for the digital camera according to the first embodiment to recognize the character size.

【0041】第2の実施の形態においては、測距情報に
加えて定型の原稿サイズを利用することによって、測距
情報に高精度を要求することなく文字サイズの判別を行
なうことができる。
In the second embodiment, by using a fixed original size in addition to the distance measurement information, the character size can be determined without requiring high accuracy in the distance measurement information.

【0042】なお、原稿の定型サイズとは、具体的には
図13(A)および(B)に示されるような一般的に用
いられている用紙のサイズであるA列(A列本版、1
版、2版、…)やB列(B列本版、1版、2版、…)で
ある。また、定型サイズとしてはがきサイズや新聞サイ
ズなど一般によく用いられるサイズのみを用いてもよい
し、他のサイズを用いることとしてもよい。
It should be noted that the fixed size of the original is specifically the column A (the column A main version, which is a generally used paper size as shown in FIGS. 13A and 13B). 1
, Second edition,...) And row B (B row main version, first edition, second edition,...). Further, as the standard size, only a commonly used size such as a postcard size or a newspaper size may be used, or another size may be used.

【0043】一般の原稿はほぼこれらの定型サイズに従
っているため、得られた画像データ内の原稿のサイズを
定型サイズと一致させることにより、測距精度の誤差を
補うことができる。これにより、より正確な文字サイズ
やより正確な画像の解像度を知ることができる。なお、
定型サイズはCPU101に記憶される。
Since a general original substantially follows these standard sizes, an error in the distance measurement accuracy can be compensated for by making the size of the original in the obtained image data coincide with the standard size. Thereby, a more accurate character size and a more accurate image resolution can be known. In addition,
The standard size is stored in the CPU 101.

【0044】第2の実施の形態におけるデジタルカメラ
では、図7に示される文字サイズ認識処理に代えて、図
14に示される処理が実行される。図を参照して、ステ
ップS201〜205での処理は、図7におけるステッ
プS101〜S105での処理と同一であるためここで
の説明を繰返さない。
In the digital camera according to the second embodiment, the processing shown in FIG. 14 is executed instead of the character size recognition processing shown in FIG. Referring to the figure, the processing in steps S201 to S205 is the same as the processing in steps S101 to S105 in FIG. 7, and thus description thereof will not be repeated.

【0045】ステップS207において、得られた画像
データ中の原稿領域のサイズが、図12に示された方法
と同一の方法により求められる。そして、ステップS2
09において、求められた原稿領域のサイズと最も近い
定型用紙のサイズが縦横のサイズにより判定され、原稿
のサイズはその定型用紙のサイズであるものとされる。
In step S207, the size of the document area in the obtained image data is obtained by the same method as that shown in FIG. Then, step S2
In step 09, the size of the fixed form paper closest to the obtained size of the manuscript area is determined based on the vertical and horizontal sizes, and the size of the manuscript is the size of the fixed form paper.

【0046】ステップS211で、判定された定型用紙
のサイズを図12に示される原稿画像の横方向の画素数
と縦方向の画素数とで割ることにより、修正された1画
素により捕らえられた画像データの実際のサイズ(解像
度)が求められる。ステップS213で画像データ中の
文字を構成する画素数が計測される。ステップS215
で、修正された解像度と文字を構成する画素数とに基づ
いて文字の現実のサイズが計算される。
In step S211, the determined size of the standard paper is divided by the number of pixels in the horizontal direction and the number of pixels in the vertical direction of the original image shown in FIG. The actual size (resolution) of the data is determined. In step S213, the number of pixels constituting the character in the image data is measured. Step S215
Then, the actual size of the character is calculated based on the corrected resolution and the number of pixels constituting the character.

【0047】本実施の形態においては、CPU101に
定型用紙のサイズを複数記憶させておき、撮像された原
稿画像のサイズから最も近い定型用紙のサイズを選択
し、その定型用紙のサイズが原稿のサイズと識別され
る。これにより、正確な測距情報を得なくとも、正確な
解像度を知ることができる。
In this embodiment, a plurality of standard paper sizes are stored in the CPU 101, and the closest standard paper size is selected from the size of the captured original image. Is identified. Thus, it is possible to know an accurate resolution without obtaining accurate ranging information.

【0048】なお、本実施の形態においては画像データ
中の原稿画像の縦方向のサイズと横方向のサイズとによ
りその原稿画像がどの定型用紙に近いものかを判定する
こととしたが、原稿画像の縦方向と横方向のサイズの比
率も考慮して定型用紙を識別するようにしてもよい。
In the present embodiment, the original image is determined to be close to which standard paper based on the vertical size and the horizontal size of the original image in the image data. The fixed size paper may be identified in consideration of the ratio between the size in the vertical direction and the size in the horizontal direction.

【0049】<第3の実施の形態>第3の実施の形態に
おけるデジタルカメラにおいては、図14に示される処
理に代えて、図15に示される処理が実行される。図1
5に示されるステップS301〜S311での処理は、
図14のステップS201〜S211での処理と同じで
あるため、ここでの説明を繰返さない。第3の実施の形
態におけるデジタルカメラでは、複数の定型用紙サイズ
に基づいて、原稿画像のサイズを判別し、定型用紙のサ
イズに基づいて解像度を決定し、記憶する。そして、記
憶された解像度に基づいて、出力される画像が撮像対象
物のサイズと同じになるように解像度変換を行ない、画
像をプリントする。
<Third Embodiment> In the digital camera according to the third embodiment, the processing shown in FIG. 15 is executed instead of the processing shown in FIG. FIG.
The processing in steps S301 to S311 shown in FIG.
Since the processing is the same as the processing in steps S201 to S211 in FIG. 14, the description will not be repeated here. In the digital camera according to the third embodiment, the size of a document image is determined based on a plurality of standard paper sizes, the resolution is determined based on the standard paper size, and stored. Then, based on the stored resolution, resolution conversion is performed so that the output image has the same size as the imaging target, and the image is printed.

【0050】本実施の形態におけるデジタルカメラにお
いても、撮像対象物(たとえば原稿)と同じサイズで画
像の出力を行なうことができる。
Also in the digital camera according to the present embodiment, an image can be output in the same size as the object to be imaged (for example, an original).

【0051】なお、上述の実施の形態においては文字の
サイズなどを変換することとしたが、原稿画像中の写真
を構成する部分の画素数を求め、その画素数に基づき写
真のサイズを元の原稿画像と同じにするなどの処理を行
なうこともできる。
In the above-described embodiment, the character size and the like are converted. However, the number of pixels of a portion constituting the photograph in the original image is obtained, and the size of the photograph is reduced based on the number of pixels. Processing such as making the same as the original image can also be performed.

【0052】さらに、第2および第3の実施の形態にお
いては、定型用紙サイズを記憶することとしたが、他の
物体のサイズを記憶し、撮像された物体のサイズを修正
することとしてもよい。
Further, in the second and third embodiments, the standard paper size is stored. However, the size of another object may be stored and the size of the imaged object may be corrected. .

【0053】今回開示された実施の形態はすべての点で
例示であって制限的なものではないと考えられるべきで
ある。本発明の範囲は上記した説明ではなくて特許請求
の範囲によって示され、特許請求の範囲と均等の意味お
よび範囲内でのすべての変更が含まれることが意図され
る。
The embodiments disclosed this time are to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

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

【図1】本発明の第1の実施の形態におけるデジタルカ
メラを前方から見た斜視図である。
FIG. 1 is a perspective view of a digital camera according to a first embodiment of the present invention as viewed from the front.

【図2】デジタルカメラを後方から見た斜視図である。FIG. 2 is a perspective view of the digital camera as viewed from behind.

【図3】デジタルカメラの構成を示すブロック図であ
る。
FIG. 3 is a block diagram illustrating a configuration of a digital camera.

【図4】デジタルカメラの行なう画像処理を示すフロー
チャートである。
FIG. 4 is a flowchart illustrating image processing performed by the digital camera.

【図5】画像データの入力状態を説明するための図であ
る。
FIG. 5 is a diagram for explaining an input state of image data.

【図6】煽り補正の方法を説明するための図である。FIG. 6 is a diagram for explaining a tilt correction method.

【図7】図4の文字サイズ認識処理(S7)の内容を示
すフローチャートである。
FIG. 7 is a flowchart showing the contents of a character size recognition process (S7) of FIG. 4;

【図8】測距情報とカメラの固有情報とから、撮像され
る画像データのサイズを求める処理を説明するための図
である。
FIG. 8 is a diagram for explaining a process of obtaining the size of image data to be captured from distance measurement information and camera-specific information.

【図9】1つの画素に対応する画像データの大きさを求
める処理を説明するための図である。
FIG. 9 is a diagram for explaining a process of obtaining the size of image data corresponding to one pixel.

【図10】入力された画像データの具体例を示す図であ
る。
FIG. 10 is a diagram illustrating a specific example of input image data.

【図11】図10の画像データ中の一部を拡大した図で
ある。
FIG. 11 is an enlarged view of a part of the image data of FIG. 10;

【図12】原稿画像のサイズを求める処理を説明するた
めの図である。
FIG. 12 is a diagram illustrating a process of obtaining the size of a document image.

【図13】第2の実施の形態におけるデジタルカメラが
記憶する定型用紙サイズを示す図である。
FIG. 13 is a diagram illustrating standard paper sizes stored in a digital camera according to the second embodiment.

【図14】第2の実施の形態におけるデジタルカメラの
行なう処理を示すフローチャートである。
FIG. 14 is a flowchart illustrating a process performed by the digital camera according to the second embodiment.

【図15】第3の実施の形態におけるデジタルカメラが
行なう画像処理を示すフローチャートである。
FIG. 15 is a flowchart illustrating image processing performed by the digital camera according to the third embodiment.

【図16】従来技術の問題点を説明するための図であ
る。
FIG. 16 is a diagram for explaining a problem of the related art.

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

101 CPU 111 CCD部 109 文字サイズ認識部 113 文字サイズ変換部 119 測距部 101 CPU 111 CCD unit 109 Character size recognition unit 113 Character size conversion unit 119 Distance measuring unit

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成11年12月14日(1999.12.
14)
[Submission date] December 14, 1999 (1999.12.
14)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Correction target item name] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【特許請求の範囲】[Claims]

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0009[Correction target item name] 0009

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
この発明のある局面に従うと画像処理装置は、撮像対象
物を撮像することで画像データを取得する取得手段と、
撮像対象物までの距離を測定する測定手段と、測定され
た距離を用いて取得された画像データの解像度を判定す
る解像度判定手段とを備える。
According to an aspect of the present invention, there is provided an image processing apparatus comprising: an acquisition unit configured to acquire image data by capturing an image of an imaging target;
The image processing apparatus includes a measuring unit that measures a distance to an imaging target, and a resolution determining unit that determines a resolution of image data acquired using the measured distance.

【手続補正3】[Procedure amendment 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0010[Correction target item name] 0010

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0010】好ましくは画像処理装置は、物体のサイズ
を予め複数記憶する記憶手段と、取得された画像データ
および測定された距離に基づいて撮像対象物のサイズを
判定するサイズ判定手段と、記憶された物体のサイズと
判定された撮像対象物のサイズとに基づいて、判定され
た解像度を修正する修正手段とをさらに備える。
Preferably, the image processing apparatus includes a storage unit for storing a plurality of sizes of the object in advance, and a size determination unit for determining the size of the imaging target based on the acquired image data and the measured distance. And a correcting means for correcting the determined resolution based on the stored size of the object and the determined size of the imaging target.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0012[Correction target item name] 0012

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0012】この発明の他の局面に従うと画像処理装置
は、物体のサイズを予め複数記憶する記憶手段と、撮像
対象物を撮像することで画像データを取得する取得手段
と、撮像対象物までの距離を測定する測定手段と、取得
された画像データおよび測定された距離に基づいて、撮
像対象物のサイズを判定するサイズ判定手段と、記憶さ
れた物体のサイズに基づいて、判定された撮像対象物の
サイズを修正する修正手段とを備える。
According to another aspect of the present invention, an image processing apparatus includes: a storage unit for storing a plurality of object sizes in advance; an acquisition unit for acquiring image data by imaging an imaging target; Measuring means for measuring the distance, size determining means for determining the size of the imaging target based on the acquired image data and the measured distance, and the imaging target determined based on the size of the stored object Correction means for correcting the size of the object.

【手続補正5】[Procedure amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0014[Correction target item name] 0014

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0014】この発明に従うと取得された画像データ
解像度を判定することができる。さらに判定された解像
度に基づいて撮像対象物に描かれた文字のサイズを識別
することも可能である。
According to the present invention, the resolution of the acquired image data can be determined. Furthermore, it is also possible to identify the size of the character drawn on the imaging target based on the determined resolution.

【手続補正6】[Procedure amendment 6]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0049[Correction target item name] 0049

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0049】<第3の実施の形態>第3の実施の形態に
おけるデジタルカメラにおいては、図14に示される処
理に代えて、図15に示される処理が実行される。図1
5に示されるステップS301〜S309での処理は、
図14のステップS201〜S209での処理と同じで
あるため、ここでの説明を繰返さない。第3の実施の形
態におけるデジタルカメラでは、ステップS311で
数の定型用紙サイズに基づいて、原稿画像のサイズを判
別し、定型用紙のサイズに基づいて解像度を決定し、記
憶する。そして、ステップS9(図4参照)では、記憶
された解像度に基づいて、出力される画像が撮像対象物
のサイズと同じになるように解像度変換を行ない、画像
をプリントする。これにより、文字はそのサイズが原稿
と同じサイズで出力される。
<Third Embodiment> In the digital camera according to the third embodiment, the processing shown in FIG. 15 is executed instead of the processing shown in FIG. FIG.
Processing in step S301~S3 09 shown in 5,
Is the same as the processing in step S201~S2 09 in FIG. 14, description thereof will not be repeated here. In the digital camera according to the third embodiment, in step S311, the size of the document image is determined based on the plurality of standard paper sizes, and the resolution is determined based on the standard paper size and stored. . Then, in step S9 (see FIG. 4), resolution conversion is performed based on the stored resolution so that the output image has the same size as the imaging target, and the image is printed. As a result, the size of the text
Is output in the same size as.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 撮像対象物を撮像することで画像を取得
する取得手段と、 前記撮像対象物までの距離を測定する測定手段と、 前記測定された距離を用いて、前記取得された画像の解
像度を判定する解像度判定手段とを備えた、画像処理装
置。
An acquisition unit configured to acquire an image by capturing an image of an imaging target; a measurement unit configured to measure a distance to the imaging target; and a measurement unit configured to calculate a distance to the acquired image using the measured distance. An image processing apparatus comprising: a resolution determining unit that determines a resolution.
【請求項2】 物体のサイズを予め複数記憶する記憶手
段と、 前記取得された画像および前記測定された距離に基づい
て前記撮像対象物のサイズを判定するサイズ判定手段
と、 前記記憶された物体のサイズと前記判定された撮像対象
物のサイズとに基づいて、前記判定された解像度を修正
する修正手段とをさらに備えた、請求項1に記載の画像
処理装置。
2. A storage unit that stores a plurality of object sizes in advance; a size determination unit that determines the size of the imaging target based on the acquired image and the measured distance; and the stored object. The image processing apparatus according to claim 1, further comprising: a correction unit configured to correct the determined resolution based on the size of the image capturing target and the determined size of the imaging target.
【請求項3】 前記判定された解像度に基づいて、前記
撮像対象物に描かれた文字のサイズを識別する識別手段
をさらに備えた、請求項1または2に記載の画像処理装
置。
3. The image processing apparatus according to claim 1, further comprising an identification unit configured to identify a size of a character drawn on the imaging target based on the determined resolution.
【請求項4】 物体のサイズを予め複数記憶する記憶手
段と、 撮像対象物を撮像することで画像を取得する取得手段
と、 前記撮像対象物までの距離を測定する測定手段と、 前記取得された画像および前記測定された距離に基づい
て、前記撮像対象物のサイズを判定するサイズ判定手段
と、 前記記憶された物体のサイズに基づいて、前記判定され
た撮像対象物のサイズを修正する修正手段とを備えた、
画像処理装置。
4. A storage unit for storing a plurality of sizes of an object in advance, an obtaining unit for obtaining an image by imaging an imaging target, a measuring unit for measuring a distance to the imaging target, Size determining means for determining the size of the imaging target based on the obtained image and the measured distance; and correction for correcting the determined size of the imaging target based on the size of the stored object. With means,
Image processing device.
【請求項5】 前記撮像対象物は原稿であり、 前記記憶手段は原稿の定型サイズを複数記憶する、請求
項2または4に記載の画像処理装置。
5. The image processing apparatus according to claim 2, wherein the object to be imaged is a document, and the storage unit stores a plurality of fixed sizes of the document.
JP11000653A 1999-01-05 1999-01-05 Image processor Pending JP2000201293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11000653A JP2000201293A (en) 1999-01-05 1999-01-05 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11000653A JP2000201293A (en) 1999-01-05 1999-01-05 Image processor

Publications (1)

Publication Number Publication Date
JP2000201293A true JP2000201293A (en) 2000-07-18

Family

ID=11479686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11000653A Pending JP2000201293A (en) 1999-01-05 1999-01-05 Image processor

Country Status (1)

Country Link
JP (1) JP2000201293A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002305675A (en) * 2001-04-05 2002-10-18 Nikon Corp Electronic camera and camera system
JP2002305676A (en) * 2001-04-05 2002-10-18 Nikon Corp Electronic camera
JP2003006572A (en) * 2001-06-25 2003-01-10 Ricoh Co Ltd Character recognition device, resolution estimation method, program and storage medium
JP2005122326A (en) * 2003-10-14 2005-05-12 Casio Comput Co Ltd Photographed image projecting apparatus, and image processing method and program of photographed image projecting apparatus
JP2007180988A (en) * 2005-12-28 2007-07-12 Casio Comput Co Ltd Imaging apparatus, display method, shake image confirming method, program, and storage medium
US7286160B2 (en) * 2001-04-05 2007-10-23 Nikon Corporation Method for image data print control, electronic camera and camera system
JP2012129754A (en) * 2010-12-14 2012-07-05 Fuji Xerox Co Ltd Image processing device and program
US8274568B2 (en) 2001-04-05 2012-09-25 Nikon Corporation Method for image data print control, electronic camera and camera system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0923375A (en) * 1995-07-10 1997-01-21 Konica Corp Digital still camera and video conference system
JPH09293121A (en) * 1996-04-25 1997-11-11 Kyocera Corp Character image photographing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0923375A (en) * 1995-07-10 1997-01-21 Konica Corp Digital still camera and video conference system
JPH09293121A (en) * 1996-04-25 1997-11-11 Kyocera Corp Character image photographing device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002305675A (en) * 2001-04-05 2002-10-18 Nikon Corp Electronic camera and camera system
JP2002305676A (en) * 2001-04-05 2002-10-18 Nikon Corp Electronic camera
US7286160B2 (en) * 2001-04-05 2007-10-23 Nikon Corporation Method for image data print control, electronic camera and camera system
JP4586290B2 (en) * 2001-04-05 2010-11-24 株式会社ニコン Electronic camera
JP4586289B2 (en) * 2001-04-05 2010-11-24 株式会社ニコン Electronic camera and camera system
US8274568B2 (en) 2001-04-05 2012-09-25 Nikon Corporation Method for image data print control, electronic camera and camera system
JP2003006572A (en) * 2001-06-25 2003-01-10 Ricoh Co Ltd Character recognition device, resolution estimation method, program and storage medium
JP4634656B2 (en) * 2001-06-25 2011-02-16 株式会社リコー Character recognition device, resolution estimation method, program, and storage medium
JP2005122326A (en) * 2003-10-14 2005-05-12 Casio Comput Co Ltd Photographed image projecting apparatus, and image processing method and program of photographed image projecting apparatus
JP2007180988A (en) * 2005-12-28 2007-07-12 Casio Comput Co Ltd Imaging apparatus, display method, shake image confirming method, program, and storage medium
JP2012129754A (en) * 2010-12-14 2012-07-05 Fuji Xerox Co Ltd Image processing device and program

Similar Documents

Publication Publication Date Title
US20050276481A1 (en) Particular-region detection method and apparatus, and program therefor
JP3987264B2 (en) License plate reader and method
US7502493B2 (en) Image processing apparatus and method and program storage medium
US6473523B1 (en) Portable text capturing method and device therefor
JP2003046844A (en) Highlighting method, camera, and focus highlighting system
JP3716519B2 (en) Camera, external device and image processing device
JP2007189428A (en) Apparatus and program for index image output
JP2007148691A (en) Image processor
JP2000201293A (en) Image processor
JP2003016440A (en) Photograph extraction method, device, program, and recording medium
JP2008209306A (en) Camera
JP4145014B2 (en) Image processing device
JP3582988B2 (en) Non-contact image reader
JP4149301B2 (en) Method for extracting feature parts of continuous image, program thereof, and digital camera
JP6540597B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
US20050094861A1 (en) Positional synchronization in a multivoting character recognition environment
US8630503B2 (en) Image processing apparatus, image processing method, and computer program
JPH06131495A (en) Image information extraction system
JP2007249526A (en) Imaging device, and face area extraction method
JP3683392B2 (en) Solid-state imaging camera
JP2000030050A (en) Picture processor, its method, and recording medium having recorded picture processing program thereon
WO2023145688A1 (en) Imaging device test chart and evaluation method, and recording medium
JPH10105677A (en) Method and device for joining pictures
JP2001148762A (en) Device and method for reading image, and storage medium
JPH09186850A (en) Stamp printer

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030415