JP2009194762A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2009194762A
JP2009194762A JP2008035198A JP2008035198A JP2009194762A JP 2009194762 A JP2009194762 A JP 2009194762A JP 2008035198 A JP2008035198 A JP 2008035198A JP 2008035198 A JP2008035198 A JP 2008035198A JP 2009194762 A JP2009194762 A JP 2009194762A
Authority
JP
Japan
Prior art keywords
document
image data
optical scanning
processing apparatus
image
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
JP2008035198A
Other languages
Japanese (ja)
Inventor
Toshiyuki Soshi
敏行 惣司
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2008035198A priority Critical patent/JP2009194762A/en
Publication of JP2009194762A publication Critical patent/JP2009194762A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of detecting, with simple configuration, an accurate document placing state also including a document placing angle, regardless of a type of the document. <P>SOLUTION: A sheet body provided on a platen-glass side surface of a platen cover is prescanned in a state where the sheet body is made white, to capture first image data (a) and the sheet body is prescanned in a state where the sheet body is made black, to capture second image data (b). Differential image data (c) between the first image data and the second image data are determined. In the differential image data, a document region becomes a bottom gradation level (black level) and a background, other than the document region, becomes a peak gradation level (white level). On the basis of the differential image data, the document placing state (document position, document size and document tilting angle) is detected. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、原稿台に載置された原稿の画像を光走査によって読み取る画像処理装置に関し、特に、原稿台での原稿の載置状態を容易に検出する画像処理装置に関する。   The present invention relates to an image processing apparatus that reads an image of a document placed on a document table by optical scanning, and more particularly to an image processing device that easily detects a document placement state on a document table.

原稿台(プラテン)に載置された原稿の画像を光走査によって読み取るFBS(Flat Bed Scanner:フラットベッドスキャナ)方式の場合には、原稿の浮き、移動を防ぐために、原稿台に載置された原稿を原稿押さえ(プラテンカバー)にて押さえた状態で光走査を行っている。この際、プラテンカバーの原稿に接触する側の面は、光走査時に、原稿の背景として原稿と併せて読み取られる。   In the case of an FBS (Flat Bed Scanner) system that reads an image of a document placed on a platen (platen) by optical scanning, the document is placed on the platen to prevent the document from floating or moving. Optical scanning is performed in a state where the document is held by a document presser (platen cover). At this time, the surface of the platen cover that comes into contact with the original is read together with the original as the background of the original during optical scanning.

特許文献1には、原稿の裏写りを防止することを目的として、原稿が定形サイズであるか不定形サイズであるかに応じて、プラテンカバーの原稿に接触する側の面の色を、黒色と原稿の地色とに制御する原稿読取装置が開示されている。
特開2001−218018号公報
In Patent Document 1, for the purpose of preventing show-through of a document, the color of the surface of the platen cover that comes into contact with the document is black depending on whether the document is a standard size or an irregular size. And a document reading apparatus that controls the background color of the document.
JP 2001-2108018 A

FBS方式で原稿の画像を読み取る場合、原稿が原稿台上の正しい位置に置かれずに斜め状態で置かれたときには、そのまま斜め状態で光走査が行われて画像データが得られるため、出力用紙にも斜めのままの状態で画像が複写される。   When an image of a document is read by the FBS method, when the document is placed in an inclined state without being placed at the correct position on the document table, optical scanning is performed in the oblique state as it is to obtain image data. Also, the image is copied in the state of being oblique.

このような問題を解消するために、原稿の斜め補正機能を有する画像処理装置が知られている。この画像処理装置では、光走査により得られた画像データを解析して原稿の端位置、原稿の線画像などを検出し、それらの検出結果から原稿の載置角度(斜めの程度)を求め、斜めの補正を行っている。   In order to solve such a problem, an image processing apparatus having an original skew correction function is known. In this image processing apparatus, the image data obtained by optical scanning is analyzed to detect the edge position of the document, the line image of the document, etc., and the document placement angle (oblique degree) is obtained from the detection results, Diagonal correction is performed.

しかしながら、画像データの解析処理によって原稿の載置角度を求めているため、解析処理を実行するための回路が必要であり、装置の構成が大型化するという問題がある。また、原稿の端位置、原稿の線画像などに基づいて原稿の載置角度を求めているため、原稿の種類(端が黒い原稿など)によっては、正確な載置角度を求められないことが十分に起こり得るという問題もある。   However, since the document placement angle is obtained by the image data analysis process, a circuit for executing the analysis process is necessary, and there is a problem that the configuration of the apparatus is increased. Further, since the document placement angle is obtained based on the edge position of the document, the line image of the document, etc., an accurate placement angle may not be obtained depending on the type of document (such as a document with a black edge). There is also the problem that it can happen enough.

本発明は斯かる事情に鑑みてなされたものであり、原稿の載置角度も含めた原稿の正確な載置状態を、原稿の種類の如何にかかわらずに、簡単な構成にて検出することが可能な画像処理装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and can detect an accurate placement state of a document including a placement angle of the document with a simple configuration regardless of the type of the document. An object of the present invention is to provide an image processing apparatus capable of performing the above.

本発明に係る画像処理装置は、原稿台に載置される原稿を原稿押さえで押さえて、光走査により前記原稿の画像を読み取る画像処理装置において、前記原稿押さえは、第1濃度の色と該第1濃度より高い濃度である第2濃度の色とに変更可能な押さえ面を前記原稿台側に有しており、前記押さえ面を前記第1濃度の色と前記第2濃度の色としてそれぞれ光走査を行って画像データを取得する手段と、前記押さえ面を前記第1濃度の色とした光走査により取得した第1画像データと前記押さえ面を前記第2濃度の色とした光走査により取得した第2画像データとの差分を求める差分手段と、該差分手段による差分結果に基づいて、前記原稿台に載置された原稿の載置状態を検出する検出手段とを備えることを特徴とする。   The image processing apparatus according to the present invention is an image processing apparatus that reads an image of the document by optical scanning by pressing a document placed on a document table with a document press. A pressing surface that can be changed to a second density color that is higher than the first density is provided on the document table side, and the pressing surface is used as the first density color and the second density color, respectively. By means of optical scanning to acquire image data, and by first optical data acquired by optical scanning with the pressing surface having the first density color and optical scanning with the pressing surface having the second density color. A difference means for obtaining a difference from the acquired second image data; and a detection means for detecting a placement state of the document placed on the document table based on a difference result by the difference means. To do.

本発明の画像処理装置における原稿押さえは、第1濃度の色(例えば白色)と第1濃度より高い濃度である第2濃度の色(例えば黒色)とに変更可能な押さえ面を有している。そして、本来の原稿の読取りの前に、押さえ面を第1濃度の色として光走査を行って第1画像データを取得するとともに、押さえ面を第2濃度の色として光走査を行って第2画像データを取得する。取得した第1画像データと取得した第2画像データとの差分を取り、その差分結果(差分画像データ)に基づいて、原稿台に載置された原稿の載置状態を検出する。この差分結果(差分画像データ)は、原稿が載置されている領域(原稿領域)ではほぼ黒レベルになり、原稿が載置されていない領域(背景領域)ではほぼ白レベルになる。よって、差分結果(差分画像データ)から正確な原稿の載置状態の検出を行える。   The document pressing in the image processing apparatus of the present invention has a pressing surface that can be changed between a first density color (for example, white) and a second density color (for example, black) that is higher than the first density. . Then, before reading the original document, optical scanning is performed with the pressing surface as the first density color to obtain the first image data, and optical scanning is performed with the pressing surface as the second density color. Get image data. The difference between the acquired first image data and the acquired second image data is taken, and the placement state of the document placed on the document table is detected based on the difference result (difference image data). The difference result (difference image data) is almost black level in the area where the original is placed (original area) and almost white level in the area where the original is not placed (background area). Therefore, it is possible to accurately detect the document placement state from the difference result (difference image data).

本発明に係る画像処理装置は、前記押さえ面を前記第1濃度の色とした光走査と前記押さえ面を前記第2濃度の色とした光走査とで走査方向が逆であることを特徴とする。   The image processing apparatus according to the present invention is characterized in that the scanning direction is reverse between optical scanning with the pressing surface having the first density color and optical scanning with the pressing surface having the second density color. To do.

本発明の画像処理装置にあっては、光走査を一往復で行う場合に、往路の光走査で押さえ面を第1濃度の色とした読取りを行い、復路の光走査で押さえ面を第2濃度の色とした読取りを行う。よって、原稿の載置状態を検出するための2回の光走査を効率良く短時間で行える。   In the image processing apparatus according to the present invention, when the optical scanning is performed in one reciprocation, the pressing surface is read with the first density color by the forward optical scanning, and the second pressing is performed by the backward optical scanning. Read density color. Therefore, the two optical scans for detecting the document placement state can be performed efficiently and in a short time.

本発明に係る画像処理装置は、前記検出手段が検出する前記原稿の載置状態は、前記原稿台における原稿の位置、原稿のサイズ、原稿の載置角度を含むことを特徴とする。   In the image processing apparatus according to the present invention, the document placement state detected by the detection unit includes a document position, a document size, and a document placement angle on the document table.

本発明の画像処理装置にあっては、原稿の載置状態として、原稿台における原稿の位置、原稿のサイズ、原稿の載置角度を正確に検出する。   In the image processing apparatus of the present invention, the position of the document, the size of the document, and the document placement angle are accurately detected as the document placement state.

本発明の画像処理装置では、原稿押さえの押さえ面を第1濃度の色として光走査により取得した第1画像データと、押さえ面を第1濃度より濃い第2濃度の色として光走査により取得した第2画像データとの差分結果に基づいて、原稿台に載置された原稿の載置状態を検出するようにしたので、簡単な構成で正確な原稿の載置状態を原稿の種類によらずに検出することができる。この結果、原稿が原稿台に斜めに置かれた場合でも、きっちりした複写画像を用紙に簡易に形成することができる。   In the image processing apparatus of the present invention, the first image data acquired by optical scanning with the pressing surface of the document pressing as the first density color and the pressing surface acquired by optical scanning with the second density color darker than the first density. Since the placement state of the document placed on the platen is detected based on the difference result with the second image data, the accurate placement state of the document can be obtained with a simple configuration regardless of the type of the document. Can be detected. As a result, it is possible to easily form a precise copy image on a sheet even when the document is placed on the document table at an angle.

また、本発明の画像処理装置では、押さえ面を第1濃度の色とした光走査と押さえ面を第2濃度の色とした光走査とを、一往復の光走査で完了することが可能であり、処理の高速化を図ることができる。   In the image processing apparatus of the present invention, it is possible to complete the optical scanning with the pressing surface having the first density color and the optical scanning with the pressing surface having the second density in one reciprocal optical scanning. Yes, the processing speed can be increased.

また、本発明の画像処理装置では、検出される原稿の載置状態として、原稿台における原稿の位置、原稿のサイズ、原稿の載置角度を正確に検出することができる。   The image processing apparatus of the present invention can accurately detect the position of the document on the document table, the size of the document, and the placement angle of the document as the detected document placement state.

以下、本発明をその実施の形態を示す図面を参照して具体的に説明する。なお、本発明は、以下の実施の形態に限定されるものではない。   Hereinafter, the present invention will be described in detail with reference to the drawings showing embodiments thereof. Note that the present invention is not limited to the following embodiments.

図1は、本発明に係る画像処理装置としてのデジタル複合機の構成例を示すブロック図である。図中1は複合機であり、複合機1は、制御部10、ROM11、RAM12、NCU(Network Control Unit)13、モデム14、読取部15、画像データ処理部16、画像メモリ17、操作部18、表示部19、記録部20、通信インタフェース21、コーデック22等を備えており、夫々はバス23を介して相互に接続されている。   FIG. 1 is a block diagram illustrating a configuration example of a digital multi-function peripheral as an image processing apparatus according to the present invention. In the figure, reference numeral 1 denotes a multifunction device. The multifunction device 1 includes a control unit 10, a ROM 11, a RAM 12, an NCU (Network Control Unit) 13, a modem 14, a reading unit 15, an image data processing unit 16, an image memory 17, and an operation unit 18. , A display unit 19, a recording unit 20, a communication interface 21, a codec 22, and the like, which are connected to each other via a bus 23.

制御部10は、具体的にはCPU(Central Processing Unit) で構成されており、バス23を介して接続される上述したようなハードウェア各部を制御すると共に、ROM11に格納された制御プログラムに従って、種々のソフトウェア的機能を実現する。ROM11は、複合機1の動作に必要な種々の制御プログラムを予め記憶している。RAM12は、SRAMまたはフラッシュメモリ等で構成され、制御部10による制御プログラムの実行時に発生するデータを一時的に記憶する。   Specifically, the control unit 10 is configured by a CPU (Central Processing Unit), controls the above-described hardware units connected via the bus 23, and according to a control program stored in the ROM 11. Implement various software functions. The ROM 11 stores various control programs necessary for the operation of the multifunction machine 1 in advance. The RAM 12 is configured by SRAM, flash memory, or the like, and temporarily stores data generated when the control program is executed by the control unit 10.

モデム14は、ファクシミリ通信が可能なファックスモデムで構成されており、NCU13と直接的にも接続されている。NCU13は、公衆電話回線網Lと接続されており、必要に応じてモデム14を公衆電話回線網Lと接続し、公衆電話回線網Lを介して外部の装置との間でのファクシミリ通信を可能としている。   The modem 14 is a fax modem capable of facsimile communication, and is directly connected to the NCU 13. The NCU 13 is connected to the public telephone line network L. If necessary, the NCU 13 can connect the modem 14 to the public telephone line network L to enable facsimile communication with an external device via the public telephone line network L. It is said.

読取部15は、CCD(Charge Coupled Device)等を利用した光走査により原稿を読み取ることにより、原稿の画像データを取得し、取得した画像データを画像データ処理部16へ出力する。画像データ処理部16は、読取部15で取得された画像データに基づき、後述する原稿台(プラテンガラス)における原稿の載置状態を検出する。   The reading unit 15 acquires image data of a document by reading the document by optical scanning using a CCD (Charge Coupled Device) or the like, and outputs the acquired image data to the image data processing unit 16. Based on the image data acquired by the reading unit 15, the image data processing unit 16 detects a document placement state on a document table (platen glass) described later.

画像メモリ17は、DRAMにより構成されており、原稿の画像を読み取って得られる画像データ、外部のファクシミリ機から受信した画像データ、通信インタフェース21を介して外部の装置から受信した画像データなどを記憶する。コーデック22は、画像データを所定の方式(例えばMH,MR,MMR,JBIG等)に従って圧縮したり、圧縮された画像データを所定の方式に従って伸長する。   The image memory 17 is constituted by a DRAM, and stores image data obtained by reading an image of a document, image data received from an external facsimile machine, image data received from an external device via a communication interface 21, and the like. To do. The codec 22 compresses the image data according to a predetermined method (for example, MH, MR, MMR, JBIG, etc.), or decompresses the compressed image data according to a predetermined method.

記録部20は、電子写真方式のプリンタ装置であって、読取部15にて読み取った原稿の画像データ、受信した画像データなどに応じた画像を用紙にプリントアウトする。操作部18は、複合機1を操作するために必要な各種のキーを備えている。表示部19は、液晶ディスプレイ(LCD)で構成されており、複合機1の動作状況、複合機1として表示すべき表示画面、操作部18から入力された文字等を表示する。なお、表示部19をタッチパネル方式のものとすることにより、操作部18の各種のキーのうちの一部又は全部を代用することも可能である。   The recording unit 20 is an electrophotographic printer device, and prints out an image corresponding to image data of a document read by the reading unit 15 and received image data on a sheet. The operation unit 18 includes various keys necessary for operating the multifunction device 1. The display unit 19 is configured by a liquid crystal display (LCD), and displays an operation status of the multifunction device 1, a display screen to be displayed as the multifunction device 1, characters input from the operation unit 18, and the like. In addition, it is also possible to substitute a part or all of the various keys of the operation unit 18 by using the display unit 19 of a touch panel type.

通信インタフェース21は、図示しないネットワークを介して接続される外部のコンピュータ等の装置へ画像データを送信し、また、ネットワークを介して外部の装置から画像データを受信する。   The communication interface 21 transmits image data to an external computer or other device connected via a network (not shown), and receives image data from an external device via the network.

図2は読取部15の構成例を示す図である。図2(a)の外観斜視図に示すように、読取部15は、直方体型の筺体30と、筺体30上面に設けられた原稿台としての長方形型のプラテンガラス31と、筺体30上面の一辺に開閉自在に取り付けられた原稿押さえとしてのプラテンカバー32とを備えている。   FIG. 2 is a diagram illustrating a configuration example of the reading unit 15. 2A, the reading unit 15 includes a rectangular parallelepiped housing 30, a rectangular platen glass 31 serving as a document table provided on the upper surface of the housing 30, and one side of the upper surface of the housing 30. And a platen cover 32 as a document presser that is attached to be freely opened and closed.

また、プラテンカバー32のプラテンガラス31に対向する側の面(原稿押さえ面)には、プラテンガラス31の読取り領域に対応した広がりを有するシート体33が設けられている。シート体33は、電圧の印加極性に応じて、第1濃度の色である白色と第2濃度の色である黒色とに変更可能な電子ペーパにて構成されている。   In addition, a sheet body 33 having a spread corresponding to the reading area of the platen glass 31 is provided on the surface (original pressing surface) of the platen cover 32 facing the platen glass 31. The sheet body 33 is configured by electronic paper that can be changed between white, which is the color of the first density, and black, which is the color of the second density, according to the polarity of the voltage applied.

図2(b)は読取部15の内部構成例を示すブロック図であり、図2(b)は図2(a)において矢符Aで示す方向から見た図を示している。筺体30の内部には、白色蛍光灯からなり、プラテンガラス31上に載置された原稿及びシート体33に光を照射する光源ランプ34、原稿及びシート体33からの反射光の光路を変更する板状の第1ミラー35、第2ミラー37及び第3ミラー38を、夫々所定の位置で、長手方向を主走査方向(図2(a)中のxで示す方向)に平行に配置してある。光源ランプ34及び第1ミラー35は、副走査方向(図2(a),(b)中のyで示す方向)に、プラテンガラス31の一端部をホームポジションとして、このホームポジションから他端部までの移動が可能な第1キャリッジ36に搭載されている。また、第2ミラー37及び第3ミラー38は、第1キャリッジ36の移動に対応して、副走査方向yに、プラテンガラス31の中央部から前記他端部までの移動を行なう第2キャリッジ39に搭載されている。   FIG. 2B is a block diagram illustrating an example of the internal configuration of the reading unit 15, and FIG. 2B illustrates a diagram viewed from the direction indicated by the arrow A in FIG. Inside the housing 30 is a white fluorescent lamp, and changes the optical path of the reflected light from the original and the sheet body 33, the light source lamp 34 for irradiating light on the original and the sheet body 33 placed on the platen glass 31. The plate-like first mirror 35, second mirror 37, and third mirror 38 are arranged at predetermined positions, respectively, and the longitudinal direction is arranged in parallel with the main scanning direction (direction indicated by x in FIG. 2A). is there. The light source lamp 34 and the first mirror 35 have one end portion of the platen glass 31 as a home position in the sub-scanning direction (the direction indicated by y in FIGS. 2A and 2B), and the other end portion from the home position. It is mounted on the first carriage 36 that can move up to. The second mirror 37 and the third mirror 38 move from the center of the platen glass 31 to the other end in the sub-scanning direction y in response to the movement of the first carriage 36. It is mounted on.

更に、筺体30の内部には、第1ミラー35、第2ミラー37及び第3ミラー38により光路が変更された原稿及びシート体33からの反射光を集光する結像レンズ40を備え、結像レンズ40を通してその反射光が入射されるCCDラインセンサ41も、長手方向を主走査方向xに平行に配置してある。このような構成により、読取部15は、第1キャリッジ36及び第2キャリッジ39を副走査方向yに移動させながら、主走査方向xを長手方向としたCCDラインセンサ41により副走査方向yに1ラインずつ原稿画像の読取りを行う。   Further, the housing 30 is provided with an imaging lens 40 for condensing the reflected light from the original and the sheet 33 whose optical path has been changed by the first mirror 35, the second mirror 37, and the third mirror 38. The CCD line sensor 41 into which the reflected light enters through the image lens 40 is also arranged with the longitudinal direction parallel to the main scanning direction x. With such a configuration, the reading unit 15 moves the first carriage 36 and the second carriage 39 in the sub-scanning direction y while the CCD line sensor 41 sets the main scanning direction x as the longitudinal direction to 1 in the sub-scanning direction y. The original image is read line by line.

上述した構成により、原稿がプラテンガラス31に載置されて、シート体33を設けたプラテンカバー32が閉じられると、第1キャリッジ36は、プラテンガラス31の下面に沿って副走査方向yに移動しながら原稿及びシート体33により反射された反射光を第1ミラー35により反射させる。また、この反射光を第2ミラー37及び第3ミラー38により反射させて所定の光路に変更し、この所定の光路で入射された光を結像レンズ40を介してCCDラインセンサ41が受ける。このような光走査によって画像データが取得される。   With the configuration described above, when the document is placed on the platen glass 31 and the platen cover 32 provided with the sheet body 33 is closed, the first carriage 36 moves in the sub-scanning direction y along the lower surface of the platen glass 31. The reflected light reflected by the document and the sheet member 33 is reflected by the first mirror 35. The reflected light is reflected by the second mirror 37 and the third mirror 38 to change to a predetermined optical path, and the CCD line sensor 41 receives the light incident on the predetermined optical path via the imaging lens 40. Image data is acquired by such optical scanning.

次に、複合機1の動作について説明する。本発明は、複合機1の読取部15における読取り動作に特徴があり、特に、本来の原稿読取りの前に行うプリスキャン(予備走査)の動作と、プリスキャンでの読取り結果に基づいて原稿の載置状態を検出する動作とに特徴がある。   Next, the operation of the multifunction device 1 will be described. The present invention is characterized by a reading operation in the reading unit 15 of the multifunction device 1, and in particular, based on the prescan (preliminary scan) operation performed before the original document reading and the reading result of the prescan. It is characterized by the operation of detecting the mounting state.

原稿がプラテンガラス31に載置されて、シート体33を設けたプラテンカバー32が閉じられると、光走査系(第1キャリッジ36及び第2キャリッジ39)を副走査方向に1回往復動させてプリスキャンを行う。この往復動において、往路ではシート体33を白色にした状態で光走査により画像データを取得し、復路ではシート体33を黒色にした状態で光走査により画像データを取得する。シート体33を白色にした状態で取得した画像データ(第1画像データ)及びシート体33を黒色にした状態で取得した画像データ(第2画像データ)を、読取部15から画像データ処理部16へ出力する。   When the document is placed on the platen glass 31 and the platen cover 32 provided with the sheet member 33 is closed, the optical scanning system (the first carriage 36 and the second carriage 39) is reciprocated once in the sub-scanning direction. Perform pre-scan. In this reciprocation, image data is acquired by optical scanning with the sheet 33 being white in the forward path, and image data is acquired by optical scanning with the sheet 33 being black in the backward path. Image data (first image data) acquired in a state where the sheet body 33 is white and image data (second image data) acquired in a state where the sheet body 33 is black are sent from the reading unit 15 to the image data processing unit 16. Output to.

画像データ処理部16では、以下の手順によって、原稿の載置状態(原稿の位置、原稿のサイズ、原稿の傾き角度)を検出する。   The image data processing unit 16 detects the document placement state (document position, document size, document tilt angle) according to the following procedure.

画像データ処理部16は、入力された第1画像データと第2画像データとの差分画像データを求める。図3は、これらの各画像データを模式的に示しており、図3(a)は第1画像データ、図3(b)は第2画像データ、図3(c)は差分画像データをそれぞれ示している。   The image data processing unit 16 obtains difference image data between the input first image data and second image data. FIG. 3 schematically shows each of these image data. FIG. 3 (a) shows the first image data, FIG. 3 (b) shows the second image data, and FIG. 3 (c) shows the difference image data. Show.

シート体33を白色にした状態でプリスキャンした場合には、シート体33が白色であるのでシート体33にてほとんどの光が反射され、図3(a)に示すように、原稿領域以外の背景はほぼ白色となる。つまり、画像データを256段階の階調レベル(0〜255)で表すとすると、背景はほぼ255階調レベル(白レベル)となる。これに対して、シート体33を黒色にした状態でプリスキャンした場合には、シート体33が黒色であるのでシート体33にてほとんどの光が吸収され、図3(b)に示すように、背景はほぼ黒色となる。つまり、この場合には背景がほぼ0階調レベル(黒レベル)となる。   When the pre-scan is performed with the sheet body 33 white, most of the light is reflected by the sheet body 33 because the sheet body 33 is white, and as shown in FIG. The background is almost white. That is, if the image data is represented by 256 gradation levels (0 to 255), the background is almost 255 gradation levels (white level). On the other hand, when the pre-scan is performed with the sheet 33 being black, most of the light is absorbed by the sheet 33 because the sheet 33 is black, as shown in FIG. The background is almost black. That is, in this case, the background is almost 0 gradation level (black level).

よって、両画像データの差分を求めた場合、原稿領域では、第1画像データと第2画像データとでほぼ同じ階調レベルであるため、図3(c)に示すように、その差分はほぼ0階調レベル(黒レベル)となる。一方、背景領域では、第1画像データが255階調レベル(白レベル)、第2画像データが0階調レベル(黒レベル)であるため、図3(c)に示すように、その差分はほぼ255階調レベル(白レベル)となる。したがって、差分画像データから容易に正確な原稿領域を求めることが可能である。   Therefore, when the difference between the two image data is obtained, the first image data and the second image data have substantially the same gradation level in the document area, so that the difference is almost as shown in FIG. 0 gradation level (black level). On the other hand, in the background area, the first image data has a 255 gradation level (white level), and the second image data has a 0 gradation level (black level). Therefore, as shown in FIG. The level is approximately 255 gradation levels (white level). Therefore, it is possible to easily obtain an accurate document area from the difference image data.

差分画像データにおける階調レベルの変化が急峻である位置を原稿領域の端点として検出する。そして、原稿が矩形状である場合には、図4に示すように、このような複数の端点の中から、主走査方向xの座標が最小値,最大値となる2つの端点(図4の点C,A)と副走査方向yの座標が最小値,最大値となる2つの端点(図4の点B,D)とを抽出し、それらの4つの端点におけるx座標(図4のxA ,xB ,xC ,xD )及びy座標(図4のyA ,yB ,yC ,yD )を求める。 A position where the change in gradation level in the difference image data is steep is detected as an end point of the document area. If the document has a rectangular shape, as shown in FIG. 4, two end points (in FIG. 4) whose coordinates in the main scanning direction x are the minimum value and the maximum value are selected from the plurality of end points. Points C and A) and two end points (points B and D in FIG. 4) having the minimum and maximum coordinates in the sub-scanning direction y are extracted, and the x coordinates (x in FIG. 4) of these four end points are extracted. a, x B, x C, x D) and the y-coordinate (in FIG. 4 y a, y B, y C, obtaining a y D).

これらの4つの端点に囲まれた領域(図4での矩形ABCD)が、プラテンガラス31に載置された原稿の位置に該当することになるため、原稿の位置を容易に検出できる。   Since the area surrounded by these four end points (rectangular ABCD in FIG. 4) corresponds to the position of the document placed on the platen glass 31, the position of the document can be easily detected.

また、原稿領域の短辺(図4のABまたはCD)及び長辺(図4のADまたはBC)を算出することにより、原稿のサイズを容易に検出できる。   Also, by calculating the short side (AB or CD in FIG. 4) and the long side (AD or BC in FIG. 4) of the document area, the size of the document can be easily detected.

また、(xA −xD )/(yD −yA )=tanθを満たすθを求めることにより、原稿の傾き角度(θ)を容易に検出できる。 Further, by obtaining θ satisfying (x A −x D ) / (y D −y A ) = tan θ, the document inclination angle (θ) can be easily detected.

そして、プリスキャンを終了した後、光走査系(第1キャリッジ36及び第2キャリッジ39)を副走査方向に移動させて本来のスキャン(本走査)を行って、原稿の画像を読み取る。この際、裏写りが懸念されない場合にはシート体33を白色とし、裏写りを防止したい場合にはシート体33を黒色とする。   Then, after the pre-scan is finished, the original scanning (main scanning) is performed by moving the optical scanning system (the first carriage 36 and the second carriage 39) in the sub-scanning direction, and the image of the original is read. At this time, when there is no concern about show-through, the sheet 33 is white, and when it is desired to prevent show-through, the sheet 33 is black.

この本来のスキャンにて取得された画像データに基づく画像を、記録部20にて、用紙にプリントアウトする。この際、必要があれば、記録部20において斜め補正を行うが、上述したように本発明では、正確な原稿の載置状態を検出できているので、傾くことなくきっちりと複写画像を用紙に記録することができる。また、原稿のサイズも正確に検出できているため、適合するサイズの用紙を自動的に選択できる。   An image based on the image data acquired by the original scan is printed out on a sheet by the recording unit 20. At this time, if necessary, oblique correction is performed in the recording unit 20. However, as described above, the present invention can accurately detect the placement of the original, so that the copy image can be exactly printed on the sheet without tilting. Can be recorded. In addition, since the size of the document can be accurately detected, it is possible to automatically select a suitable size paper.

ここで、本発明のように背景色を白色と黒色とに切り替えて2回のプリスキャンを行って原稿の載置状態(原稿領域)を検出する場合と、背景色を黒色として1回だけのプリスキャンを行って原稿の載置状態(原稿領域)を検出する場合との差異について説明する。   Here, as in the present invention, when the background color is switched between white and black and two pre-scans are performed to detect the original placement state (original region), the background color is black and only once. A difference from a case where a pre-scan is performed to detect a document placement state (document region) will be described.

背景色を黒色としたプリスキャンによる画像データのみに基づいて原稿領域を検出する場合、地色が濃くて黒色に近いときには原稿領域と背景との階調レベル変化が少ないため、原稿領域の端点を求めることが難しく、正確な原稿領域を検出できない。これに対して、本発明では、背景色を白色としたプリスキャンによる画像データと背景色を黒色としたプリスキャンによる画像データとの差分に基づいて原稿領域を検出しているため、地色が濃い原稿は勿論のこと、例えば、上半分の地色が黒色で下半分の地色が白色であるような原稿についても、正確な原稿領域を検出することができる。   When the document area is detected based only on pre-scan image data with a black background color, when the background color is dark and close to black, the gradation level change between the document area and the background is small. It is difficult to obtain and an accurate document area cannot be detected. On the other hand, in the present invention, since the document area is detected based on the difference between the prescan image data with the white background color and the prescan image data with the black background color, the background color is An accurate original area can be detected not only for a dark original but also for an original whose upper half is black and whose lower half is white.

本発明におけるプリスキャンは、原稿領域を検出するためのものであるため、原稿を読み取る本来のスキャン時に比べて解像度を低くしても問題ない。例えば、本来のスキャン時の解像度が600dpiである場合、プリスキャン時の解像度は100dpi程度であっても原稿領域の検出に支障はない。   Since the pre-scan in the present invention is for detecting the document area, there is no problem even if the resolution is lowered as compared with the original scan for reading the document. For example, when the original scanning resolution is 600 dpi, even if the pre-scanning resolution is about 100 dpi, there is no problem in detecting the document area.

なお、上述した実施の形態では、第1画像データから第2画像データを減算して差分画像データを求めるようにしたが、白レベルを0階調レベル、黒レベルを255階調レベルとして表す場合には、第2画像データから第1画像データを減算して差分画像データを求めるようにしても、本発明を同様に行えることは勿論である。   In the above-described embodiment, the difference image data is obtained by subtracting the second image data from the first image data. However, when the white level is expressed as 0 gradation level and the black level is expressed as 255 gradation level. Needless to say, the present invention can be performed in the same manner by subtracting the first image data from the second image data to obtain the difference image data.

また、上述した実施の形態では、プリスキャン時におけるシート体33を白色(第1濃度の色)と黒色(第2濃度の色)とに変更する例について説明したが、白色と黒色とに限定されるものではなく、濃度が異なる2色の組み合わせであれば本発明は適用可能であり、例えば淡い黄色と黒色、白色と灰色などの組み合わせであっても良い。   In the above-described embodiment, the example in which the sheet 33 at the time of pre-scan is changed to white (first density color) and black (second density color) has been described, but is limited to white and black. However, the present invention can be applied to any combination of two colors having different densities. For example, a combination of pale yellow and black, white and gray may be used.

また、上述した実施の形態では、プラテンカバー32(原稿押さえ)のプラテンガラス31(原稿台)側に電子ペーパにて構成されるシート体33を設けるようにしたが、これとは異なり、プラテンカバー32(原稿押さえ)自体を電子ペーパにて構成するようにしても良い。つまり、原稿押さえの原稿台に対向する側の面(原稿押さえ面)が第1濃度の色と第2濃度の色とに変更可能になるような構成であれば、その原稿押さえの構成は任意であって良い。   In the above-described embodiment, the sheet body 33 constituted by electronic paper is provided on the platen glass 31 (original platen) side of the platen cover 32 (original holder). 32 (original presser) itself may be configured by electronic paper. In other words, the configuration of the document pressing unit is arbitrary as long as the surface of the document pressing unit facing the document table (document pressing surface) can be changed between the first density color and the second density color. It may be.

また、複合機を例として説明したが、FBS方式にて画像を読み取るコピー機、ファクシミリ装置などすべての画像処理装置に本発明を適用できることは勿論である。   In addition, the multifunction apparatus has been described as an example, but it is needless to say that the present invention can be applied to all image processing apparatuses such as a copying machine and a facsimile apparatus that read an image by the FBS method.

本発明に係る画像処理装置としてのデジタル複合機の構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of a digital multifunction peripheral as an image processing apparatus according to the present invention. 読取部の構成例を示す図である。It is a figure which shows the structural example of a reading part. 原稿の載置状態の検出処理を説明するための取得される画像データ及び差分画像データの例を示す図である。FIG. 4 is a diagram illustrating an example of acquired image data and difference image data for explaining a document placement state detection process. 原稿の載置状態の検出処理を説明するための原稿領域を示す図である。FIG. 5 is a diagram illustrating a document area for explaining a document placement state detection process.

符号の説明Explanation of symbols

1 複合機(画像処理装置)
10 制御部
15 読取部
16 画像データ処理部
31 プラテンガラス(原稿台)
32 プラテンカバー(原稿押さえ)
33 シート体
41 CCDラインセンサ
1 MFP (image processing device)
DESCRIPTION OF SYMBOLS 10 Control part 15 Reading part 16 Image data processing part 31 Platen glass (original platen)
32 Platen cover (document holder)
33 Sheet body 41 CCD line sensor

Claims (3)

原稿台に載置される原稿を原稿押さえで押さえて、光走査により前記原稿の画像を読み取る画像処理装置において、
前記原稿押さえは、第1濃度の色と該第1濃度より高い濃度である第2濃度の色とに変更可能な押さえ面を前記原稿台側に有しており、
前記押さえ面を前記第1濃度の色と前記第2濃度の色としてそれぞれ光走査を行って画像データを取得する手段と、
前記押さえ面を前記第1濃度の色とした光走査により取得した第1画像データと前記押さえ面を前記第2濃度の色とした光走査により取得した第2画像データとの差分を求める差分手段と、
該差分手段による差分結果に基づいて、前記原稿台に載置された原稿の載置状態を検出する検出手段と
を備えることを特徴とする画像処理装置。
In an image processing apparatus that reads a document image by optical scanning while pressing a document placed on a document table with a document press,
The document pressing member has a pressing surface on the document table side that can be changed between a first density color and a second density color higher than the first density.
Means for optically scanning the pressing surface as the first density color and the second density color, respectively, to acquire image data;
Difference means for obtaining a difference between first image data acquired by optical scanning with the pressing surface having the first density color and second image data acquired by optical scanning with the pressing surface having the second density color. When,
An image processing apparatus comprising: detecting means for detecting a placement state of the document placed on the document table based on a difference result by the difference means.
前記押さえ面を前記第1濃度の色とした光走査と前記押さえ面を前記第2濃度の色とした光走査とで走査方向が逆であることを特徴とする請求項1記載の画像処理装置。   2. The image processing apparatus according to claim 1, wherein the scanning direction is reverse between the optical scanning in which the pressing surface has the first density color and the optical scanning in which the pressing surface has the second density color. . 前記検出手段が検出する前記原稿の載置状態は、前記原稿台における原稿の位置、原稿のサイズ、原稿の載置角度を含むことを特徴とする請求項1または2記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the document placement state detected by the detection unit includes a document position on the document table, a document size, and a document placement angle.
JP2008035198A 2008-02-15 2008-02-15 Image processing apparatus Pending JP2009194762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008035198A JP2009194762A (en) 2008-02-15 2008-02-15 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008035198A JP2009194762A (en) 2008-02-15 2008-02-15 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2009194762A true JP2009194762A (en) 2009-08-27

Family

ID=41076349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008035198A Pending JP2009194762A (en) 2008-02-15 2008-02-15 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2009194762A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013214300A (en) * 2012-03-30 2013-10-17 Fujitsu Ltd Image processor, image processing method, and image processing device
WO2015093153A1 (en) * 2013-12-20 2015-06-25 京セラドキュメントソリューションズ株式会社 Image forming apparatus and original document size detection method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013214300A (en) * 2012-03-30 2013-10-17 Fujitsu Ltd Image processor, image processing method, and image processing device
WO2015093153A1 (en) * 2013-12-20 2015-06-25 京セラドキュメントソリューションズ株式会社 Image forming apparatus and original document size detection method
CN105191273A (en) * 2013-12-20 2015-12-23 京瓷办公信息系统株式会社 Image forming apparatus and original document size detection method
JP5866078B2 (en) * 2013-12-20 2016-02-17 京セラドキュメントソリューションズ株式会社 Image forming apparatus and document size detection method
US9432538B2 (en) 2013-12-20 2016-08-30 Kyocera Document Solutions Inc. Image forming apparatus, document sheet size detection method

Similar Documents

Publication Publication Date Title
JP4570670B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, image processing program, and recording medium
CN105791616B (en) Image read-out and image forming apparatus
JP6525208B2 (en) Image reader
JP5617733B2 (en) Reader
JP2009207148A (en) Image processor, and image processing method
US9131095B2 (en) Image forming apparatus and method of controlling the same
WO2017056799A1 (en) Image-reading device and image-forming device
JP2009194762A (en) Image processing apparatus
KR20050072258A (en) Method for scanning a specified area of a document for scanning appratus
JP2007267078A (en) Shading data inspection method
JP2009164810A (en) Image reader
JP2007158965A (en) Image reading apparatus, and original size detection method and program
JP2009207093A (en) Offset determination method and image processing apparatus
JP6884580B2 (en) Image processing device, control method of image processing device, and program
JP5029569B2 (en) Image reading apparatus, image reading method, and image reading program
JP2005167934A (en) Image scanner
JP2007267079A (en) Shading data inspection method and image reader
JP6288514B2 (en) Image reading device
JP2010103808A (en) Image processor, image reader, image forming apparatus, image processing method, image processing program and computer readable recording medium
US10003713B2 (en) Image forming method and image forming apparatus comprising a scanner section and a light reflection area determination section
JP3724453B2 (en) Document reader
JPH07162667A (en) Picture reader
JP6081874B2 (en) Image reading device
KR20220051655A (en) Iamge scanning apparatus for compensating optical flare
JP2021136567A (en) Image reading device