JP6885111B2 - Image processing equipment and image forming equipment - Google Patents
Image processing equipment and image forming equipment Download PDFInfo
- Publication number
- JP6885111B2 JP6885111B2 JP2017040830A JP2017040830A JP6885111B2 JP 6885111 B2 JP6885111 B2 JP 6885111B2 JP 2017040830 A JP2017040830 A JP 2017040830A JP 2017040830 A JP2017040830 A JP 2017040830A JP 6885111 B2 JP6885111 B2 JP 6885111B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- original
- range
- input image
- document
- 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.)
- Active
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimiles In General (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Analysis (AREA)
Description
本発明は、画像処理装置および画像形成装置に関する。 The present invention relates to an image processing device and an image forming device.
特許文献1には、原稿から画像を読み取る読み取り手段と、2つの原稿面の画像を1つの画像として形成する機能を有する画像形成装置であって、操作者が原稿の種類を指定する原稿種指定手段と、操作者に前記原稿種に応じて2つの原稿面の切り替えを指示する原稿面切り替え指示手段とを備え、前記指定された原稿種の前記原稿面の読み込みの際に前記原稿種と原稿面により予め特定された画像処理を行なう画像処理手段と、前記読み込んだ2つの画像を所定の出力サイズの1つの画像として形成する画像形成手段とを設けたことを特徴とする画像形成装置が開示されている。
原稿を読み取り、読み取った原稿の画像を記録媒体に形成するといった複数の機能を有する画像形成装置で、例えば自動車運転免許証及びパスポート等の身分証明書を複写することがある。 An image forming apparatus having a plurality of functions such as reading a manuscript and forming an image of the read manuscript on a recording medium may copy an identification card such as a driver's license and a passport.
身分証明書にも様々な形状があり、身分証明書の形状によっては、読み取り装置で読み取った身分証明書を含む画像から、身分証明書に相当する箇所が正しく抽出されずに、身分証明書全体が記録媒体に形成されないことがある。 There are various shapes of ID cards, and depending on the shape of the ID card, the part corresponding to the ID card is not correctly extracted from the image including the ID card read by the reading device, and the entire ID card is not extracted. May not be formed on the recording medium.
また、身分証明書を画像として読み取る読み取り装置の解像度が低くなるに従って、読み取り装置で読み取った身分証明書を含む画像が不鮮明となり、身分証明書に相当する箇所が正しく抽出されずに、身分証明書全体が記録媒体に形成されないことがある。 In addition, as the resolution of the reading device that reads the identification card as an image becomes lower, the image including the identification card read by the reading device becomes unclear, and the part corresponding to the identification card is not correctly extracted, and the identification card is not extracted correctly. The whole may not be formed on the recording medium.
一方で、身分証明書の大きさに関わらず、例えば定型の大きさで身分証明書に相当する箇所を画像から抽出すると、身分証明書の背景部分の映り込みが大きくなり、場合によっては有効な身分証明書の複写として受け付けてもらえないことがある。 On the other hand, regardless of the size of the ID card, for example, if a part of the standard size corresponding to the ID card is extracted from the image, the background part of the ID card will be reflected more, which is effective in some cases. It may not be accepted as a copy of your ID.
本発明は、上記内容を鑑みてなされたものであり、原稿を読み取る読み取り装置の解像度または原稿の形状に関わらず、原稿の背景部分の映り込みを抑制しつつ、原稿全体が含まれる画像を取得することができる画像処理装置および画像形成装置を提供することを目的とする。 The present invention has been made in view of the above contents, and obtains an image including the entire original while suppressing reflection of the background portion of the original regardless of the resolution of the scanning device for reading the original or the shape of the original. It is an object of the present invention to provide an image processing apparatus and an image forming apparatus capable of the present invention.
上記目的を達成するために、請求項1記載の画像処理装置の発明は、読み取り装置で読み取られた原稿を含む入力画像を取得する取得手段と、前記取得手段で取得した前記入力画像から検出した前記原稿の輪郭を表す基準範囲を拡張し、前記原稿を含む原稿画像の範囲として設定する設定手段と、前記設定手段で設定した範囲の前記原稿画像を出力する出力手段と、を備え、前記設定手段は、前記原稿画像の範囲が前記入力画像の範囲を超える場合、前記原稿画像の範囲が前記入力画像の範囲内に含まれるように、前記基準範囲に対する拡張幅を設定する。
In order to achieve the above object, the invention of the image processing apparatus according to
請求項2記載の発明は、読み取り装置で読み取られた原稿を含む入力画像を取得する取得手段と、前記取得手段で取得した前記入力画像から検出した前記原稿の輪郭を表す基準範囲を拡張し、前記原稿を含む原稿画像の範囲として設定する設定手段と、前記設定手段で設定した範囲の前記原稿画像を出力する出力手段と、を備え、前記設定手段は、前記原稿の輪郭に曲線が含まれる場合、前記入力画像の予め定めた方向に対する前記基準範囲の傾斜角が大きくなるに従って、前記基準範囲に対する拡張幅を小さくする。
The invention according to
請求項3記載の発明は、読み取り装置で読み取られた原稿を含む入力画像を取得する取得手段と、前記取得手段で取得した前記入力画像から検出した前記原稿の輪郭を表す基準範囲を拡張し、前記原稿を含む原稿画像の範囲として設定する設定手段と、前記設定手段で設定した範囲の前記原稿画像を出力する出力手段と、を備え、前記設定手段は、前記読み取り装置における前記入力画像の読み取り精度が高くなるに従って、前記基準範囲に対する拡張幅を小さくする。
The invention according to
請求項4記載の発明は、読み取り装置で読み取られた原稿を含む入力画像を取得する取得手段と、前記取得手段で取得した前記入力画像から検出した前記原稿の輪郭を表す基準範囲を拡張し、前記原稿を含む原稿画像の範囲として設定する設定手段と、前記設定手段で設定した範囲の前記原稿画像を出力する出力手段と、前記原稿画像に関する情報を報知する報知手段と、を備え、前記報知手段は、前記入力画像に前記原稿が含まれない場合、前記入力画像に前記原稿が含まれるように、前記原稿を前記読み取り装置に配置するよう報知する。
The invention according to
請求項5記載の発明は、前記報知手段は、前記出力手段から前記原稿画像を出力する前に、前記入力画像を報知する。
In the invention according to
請求項6記載の発明は、前記設定手段は、前記原稿の変曲点を用いて前記基準範囲を設定する。 In the invention according to claim 6, the setting means sets the reference range by using the inflection point of the manuscript.
請求項7記載の発明は、前記設定手段は、前記入力画像に前記基準範囲の各頂点が含まれる場合、前記基準範囲における少なくとも2つの頂点からの拡張幅が同じになるように、前記原稿画像の範囲を設定する。 According to the invention of claim 7, when the input image includes each vertex of the reference range, the manuscript image has the same extension width from at least two vertices in the reference range. Set the range of.
請求項8記載の発明は、前記設定手段は、前記基準範囲における各頂点からの拡張幅が同じになるように、前記原稿画像の範囲を設定する。
請求項9記載の発明は、前記設定手段は、前記入力画像における前記基準範囲の位置に関わらず、前記基準範囲における少なくとも2つの頂点からの拡張幅が同じになるように、前記原稿画像の範囲を設定する。
In the invention according to claim 8, the setting means sets the range of the original image so that the extension width from each vertex in the reference range is the same .
According to a ninth aspect of the present invention, the setting means has the same range of the original image so that the extension width from at least two vertices in the reference range is the same regardless of the position of the reference range in the input image. To set .
請求項10記載の発明は、前記設定手段は、前記入力画像に同じ種類の複数の前記原稿画像が含まれる場合、各々の前記原稿画像の大きさが同じになるように、前記基準範囲に対する拡張幅を設定する。
The invention according to
請求項11記載の発明は、前記設定手段は、複数の前記入力画像に同じ種類の前記原稿の画像が各々含まれる場合、各々の前記原稿に対する前記原稿画像の大きさが同じになるように、前記基準範囲に対する拡張幅を設定する。 According to the invention of claim 11 , when the plurality of input images include images of the same type of manuscript, the size of the manuscript image with respect to each of the manuscripts is the same. The extension width with respect to the reference range is set.
請求項12記載の発明は、前記取得手段は、利用者が指定した拡張幅を取得し、前記設定手段は、前記取得手段で取得した拡張幅を、前記基準範囲に対する拡張幅としても用いる。
The invention of
請求項13記載の発明は、前記設定手段は、前記原稿画像が予め定めた配置方向に対して傾斜している場合、前記原稿画像が前記予め定めた配置方向に沿って配置されるように、前記原稿画像の傾斜を補正する。
The invention of
請求項14記載の画像形成装置の発明は、原稿を画像として読み取る読み取り手段と、請求項1から請求項11の何れか1項に記載の画像処理装置と、前記画像処理装置から出力された原稿画像を記録媒体に形成する画像形成手段と、を備える。
Invention of the image forming apparatus according to
請求項1、14記載の発明によれば、原稿を読み取る読み取り装置の解像度または原稿の形状に関わらず、原稿の背景部分の映り込みを抑制しつつ、原稿全体が含まれる画像を取得することができる、という効果を有する。
According to the invention of
請求項2記載の発明によれば、原稿画像の傾斜角によらず拡張幅を予め定めた長さに固定する場合と比較して、原稿の原寸大に近い原稿画像を取得することができる、という効果を有する。
According to the invention of
請求項3記載の発明によれば、入力画像の読み取り精度によらずに拡張幅を予め定めた長さに固定する場合と比較して、原稿の原寸大に近い原稿画像を取得することができる、という効果を有する。
According to the invention of
請求項4記載の発明によれば、入力画像の再取得を報知しない場合と比較して、原稿全体が含まれる入力画像を取得することができる、という効果を有する。 According to the fourth aspect of the present invention, there is an effect that the input image including the entire manuscript can be acquired as compared with the case where the reacquisition of the input image is not notified.
請求項5記載の発明によれば、原稿画像を確認させずに外部に出力する場合と比較して、原稿画像に原稿全体が含まれていない頻度を低減させることができる、という効果を有する。 According to the fifth aspect of the present invention, there is an effect that the frequency in which the entire manuscript is not included in the manuscript image can be reduced as compared with the case where the manuscript image is output to the outside without being confirmed.
請求項6記載の発明によれば、原稿の変曲点から設定した基準範囲を原稿画像の範囲とする場合と比較して、原稿全体が含まれる画像を取得することができる、という効果を有する。 According to the invention of claim 6, it has an effect that an image including the entire manuscript can be obtained as compared with the case where the reference range set from the inflection point of the manuscript is set as the range of the manuscript image. ..
請求項7記載の発明によれば、基準範囲の拡張幅が各々異なる場合と比較して、原稿画像の視認性を向上させることができる、という効果を有する。 According to the invention of claim 7, the visibility of the original image can be improved as compared with the case where the extended widths of the reference ranges are different from each other.
請求項8記載の発明によれば、基準範囲の拡張幅が各々異なる場合と比較して、原稿画像の視認性を更に向上させることができる、という効果を有する。
請求項9記載の発明によれば、入力画像の予め定めた範囲に基準範囲が含まれる際に、基準範囲の拡張幅を調整する場合と比較して、原稿の読み取りに関する操作性を向上させることができる、という効果を有する。
According to the invention of claim 8, the visibility of the original image can be further improved as compared with the case where the extended widths of the reference ranges are different from each other.
According to the invention of claim 9, when the reference range is included in the predetermined range of the input image, the operability regarding reading the original is improved as compared with the case where the extension width of the reference range is adjusted. It has the effect of being able to.
請求項10記載の発明によれば、1つの入力画像に含まれる同じ種類の原稿画像の大きさを調整しない場合と比較して、原稿画像の内容の確認効率を向上させることができる、という効果を有する。
According to the invention of
請求項11記載の発明によれば、複数の入力画像に含まれる同じ種類の原稿画像の大きさを調整しない場合と比較して、原稿画像の内容の確認効率を向上させることができる、という効果を有する。
According to the invention of
請求項12記載の発明によれば、画像処理装置で算出した拡張幅を用いる場合と比較して、利用者が意図する大きさの原稿画像を取得することができる、という効果を有する。
According to the invention of
請求項13記載の発明によれば、原稿画像の配置を補正しない場合と比較して、原稿画像の内容の確認効率を向上させることができる、という効果を有する。
According to the invention of
以下、本実施の形態について図面を参照しながら説明する。なお、機能が同じ構成要素および処理には、全図面を通して同じ符合を付与し、重複する説明を省略する。 Hereinafter, the present embodiment will be described with reference to the drawings. The components and processes having the same function are given the same code throughout the drawings, and duplicate description is omitted.
図1に、画像形成装置10の要部斜視図を示す。画像形成装置10は一例として、紙等の記録媒体に形成された画像を画像データとして読み込むスキャナ機能、画像データに対応した画像を記録媒体に形成する印刷機能、公衆回線等に接続された他の画像形成装置等に対して、画像データを送信するファクシミリ(facsimile:FAX)機能、及び記録媒体に形成された画像を他の記録媒体に複写する複写機能を有する。
FIG. 1 shows a perspective view of a main part of the
なお、画像形成装置10が有する機能はスキャナ機能、印刷機能、FAX機能、及び複写機能に限定されず、例えば3次元プリンタのように3Dデータに基づいて立体物を形成する機能を含むものであってもよい。
The functions of the
画像形成装置10には、画像形成装置10に備えられた各機能を制御する制御部2が含まれる。そして、画像形成装置10の上部には、例えば原稿読み取り部12が設けられ、原稿読み取り部12の下方に画像形成ユニット19が設けられている。
The
原稿読み取り部12は、図示しない原稿読み取り装置と原稿カバー16内の原稿搬送部18を含んで構成される。原稿搬送部18は、原稿カバー16に設けられている原稿台16A上に載せられた原稿20を順に引き込んで、図示しない搬送原稿読み取りガラス(「プラテンガラス」ともいう)上に搬送する。そして、原稿読み取り部12は、図示しない搬送原稿読み取りガラス上に搬送された原稿20の画像を、図示しない光学読み取り装置で入力画像70として読み取る。その後、原稿搬送部18は、画像の読み込みが終了した原稿20を原稿カバー16に設けられている排出台16B上に排出する。
The
一方、画像形成ユニット19は、記録媒体の種別やサイズ毎に分類された用紙収容部28に収容される記録媒体上に、例えば電子写真方式によって入力画像70に基づく画像を形成する。なお、画像形成ユニット19が記録媒体に形成する画像の色に制約はなく、カラー画像であっても白黒画像であってもよい。画像形成ユニット19は、画像形成手段の一例である。
On the other hand, the
画像形成装置10の利用者(以降、単に「利用者」という)によってスキャナ機能の使用が指示された場合、制御部2は、原稿読み取り部12を制御し、原稿読み取り部12で読み取った原稿20の入力画像70を、例えばハードディスク等の記憶媒体に記憶する。
When the user of the image forming apparatus 10 (hereinafter, simply referred to as “user”) instructs the use of the scanner function, the
また、利用者によって印刷機能の使用が指示された場合、制御部2は、画像形成ユニット19を制御し、ユーザによって指定された入力画像70に基づく画像を、例えば紙等の記録媒体に形成する。
When the user instructs to use the print function, the
また、利用者によってFAX機能の使用が指示された場合、制御部2は、原稿読み取り部12を制御して原稿読み取り部12で読み取った原稿20の入力画像70に基づく画像、又はユーザによって指定された画像を、公衆回線等に接続されたFAX機能を有する指定先の他の画像形成装置へ送信すると共に、当該他の画像形成装置から画像データを受信した場合、画像形成ユニット19を制御して、受信した画像データに基づく画像を記録媒体に形成する。
When the user instructs to use the FAX function, the
また、利用者によって複写機能の使用が指示された場合、制御部2は、原稿読み取り部12を制御して原稿読み取り部12で読み取った原稿20の入力画像70に基づく画像、又はユーザによって指定された画像を、画像形成ユニット19を制御して記録媒体に形成する。
When the user instructs to use the copy function, the
一方、画像形成装置10には、利用者による各種機能の実行に関する操作を受け付けると共に、画像形成装置10の機能に関する各種情報を表示するユーザインターフェース装置22(以降、「UI装置22」という)が設けられている。具体的には、UI装置22には、例えばタッチパネルが重畳され、ソフトウェアプログラムによってユーザからの操作を受け付ける表示ボタン等や各種情報が表示される液晶ディスプレイ24、並びに、テンキー及びスタートボタンなどのハードウェアキー26等が設けられている。
On the other hand, the
更に、UI装置22には、例えばUniversal Serial Bus(USB)メモリやメモリカード等の可搬型記憶媒体を接続し、可搬型記憶媒体に記憶された画像データで表される画像を画像形成装置10に読み込むと共に、例えばスキャナ機能で原稿20から読み取った入力画像70を表す画像データ等、画像形成装置10内部のデータを可搬型記憶媒体に書き込むインターフェースとなる外部端子30を備える。
Further, a portable storage medium such as a Universal Serial Bus (USB) memory or a memory card is connected to the
UI装置22が備えるデバイスは上記の内容に限られず、例えば音声で利用者に情報を通知するスピーカ、または音声で利用者の指示を受け付けるマイク等を備えるようにしてもよい。このように、UI装置22は、画像形成装置10での処理内容を文字、記号、図形、画像および音声等の少なくとも1つを用いて利用者に知らせる報知手段の一例である。
The device included in the
図2は、画像形成装置10の構成例を示す機能ブロック図である。画像形成装置10は、原稿読み取り装置25を備えた原稿読み取り部12、取得部13、設定部15、画像出力部17、画像形成ユニット19およびUI装置22を含む。UI装置22には、例えばタッチパネルおよびハードウェアキー26等を備えた入力部22A、並びに、液晶ディスプレイ24等を備えた出力部22Bを含む。
FIG. 2 is a functional block diagram showing a configuration example of the
取得部13は取得手段の一例であり、原稿読み取り部12で読み取られた原稿20の画像を入力画像70として取得し、設定部15へ通知する。また、取得部13は、利用者によってUI装置22の入力部22Aから入力された指示等を取得する。
The
設定部15は、取得部13から入力画像70を受け付けると、入力画像70に含まれる原稿20の変曲点を検出し、検出した変曲点を線で接続した閉領域を形成することによって、入力画像70における原稿20の範囲を示す基準範囲62を設定する。ここで、変曲点とは、線の進行方向が変化し始める位置に対応した点のことである。また、基準範囲62とは、入力画像70における原稿20の仮の位置を表す範囲である。
When the
設定部15は、設定した基準範囲62を拡張することで、入力画像70における原稿20の確定した位置を表す範囲(以降、「原稿画像66の範囲」という)を設定し、設定した原稿画像66の範囲を画像出力部17に通知する。すなわち、設定部15は設定手段の一例である。
By expanding the
また、設定部15は、UI装置22の出力部22Bと接続され、取得部13から受け付けた入力画像70や、原稿画像66の範囲の設定に伴う各種情報を、出力部22Bを介して利用者に通知する。
Further, the setting
画像出力部17は、原稿画像66の範囲を設定部15から受け付けると、入力画像70から原稿画像66の範囲で示された領域を抽出して、抽出した原稿画像66を例えば画像形成ユニット19に出力する。すなわち、画像出力部17は出力手段の一例である。
When the
なお、本実施の形態では、画像出力部17は、抽出した原稿画像66を画像形成ユニット19に出力するものとして説明するが、画像出力部17による原稿画像66の出力先は画像形成ユニット19に限られない。例えば、外部端子30に挿入された可搬型記憶媒体に原稿画像66を出力してもよい。また、例えばインターネット等の通信回線に接続された通信装置を介して、通信回線に接続されたスマートフォンまたはタブレット端末、若しくはパーソナルコンピュータ等の情報端末に原稿画像66を出力するようにしてもよい。
In the present embodiment, the
画像形成ユニット19は、画像出力部17から原稿画像66を受け付けると、受け付けた原稿画像66を記録媒体に形成する。
When the
次に、図3を参照して、画像形成装置10の電気系統の要部構成について説明する。画像形成装置10の制御部2は、例えばコンピュータ50を用いて構成される。
Next, with reference to FIG. 3, the configuration of a main part of the electrical system of the
コンピュータ50は、CPU(Central Processing Unit)51、RAM(Random Access Memory)52、ROM(Read Only Memory)53、不揮発性メモリ54および入出力インターフェース(Input Output:I/O)55がバス56を介して各々接続され、I/O55には画像形成ユニット19、液晶ディスプレイ24、原稿読み取り装置25、入力デバイス29および通信装置27が接続されている。液晶ディスプレイ24および入力デバイス29は、UI装置22に含まれるデバイスである。
The
なお、I/O55に接続される液晶ディスプレイ24は一例であり、原稿読み取り装置25で読み取った原稿20の画像を利用者に表示するデバイスであればどのようなものであってもよく、有機EL(Electroluminescence)ディスプレイまたは電子ペーパー等であってもよい。また、入力デバイス29は、マイク、タッチパネルおよびハードウェアキー26といった、利用者からの指示を受け付けるデバイスの総称である。
The
通信装置27は、画像形成装置10を公衆回線に接続し、FAX機能を有する他の画像形成装置とFAX機能を用いて画像を送受信する。また、通信装置27は、公衆回線だけではなくインターネット等の通信回線に接続し、例えば原稿画像66等のデータを送受信する。
The
RAM52は、CPU51によるプログラムの実行時のワークエリア等として用いられ、ROM53には、画像形成装置10の動作を規定したプログラムが予め記憶されている。更に、不揮発性メモリ54には、プログラムの実行時にCPU51が参照する各種パラメータ及びテーブル等が予め記憶される。CPU51は、取得部13、設定部15および画像出力部17に相当する機能を実行する
The
なお、図3に示したI/O55に接続される装置は一例であり、図3に示した装置等に限られないことは言うまでもない。
Needless to say, the device connected to the I /
次に、本実施形態に係る画像形成装置10の作用について説明する。
Next, the operation of the
図4は、原稿読み取り装置25で原稿20が読み取られた場合に、制御部2のCPU51によって実行される画像処理プログラムにおける画像処理の流れの一例を示すフローチャートである。以降では、原稿20の一例である身分証明書60を原稿読み取り装置25で読み取る例について説明する。
FIG. 4 is a flowchart showing an example of the flow of image processing in the image processing program executed by the
まず、ステップS10において、CPU51は、原稿読み取り装置25で読み取った入力画像70を取得し、例えばRAM52の予め定めた領域に記憶する。
First, in step S10, the
入力画像70の形状は原稿読み取り装置25における原稿20の読み取り領域の形状に従う。ここでは一例として、原稿20の読み取り領域は矩形とする。すなわち、入力画像70の形状は矩形となる。そして、例えば入力画像70の左上の頂点の座標を原点とし、原点から入力画像70の右上の頂点に沿った方向をX軸、原点から入力画像70の左下に沿った方向をY軸とするXY座標系を入力画像70に対して設定する。
The shape of the
ステップS20において、CPU51は、ステップS10で取得した入力画像70に対して、例えば公知のエッジ検出処理等を実行し、身分証明書60の輪郭に相当する線分を抽出する。そして、CPU51は、エッジ検出処理を実行した入力画像70を予め定めた方向に走査しながら線分の変曲点を検出し、検出した線分の変曲点の座標を身分証明書60の角に相当する座標とする。
In step S20, the
ここで、「予め定めた方向」とはX軸に沿った方向をいい、CPU51は、原点からX軸に沿って入力画像70を走査しながら入力画像70の画素を読み込み、入力画像70の右端まで達すると、今度は走査ラインをY軸方向に1ラインずらすことで、入力画像70全体を走査する。
Here, the "predetermined direction" means a direction along the X-axis, and the
図5は、矩形の身分証明書60を含む入力画像70から検出した、身分証明書60の角に相当する座標の一例を示す図である。この場合、線分の変曲点は矩形の頂点となることから、身分証明書60の4つの頂点に対応した座標P1〜座標P4が身分証明書60の角に相当する座標として検出される。
FIG. 5 is a diagram showing an example of coordinates corresponding to the corners of the
一方、図6は、四隅の角に丸みを帯びた身分証明書60を含む入力画像70から検出した、身分証明書60の角に相当する座標の一例を示す図である。この場合、図5に示した矩形の身分証明書60とは異なり、身分証明書60の輪郭に沿って直線から曲線に移行する4つの位置が、身分証明書60の4つの角に相当する座標P1〜座標P4として検出される。
On the other hand, FIG. 6 is a diagram showing an example of coordinates corresponding to the corners of the
ステップS30において、CPU51は、ステップS10で取得した入力画像70に身分証明書60が含まれるか否かを判定する原稿確認処理を実行する。
In step S30, the
図7は、原稿確認処理の流れの一例を示すフローチャートである。 FIG. 7 is a flowchart showing an example of the flow of the document confirmation process.
ステップS300において、CPU51は、図4のステップS20で、身分証明書60の角に相当する3つ以上の座標を検出したか否かを判定する。身分証明書60の中には、四隅の角に丸みを帯びた身分証明書60があるとはいえ、身分証明書60の形状は、円や台形等の形状に比べて矩形に近いことが多いため、例えば3つの座標が検出されていれば、未検出の身分証明書60の角に相当する座標は、検出された3つの座標から推定される。
In step S300, the
また、3つ以上の複数の座標が検出されていることから、検出された座標は、プラテンガラスに付着したごみや疵によるものとは考えにくく、身分証明書60の輪郭における変曲点に対応した座標と考えられる。
In addition, since three or more coordinates are detected, it is unlikely that the detected coordinates are due to dust or scratches adhering to the platen glass, and correspond to the inflection point in the outline of the
更に、検出された座標が4つの場合は、検出された座標が3つの場合よりも原稿20である蓋然性が高い。
Further, when the detected coordinates are four, it is more likely that the
したがって、ステップS300の判定処理が肯定判定の場合には、後ほど説明するステップS340に移行する。 Therefore, when the determination process in step S300 is an affirmative determination, the process proceeds to step S340, which will be described later.
一方、ステップS300の判定処理が否定判定の場合、すなわち、身分証明書60の角に相当する座標が2つ以下しか検出されていない場合は、ステップS310に移行する。
On the other hand, if the determination process in step S300 is a negative determination, that is, if only two or less coordinates corresponding to the corners of the
ステップS310において、CPU51は、図4のステップS20で検出された身分証明書60の角に相当する座標が、2つであるか否かを判定し、否定判定の場合、すなわち、検出された座標が1つ以下の場合には、ステップS350に移行する。
In step S310, the
図8は、原稿読み取り装置25における原稿20の読み取り領域に対して、例えば身分証明書60の3隅がはみ出すように置かれたため、入力画像70から身分証明書60の3隅がはみ出している場合の一例を示す模式図である。
FIG. 8 shows a case where the three corners of the
この場合、入力画像70に含まれる身分証明書60の角に相当する座標は座標P11つであるため、検出された座標P1から他の角に相当する座標P2〜座標P4を推定することは困難である。また、検出された座標が1つであることから、座標P1がプラテンガラスに付着したごみや疵に対応した座標であることも考えられる。
In this case, since the coordinates corresponding to the corners of the
したがって、ステップS350において、CPU51は、例えばRAM52に記憶されるフラグFの値を“0”に設定し、図7に示す原稿確認処理を終了する。ここで、フラグFは、値が“0”の場合、入力画像70に何れの原稿20も含まれないことを表し、値が“1”の場合、入力画像70に何らかの原稿20が含まれることを表す変数である。
Therefore, in step S350, the
一方、ステップS310の判定処理が肯定判定の場合、すなわち、検出された座標が2つの場合には、ステップS320に移行する。 On the other hand, when the determination process in step S310 is an affirmative determination, that is, when the detected coordinates are two, the process proceeds to step S320.
図9は、原稿読み取り装置25における原稿20の読み取り領域に対して、例えば身分証明書60の2隅がはみ出すように置かれたため、入力画像70から身分証明書60の2隅がはみ出している場合の一例を示す模式図である。
FIG. 9 shows a case where the two corners of the
検出された座標が2つであっても、当該座標間を接続する直線L1の長さが、画像形成装置10に予め登録されている原稿20の幅または高さに近い値であれば、登録されている原稿20の何れかが入力画像70に含まれる蓋然性が高いと考えられる。
Even if there are two detected coordinates, if the length of the straight line L 1 connecting the coordinates is close to the width or height of the
したがって、ステップS320において、CPU51は、検出された2つの座標(図9の例では、座標P1と座標P2)を接続する直線L1の長さを算出する。
Therefore, in step S320, the
ステップS330において、CPU51は、ステップS320で算出した直線L1の長さが、例えば不揮発性メモリ54に予め記憶されている原稿20の幅または高さと同じか否かを判定する。なお、「直線L1の長さが原稿20の幅または高さと同じ」とは、直線L1の長さが、登録されている原稿20の幅または高さと同じとみなせる範囲の長さである場合も含まれる。
In step S330,
図10は、不揮発性メモリ54に記憶される原稿20の大きさの一例を示す図である。なお、原稿20の幅Wとは、原稿20の記載内容が天地逆転しないように、原稿20を原稿読み取り装置25の原稿20の読み取り領域に置いた場合の水平方向に沿った長さであり、原稿20の高さHとは、原稿20の幅Wと直交する方向の長さをいう。
FIG. 10 is a diagram showing an example of the size of the
図10に示すように、不揮発性メモリ54には、例えば身分証明書60の一例であるIDカード60A、2つ折りした戸籍(半面)60B、戸籍(半面)60Bを折り目に従って展開した戸籍(全面)60C、2つ折りしたパスポート(半面)60Dおよびパスポート(半面)60Dを折り目に従って展開したパスポート(全面)60E等の各々の幅Wおよび高さHが含まれる。
As shown in FIG. 10, in the
登録された原稿20の幅Wまたは高さHに、ステップS320で算出した直線L1の長さと同じ長さが含まれる場合には、入力画像70に身分証明書60が含まれる蓋然性が高いと考えられる。また、例えば2つの座標しか検出されていなくても、登録された原稿20の大きさと検出された2つの座標から、未検出の身分証明書60の角に相当する残り2つの座標が推定される。したがって、登録された原稿20の幅Wまたは高さHに、ステップS320で算出した直線L1の長さと同じ長さが含まれる場合には、ステップS340に移行する。この際、CPU51は、算出した直線L1の長さから特定した身分証明書60の種類を、例えばRAM52に記憶する。
The width W or height H of the registered
なお、図10に示すように、例えば身分証明書60がパスポートの場合、パスポート(半面)60Dとパスポート(全面)60Eでは、共に高さHが135mmであることから、パスポート(半面)60Dとパスポート(全面)60Eを区別することが困難な場合がある。
As shown in FIG. 10, for example, when the
この場合、CPU51は、UI装置22の液晶ディスプレイ24を制御して、利用者にパスポート(半面)60Dとパスポート(全面)60Eの何れを画像形成装置10で読み取ろうとしたかを選択させる画面を表示すればよい。
In this case, the
図11は、直線L1の長さが複数の登録された原稿20の大きさと同じ場合に液晶ディスプレイ24に表示される情報画面32の一例である。
FIG. 11 is an example of an
情報画面32には、例えば情報領域24Aと情報領域24Bの2つの領域が含まれ、情報領域24Aには、原稿読み取り装置25から取得した入力画像70が表示される。また、情報領域24Bには、例えば文字、記号または図形を用いた利用者への通知、並びに、利用者の指示を受け付けるソフトウェアボタン等が表示される。
The
図11の例では、情報領域24Bに身分証明書60の半面を読み取ろうとしているのか、全面を読み取ろうとしているのかを利用者に選択させる「半面」ボタンと「全面」ボタンが表示される。したがって、押下されたボタンの種類と算出した直線L1の長さから、未検出の身分証明書60の角に相当する残り2つの座標が推定されることになる。
In the example of FIG. 11, in the
ステップS340において、CPU51は、フラグFの値を“1”に設定し、図7に示す原稿確認処理を終了する。なお、上述したように、ステップS300の判定処理が肯定判定の場合にもステップS340が実行されるため、フラグFの値は“1”に設定される。
In step S340, the
一方、登録された原稿20の幅Wまたは高さHに、ステップS320で算出した直線L1の長さと同じ長さが含まれない場合には、身分証明書60の大きさを推定する情報が存在しないため、検出された2つの座標から身分証明書60の未検出の角に相当する残り2つの座標を推定することは困難である。したがって、ステップS350に移行する。
On the other hand, the width W or height H of the
ステップS350において、CPU51は、フラグFの値を“0”に設定し、図7に示す原稿確認処理を終了する。以上の処理が、図4のステップS30における原稿確認処理である。
In step S350, the
なお、上記では身分証明書60を例にして原稿確認処理について説明したが、原稿確認処理は身分証明書60以外の種類の原稿20に対しても適用されることは言うまでもない。
Although the manuscript confirmation process has been described above by taking the
ステップS40において、CPU51は、ステップS30の原稿確認処理での処理結果を参照して、入力画像70に身分証明書60が含まれているか否かを判定する。具体的には、フラグFの値が“0”であれば、入力画像に身分証明書60が含まれていないと判定し、ステップS140に移行する。
In step S40, the
ステップS140において、CPU51は、UI装置22の液晶ディスプレイ24を制御して、身分証明書60全体が入力画像70に含まれるように、身分証明書60を原稿読み取り装置25における原稿20の読み取り領域に配置することを表示する。これによって、利用者に身分証明書60の再読み取り(「再スキャン」ともいう)の実行を喚起して、図4に示した画像処理を終了する。
In step S140, the
図12は、ステップS140で液晶ディスプレイ24に表示される情報画面32の一例である。ステップS140の処理では、情報領域24Bに、例えば「原稿全体が表示されるように、原稿を置きなおしてください。」という文章と共に、「OK」ボタンが表示される。これにより、利用者に身分証明書60の再スキャンの実行を喚起する。更に、利用者に「OK」ボタンを押下させることで、表示した文章を利用者に確認させる効果を高める。
FIG. 12 is an example of the
また、ステップS140の処理では、情報領域24Aに入力画像70を表示することで、利用者に身分証明書60の位置ずれを視覚的に認識させ、身分証明書60を原稿20の読み取り領域にどのように置けば、身分証明書60全体が入力画像70に含まれるようになるかを把握させるための情報を提供する。
Further, in the process of step S140, by displaying the
一方、ステップS40の判定処理が肯定判定の場合、すなわち、フラグFの値が“1”であれば、入力画像に身分証明書60が含まれると判定し、ステップS50に移行する。
On the other hand, if the determination process in step S40 is an affirmative determination, that is, if the value of the flag F is "1", it is determined that the input image includes the
ステップS50において、CPU51は、ステップS20で検出された座標が4つか否かを判定する。
In step S50, the
検出された座標が4つあれば、図13に示すように、検出された座標から、入力画像70における身分証明書60の範囲を示す基準範囲62が設定される。したがって、後述するステップS60およびステップS70の処理を実行することなく、ステップS80に移行する。
If there are four detected coordinates, as shown in FIG. 13, a
一方、検出された座標が4つない場合、ステップS60に移行する。具体的には、ステップS40の判定処理で、入力画像70に身分証明書60が含まれていると判定されていることから、検出された座標が2つまたは3つの場合にステップS60に移行することになる。
On the other hand, if there are no four detected coordinates, the process proceeds to step S60. Specifically, since it is determined in the determination process of step S40 that the
ステップS60において、CPU51は、身分証明書60の未検出の座標を算出する。
In step S60, the
ステップS20で検出された座標が3つの場合、上述したように、身分証明書60の形状は矩形で近似されることから、検出された3つの座標から、身分証明書60の未検出の角に相当する残り1つの座標が算出される。
When the coordinates detected in step S20 are three, as described above, the shape of the
ステップS20で検出された座標が2つの場合、ステップS30の原稿確認処理で入力画像70に含まれる身分証明書60の種類が特定されることから、特定された身分証明書60の種類と検出された2つの座標を用いて、身分証明書60の未検出の角に相当する残り2つの座標が算出される。
When the coordinates detected in step S20 are two, the type of the
ステップS70において、CPU51は、ステップS60で算出した身分証明書60の未検出の角に相当する座標が、入力画像70の範囲外であるか否かを判定する。
In step S70, the
算出した座標が入力画像70の範囲外にある場合は、身分証明書60が原稿読み取り装置25における原稿20の読み取り領域をはみ出すように置かれたと考えられるため、ステップS140に移行し、利用者に身分証明書60の再読み取りの実行を喚起する。
If the calculated coordinates are outside the range of the
一方、算出した座標が入力画像70の範囲内にある場合は、身分証明書60の基準範囲62が入力画像70に含まれるため、ステップS80に移行する。
On the other hand, when the calculated coordinates are within the range of the
なお、ステップS70では、ステップS60で算出した身分証明書60の未検出の角に相当する座標が入力画像70の範囲外にあるか否かを判定したが、ステップS20で検出した座標とステップS60で算出した座標とを合わせた4つの座標が、入力画像70の範囲外にあるか否かを判定するようにしてもよい。
In step S70, it was determined whether or not the coordinates corresponding to the undetected corners of the
身分証明書60の角に相当する4つの座標がわかれば、基準範囲62が設定されることから、基準範囲62を身分証明書60の範囲としてもよい。しかし、四隅の角に丸みを帯びた身分証明書60の場合、各々の座標は変曲点の座標であるため、身分証明書60の四隅の角から離れた地点を示すことがある。したがって、図14に示すように、基準範囲62を身分証明書60の範囲に設定すると、身分証明書60の枠部分64が切り取られてしまうことがある。
If the four coordinates corresponding to the corners of the
また、身分証明書60が矩形であっても、原稿読み取り装置25における入力画像70の読み取り精度が低くなるに従って、検出した座標の位置が矩形の頂点からずれていく傾向がある。例えば、原稿読み取り装置25における入力画像70の読み取り精度が25dpi(dots per inch)の場合、入力画像70の読み取り精度が600dpiの原稿読み取り装置25に比べて、矩形の頂点に対する検出した座標のずれ量が大きくなる。
Further, even if the
したがって、図15に示すように、身分証明書60が矩形であっても、基準範囲62を身分証明書60の範囲に設定すると、身分証明書60の枠部分64が切り取られてしまうことがある。
Therefore, as shown in FIG. 15, even if the
したがって、ステップS80において、CPU51は、身分証明書60の枠部分64が切り取られないように原稿画像66の範囲を設定する枠切れ補正処理を実行する。
Therefore, in step S80, the
図16は、枠切れ補正処理を説明するための模式図である。CPU51は、身分証明書60の全体が含まれるように基準範囲62を拡張することで、原稿画像66の範囲を設定する。具体的には、例えば、CPU51は、基準範囲62を設定する各々の座標P1〜座標P4を、座標移動方向に予め定めた幅だけ基準範囲62の外側に向かって移動させ、移動後の座標P1〜座標P4に対応するそれぞれの座標P1A〜座標P4Aを、原稿画像66の範囲に設定する。
FIG. 16 is a schematic diagram for explaining the frame break correction process. The
ここで、「座標移動方向」とは座標P1〜座標P4の移動方向であり、座標P1〜座標P4が基準範囲62の外側に向かう方向であれば特に制約はない。例えば、座標P1と座標P2を接続する線分の延長方向、座標P1と座標P4を接続する線分の延長方向または基準範囲62の対角線の延長方向であってもよい。一例として、図16では、基準範囲62を設定する各々の線分に対して135度の傾斜角を有する線分の方向ARを座標移動方向としている。
Here, the "coordinate movement direction" coincides with the movement direction of the coordinate P 1 ~ coordinates P 4, no particular limitation as long as the direction coordinates P 1 ~ coordinates P 4 is directed outward from the
また、「予め定めた幅」とは、座標P1〜座標P4の座標移動方向に沿った移動量であり、身分証明書60の形状によらずに身分証明書60の全体が含まれるような移動量が、画像形成装置10の実機による実験や画像形成装置10の設計仕様に基づくコンピュータシミュレーション等により設定されている。
Moreover, "predetermined width", a movement amount along the coordinate direction of movement of the coordinates P 1 ~ coordinates P 4, to include the
座標P1〜座標P4の移動に伴って基準範囲62が拡張されることから、以降では、座標P1〜座標P4の座標移動方向に沿った移動量を「拡張幅」ということがある。
Since the
ステップS80の枠切れ補正処理によって、身分証明書60全体を含む原稿画像66の範囲が得られる。原稿画像66には身分証明書60全体が含まれることから、原稿画像66には、身分証明書60を配置した原稿20の読み取り領域が、身分証明書60の背景として含まれることになる。
By the frame cut correction process in step S80, the range of the
しかしながら、座標P1〜座標P4の拡張幅によっては、図17に示すように、原稿画像66の範囲が入力画像70の範囲を超える場合がある。この場合、設定した範囲の原稿画像66が入力画像70から抽出されない。
However, the extended width of the coordinates P 1 ~ coordinates P 4, as shown in FIG. 17, there is a case where the range of the
したがって、ステップS90において、CPU51は、ステップS80で設定した原稿画像66の範囲を示す座標P1A〜座標P4Aの各々が、入力画像70の範囲内に含まれるか否かを判定する。
Therefore, in step S90, the CPU 51 determines whether or not each of the coordinates P 1A to the coordinates P 4A indicating the range of the
座標P1A〜座標P4Aの各々が入力画像70の範囲内に含まれる場合、後述するステップS100を実行することなく、ステップS110に移行する。
When each of the coordinates P 1A to the coordinates P 4A is included in the range of the
一方、座標P1A〜座標P4Aの少なくとも1つが入力画像70の範囲外にはみ出している場合、ステップS100に移行する。
On the other hand, when at least one of the coordinates P 1A to the coordinates P 4A is out of the range of the
ステップS100において、CPU51は、ステップS80で設定した原稿画像66の範囲を入力画像70の範囲内に補正する枠切れ再補正処理を実行する。
In step S100, the
図18は、枠切れ再補正処理の流れの一例を示すフローチャートである。 FIG. 18 is a flowchart showing an example of the flow of the frame break re-correction process.
ステップS400において、CPU51は、入力画像70の範囲外にはみ出している座標のうちで、はみ出し量が最も少ない座標を選択する。座標のはみ出し量は、例えば入力画像70の範囲外にはみ出している各座標から座標移動方向に沿った入力画像70の輪郭線までの距離で算出すればよい。
In step S400, the
なお、例えば図17に示したように、1つの座標P2Aしか入力画像70の範囲外にはみ出していない場合については、座標のはみ出し量を算出することなく、入力画像70の範囲外にはみ出している座標を選択すればよい。
For example, as shown in FIG. 17, when only one coordinate P 2A protrudes outside the range of the
ステップS410において、CPU51は、ステップS400で選択した座標(以降、「選択座標」という)が入力画像70の範囲内に含まれるように、選択座標を座標移動方向に沿って移動させる。
In step S410, the
なお、移動させた選択座標と原稿画像66の範囲を示す他の3つの座標をそのまま直線で接続した場合、原稿画像66の形状が矩形と異なる形状となってしまう。したがって、CPU51は、原稿画像66の形状が矩形となるように、原稿画像66の輪郭線に沿って選択座標と隣り合う他の2つの座標(以降、「隣接座標」という)の位置も補正する。
If the moved selection coordinates and the other three coordinates indicating the range of the
図19は、座標P2Aが入力画像70の範囲外にはみ出している場合の座標P2Aの移動について示した模式図である。
Figure 19 is a schematic diagram showing the movement of the coordinates P 2A when the coordinates P 2A is overrunning outside the range of the
CPU51は、座標P2Aが入力画像70の範囲内に含まれるように座標P2Bに移動させた後、原稿画像66の形状が矩形となるように、座標P2Aの隣接座標である座標P1Aと座標P3Aの位置を原稿画像66の輪郭線に沿って移動させる。
The
ステップS420において、CPU51は、ステップS410で入力画像70の範囲内に移動させた選択座標を含むように、原稿画像66の範囲を設定する。図19の例では、座標P1B、座標P2B、座標P3Bおよび座標P4Aを頂点とする矩形が原稿画像66の範囲となる。したがって、選択座標および隣接座標における座標移動方向の拡張幅は、ステップS80で拡張した基準範囲62に対する拡張幅よりも縮小される。
In step S420, the
ステップS430において、CPU51は、ステップS420で再設定した原稿画像666の範囲を参照し、入力画像70の範囲外にはみ出している座標がまだあるか否かを判定する。肯定判定の場合にはステップS400に移行し、上述したステップS400〜S430を繰り返すことで、原稿画像66の範囲が入力画像70の範囲内に含まれるようにする。
In step S430, the
なお、この場合、変曲点P1から座標P1Bまでの距離、変曲点P2から座標P2Bまでの距離、変曲点P3から座標P3Bまでの距離、および変曲点P4から座標P4Aまでの距離を、基準範囲62を表す輪郭の各頂点における拡張幅とみなす。この場合、変曲点P1に対する拡張幅と、変曲点P3に対する拡張幅は同じになる。
In this case, the distance from the inflection point P 1 to the coordinates P 1B , the distance from the inflection point P 2 to the coordinates P 2B , the distance from the inflection point P 3 to the coordinates P 3B , and the inflection point P 4 The distance from to the coordinate P 4A is regarded as the extension width at each vertex of the contour representing the
図20は、2つの座標(座標P2Aと座標P3A)が入力画像70の範囲外にはみ出している原稿画像66の一例を示す図である。
FIG. 20 is a diagram showing an example of a
この場合、座標P2Aと座標P3Aのうち、はみ出し量が少ない座標P2AがステップS400で最初に選択される。そして、図21に示すように、座標P2Aが入力画像70の範囲内に含まれるように座標P2Aを移動させることによって、座標P1B、座標P2B、座標P3Bおよび座標P4Aで示される原稿画像66の範囲が設定される。
In this case, among the coordinates P 2A and coordinate P 3A, the protrusion amount is less coordinate P 2A is first selected in step S400. Then, as shown in FIG. 21, by moving the coordinates P 2A as coordinates P 2A are included within the scope of the
しかしながら、座標P2Aを入力画像70の範囲内に含めるように補正しても、依然として座標P3Bは入力画像70の範囲外に含まれる。この場合、ステップS430の判定処理が肯定判定となり、今度は座標P3Bを選択座標として、ステップS400〜S430が実行される。そして、図22に示すように、座標P3Bが入力画像70の範囲内に含まれるように座標P3Bを座標P3Cの位置まで移動させることによって、座標P1B、座標P2C、座標P3Cおよび座標P4Bで示される原稿画像66の範囲が設定される。
However, even if the coordinates P 2A are corrected to be included in the range of the
座標P1B、座標P2C、座標P3Cおよび座標P4Bを頂点とする矩形で示される原稿画像66は入力画像70に含まれ、かつ、原稿画像66には身分証明書60全体が含まれる。
The
なお、入力画像70の範囲外にはみ出している座標が3つ以上の場合でも、上述した処理と同様の処理によって、原稿画像66の範囲が入力画像70の範囲内に設定されることになる。
Even when the number of coordinates protruding outside the range of the
以上の処理によって、全ての座標が入力画像70の範囲内に含まれると、ステップS430の判定処理が否定判定となり、図18に示す枠切れ再補正処理が終了する。
When all the coordinates are included in the range of the
引き続き、図4のステップS110において、CPU51は、ステップS80で設定された原稿画像66の範囲またはステップS100で再設定された原稿画像66の範囲を入力画像70から切り出して、原稿画像66を抽出する。
Subsequently, in step S110 of FIG. 4, the
ステップS110で抽出した原稿画像66は、場合によっては入力画像70上に設定したX軸方向に対して傾斜していることがある。
In some cases, the
図23は、X軸方向に対して原稿画像66が傾斜している場合の一例を示す図である。図23に示すように、例えばX軸方向に対して原稿画像66の幅方向が傾斜角αで傾斜している場合、そのまま画像形成ユニット19で原稿画像66を記録媒体に形成すると、原稿画像66が記録媒体の各辺に対して傾斜することになり、原稿画像66の内容が読み取りにくくなる。
FIG. 23 is a diagram showing an example of a case where the
したがって、ステップS120において、CPU51は、傾斜角αが0度に近づくように原稿画像66を回転移動して、原稿画像66の幅方向がX軸方向の方向に沿うように配置する原稿画像角度補正処理を実行する。
Therefore, in step S120, the
ステップS130において、CPU51は、ステップS120で配置を補正した原稿画像66の画像データを画像形成ユニット19に出力して、図4に示した画像処理を終了する。
In step S130, the
原稿画像66に対応した画像データを受け付けた画像形成ユニット19は、記録媒体に原稿画像66を形成する。
The
このように、図4に示した画像処理を実行するCPU51を含む制御部2は、画像処理装置として機能する。
As described above, the
なお、図4のステップS20では変曲点を検出するため、XY座標系の原点からX軸に沿って入力画像70を走査しながら入力画像70の画素を読み込み、入力画像70の右端まで達すると、今度は走査ラインをY軸方向に1ラインずらすことで、入力画像70全体を走査することを説明した。
In step S20 of FIG. 4, in order to detect the bending point, the pixels of the
したがって、四隅の角に丸みを帯びた身分証明書60の角に相当する座標を検出する場合、原稿20の読み取り領域に対する身分証明書60の配置状態によっては、座標の検出精度が変化することがある。
Therefore, when detecting the coordinates corresponding to the corners of the
図24は、四隅の角に丸みを帯びた身分証明書60の幅方向を、X軸方向に沿って配置した場合の入力画像70の一例を示す図である。この場合、身分証明書60の上辺を示す輪郭線に沿って変曲点Pの検出が行われるため、身分証明書60の角(点PN)から離れた位置に変曲点Pが検出されることがある。
FIG. 24 is a diagram showing an example of an
一方、図25は、四隅の角に丸みを帯びた身分証明書60の幅方向を、X軸方向に対して傾斜させて配置した場合の入力画像70の一例を示す図である。この場合、身分証明書60の四隅の角に近い位置から変曲点Pの検出が行われるため、図24の配置と比較して、点PNに近い位置に変曲点Pが検出される傾向が見られる。
On the other hand, FIG. 25 is a diagram showing an example of an
検出される変曲点Pが点PNに近づく程、変曲点Pを接続して得られる基準範囲62が、身分証明書60の大きさに近づくことになる。
As the detected inflection point P approaches the point P N , the
したがって、CPU51は、入力画像70のX軸方向に対する基準範囲62の幅方向の傾斜角が大きくなるに従って、基準範囲62に対する拡張幅を予め定めた拡張幅より小さくするようにしてもよい。この場合、基準範囲62に対する拡張幅を予め定めた拡張幅より小さくしても、身分証明書60全体が原稿画像66の範囲に含まれる。したがって、原稿画像66の大きさが身分証明書60の原寸大に近づき、原稿画像66において、身分証明書60の周囲に写り込む背景の割合が抑制される。
Therefore, the
なお、入力画像70のX軸方向に対する基準範囲62の幅方向の傾斜角は、約35度以上約55度以下が好ましく、約45度が特に好ましい。したがって、CPU51は、利用者に身分証明書60の配置方向を指示する情報を通知するように、UI装置22を制御してもよい。
The inclination angle of the
図26は、身分証明書60の配置に関する情報を表示する情報画面32の一例を示す図である。CPU51は、例えば図4のステップS20で検出した変曲点Pの座標から、入力画像70のX軸方向に対して身分証明書60が傾斜しているか否か判定し、身分証明書60の傾斜角が基準傾斜角以下の場合には、液晶ディスプレイ24に図26に示す情報画面32を表示してもよい。
FIG. 26 is a diagram showing an example of an
図26の情報画面32における情報領域24Aには、例えば入力画像70を表示し、利用者に身分証明書60の配置状態を視覚的に認識させる。また、情報領域24Bには、例えば「身分証明書が斜め45度になるように配置してください」という文章と共に、「OK」ボタンを表示して、利用者に原稿20の読み取り領域に身分証明書60を傾斜して配置した上で、身分証明書60の再スキャンの実行するよう喚起する。
For example, an
また、原稿読み取り装置25における入力画像70の読み取り精度が高くなるに従って、身分証明書60の角を表す点PNに近い位置に変曲点Pが検出される傾向が見られる。したがって、CPU51は、原稿読み取り装置25における入力画像70の読み取り精度が高くなるに従って、基準範囲62に対する拡張幅を予め定めた拡張幅より小さくするようにしてもよい。
Further, as the reading accuracy of the
例えば、原稿読み取り装置25における入力画像70の読み取り精度が25dpiの場合は、基準範囲62に対する拡張幅を4mm、600dpiの場合は、基準範囲62に対する拡張幅を2mmにするといったように、原稿読み取り装置25の読み取り精度と拡張幅との対応関係を不揮発性メモリ54に記憶しておけば、原稿読み取り装置25の読み取り精度に応じた拡張幅が基準範囲62に適用される。
For example, when the reading accuracy of the
この場合も、原稿画像66に身分証明書60全体が含まれた状態で原稿画像66の大きさが身分証明書60の原寸大に近づくため、原稿画像66において、身分証明書60の周囲に写り込む背景の割合が抑制される。
Also in this case, since the size of the
また、利用者によっては、自らの意思に基づいて原稿画像66の大きさを調整したい場合がある。したがって、画像形成装置10は、利用者から基準範囲62に適用する拡張幅の指定を受け付け、受け付けた拡張幅で基準範囲62を拡張するようにしてもよい。
In addition, some users may want to adjust the size of the
図27は、拡張幅の設定を受け付ける情報画面32の一例を示す図である。情報画面32の情報領域24Bには、例えば2mm、3mm、4mmといった規定の拡張幅を設定するためのソフトウェアボタン34A、34B、34Cと、任意の拡張幅を設定するためのエディットボックス34Dが表示される。
FIG. 27 is a diagram showing an example of the
利用者によってソフトウェアボタン34Aが押下された場合は“2mm”、ソフトウェアボタン34Bが押下された場合は“3mm”、ソフトウェアボタン34Cが押下された場合は“4mm”が拡張幅として設定される。また、利用者によってエディットボックス34Dに数値が入力された場合は、入力された数値(単位はmm)が拡張幅として設定される。
When the
また、図4に示した画像処理において、ステップS130で例えば画像形成ユニット19に原稿画像66を出力する前に、画像処理プログラムに従って自動的に算出された拡張幅が設定された原稿画像66を、情報画面32の情報領域24Aに表示するようにしてもよい。
Further, in the image processing shown in FIG. 4, the
この場合、画像形成装置10は、拡張幅を修正するための編集画面を情報画面32の情報領域24Bに表示し、利用者が指定した拡張幅の修正量に従って原稿画像66の大きさを調整するようにしてもよい。
In this case, the
また、利用者によっては、身分証明書60の表面と裏面を1枚の記録媒体に複写したいことがある。
Further, depending on the user, the front side and the back side of the
この場合、画像形成装置10は、原稿読み取り装置25で身分証明書60の表面と裏面が読み込まれてから、身分証明書60の表面を含む入力画像70と、身分証明書60の裏面を含む入力画像70の各々に対して、図4に示した画像処理を実行する。そして、画像形成装置10は、図4に示した画像処理によって得られた身分証明書60の表面と裏面に対応する各々の原稿画像66を1つの記録媒体に形成するように、RAM52で原稿画像66の配置編集を行う。
In this case, the
画像形成装置10が原稿画像66の配置編集を行う場合に、同じ身分証明書60でありながら、身分証明書60の表面と裏面に対応する各々の原稿画像66の大きさが異なると、各々の原稿画像66の大きさが同じ場合と比較して、身分証明書60の有効性の確認等に時間を要することがある。
When the
したがって、画像形成装置10は、同じ種類の身分証明書60の画像を含む複数の原稿画像66に対して配置編集を行う場合、各々の原稿画像66に身分証明書60全体が含まれ、かつ、各々の原稿画像66の大きさが同じになるように、拡張幅を調整してもよい。
Therefore, when the
更に、利用者によっては、家族の同じ種類の身分証明書60を1枚の記録媒体に複写したいことがある。
Further, some users may want to copy the same type of
この場合、利用者は、原稿読み取り装置25における原稿20の読み取り領域に、複数の同じ種類の身分証明書60を配置して、各々の身分証明書60を原稿読み取り装置25で読み込む。したがって、画像形成装置10では、複数の同じ種類の身分証明書60の画像が含まれた入力画像70が取得される。
In this case, the user arranges a plurality of
画像形成装置10は、こうした入力画像70から抽出した、各々の身分証明書60に対応する原稿画像66に対して配置編集を行う場合にも、各々の原稿画像66に身分証明書60全体が含まれ、かつ、各々の原稿画像66の大きさが同じになるように、拡張幅を調整してもよい。
Even when the
このように本実施の形態に係る画像形成装置10によれば、原稿読み取り装置25から取得した入力画像70に含まれる線分の変曲点Pを検出して、原稿20の基準範囲62を設定する。そして、画像形成装置10は、原稿20の基準範囲62に拡張して、原稿20全体を含む原稿画像66の範囲を設定する。
As described above, according to the
したがって、画像形成装置10では、原稿読み取り装置25の解像度または原稿20の形状に関わらず、原稿の背景部分の映り込みを抑制しつつ、原稿20全体が含まれる原稿画像66が得られる。
Therefore, the
以上、実施の形態を用いて本発明について説明したが、本発明は実施の形態に記載の範囲には限定されない。本発明の要旨を逸脱しない範囲で実施の形態に多様な変更又は改良を加えることができ、当該変更又は改良を加えた形態も本発明の技術的範囲に含まれる。例えば、本発明の要旨を逸脱しない範囲で処理の順序を変更してもよい。 Although the present invention has been described above using the embodiments, the present invention is not limited to the scope described in the embodiments. Various changes or improvements can be made to the embodiments without departing from the gist of the present invention, and the modified or improved forms are also included in the technical scope of the present invention. For example, the order of processing may be changed without departing from the gist of the present invention.
上述した実施の形態では、一例として画像形成装置10における画像処理をソフトウェアで実現する形態について説明したが、図4に示したフローチャートと同等の処理をハードウェアで処理させるようにしてもよい。この場合、画像処理をソフトウェアで実現する場合に比べて、処理の高速化が図られる。
In the above-described embodiment, the embodiment in which the image processing in the
また、上述した実施の形態では、画像処理プログラムがROM52にインストールされている形態を説明したが、これに限定されるものではない。本発明に係る画像処理プログラムは、コンピュータ読み取り可能な記録媒体に記録された形態で提供することも可能である。例えば、本発明に係る画像処理プログラムを、CD(Compact Disc)−ROM、又はDVD(Digital Versatile Disc)−ROM等の光ディスクに記録された形態で提供してもよい。また、本発明に係る画像処理プログラムを、USBメモリ及びフラッシュメモリ等の半導体メモリに記録された形態で提供してもよい。
Further, in the above-described embodiment, the mode in which the image processing program is installed in the
更に、本発明に係る画像処理プログラムを、通信回線を介して接続された他の情報端末から取得するようにしてもよい。 Further, the image processing program according to the present invention may be acquired from another information terminal connected via a communication line.
2・・・制御部、10・・・画像形成装置、12・・・原稿読み取り部、13・・・取得部、15・・・設定部、17・・・画像出力部、19・・・画像形成ユニット、20・・・原稿、22・・・ユーザインターフェース(UI)装置、24・・・液晶ディスプレイ、25・・・原稿読み取り装置、27・・・通信装置、32・・・情報画面、50・・・コンピュータ、51・・・CPU、52・・・RAM、53・・・ROM、54・・・不揮発性メモリ、60・・・身分証明書、62・・・基準範囲、66・・・原稿画像、70・・・入力画像、P・・・変曲点 2 ... Control unit, 10 ... Image forming device, 12 ... Document reading unit, 13 ... Acquisition unit, 15 ... Setting unit, 17 ... Image output unit, 19 ... Image Formation unit, 20 ... original, 22 ... user interface (UI) device, 24 ... liquid crystal display, 25 ... original reading device, 27 ... communication device, 32 ... information screen, 50 ... Computer, 51 ... CPU, 52 ... RAM, 53 ... ROM, 54 ... Non-volatile memory, 60 ... Identification card, 62 ... Reference range, 66 ... Manuscript image, 70 ... Input image, P ... Variation point
Claims (14)
前記取得手段で取得した前記入力画像から検出した前記原稿の輪郭を表す基準範囲を拡張し、前記原稿を含む原稿画像の範囲として設定する設定手段と、
前記設定手段で設定した範囲の前記原稿画像を出力する出力手段と、
を備え、
前記設定手段は、前記原稿画像の範囲が前記入力画像の範囲を超える場合、前記原稿画像の範囲が前記入力画像の範囲内に含まれるように、前記基準範囲に対する拡張幅を設定する
画像処理装置。 An acquisition means for acquiring an input image including a document read by a scanning device, and
A setting means for expanding a reference range representing the outline of the original document detected from the input image acquired by the acquisition means and setting it as a range of the original image including the original document.
An output means that outputs the original image in the range set by the setting means, and
Equipped with a,
When the range of the original image exceeds the range of the input image, the setting means sets an extension width with respect to the reference range so that the range of the original image is included in the range of the input image.
Image processing device.
前記取得手段で取得した前記入力画像から検出した前記原稿の輪郭を表す基準範囲を拡張し、前記原稿を含む原稿画像の範囲として設定する設定手段と、
前記設定手段で設定した範囲の前記原稿画像を出力する出力手段と、
を備え、
前記設定手段は、前記原稿の輪郭に曲線が含まれる場合、前記入力画像の予め定めた方向に対する前記基準範囲の傾斜角が大きくなるに従って、前記基準範囲に対する拡張幅を小さくする
画像処理装置。 An acquisition means for acquiring an input image including a document read by a scanning device, and
A setting means for expanding a reference range representing the outline of the original document detected from the input image acquired by the acquisition means and setting it as a range of the original image including the original document.
An output means that outputs the original image in the range set by the setting means, and
Equipped with a,
When the contour of the document includes a curve, the setting means reduces the expansion width with respect to the reference range as the inclination angle of the reference range with respect to a predetermined direction of the input image increases.
Image processing device.
前記取得手段で取得した前記入力画像から検出した前記原稿の輪郭を表す基準範囲を拡張し、前記原稿を含む原稿画像の範囲として設定する設定手段と、
前記設定手段で設定した範囲の前記原稿画像を出力する出力手段と、
を備え、
前記設定手段は、前記読み取り装置における前記入力画像の読み取り精度が高くなるに従って、前記基準範囲に対する拡張幅を小さくする
画像処理装置。 An acquisition means for acquiring an input image including a document read by a scanning device, and
A setting means for expanding a reference range representing the outline of the original document detected from the input image acquired by the acquisition means and setting it as a range of the original image including the original document.
An output means that outputs the original image in the range set by the setting means, and
Equipped with a,
The setting means reduces the expansion width with respect to the reference range as the reading accuracy of the input image in the reading device increases.
Image processing device.
前記取得手段で取得した前記入力画像から検出した前記原稿の輪郭を表す基準範囲を拡張し、前記原稿を含む原稿画像の範囲として設定する設定手段と、
前記設定手段で設定した範囲の前記原稿画像を出力する出力手段と、
前記原稿画像に関する情報を報知する報知手段と、
を備え、
前記報知手段は、前記入力画像に前記原稿が含まれない場合、前記入力画像に前記原稿が含まれるように、前記原稿を前記読み取り装置に配置するよう報知する
画像処理装置。 An acquisition means for acquiring an input image including a document read by a scanning device, and
A setting means for expanding a reference range representing the outline of the original document detected from the input image acquired by the acquisition means and setting it as a range of the original image including the original document.
An output means that outputs the original image in the range set by the setting means, and
A notification means for notifying information about the manuscript image and
With
When the input image does not include the original, the notification means notifies the reading device to arrange the original so that the input image includes the original.
Image processing device.
請求項4記載の画像処理装置。 The image processing device according to claim 4 , wherein the notification means notifies the input image before outputting the original image from the output means.
請求項1から請求項5の何れか1項記載の画像処理装置。 The image processing apparatus according to any one of claims 1 to 5, wherein the setting means sets the reference range by using the inflection point of the manuscript.
請求項2から請求項5の何れか1項記載の画像処理装置。 The setting means, if it contains the vertices of the reference range in the input image, as extended width from at least two vertices in the reference range is the same, claim 2 for setting a range of the original image The image processing apparatus according to any one of claims 5.
請求項7記載の画像処理装置。 The image processing apparatus according to claim 7 , wherein the setting means sets a range of the original image so that the extension width from each vertex in the reference range is the same.
請求項7記載の画像処理装置。 The setting means, irrespective of the position of the reference range in the input image, as extended width from at least two vertices is the same in the reference range, according to claim 7, wherein setting the range of the original image Image processing device.
請求項1から請求項9の何れか1項に記載の画像処理装置。 From claim 1, the setting means sets an extension width with respect to the reference range so that when the input image includes a plurality of the original images of the same type, the size of each of the original images is the same. The image processing apparatus according to any one of claims 9.
請求項1から請求項9の何れか1項に記載の画像処理装置。 When the plurality of input images include images of the same type of the original, the setting means sets an extension width with respect to the reference range so that the size of the original image with respect to each of the originals is the same. The image processing apparatus according to any one of claims 1 to 9.
前記設定手段は、前記取得手段で取得した拡張幅を、前記基準範囲に対する拡張幅としても用いる
請求項1又は請求項4又は請求項5の何れか1項に記載の画像処理装置。 The acquisition means acquires the expansion width specified by the user, and obtains the expansion width.
The image processing apparatus according to claim 1 , wherein the setting means also uses the extension width acquired by the acquisition means as an extension width with respect to the reference range.
請求項1から請求項12の何れか1項に記載の画像処理装置。 When the original image is inclined with respect to a predetermined arrangement direction, the setting means corrects the inclination of the original image so that the original image is arranged along the predetermined arrangement direction. the image processing apparatus according to any one of claims 1 2 to claims 1.
請求項1から請求項13の何れか1項に記載の画像処理装置と、
前記画像処理装置から出力された原稿画像を記録媒体に形成する画像形成手段と、
を備えた画像形成装置。 A reading means that reads the original as an image,
An image processing device according to claim 1 to any one of claims 1 3,
An image forming means for forming a document image output from the image processing apparatus on a recording medium, and
An image forming apparatus equipped with.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017040830A JP6885111B2 (en) | 2017-03-03 | 2017-03-03 | Image processing equipment and image forming equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2017040830A JP6885111B2 (en) | 2017-03-03 | 2017-03-03 | Image processing equipment and image forming equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018148362A JP2018148362A (en) | 2018-09-20 |
| JP6885111B2 true JP6885111B2 (en) | 2021-06-09 |
Family
ID=63591656
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017040830A Active JP6885111B2 (en) | 2017-03-03 | 2017-03-03 | Image processing equipment and image forming equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6885111B2 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2020053931A (en) * | 2018-09-28 | 2020-04-02 | 日本電産サンキョー株式会社 | Image processing system, image scanner, and image processing method |
| US11303774B2 (en) | 2018-10-19 | 2022-04-12 | Kyocera Document Solutions Inc. | Image reading device and method for controlling image reading device |
| JP2020096347A (en) | 2018-11-29 | 2020-06-18 | ソニーセミコンダクタソリューションズ株式会社 | Solid-state image sensor, imaging device, and control method of solid-state image sensor |
| JP7258700B2 (en) | 2019-09-13 | 2023-04-17 | 株式会社Pfu | MEDIUM CONVEYING DEVICE, CONTROL METHOD AND CONTROL PROGRAM |
| JP7402414B2 (en) * | 2020-02-18 | 2023-12-21 | 京セラドキュメントソリューションズ株式会社 | Image forming device |
| JP7484229B2 (en) * | 2020-03-03 | 2024-05-16 | 大日本印刷株式会社 | Card cutting device and program |
| JP7584934B2 (en) * | 2020-07-29 | 2024-11-18 | キヤノン株式会社 | IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, PROGRAM, AND STORAGE MEDIUM |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4037512B2 (en) * | 1997-04-15 | 2008-01-23 | コニカミノルタビジネステクノロジーズ株式会社 | Image reading device |
| JP5542380B2 (en) * | 2009-07-22 | 2014-07-09 | シャープ株式会社 | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium |
| JP6047988B2 (en) * | 2012-08-07 | 2016-12-21 | セイコーエプソン株式会社 | Image processing apparatus and image processing method |
| JP6224476B2 (en) * | 2014-02-07 | 2017-11-01 | ローランドディー.ジー.株式会社 | Printing apparatus and printing method |
-
2017
- 2017-03-03 JP JP2017040830A patent/JP6885111B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018148362A (en) | 2018-09-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6885111B2 (en) | Image processing equipment and image forming equipment | |
| JP4358870B2 (en) | Image processing device | |
| US8395807B2 (en) | Image processing apparatus and method for borderless printing | |
| US8284463B2 (en) | Image reading apparatus | |
| JP4888439B2 (en) | Image reading apparatus and original size determination program | |
| JP2009164807A (en) | Image reading device | |
| JP2015111819A (en) | Reading device and image processing system | |
| JP6592873B2 (en) | Image reading apparatus, image forming apparatus, image reading method, and image reading program | |
| JP2019201356A (en) | Image processing apparatus, program, and image processing method | |
| US10659639B2 (en) | Image reading apparatus | |
| JP6953957B2 (en) | Image processing equipment and programs | |
| JP2011166778A (en) | Image-forming device, and method of correcting image and program for the same | |
| JP4680217B2 (en) | Image forming apparatus | |
| JP2004235680A (en) | Manuscript reader | |
| JP2017063332A (en) | Image forming apparatus and image forming method | |
| JP4952575B2 (en) | Image reading device | |
| JP6107851B2 (en) | Program and image processing apparatus | |
| JP2006260398A (en) | Printing controller and its control method | |
| JP2008252383A (en) | Image reader, image processing method and image processing program | |
| JP2007116546A (en) | Image processing unit, image forming unit, and display control method | |
| JP6515887B2 (en) | Image forming apparatus and image forming program | |
| JP2006237999A (en) | Image processing apparatus and image processing system | |
| JP2017228922A (en) | Image reader, image reading method, and image reading program | |
| JP2017208626A (en) | Image processing apparatus and image reading device and image reading system | |
| JP2025080389A (en) | Image forming apparatus, image forming method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200121 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201218 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210105 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210305 |
|
| 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: 20210413 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210426 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6885111 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |