JP2023066247A - Image reading device and image reading system - Google Patents

Image reading device and image reading system Download PDF

Info

Publication number
JP2023066247A
JP2023066247A JP2021176866A JP2021176866A JP2023066247A JP 2023066247 A JP2023066247 A JP 2023066247A JP 2021176866 A JP2021176866 A JP 2021176866A JP 2021176866 A JP2021176866 A JP 2021176866A JP 2023066247 A JP2023066247 A JP 2023066247A
Authority
JP
Japan
Prior art keywords
image
document
image reading
light
read
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
JP2021176866A
Other languages
Japanese (ja)
Inventor
克彦 岡本
Katsuhiko Okamoto
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2021176866A priority Critical patent/JP2023066247A/en
Publication of JP2023066247A publication Critical patent/JP2023066247A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Image Input (AREA)

Abstract

To eliminate the influence of disturbance light that is incident on a document platen to efficiently cut out images of documents through crop processing.SOLUTION: When crop processing is executed with a document holding cover 39 of an image reading unit 15 opened, a control unit 21 of an image forming apparatus 10 causes a reading unit 32 of the image reading unit 15 to perform pre-scanning to detect disturbance light incident on a second platen glass 42 based on a read image read by the reading unit 32, determines whether an image of a document included in the read image can be specified and cut out based on the detected disturbance light, and when the image of the document cannot be specified and cut out, controls an illumination device 50 to reduce the quantity of light of the illumination device 50.SELECTED DRAWING: Figure 1

Description

本発明は、画像読取装置及び画像読取システムに関し、特に、画像読取部の原稿押えカバーが開かれた状態で原稿の画像を読取るクロップ処理が行われるときに照明装置の光量を制御する技術に関する。 The present invention relates to an image reading apparatus and an image reading system, and more particularly to a technique for controlling the amount of light of an illumination device when crop processing is performed to read an image of a document with the document holding cover of the image reading section opened.

画像読取装置の一例として、複合機等の画像形成装置では、複数の小さな原稿(カードなど)が原稿台に載置されると、スキャナー等の画像読取部が原稿台の範囲を読み取り、この読取られた範囲の読取画像から、各原稿の画像を特定して切り出すクロップ処理を行うものがある。 As an example of an image reading device, in an image forming device such as a multifunction machine, when a plurality of small documents (cards, etc.) are placed on the platen, an image reading unit such as a scanner reads the range of the platen, and this reading is performed. Crop processing is performed to specify and cut out the image of each document from the scanned image in the range.

また、クロップ処理に際し、原稿押えカバーを開き、原稿台を開放して、複数の原稿を原稿台に置き、原稿押えカバーを閉じて、原稿押えカバーにより原稿台を覆い、各原稿の画像の読取りを画像読取部により行うという作業を繰り返していたのでは、作業効率が低くなるので、原稿押えカバーが開かれたままの状態で、原稿台上の各原稿を置き換えて、該各原稿の画像を読取ることがある。 Also, when cropping, open the document holding cover, open the document table, place multiple documents on the document table, close the document holding cover, cover the document table with the document holding cover, and read the image of each document. If the image reading section repeats the operation of performing the above operations, the work efficiency will be low. can be read.

しかしながら、原稿押えカバーが開かれた状態では、照明装置の光が外乱光となって原稿台に入射することがあり、この場合は、原稿台上の各原稿の画像を正確に特定して切り出すことができなくなる。 However, when the document holding cover is open, the light from the illumination device may become disturbance light and enter the document platen. I can't do it.

特許文献1では、原稿台に載置されている各原稿の画像を読取る撮像素子(CCD)の出力に基づき原稿台における外乱光の入射範囲を判定し、撮像素子により読取られた領域からその入射範囲を除外して、原稿の画像を特定して切り出すようにしている。 In Japanese Patent Application Laid-Open No. 2004-100000, the incident range of disturbance light on the document platen is determined based on the output of an image pickup device (CCD) that reads the image of each document placed on the document platen, and the incident light is detected from the area read by the image pickup device. By excluding the range, the original image is specified and cut out.

また、特許文献2では、原稿カバーが閉じられる過程で、原稿台に載置されている原稿の画像を読取る撮像素子(CCD)の出力に基づき原稿のサイズを判定しており、原稿カバーで反射された光が外乱光として入射する原稿カバーの開閉角度を予め取得しておき、原稿カバーが閉じられる途中、その開閉角度では原稿のサイズを判定しないようにしている。 Further, in Patent Document 2, in the process of closing the document cover, the size of the document is determined based on the output of an image pickup device (CCD) that reads the image of the document placed on the document platen, and the image is reflected by the document cover. The opening/closing angle of the document cover at which the emitted light is incident as disturbance light is obtained in advance, and the size of the document is not determined based on the opening/closing angle while the document cover is being closed.

また、特許文献3では、画像読取装置による原稿台に載置されている各原稿のプレスキャンを行って、外乱光の有無を判定し、外乱光が有ると判定した場合に、画像読取装置の移動あるいは照明装置の消灯を促すメッセージを表示部に表示させている。 Further, in Japanese Patent Application Laid-Open No. 2002-100000, each document placed on a document platen is pre-scanned by an image reading device to determine the presence or absence of ambient light. A message prompting the user to move or turn off the lighting device is displayed on the display unit.

また、特許文献4では、画像読取装置による原稿台に載置されている各原稿のプレスキャンを行って、外乱光の有無を判定し、外乱光が有ると判定した場合に、画像読取装置の移動あるいは照明装置の消灯を促すメッセージを表示部に表示させ、更に外乱光が入射している原稿台の領域について、その外乱光の有無を引き続きリアルタイムで判定している。 Further, in Japanese Patent Laid-Open No. 2004-100000, each document placed on a document platen is pre-scanned by an image reading device to determine the presence or absence of ambient light. A message prompting the user to move or to turn off the illumination device is displayed on the display unit, and the presence or absence of the disturbance light is continuously determined in real time with respect to the area of the platen where the disturbance light is incident.

特開2001-346009号公報Japanese Patent Application Laid-Open No. 2001-346009 特開2009-111908号公報JP 2009-111908 A 特開2019-29853号公報JP 2019-29853 A 特開2019-29854号公報JP 2019-29854 A

しかしながら、特許文献1では、撮像素子により読取られた領域から外乱光の入射範囲を除外して、原稿の画像を特定して切り出しているので、1度に切出される原稿の枚数が減り、原稿の読取回数が増えてしまう。 However, in Japanese Patent Application Laid-Open No. 2002-200011, the incident range of ambient light is excluded from the area read by the imaging device, and the image of the document is specified and cut out. read count increases.

また、特許文献2では、画像読取装置の位置又は照明装置の位置が変更されると、原稿カバーで反射された光が外乱光として入射する原稿カバーの開閉角度も変わるので、その度に、原稿カバーの開閉角度の取得をやり直す必要がある。 In addition, in Patent Document 2, when the position of the image reading device or the position of the lighting device is changed, the opening and closing angle of the document cover at which the light reflected by the document cover enters as disturbance light also changes. It is necessary to redo acquisition of the opening/closing angle of the cover.

また、特許文献3及び特許文献4では、画像読取装置の移動あるいは照明装置の消灯を促すメッセージに従って、ユーザーが対応しなければならず、効率よく処理を行うことができない。 Further, in Patent Documents 3 and 4, the user must respond to a message prompting the user to move the image reading device or to turn off the lighting device, which prevents efficient processing.

本発明は、上記の事情に鑑みなされたものであり、原稿台に外乱光が入射する場合に、外乱光の影響を抑制して、クロップ処理による各原稿の画像の切出しを効率的に行えるようにすることを目的とする。 SUMMARY OF THE INVENTION The present invention has been devised in view of the above circumstances, and is capable of suppressing the influence of disturbance light and efficiently cutting out an image of each document by cropping when the disturbance light is incident on the platen. The purpose is to

本発明の一局面にかかる画像読取装置は、透光性を有し、原稿が載置される原稿台と、前記原稿台に対して開閉自在に設けられて、閉じられたときに前記原稿台及び該原稿台に載置されている原稿を覆う原稿押えカバーと、前記原稿台に載置されている原稿に、前記原稿台を介して光を照射し、前記原稿の画像を、前記原稿台を介して読取る画像読取部と、前記画像読取部を制御すると共に、前記画像読取部の周辺に設けられ、前記画像読取装置とは別個の少なくとも1つの照明装置を制御する制御部と、を備え、前記制御部は、前記画像読取部による読取りを行わせ、前記画像読取部により読取られた読取画像に含まれる前記原稿台上の原稿の画像を特定して切出すというクロップ処理の機能を有し、前記原稿押えカバーが開かれた状態で前記クロップ処理を実行する場合に、前記画像読取部によりプレスキャンを行わせて、前記画像読取部により読取られた読取画像に基づき前記原稿台に入射している外乱光を検出し、前記検出された外乱光に基づいて前記読取画像に含まれる前記原稿の画像を特定して切り出すことが可能であるか否かを判定し、前記原稿の画像を特定して切り出すことが可能でない場合に、前記照明装置を制御して、前記照明装置の光量を低減又は0にさせるものである。 An image reading apparatus according to one aspect of the present invention includes a translucent platen on which a document is placed, and a platen that can be freely opened and closed with respect to the platen. and a document holding cover that covers the document placed on the document platen; and a control unit that controls the image reading unit and controls at least one illumination device provided around the image reading unit and separate from the image reading device. The control section has a crop processing function of causing the image reading section to perform reading, and specifying and cropping an image of the document on the document platen included in the read image read by the image reading section. When the cropping process is executed with the document holding cover open, pre-scanning is performed by the image reading section, and the document is incident on the document table based on the read image read by the image reading section. detecting ambient light that is generated, and based on the detected ambient light, it is determined whether or not it is possible to specify and cut out the image of the document contained in the read image, and the image of the document is determined. When it is not possible to specify and cut out, the lighting device is controlled to reduce or set the light amount of the lighting device to zero.

本発明の一局面にかかる画像読取システムは、画像読取装置と、前記画像読取装置の周辺に設けられた少なくとも1つの照明装置と、を備え、前記画像読取装置は、透光性を有し、原稿が載置される原稿台と、前記原稿台に対して開閉自在に設けられて、閉じられたときに前記原稿台及び該原稿台に載置されている原稿を覆う原稿押えカバーと、前記原稿台に載置されている原稿に、前記原稿台を介して光を照射し、前記原稿の画像を、前記原稿台を介して読取る画像読取部と、前記画像読取部と前記照明装置とを制御する制御部と、を備え、前記制御部は、前記画像読取部による読取りを行わせ、前記画像読取部により読取られた読取画像に含まれる前記原稿台上の原稿の画像を特定して切出すというクロップ処理の機能を有し、前記原稿押えカバーが開かれた状態で前記クロップ処理を実行する場合に、前記画像読取部によりプレスキャンを行わせて、前記画像読取部により読取られた読取画像に基づき前記原稿台に入射している外乱光を検出し、前記検出された外乱光に基づいて前記読取画像に含まれる前記原稿の画像を特定して切り出すことが可能であるか否かを判定し、前記原稿の画像を特定して切り出すことが可能でない場合に、前記照明装置を制御して、前記照明装置の光量を低減又は0にさせるものである。 An image reading system according to one aspect of the present invention includes an image reading device and at least one illumination device provided around the image reading device, the image reading device having translucency, a document table on which a document is placed; a document holding cover which is provided to be openable and closable with respect to the document table and covers the document table and the document placed on the document table when closed; an image reading unit for irradiating a document placed on a document platen with light through the document platen to read an image of the document through the document platen; and a control unit for controlling, the control unit causes the image reading unit to perform reading, and specifies and cuts the image of the document on the document table included in the read image read by the image reading unit. When the cropping process is executed with the document holding cover open, pre-scanning is performed by the image reading unit, and the image read by the image reading unit is read. Disturbance light incident on the platen is detected based on the image, and whether or not it is possible to specify and cut out the image of the document contained in the read image based on the detected disturbance light. If it is not possible to specify and cut out the image of the document, the illumination device is controlled to reduce or set the light amount of the illumination device to zero.

本発明によれば、原稿台に外乱光が入射する場合に、外乱光の影響を除外して、クロップ処理による各原稿の画像の切出しを効率的に行うことができる。 According to the present invention, when ambient light is incident on the platen, the influence of the ambient light can be excluded, and the image of each document can be cut out efficiently by crop processing.

本発明の第1実施形態にかかる画像読取システム、並びに画像読取システムにおける画像形成装置の構成及び照明装置の構成を示すブロック図である。1 is a block diagram showing an image reading system, a configuration of an image forming apparatus, and a configuration of an illumination device in the image reading system according to the first embodiment of the present invention; FIG. 画像形成装置の外観を示す斜視図である。1 is a perspective view showing an appearance of an image forming apparatus; FIG. 画像形成装置に設けられている画像読取装置の外観を示す斜視図であり、画像読取装置の原稿搬送部が開かれた状態を示している。1 is a perspective view showing an appearance of an image reading device provided in an image forming apparatus, showing a state in which a document conveying section of the image reading device is opened; FIG. 画像読取装置を示す断面図である。1 is a cross-sectional view showing an image reading device; FIG. 画像読取装置の画像読取部並びに第2プラテンガラスを上方から見て示し平面図である。FIG. 2 is a plan view showing an image reading unit and a second platen glass of the image reading device as viewed from above; 第1実施形態に係る画像形成システムにおいてクロップ処理を実行する際の処理の流れを示すフローチャートである。4 is a flow chart showing the flow of processing when crop processing is executed in the image forming system according to the first embodiment; 画像形成装置の表示部に表示された開閉選択画面を示す図である。FIG. 4 is a diagram showing an open/close selection screen displayed on the display unit of the image forming apparatus; プレスキャンが実行されることを通知するメッセージが表示された画像形成装置の表示部の画面を示す図である。FIG. 10 is a diagram showing a screen of the display unit of the image forming apparatus displaying a message notifying that pre-scanning will be performed; 原稿押えカバーが開かれている状態でのクロップ処理が可能であることを通知するメッセージが表示された画像形成装置の表示部の画面を示す図である。FIG. 10 is a diagram showing a screen of the display unit of the image forming apparatus displaying a message notifying that cropping can be performed while the document holding cover is open; 原稿押えカバーが開かれている状態でのクロップ処理が可能でないために照明装置の光量を低減させることを通知するメッセージが表示された画像形成装置の表示部の画面を示す図である。FIG. 10 is a view showing a screen of the display unit of the image forming apparatus displaying a message notifying that the amount of light of the illumination device is to be reduced because the cropping process cannot be performed while the document holding cover is open; 原稿押えカバーが開かれている状態でのクロップ処理の実行が不可能であることを通知するメッセージが表示された画像形成装置の表示部の画面を示す図である。FIG. 10 is a diagram showing a screen of the display unit of the image forming apparatus displaying a message notifying that cropping processing cannot be executed while the document holding cover is open; 本発明の第2実施形態にかかる画像読取システム、並びに画像読取システムにおける画像形成装置の構成及び照明装置の構成を示すブロック図である。FIG. 7 is a block diagram showing an image reading system according to a second embodiment of the present invention, and a configuration of an image forming apparatus and a configuration of an illumination device in the image reading system; 第2実施形態に係る画像形成システムにおいてクロップ処理を実行する際の処理の流れを示すフローチャートである。10 is a flow chart showing the flow of processing when crop processing is executed in the image forming system according to the second embodiment;

以下、本発明の実施形態にかかる画像読取システムについて図面を参照して説明する。
<第1実施形態>
図1は、本発明の第1実施形態にかかる画像読取システム、並びに画像読取システムにおける画像形成装置の構成及び照明装置の構成を示すブロック図である。本実施形態の画像読取システムSyは、本発明に係る画像読取装置の一実施形態である画像形成装置10と、照明装置50とを備えている。
An image reading system according to an embodiment of the present invention will be described below with reference to the drawings.
<First embodiment>
FIG. 1 is a block diagram showing an image reading system according to a first embodiment of the present invention, and a configuration of an image forming apparatus and a configuration of an illumination device in the image reading system. The image reading system Sy of this embodiment includes an image forming apparatus 10, which is an embodiment of the image reading apparatus according to the present invention, and an illumination device 50. As shown in FIG.

画像読取システムSyにおいて、画像形成装置10は、例えば、コピー機能、プリンター機能、スキャナー機能のような複数の機能を兼ね備えたMFP(複合機)である。この画像形成装置10は、表示部11、操作部12、タッチパネル13、近距離通信部14、画像読取部15、画像形成部16、画像メモリー17、記憶部18、及び制御ユニット19などを備えている。これらの構成要素は、互いにバスを通じてデータ又は信号の送受信が可能とされている。 In the image reading system Sy, the image forming apparatus 10 is, for example, an MFP (composite machine) having multiple functions such as a copy function, a printer function, and a scanner function. The image forming apparatus 10 includes a display unit 11, an operation unit 12, a touch panel 13, a short-range communication unit 14, an image reading unit 15, an image forming unit 16, an image memory 17, a storage unit 18, a control unit 19, and the like. there is These components are enabled to send and receive data or signals to and from each other through the bus.

表示部11は、液晶ディスプレイ(LCD:Liquid Crystal Display)や有機EL(OLED:Organic Light-Emitting Diode)ディスプレイなどから構成される。 The display unit 11 includes a liquid crystal display (LCD), an organic light emitting diode (OLED) display, or the like.

表示部11の画面には、タッチパネル13が重ねられている。タッチパネル13は、該タッチパネル13に対するユーザーの指などの接触(タッチ)をその接触位置と共に検知し、その接触位置の座標を示す検知信号を制御ユニット19の後述する制御部21に出力する。 A touch panel 13 is superimposed on the screen of the display unit 11 . The touch panel 13 detects contact (touch) of a user's finger or the like on the touch panel 13 together with the contact position, and outputs a detection signal indicating the coordinates of the contact position to the control section 21 of the control unit 19, which will be described later.

操作部12は、テンキー、決定キー、スタートキーなどのハードキーを備えている。操作部12には、上記各キーの操作に応じて、操作者から各種の動作指示が入力される。 The operation unit 12 includes hard keys such as a numeric keypad, an enter key, and a start key. Various operation instructions are input to the operation unit 12 by the operator according to the operation of each key.

画像読取部15は、原稿の画像を光学的に読み取る撮像素子を有しており、この撮像素子のアナログ出力がデジタル信号に変換されて、原稿の画像を示す画像データが生成される。また、この画像読取部15では、原稿台(後で述べる第2プラテンガラス42)上に載置されている原稿の画像を上記撮像素子により読取るか、あるいは原稿トレイにセットされた1又は複数の原稿を1枚ずつ引き出して搬送するADF(Automatic document feeder:自動原稿送り装置)を備え、このADFにより搬送されている原稿の画像を上記撮像素子により読取る。 The image reading unit 15 has an image sensor for optically reading an image of a document, and converts an analog output of the image sensor into a digital signal to generate image data representing the image of the document. In the image reading unit 15, an image of a document placed on a document platen (second platen glass 42 to be described later) is read by the image sensor, or one or more images set on the document tray are read. An ADF (automatic document feeder) is provided for pulling out and conveying originals one by one, and the image of the original being conveyed by the ADF is read by the imaging element.

画像形成部16は、感光体ドラム、感光体ドラムの表面を均一帯電させる帯電装置、感光体ドラムの表面を露光して、感光体ドラムの表面に静電潜像を形成する露光装置、感光体ドラムの表面の静電潜像をトナー像に現像する現像装置、及び感光体ドラムの表面のトナー像(画像)を記録紙に転写する転写装置等を備え、上記画像データによって示される画像を記録紙に印刷する。 The image forming unit 16 includes a photoreceptor drum, a charging device that uniformly charges the surface of the photoreceptor drum, an exposure device that exposes the surface of the photoreceptor drum to form an electrostatic latent image on the surface of the photoreceptor drum, and a photoreceptor. Equipped with a developing device that develops the electrostatic latent image on the surface of the drum into a toner image, and a transfer device that transfers the toner image (image) on the surface of the photosensitive drum to recording paper, etc., and records the image indicated by the above image data. print on paper.

近距離通信部14は、例えばブルートゥース・ローエネルギー又はブルートゥース(Bluetooth Low Energy(BLE)、Bluetooth:登録商標)等の通信機能を備えた通信機器であり、当該通信機能に基づく近距離通信により照明装置50との間でデータ通信を行う。 The short-range communication unit 14 is, for example, a communication device having a communication function such as Bluetooth low energy or Bluetooth (Bluetooth Low Energy (BLE), Bluetooth: registered trademark). 50 for data communication.

画像メモリー17には、画像読取部15により読取られた原稿の画像を示す画像データが記憶される。 The image memory 17 stores image data representing the image of the document read by the image reading section 15 .

記憶部18は、SSD(Solid State Drive)又はHDD(Hard Disk Drive)などの大容量の記憶装置であって、各種のアプリケーションプログラムや種々のデータを記憶している。 The storage unit 18 is a large-capacity storage device such as an SSD (Solid State Drive) or HDD (Hard Disk Drive), and stores various application programs and various data.

制御ユニット19は、プロセッサー、RAM(Random Access Memory)、及びROM(Read Only Memory)などから構成される。プロセッサーは、例えばCPU(Central Processing Unit)、ASIC(Application Specific Integrated Circuit)、又はMPU(Micro Processing Unit)等である。この制御ユニット19は、上記のROM又は記憶部18に記憶された制御プログラムが上記プロセッサーで実行されることにより、制御部21として機能する。 The control unit 19 includes a processor, RAM (Random Access Memory), ROM (Read Only Memory), and the like. The processor is, for example, a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or an MPU (Micro Processing Unit). The control unit 19 functions as the control section 21 by executing the control program stored in the ROM or the storage section 18 by the processor.

制御部21は、画像形成装置10の全体的な制御を司る。また、制御ユニット19は、表示部11、操作部12、タッチパネル13、近距離通信部14、画像読取部15、画像形成部16、画像メモリー17、及び記憶部18などと接続されている。制御部21は、上記各構成要素の制御や、各構成要素との間での信号またはデータの送受信を行う。 The control unit 21 controls overall control of the image forming apparatus 10 . The control unit 19 is also connected to the display section 11, the operation section 12, the touch panel 13, the short-range communication section 14, the image reading section 15, the image forming section 16, the image memory 17, the storage section 18, and the like. The control unit 21 controls each component and transmits/receives signals or data to/from each component.

制御部21は、画像形成装置10による画像形成に必要な各種の処理などを実行する処理部としての役割を果たす。 The control unit 21 serves as a processing unit that executes various processes required for image formation by the image forming apparatus 10 .

また、制御部21は、タッチパネル13から出力される検出信号あるいは操作部12の物理キーの操作に基づき、ユーザーにより入力された操作指示を受け付ける。例えば、制御部21は、タッチパネル13を通じて表示部11の画面に表示されているGUI(Graphical User Interface)などに対するタッチ操作を受け付ける。 Further, the control unit 21 receives operation instructions input by the user based on detection signals output from the touch panel 13 or physical key operations of the operation unit 12 . For example, the control unit 21 receives a touch operation on a GUI (Graphical User Interface) displayed on the screen of the display unit 11 through the touch panel 13 .

更に、制御部21は、表示部11の表示動作を制御する機能、近距離通信部14の通信動作を制御する機能を有する。 Furthermore, the control unit 21 has a function of controlling the display operation of the display unit 11 and a function of controlling the communication operation of the near field communication unit 14 .

次に、画像読取システムSyにおいて、照明装置50は、光源51と、電源部52と、近距離通信部54と、制御部55とを備えている。これらの構成要素は、互いにバスを通じてデータ又は信号の送受信が可能とされている。 Next, in the image reading system Sy, the illumination device 50 includes a light source 51 , a power supply section 52 , a short-range communication section 54 and a control section 55 . These components are enabled to send and receive data or signals to and from each other through the bus.

光源51は、例えばLEDからなり、電源部52からの電力供給を受けて発光し、照明光を照射する。 The light source 51 is made up of, for example, an LED, and emits light upon being supplied with power from the power supply unit 52 to emit illumination light.

近距離通信部54は、例えばブルートゥース・ローエネルギー又はブルートゥース(Bluetooth Low Energy(BLE)、Bluetooth:登録商標)等の通信機能を備えた通信機器であり、当該通信機能に基づく近距離通信により画像形成装置10との間でデータを送受信する。 The short-range communication unit 54 is a communication device having a communication function such as Bluetooth Low Energy (BLE) or Bluetooth (registered trademark), and image formation is performed by short-range communication based on the communication function. It transmits and receives data to and from the device 10 .

制御部55は、例えばマイクロコンピューターであり、電源部52、近距離通信部54に接続されて、これらを制御する。 The control unit 55 is, for example, a microcomputer, is connected to the power supply unit 52 and the short-range communication unit 54, and controls them.

次に、画像形成装置10における画像読取部15について説明する。図2は、画像形成装置10の外観を示す斜視図である。また、図3は、画像読取部15の外観を示す斜視図であり、原稿搬送部31が開かれた状態を示している。図4は、画像読取部15を示す断面図である。 Next, the image reading section 15 in the image forming apparatus 10 will be described. FIG. 2 is a perspective view showing the appearance of the image forming apparatus 10. As shown in FIG. 3 is a perspective view showing the appearance of the image reading section 15, showing a state in which the document conveying section 31 is opened. FIG. 4 is a sectional view showing the image reading section 15. As shown in FIG.

図2に示すように、画像形成装置10は、本体筐体20を備え、本体筐体20の上に画像読取部15が取り付けられ、本体筐体20の正面下側に記録紙を供給する給紙カセット7が設けられている。また、本体筐体20における給紙カセット7の上側の内部空間には、給紙カセット7から供給された記録紙にトナー像(画像)を形成する画像形成部16が設けられている。給紙カセット7から供給されて画像形成部16により画像が形成された記録紙は、排紙トレイ8に排出される。 As shown in FIG. 2, the image forming apparatus 10 includes a main housing 20, an image reading unit 15 is mounted on the main housing 20, and a paper feeder that supplies recording paper to the front lower side of the main housing 20. A paper cassette 7 is provided. An image forming section 16 that forms a toner image on recording paper supplied from the paper feed cassette 7 is provided in the internal space above the paper feed cassette 7 in the main body housing 20 . The recording paper supplied from the paper feed cassette 7 and on which the image is formed by the image forming section 16 is discharged to the paper discharge tray 8 .

図3及び図4に示すように、画像読取部15は、原稿搬送部31及び読取部32を備えている。原稿搬送部31は、原稿トレイ33、給紙ローラー34、レジストローラー35、複数の搬送ローラー36、排紙ローラー37、及び原稿排出トレイ38等を備えている。また、読取部32は、第1プラテンガラス41、第2プラテンガラス42、キャリッジ44、光学系ユニット45、集光レンズ46、及びCCDセンサー47等を備えている。第2プラテンガラス42は、特許請求の範囲における原稿台の一例である。 As shown in FIGS. 3 and 4, the image reading section 15 includes a document conveying section 31 and a reading section 32 . The document transport unit 31 includes a document tray 33, a paper feed roller 34, a registration roller 35, a plurality of transport rollers 36, a paper discharge roller 37, a document discharge tray 38, and the like. The reading unit 32 also includes a first platen glass 41, a second platen glass 42, a carriage 44, an optical system unit 45, a condenser lens 46, a CCD sensor 47, and the like. The second platen glass 42 is an example of a platen in the claims.

読取部32において、キャリッジ44は、原稿に光を照射する光源44Aと、原稿Mで反射された光を反射するミラー44Bとを備えている。 In the reading unit 32, the carriage 44 has a light source 44A for irradiating light onto the document and a mirror 44B for reflecting the light reflected by the document M. As shown in FIG.

光学系ユニット45は、ミラー45Aと、ミラー45Bとを備えている。ミラー45Aは、キャリッジ44のミラー44Bで反射された光を受けて、さらに略垂直下方に方向転換させる。ミラー45Bは、ミラー45Aで反射された光を、さらに略水平に方向転換させて、集光レンズ46を通じてCCDセンサー47へと導く。 The optical system unit 45 includes mirrors 45A and 45B. The mirror 45A receives the light reflected by the mirror 44B of the carriage 44 and changes the direction substantially vertically downward. The mirror 45B redirects the light reflected by the mirror 45A to a substantially horizontal direction and guides the light to the CCD sensor 47 through the condenser lens 46 .

キャリッジ44及び光学系ユニット45は、レールに沿って主走査方向Yと直交する副走査方向Xに往復移動可能に設けられ、ステッピングモーター(図示せず)を動力源とする既知の駆動機構により所定の速度関係を維持しつつ副走査方向Xに移動される。 The carriage 44 and optical system unit 45 are provided so as to be reciprocally movable along rails in the sub-scanning direction X perpendicular to the main scanning direction Y, and are driven by a known drive mechanism powered by a stepping motor (not shown). is moved in the sub-scanning direction X while maintaining the speed relationship of .

読取部32の上面32Aの一端部には、2つのヒンジ48が離間して設けられており、これらのヒンジ48により原稿搬送部31が開閉可能に支持されて、ユーザーによる原稿搬送部31の開閉操作が可能にされている。原稿搬送部31の下面には、原稿押えカバー39が設けられている。原稿搬送部31が閉じられると、原稿押えカバー39により第1プラテンガラス41及び第2プラテンガラス42が覆われる。従って、原稿押えカバー39は、第2プラテンガラス42に対して開閉自在に設けられて、閉じられたときに第2プラテンガラス42を覆う。 Two hinges 48 are spaced apart from one end of the top surface 32A of the reading unit 32. These hinges 48 support the document conveying unit 31 so that the document conveying unit 31 can be opened and closed by the user. operation is enabled. A document pressing cover 39 is provided on the lower surface of the document conveying section 31 . When the document conveying section 31 is closed, the document pressing cover 39 covers the first platen glass 41 and the second platen glass 42 . Therefore, the document holding cover 39 is provided so as to be openable and closable with respect to the second platen glass 42, and covers the second platen glass 42 when closed.

また、画像読取部15では、第2プラテンガラス42上に載置されている原稿Mの画像を読取る第1モード、及び原稿搬送部31により原稿Mを搬送しつつ該原稿Mの画像を読取る第2モードのいずれかを切替えることができる。例えば、第2プラテンガラス42上に載置されている原稿Mを検出する第1センサー(図示せず)、及び原稿搬送部31の原稿トレイ33に載置されている原稿Mを検出する第2センサー(図示せず)が設けられている。第1センサーにより原稿Mが検出されると、第1モードが設定され、また第2センサーにより原稿Mが検出されると、第2モードが設定される。 The image reading unit 15 also has a first mode for reading the image of the document M placed on the second platen glass 42 and a second mode for reading the image of the document M while the document M is conveyed by the document conveying unit 31 . Either of two modes can be switched. For example, a first sensor (not shown) that detects the document M placed on the second platen glass 42 and a second sensor (not shown) that detects the document M placed on the document tray 33 of the document transport section 31 . A sensor (not shown) is provided. When the document M is detected by the first sensor, the first mode is set, and when the document M is detected by the second sensor, the second mode is set.

例えば、ユーザーが、原稿搬送部31並びに原稿押えカバー39を開いて、第2プラテンガラス42上に原稿Mを載置し、原稿搬送部31を閉じ、更に操作部12のスタートキーを操作し、制御部21が原稿読取指示を受け付けたものとする。制御部21は、第1センサーにより原稿が検出されると、第1モードを設定し、上記原稿読取指示に従って、読取部32により第2プラテンガラス42上の原稿Mの画像を読取らせる。読取部32では、キャリッジ44及び光学系ユニット45を、予め定められた速度関係を維持して副走査方向Xに移動させつつ、キャリッジ44の光源44Aの光を、第2プラテンガラス42を介して原稿Mに照射し、原稿Mで反射された光をキャリッジ44のミラー44Bで反射する。更に、この光は、光学系ユニット45のミラー45A及びミラー45Bで反射されて、集光レンズ46を通じてCCDセンサー47に入射する。CCDセンサー47は、原稿Mの画像を主走査方向Y(副走査方向Xと直交する方向)に繰り返し読取る。 For example, the user opens the document conveying section 31 and the document holding cover 39, places the document M on the second platen glass 42, closes the document conveying section 31, further operates the start key of the operation section 12, Assume that the control unit 21 has received a document reading instruction. When the document is detected by the first sensor, the control section 21 sets the first mode, and causes the reading section 32 to read the image of the document M on the second platen glass 42 according to the document reading instruction. In the reading unit 32, the carriage 44 and the optical system unit 45 are moved in the sub-scanning direction X while maintaining a predetermined speed relationship, and the light from the light source 44A of the carriage 44 is emitted through the second platen glass 42. The original document M is irradiated with light, and the light reflected by the original document M is reflected by the mirror 44B of the carriage 44 . Further, this light is reflected by the mirrors 45A and 45B of the optical system unit 45 and enters the CCD sensor 47 through the condenser lens 46. FIG. The CCD sensor 47 repeatedly reads the image of the document M in the main scanning direction Y (direction perpendicular to the sub-scanning direction X).

また、ユーザーが、原稿搬送部31を閉じた状態で、原稿Mを原稿搬送部31の原稿トレイ33に載置し、操作部12のスタートキーを操作し、制御部21が原稿読取指示を受け付けたものとする。制御部21は、第2センサーにより原稿Mが検出されると、第2モードを設定し、上記原稿読取指示に従って、原稿搬送部31により原稿トレイ33の原稿Mを搬送させ、読取部32により原稿Mの画像を読取らせる。原稿搬送部31では、給紙ローラー34により原稿トレイ33に載置されている原稿Mを引出させ、レジストローラー35及び各搬送ローラー36により原稿Mを第1プラテンガラス41の上面を通じて副走査方向に搬送させ、排紙ローラー37により原稿Mを原稿排出トレイ38に排出させる。読取部32では、キャリッジ44及び光学系ユニット45を第1プラテンガラス41の下方のそれぞれの所定位置に位置決めし、キャリッジ44の光源44Aの光を、第1プラテンガラス41を介して原稿Mに照射し、原稿Mで反射された光を各ミラー44B、45A、45Bで反射させて、集光レンズ46を通じてCCDセンサー47に入射させ、CCDセンサー47により原稿Mの画像を主走査方向Yに繰り返し読取らせる。 Further, the user places the document M on the document tray 33 of the document transport section 31 with the document transport section 31 closed, operates the start key of the operation section 12, and the control section 21 accepts the document reading instruction. shall be assumed. When the document M is detected by the second sensor, the control unit 21 sets the second mode, causes the document conveying unit 31 to convey the document M on the document tray 33 in accordance with the document reading instruction, and the reading unit 32 reads the document. Read the image of M. In the document transport section 31, the document M placed on the document tray 33 is pulled out by the feed roller 34, and the document M is moved in the sub-scanning direction through the upper surface of the first platen glass 41 by the registration roller 35 and each transport roller 36. Then, the document M is discharged to the document discharge tray 38 by the discharge roller 37 . In the reading section 32 , the carriage 44 and the optical system unit 45 are positioned at respective predetermined positions below the first platen glass 41 , and light from the light source 44 A of the carriage 44 is applied to the document M through the first platen glass 41 . Then, the light reflected by the document M is reflected by the mirrors 44B, 45A, and 45B and made incident on the CCD sensor 47 through the condensing lens 46, and the CCD sensor 47 repeatedly reads the image of the document M in the main scanning direction Y. Let

第1モード及び第2モードのいずれにおいても、制御部21は、読取部32により原稿Mの画像が読取られると、原稿Mの画像を示す画像データを画像メモリー17に一旦記憶させ、当該画像データを記憶部18に記憶させ、或いは、当該画像データによって示される原稿Mの画像を画像形成部16により記録紙Pに形成させる。 In both the first mode and the second mode, when the image of the document M is read by the reading section 32, the control section 21 temporarily stores image data representing the image of the document M in the image memory 17, and stores the image data. is stored in the storage unit 18, or the image of the document M indicated by the image data is formed on the recording paper P by the image forming unit 16. FIG.

また、本実施形態の画像形成装置10には、クロップ処理の機能が設けられている。このクロップ処理は、画像読取部15により読取られた範囲の読取画像から、1つ以上の各原稿の画像を特定して切り出す処理である。画像形成装置10では、クロップ処理は、原稿搬送部31並びに原稿押えカバー39の開閉にかかわらず利用可能である。 Further, the image forming apparatus 10 of the present embodiment is provided with a crop processing function. This cropping process is a process of specifying and cropping one or more images of each document from the read image within the range read by the image reading unit 15 . In the image forming apparatus 10, the cropping process can be used regardless of whether the document conveying portion 31 and the document pressing cover 39 are opened or closed.

原稿搬送部31並びに原稿押えカバー39が開かれたままの状態でクロップ処理が行われ場合、ユーザーは、原稿搬送部31並びに原稿押えカバー39の開閉操作を省略でき、作業効率が向上する。この場合、ユーザーは、原稿搬送部31並びに原稿押えカバー39を開いて、第2プラテンガラス42を開放させ、複数の小さな原稿(カードなど)を第2プラテンガラス42上に載置し、スタートキーを操作する。この操作に基づいて、制御部21が原稿読取指示を受け付ける。原稿読取指示に従って、制御部21は、原稿搬送部31並びに原稿押えカバー39が開かれたままの状態で、上記第1モードを設定して、読取部32により第2プラテンガラス42上の各原稿の画像を読取らせる。読取部32では、キャリッジ44及び光学系ユニット45を所定の速度関係を維持して副走査方向Xに移動させつつ、キャリッジ44の光源44Aの光を、第2プラテンガラス42を介して各原稿に照射させ、各原稿で反射された光をキャリッジ44のミラー44B、光学系ユニット45のミラー45A及びミラー45Bで反射させて、集光レンズ46を通じてCCDセンサー47に入射させる。CCDセンサー47は、第2プラテンガラス42の範囲、つまり原稿読取が可能な全範囲に亘って、主走査方向Yに繰り返し読取る。制御部21は、その範囲の読取画像を示す画像データを一旦画像メモリー17に記憶させる。制御部21は、画像メモリー17内の画像データを参照して、その読取画像における各画素の明るさを示すそれぞれの画素値を取得する。制御部21は、互いに隣接する各画素の画素値に基づき、各原稿の画像の4辺のエッジを検出し、各原稿の画像のサイズ及び位置を判定して、その読取画像に含まれる各原稿の画像を特定して切り出すという既知のクロップ処理を実行し、各原稿の画像を示すそれぞれの画像データを取得する。 When the cropping process is performed with the document conveying portion 31 and the document holding cover 39 open, the user can omit opening and closing the document conveying portion 31 and the document holding cover 39, thereby improving work efficiency. In this case, the user opens the document transport section 31 and the document holding cover 39 to open the second platen glass 42, places a plurality of small documents (such as cards) on the second platen glass 42, and presses the start key. to operate. Based on this operation, the control unit 21 accepts the document reading instruction. In accordance with the document reading instruction, the control unit 21 sets the first mode while the document conveying unit 31 and the document holding cover 39 are kept open, and the reading unit 32 scans each document on the second platen glass 42 . to read the image of In the reading section 32, the carriage 44 and the optical system unit 45 are moved in the sub-scanning direction X while maintaining a predetermined speed relationship, and the light from the light source 44A of the carriage 44 is directed onto each document via the second platen glass 42. The light reflected by each document is reflected by the mirror 44B of the carriage 44 and the mirrors 45A and 45B of the optical system unit 45, and is incident on the CCD sensor 47 through the condenser lens 46. FIG. The CCD sensor 47 repeatedly reads in the main scanning direction Y over the range of the second platen glass 42, that is, the entire range in which the document can be read. The control unit 21 causes the image memory 17 to temporarily store the image data representing the read image of that range. The control unit 21 refers to the image data in the image memory 17 and acquires each pixel value indicating the brightness of each pixel in the read image. Based on the pixel values of pixels adjacent to each other, the control unit 21 detects the edges of the four sides of the image of each document, determines the size and position of the image of each document, and determines the size and position of each document included in the read image. Then, a known cropping process is performed to specify and cut out the image of each document, and image data representing the image of each document is obtained.

ここで、図2に示すように照明装置50が画像形成装置10(画像読取部15)の周辺に設置されている場合は、画像読取部15の原稿搬送部31並びに原稿押えカバー39が開かれていると、照明装置50の光源51の光が第2プラテンガラス42に入射して外乱光となる。例えば、図5に示すように第2プラテンガラス42の特定の領域61に外乱光が入射する状態となる。この状態でクロップ処理が実行されると、読取部32のCCDセンサー47により第2プラテンガラス42上の各原稿の画像だけではなく外乱光も読取られるので、CCDセンサー47により読取られた読取画像における各画素の画素値が外乱光の影響を受けて変動し、各原稿の画像の4辺のエッジが正確に検出されず、読取画像に含まれる各原稿の画像を特定して切り出すことができなくなるおそれがある。 Here, when the illumination device 50 is installed around the image forming apparatus 10 (image reading section 15) as shown in FIG. When this is done, the light from the light source 51 of the illumination device 50 enters the second platen glass 42 and becomes disturbance light. For example, as shown in FIG. 5, disturbance light enters a specific region 61 of the second platen glass 42 . When the cropping process is executed in this state, the CCD sensor 47 of the reading unit 32 reads not only the image of each document on the second platen glass 42 but also the ambient light. The pixel value of each pixel fluctuates due to the influence of ambient light, and the four edges of the image of each document cannot be detected accurately, making it impossible to specify and cut out the image of each document included in the read image. There is a risk.

そこで、本実施形態では、制御部21は、原稿搬送部31並びに原稿押えカバー39が開かれている状態でクロップ処理が実行される場合に、読取部32によりプレスキャンを行わせて、読取部32のCCDセンサー47により読取られた読取画像に基づき、当該読取画像に含まれる各原稿の画像を特定して切り出すことが可能であるか否か、つまりクロップ処理が可能であるか否かを判定する。そして、制御部21は、当該事前の判定でクロップ処理が可能であるとした場合に、クロップ処理を実行する。また、制御部21は、クロップ処理が可能でないと判定した場合に、照明装置50を制御して、照明装置50の光源51の光量を低減させ、第2プラテンガラス42に入射する外乱光を低減させる。制御部21は、第2プラテンガラス42に入射する外乱光が十分に低減されて、読取画像に基づいてクロップ処理が可能になるまで、照明装置50の光源51の光量を段階的に低減させる。 Therefore, in the present embodiment, the control unit 21 causes the reading unit 32 to perform pre-scanning when the cropping process is executed with the document conveying unit 31 and the document holding cover 39 open. Based on the read image read by the CCD sensor 47 of 32, it is determined whether or not it is possible to specify and cut out the image of each document included in the read image, that is, whether or not crop processing is possible. do. Then, the control unit 21 executes the cropping process when it is determined in the prior determination that the cropping process is possible. Further, when the control unit 21 determines that the crop processing is not possible, the control unit 21 controls the lighting device 50 to reduce the amount of light from the light source 51 of the lighting device 50, thereby reducing disturbance light incident on the second platen glass 42. Let The control unit 21 gradually reduces the amount of light from the light source 51 of the illumination device 50 until the disturbance light incident on the second platen glass 42 is sufficiently reduced to enable crop processing based on the read image.

次に、画像形成装置10においてクロップ処理を実行する際の処理の流れを、図6に示すフローチャートなどを参照して説明する。図6は、第1実施形態に係る画像形成システムにおいてクロップ処理を実行する際の処理の流れを示すフローチャートである。 Next, the flow of processing when executing crop processing in the image forming apparatus 10 will be described with reference to the flowchart shown in FIG. 6 and the like. FIG. 6 is a flow chart showing the flow of processing when crop processing is executed in the image forming system according to the first embodiment.

ユーザーが、例えば表示部11に表示されているGUIを操作して、クロップ処理の内容を設定する指示を入力すると、制御部21は、当該指示を受け付ける。制御部21は、当該指示に応じて、原稿搬送部31並びに原稿押えカバー39が開かれたままの状態でクロップ処理の機能を利用するか否かを選択するための選択画面を表示部11に表示させる(S101)。例えば、表示部11には、図7に示すような開閉選択画面G1が表示される。この開閉選択画面G1には、原稿搬送部31並びに原稿押えカバー39が開かれたままの状態でクロップ処理の機能を利用するか否かの選択を促すメッセージM1、OKキーK11、及びNGキーK12が表示されている。 For example, when the user operates the GUI displayed on the display unit 11 to input an instruction to set the details of crop processing, the control unit 21 receives the instruction. In response to the instruction, the control unit 21 displays a selection screen on the display unit 11 for selecting whether or not to use the cropping function while the document conveying unit 31 and the document holding cover 39 are kept open. Display (S101). For example, the display unit 11 displays an open/close selection screen G1 as shown in FIG. This opening/closing selection screen G1 includes a message M1 prompting a user to select whether or not to use the cropping function with the document conveying section 31 and the document holding cover 39 kept open, an OK key K11, and an NG key K12. is displayed.

例えば、ユーザーがNGキーK12にタッチ操作すると、制御部21は、NGキーK12に対するタッチ操作に基づいて、クロップ処理を即座に実行する指示を、タッチパネル13を通じて受け付け(S102「NG」)、クロップ処理を実行する(S103)。 For example, when the user touches the NG key K12, the control unit 21 accepts an instruction to immediately execute the crop processing through the touch panel 13 based on the touch operation on the NG key K12 (S102 "NG"), and performs the crop processing. (S103).

この場合、例えば、ユーザーは、原稿搬送部31並びに原稿押えカバー39を開いて、複数の小さな原稿(カードなど)を第2プラテンガラス42上に置き、原稿搬送部31並びに原稿押えカバー39を閉じてから、上記NGキーK12をタッチ操作する。このとき、制御部21は、タッチ操作に応じて受け付けた、クロップ処理を即座に実行する指示に従って、クロップ処理を実行する。制御部21は、読取部32により第2プラテンガラス42の範囲を読取らせ、この読取られた範囲の読取画像を示す画像データを画像メモリー17に一旦記憶させる。更に、制御部21は、画像メモリー17内の画像データが示す読取画像を構成する各画素の画素値を取得し、互いに隣接する各画素の画素値に基づき、その読取画像における各原稿の画像の4辺のエッジを検出し、各原稿の画像のサイズ及び位置を判定する。そして、制御部21は、当該判定結果に基づいて、その読取画像に含まれる各原稿の画像を特定し、各原稿の画像を切出すというクロップ処理を実行する。制御部21は、各原稿の画像を示すそれぞれの画像データを記憶部18に記憶させる。 In this case, for example, the user opens document transport section 31 and document holding cover 39, places a plurality of small documents (such as cards) on second platen glass 42, and closes document transport section 31 and document holding cover 39. Then, the NG key K12 is touch-operated. At this time, the control unit 21 executes the cropping process in accordance with the instruction to immediately execute the cropping process received in response to the touch operation. The control unit 21 causes the reading unit 32 to read the range of the second platen glass 42 , and causes the image memory 17 to temporarily store image data representing the read image of the read range. Further, the control unit 21 acquires the pixel values of the pixels forming the read image indicated by the image data in the image memory 17, and based on the pixel values of the pixels adjacent to each other, determines the image of each document in the read image. Four edges are detected to determine the size and position of each original image. Then, based on the determination result, the control unit 21 specifies the image of each document included in the read image, and executes crop processing for cropping the image of each document. The control unit 21 causes the storage unit 18 to store each image data representing the image of each document.

従って、制御部21は、開閉選択画面G1の表示時に、ユーザーからクロップ処理の実行指示を受け付けた場合は、「第2プラテンガラス42に入射している外乱光を含む読取画像に基づいたクロップ処理が可能であるか否かの判定」を行わずに、クロップ処理を実行する。なお、ユーザーにより原稿搬送部31並びに原稿押えカバー39が閉じられず、その状態で読取部32により第2プラテンガラス42の範囲が読取ったとしても、制御部21は、この読取られた範囲の読取画像から各原稿の画像を特定して切出す処理を実行する。この場合、当該読取画像から各原稿の画像の特定ができず、各原稿の画像を切り出せない事態も生じ得る。 Therefore, when the control unit 21 receives a crop processing execution instruction from the user when the opening/closing selection screen G1 is displayed, the control unit 21 performs "crop processing based on a read image including disturbance light incident on the second platen glass 42". Crop processing is executed without performing "determining whether or not it is possible to Even if the user does not close the document conveying unit 31 and the document holding cover 39 and the reading unit 32 reads the range of the second platen glass 42 in that state, the control unit 21 does not read the read range. A process of specifying and extracting the image of each document from the image is executed. In this case, the image of each document cannot be specified from the read image, and a situation may occur in which the image of each document cannot be cut out.

また、開閉選択画面G1の表示時に、ユーザーがOKキーK11にタッチ操作した場合、制御部21は、OKキーK11に対するタッチ操作に基づいて、「第2プラテンガラス42に入射している外乱光を含む読取画像に基づいたクロップ処理が可能であるか否かの判定」の実行指示を、タッチパネル13を通じて受け付ける(S102「OK」)。このとき、制御部21は、当該判定を行うためのプレスキャンを実行する旨を示すメッセージを表示部11の画面に表示させる(S104)。例えば、表示部11には、図8に示すようなメッセージM2が表示される。 Further, when the user touches the OK key K11 while the opening/closing selection screen G1 is displayed, the control unit 21 displays "Remove disturbance light incident on the second platen glass 42" based on the touch operation on the OK key K11. Judgment as to whether or not cropping processing based on the read image is possible" is accepted through the touch panel 13 ("OK" in S102). At this time, the control unit 21 causes the screen of the display unit 11 to display a message indicating that pre-scanning for making the determination is to be executed (S104). For example, the display unit 11 displays a message M2 as shown in FIG.

ユーザーは、メッセージM2を見て、各原稿が載置された第2プラテンガラス42に対して原稿搬送部31並びに原稿押えカバー39が開かれた状態にする。制御部21は、プレスキャンを実行して、読取部32により第2プラテンガラス42の範囲を読取らせる(S105)。読取部32では、キャリッジ44及び光学系ユニット45を所定の速度関係を維持して副走査方向Xに移動させつつ、キャリッジ44の光源44Aの光を、第2プラテンガラス42を介して上方空間へと照射させ、また第2プラテンガラス42に入射している外乱光をキャリッジ44のミラー44B、光学系ユニット45のミラー45A及びミラー45Bで反射させて、集光レンズ46を通じてCCDセンサー47に入射させる。CCDセンサー47は、第2プラテンガラス42の範囲を主走査方向Yに繰り返し読取る。制御部21は、第2プラテンガラス42の範囲の読取画像を示す画像データを画像メモリー17に記憶させる。 Upon seeing the message M2, the user opens the document conveying section 31 and the document holding cover 39 with respect to the second platen glass 42 on which each document is placed. The control unit 21 executes pre-scanning and causes the reading unit 32 to read the range of the second platen glass 42 (S105). In the reading unit 32, the carriage 44 and the optical system unit 45 are moved in the sub-scanning direction X while maintaining a predetermined speed relationship, and the light from the light source 44A of the carriage 44 is directed to the upper space via the second platen glass 42. , and the disturbance light incident on the second platen glass 42 is reflected by the mirror 44B of the carriage 44 and the mirrors 45A and 45B of the optical system unit 45, and is incident on the CCD sensor 47 through the condenser lens 46. . The CCD sensor 47 repeatedly reads the range of the second platen glass 42 in the main scanning direction Y. As shown in FIG. The control unit 21 causes the image memory 17 to store image data representing the read image within the range of the second platen glass 42 .

制御部21は、画像メモリー17内の画像データが示す読取画像における各画素の明るさを示すそれぞれの画素値を取得し、予め設定された明度(外乱光を読み取った場合の明度として予め定められている値)を示す明度閾値以上の画素値を有する各画素で構成される領域を検出する(S106)。この領域は、第2プラテンガラス42における外乱光が入射している領域とされ、読取画像においては格別に明るい領域である。すなわち、制御部21は、外乱光を検出する。例えば、画素の明度が256階調で規定されている場合、明度閾値が150程度に予め設定され、その領域の各画素の明度が150以上となる。 The control unit 21 acquires each pixel value indicating the brightness of each pixel in the read image indicated by the image data in the image memory 17, and sets the brightness to a preset brightness (predetermined brightness when ambient light is read). A region composed of each pixel having a pixel value equal to or higher than the brightness threshold indicating the value of the lightness is detected (S106). This area is the area on the second platen glass 42 where disturbance light is incident, and is a particularly bright area in the read image. That is, the controller 21 detects ambient light. For example, when the brightness of pixels is defined by 256 gradations, the brightness threshold is preset to about 150, and the brightness of each pixel in that area is 150 or more.

制御部21は、読取画像における上記明るい領域を構成する各画素の数を計数し、この計数された各画素の数が予め設定されたサイズ閾値以上であるか否かを判定する(S107)。換言すれば、制御部21は、その明るい領域の広さを判定し、この判定された領域の広さが予め設定されたサイズ以上であるか否かを判定する。例えば、サイズ閾値は、読取画像における全画素数の2%程度、よって第2プラテンガラス43の総面積の2%程度のサイズに入る各画素の数に予め設定される。 The control unit 21 counts the number of pixels forming the bright region in the read image, and determines whether or not the counted number of pixels is equal to or larger than a preset size threshold (S107). In other words, the control unit 21 determines the size of the bright area, and determines whether or not the determined size of the area is equal to or greater than a preset size. For example, the size threshold is set in advance to about 2% of the total number of pixels in the read image, that is, the number of pixels within the size of about 2% of the total area of the second platen glass 43 .

制御部21は、上記明るい領域を構成する各画素の数がサイズ閾値以上でないと判断したときは(S107「No」)、第2プラテンガラス42における外乱光が入射している領域が狭いため、クロップ処理が可能であると判定する(S108)。制御部21は、クロップ処理が可能である旨を示すメッセージを表示部11の画面に表示させる(S109)。例えば、表示部11には、図9に示すようなメッセージM3が表示されて、クロップ処理が可能であることがユーザーに通知される。 When the control unit 21 determines that the number of pixels forming the bright region is not equal to or larger than the size threshold value (S107 "No"), the region on the second platen glass 42 on which the disturbance light is incident is small. It is determined that crop processing is possible (S108). The control unit 21 causes the screen of the display unit 11 to display a message indicating that crop processing is possible (S109). For example, a message M3 as shown in FIG. 9 is displayed on the display unit 11 to notify the user that crop processing is possible.

このとき、ユーザーは、メッセージM3を見て、複数の小さな原稿(カードなど)を第2プラテンガラス42上に置き、原稿搬送部31並びに原稿押えカバー39が開かれたままの状態で、スタートキーを操作する。制御部21は、スタートキーの操作に基づいて、クロップ処理の実行指示を、タッチパネル13を通じて受け付ける。制御部21は、当該クロップ処理の実行指示に従って、クロップ処理を実行する(S110)。このクロップ処理では、制御部21は、読取部32により第2プラテンガラス42上の各原稿の画像を読取らせる。そして、制御部21は、第2プラテンガラス42上の各原稿を含む範囲の読取画像を示す画像データを画像メモリー17に記憶させ、画像メモリー17内の画像データが示す読取画像における各画素の明るさを示すそれぞれの画素値を取得し、互いに隣接する各画素の画素値に基づき、各原稿の画像の4辺のエッジを検出し、各原稿の画像のサイズ及び位置を判定する。更に、制御部21は、当該読取画像に含まれる各原稿の画像を特定して切り出す。制御部21は、各原稿の画像を示すそれぞれの画像データを記憶部18に記憶させる。 At this time, the user sees the message M3, places a plurality of small documents (cards, etc.) on the second platen glass 42, and presses the start key while the document transport section 31 and the document holding cover 39 are open. to operate. The control unit 21 accepts an instruction to execute the cropping process through the touch panel 13 based on the operation of the start key. The control unit 21 executes the cropping process according to the instruction to execute the cropping process (S110). In this cropping process, the control section 21 causes the reading section 32 to read the image of each document on the second platen glass 42 . Then, the control unit 21 causes the image memory 17 to store the image data representing the read image of the range including each document on the second platen glass 42, and the brightness of each pixel in the read image represented by the image data in the image memory 17. Then, based on the pixel values of adjacent pixels, four edges of the image of each document are detected to determine the size and position of the image of each document. Furthermore, the control unit 21 specifies and cuts out the image of each document included in the read image. The control unit 21 causes the storage unit 18 to store each image data representing the image of each document.

一方、制御部21は、読取画像における上記明るい領域を構成する各画素の数がサイズ閾値以上と判断した場合(S107「Yes」)、第2プラテンガラス42における外乱光が入射している領域が広いため、クロップ処理が可能でないと判定する(S111)。このとき、制御部21は、クロップ処理が可能でないために照明装置の光量を低減させる旨を示すメッセージを表示部11の画面に表示させる(S112)。例えば、表示部11の画面には、図10に示すようなメッセージM4が表示されて、クロップ処理が可能でないために照明装置の光量を低減させることがユーザーに通知される。 On the other hand, when the control unit 21 determines that the number of pixels forming the bright area in the read image is equal to or larger than the size threshold (S107 "Yes"), the area on the second platen glass 42 where the ambient light is incident is Since it is wide, it is determined that crop processing is not possible (S111). At this time, the control unit 21 causes the screen of the display unit 11 to display a message indicating that the amount of light of the lighting device is to be reduced because the crop processing is not possible (S112). For example, a message M4 as shown in FIG. 10 is displayed on the screen of the display unit 11 to notify the user that the amount of light of the illumination device is to be reduced because the crop processing is not possible.

そして、制御部21は、光量の低減を指示する制御信号を近距離通信部14から照明装置50に送信させる(S113)。照明装置50では、制御信号が近距離通信部54で受信されると、制御部55は、その制御信号による光量の低減の指示に従って電源部52を制御して、光源51の光量を低減させる。例えば、電源部52によりPWM(Pulse Width Modulation)方式で光源51のLEDが発光されている場合、制御部55は、電源部52を制御して、LEDの発光時間を短くし、光源51の光量を低減させる。 Then, the control unit 21 causes the short-range communication unit 14 to transmit a control signal instructing to reduce the amount of light to the illumination device 50 (S113). In the illumination device 50 , when the control signal is received by the short-range communication unit 54 , the control unit 55 controls the power supply unit 52 according to the instruction to reduce the light amount by the control signal to reduce the light amount of the light source 51 . For example, when the LED of the light source 51 is emitted by the power supply unit 52 by a PWM (Pulse Width Modulation) method, the control unit 55 controls the power supply unit 52 to shorten the light emission time of the LED and reduce the light intensity of the light source 51. reduce

ここで、制御部21が送信させる、光量の低減を指示する制御信号は、照明装置50の光源51の光量を、3/4、2/4、1/4、0/4のいずれかにすることを指示するものである。制御部21は、当該制御信号を送信させる度に、照明装置50の光源51の光量が3/4、2/4、1/4、0/4というように1/4ずつ順に低減させ、4回目の指示のときに光源51の光量が0(光源51がオフ)になるように、制御信号が示す内容を、送信の度に変更する。制御部21は、第1回目は、照明装置50の光源51の光量を3/4に低減する制御信号を送信する。 Here, the control signal for instructing the reduction of the light amount transmitted by the control unit 21 sets the light amount of the light source 51 of the lighting device 50 to 3/4, 2/4, 1/4, or 0/4. It indicates that Every time the control unit 21 transmits the control signal, the light amount of the light source 51 of the lighting device 50 is sequentially reduced by 1/4, such as 3/4, 2/4, 1/4, and 0/4. The content indicated by the control signal is changed each time transmission is performed so that the amount of light from the light source 51 becomes 0 (the light source 51 is turned off) at the time of the second instruction. For the first time, the control unit 21 transmits a control signal for reducing the light amount of the light source 51 of the lighting device 50 to 3/4.

この後、制御部21は、光量の低減の指示により照明装置50の光源51の光量が0になったか(光源51の光量を0/4に示す内容の制御信号を送信したか)を判定し(S114)、光源51の光量が0になっていなければ(S114「No」)、S105に戻って、プレスキャンを再度実行し、読取部32により第2プラテンガラス42の範囲を読取らせ、第2プラテンガラス42の範囲の読取画像における明度閾値以上の画素値を有する各画素で構成される領域を検出し(S106)、読取画像におけるその明るい領域を構成する各画素の数を計数し、この計数された各画素の数がサイズ閾値以上であるか否かを判定する(S107)。 Thereafter, the control unit 21 determines whether or not the light intensity of the light source 51 of the illumination device 50 has become 0 (whether or not a control signal indicating the light intensity of the light source 51 to 0/4 has been transmitted) by the instruction to reduce the light intensity. (S114), if the light intensity of the light source 51 is not 0 (S114 "No"), return to S105, execute prescan again, cause the reading unit 32 to read the range of the second platen glass 42, Detecting an area composed of pixels having a pixel value equal to or higher than the brightness threshold in the read image within the range of the second platen glass 42 (S106), counting the number of each pixel constituting the bright area in the read image, It is determined whether or not the counted number of pixels is equal to or larger than the size threshold (S107).

制御部21は、その明るい領域を構成する各画素の数がサイズ閾値以上でないと判断したときは(S107「No」)、第2プラテンガラス42における外乱光が入射している領域が狭くなったため、クロップ処理が可能であると判定する(S108)。この後、上記と同様にして、クロップ処理が実行される(S109,S110)。 When the control unit 21 determines that the number of pixels forming the bright region is not equal to or larger than the size threshold value (S107 "No"), the region on the second platen glass 42 on which the disturbance light is incident becomes narrow. , it is determined that crop processing is possible (S108). After that, crop processing is executed in the same manner as described above (S109, S110).

また、制御部21は、読取画像におけるその明るい領域を構成する各画素の数が依然としてサイズ閾値以上と判断したときは(S107「Yes」)、第2プラテンガラス42における外乱光が入射している領域が広いため、クロップ処理が可能でないと判定する(S111)。この場合、制御部21は、クロップ処理が可能でないために照明装置の光量を低減させる旨を示すメッセージM4を表示部11の画面に再度表示させる(S112)。そして、制御部21は、光量を更に低減する指示を示す制御信号を、近距離通信部14から照明装置50に送信させる(S113)。照明装置50の制御部55は、制御信号が近距離通信部54で受信されると、電源部52を制御して、光源51の光量を更に低減させる。 Further, when the control unit 21 determines that the number of pixels forming the bright area in the read image is still equal to or larger than the size threshold (S107 "Yes"), the disturbance light is incident on the second platen glass 42. Since the area is large, it is determined that crop processing is not possible (S111). In this case, the control unit 21 causes the screen of the display unit 11 to display again the message M4 indicating that the amount of light of the lighting device is to be reduced because the crop processing is not possible (S112). Then, the control unit 21 causes the short-range communication unit 14 to transmit a control signal indicating an instruction to further reduce the amount of light to the illumination device 50 (S113). When the control signal is received by the short-range communication unit 54 , the control unit 55 of the lighting device 50 controls the power supply unit 52 to further reduce the amount of light from the light source 51 .

以降同様に、光量の低減の指示により照明装置50の光源51の光量が0になっていないと判断する度に(S114「No」)、S105に戻って、S105~S113の処理を繰り返す。 Similarly, every time it is determined that the light quantity of the light source 51 of the illumination device 50 is not 0 due to the instruction to reduce the light quantity (S114 "No"), the process returns to S105 and repeats the processes of S105 to S113.

ここで、制御部21は、光量の低減を指示する制御信号の送信が4回目であった場合は、照明装置50の光源51の光量が0になったと判定することになる(S114「Yes」)。この場合、制御部21は、プレスキャンを再度実行して(S115)、第2プラテンガラス42の範囲の読取画像における明度閾値以上の画素値を有する画素で構成される領域を検出し(S116)、読取画像におけるその明るい領域を構成する各画素の数がサイズ閾値以上であるか否かを判断する(S117)。 Here, when the control signal instructing the reduction of the light amount is transmitted for the fourth time, the control unit 21 determines that the light amount of the light source 51 of the lighting device 50 has become 0 (S114 "Yes"). ). In this case, the control unit 21 performs prescan again (S115), and detects an area composed of pixels having a pixel value equal to or higher than the brightness threshold in the read image within the range of the second platen glass 42 (S116). , it is determined whether or not the number of pixels forming the bright area in the read image is equal to or larger than the size threshold (S117).

そして、制御部21は、その明るい領域を構成する各画素の数がサイズ閾値以上でなければ(S117「No」)、クロップ処理を可能であると判定し(S108)、クロップ処理が可能である旨を示すメッセージM3を表示部11の画面に表示して(S109)、クロップ処理を実行する(S110)。 If the number of pixels forming the bright area is not equal to or greater than the size threshold ("No" in S117), the control unit 21 determines that the cropping process is possible (S108), and the cropping process is possible. A message M3 to that effect is displayed on the screen of the display unit 11 (S109), and crop processing is executed (S110).

また、制御部21は、読取画像におけるその明るい領域を構成する各画素の数がサイズ閾値以上と判断したときは(S117「Yes」)、照明装置50の光源51の光量を0にしても、クロップ処理が可能でないと判定する(S118)。制御部21は、クロップ処理の実行が不可能である旨(原稿押えカバー39が開かれている状態でのクロップ処理の実行が不可能である旨でもよい)を示すメッセージを表示部11の画面に表示させる(S119)。この後、処理は終了する。 Further, when the control unit 21 determines that the number of pixels forming the bright area in the read image is equal to or larger than the size threshold (S117 "Yes"), even if the light amount of the light source 51 of the illumination device 50 is set to 0, It is determined that crop processing is not possible (S118). The control unit 21 displays a message indicating that the cropping process cannot be executed (it may be that the cropping process cannot be executed while the document holding cover 39 is open) on the screen of the display unit 11. is displayed (S119). After this, the process ends.

例えば、表示部11の画面には、図11に示すようなメッセージM5が表示される。これにより、原稿押えカバー39が開かれている状態でのクロップ処理の実行が不可能であることがユーザーに通知されると共に、画像形成装置10により制御している照明装置とは別の照明装置をオフにする、或いは、外窓のカーテンを閉めることが促される。例えば、ユーザーは、メッセージM5を見て、当該別の照明装置をオフにし、或いは、外窓のカーテンを閉めてから、S101からの処理を再開させる。 For example, the screen of the display unit 11 displays a message M5 as shown in FIG. As a result, the user is notified that the cropping process cannot be executed while the document holding cover 39 is open, and an illumination device other than the illumination device controlled by the image forming apparatus 10 is used. You are prompted to turn off the lights or close the curtains on the outside windows. For example, the user sees the message M5, turns off the other lighting device, or closes the curtain of the outside window, and restarts the process from S101.

このように第1実施形態では、読取部32によりプレスキャンを行わせ、プレスキャンで読取られた読取画像に基づき第2プラテンガラス42に入射している外乱光を検出してクロップ処理が可能であるか否かを判定し、クロップ処理が可能でないと判定した場合には、照明装置50の光源51の光量を低減させるので、ユーザーが照明装置を操作する等の作業を行わなくても、クロップ処理が可能となる。 As described above, in the first embodiment, pre-scanning is performed by the reading unit 32, and disturbance light incident on the second platen glass 42 is detected based on the read image read by the pre-scanning, so that crop processing can be performed. If it is determined that the cropping process is not possible, the amount of light from the light source 51 of the lighting device 50 is reduced. processing becomes possible.

尚、第1実施形態では、クロップ処理が可能でないと判定される度に、照明装置50の光源51の光量を段階的に低減させて、最後に光源51をオフにしているが、制御部21は、最初にクロップ処理が可能でないと判定されたときに、第1回目から、光源51の光量を0/4(光量オフ)に示す内容の制御信号を送信して、光源51を即座にオフにしてもよい。すなわち、制御部21は、1回目のプレスキャンを実行して、最初にクロップ処理が可能でないと判定すると、照明装置50の光源51の光量オフを示す制御信号を近距離通信部14から照明装置50へと送信させる。照明装置50の制御部55は、その制御信号が近距離通信部54で受信されると、この制御信号に応答して電源部52を停止させて、光源51をオフにする。なお、この場合、光源51の光量の調節が不要になるので、光源51として、電球、蛍光灯などの光量調節が不可能な照明機器を適用することが可能になる。 In the first embodiment, each time it is determined that the cropping process is not possible, the amount of light from the light source 51 of the illumination device 50 is gradually reduced, and finally the light source 51 is turned off. When it is determined that crop processing is not possible for the first time, from the first time onwards, a control signal indicating the light intensity of the light source 51 to 0/4 (light intensity off) is transmitted to turn off the light source 51 immediately. can be That is, when the control unit 21 executes the first prescan and first determines that the crop processing is not possible, the control unit 21 transmits a control signal indicating that the light amount of the light source 51 of the lighting device 50 is off from the short-range communication unit 14 to the lighting device. Send to 50. When the control signal is received by the short-range communication unit 54 , the control unit 55 of the lighting device 50 stops the power supply unit 52 and turns off the light source 51 in response to this control signal. In this case, since it is not necessary to adjust the light amount of the light source 51, it is possible to use, as the light source 51, an illumination device such as an electric bulb or a fluorescent lamp that cannot adjust the light amount.

また、制御部21は、クロップ処理が可能であると判定したときに、このときの照明装置50の光源51の光量を記憶部18に記憶しておき、別の機会にクロップ処理が可能でないと判定したときに、以前にクロップ処理が可能であると判定して記憶している光量を記憶部18から読み出し、この光量を示す制御信号を、近距離通信部14から照明装置50へと送信させてもよい。照明装置50の制御部55は、その制御信号が近距離通信部54で受信されると、電源部52を制御して、光源51の光量を制御信号によって示される光量に調節する。これにより、照明装置50の光源51の光量を、クロップ処理が可能となるレベルに速やかに調節することが可能となる。また、照明装置50の光源51の光量は、光源51の経年劣化により変動する。このため、定期的にS105~S107の処理を行い、当該記憶させている光量を、直近にクロップ処理が可能であると判定したときの光量に書き換えるようにしてもよい。 Further, when the control unit 21 determines that the cropping process is possible, the control unit 21 stores the light amount of the light source 51 of the lighting device 50 at this time in the storage unit 18, and determines that the cropping process is not possible at another opportunity. When it is determined, the amount of light previously determined to be capable of crop processing and stored is read from the storage unit 18, and a control signal indicating the amount of light is transmitted from the short-range communication unit 14 to the lighting device 50. may When the control signal is received by the short-range communication unit 54, the control unit 55 of the illumination device 50 controls the power supply unit 52 to adjust the light amount of the light source 51 to the light amount indicated by the control signal. As a result, it is possible to quickly adjust the amount of light from the light source 51 of the illumination device 50 to a level at which crop processing is possible. In addition, the amount of light from the light source 51 of the illumination device 50 fluctuates due to deterioration of the light source 51 over time. Therefore, the processing of S105 to S107 may be performed periodically, and the stored light intensity may be rewritten to the light intensity when it is determined that the crop processing is possible most recently.

また、第1実施形態では、読取画像における外乱光が入射している明るい領域を構成する各画素の数がサイズ閾値以上であって(S107「Yes」)、クロップ処理が可能でないと判定される度に(S111)、S112及びS113を経て、プレスキャンを実行しているが(S114で「No」,S105)、これに代えて、制御部21は、最初にクロップ処理が可能でないと判定したとき、この判定の直後の時点から、読取画像における上記明るい領域に限定して、当該明るい領域のみが読取部32により継続して読取られる状態を設定し、当該明るい領域を構成する各画素の数がサイズ閾値以上ではなくなったと判定するまで、照明装置50の光源51の光量を徐々に低減させる制御を行ってもよい。 In the first embodiment, it is determined that the crop processing is not possible when the number of pixels forming a bright area on which ambient light is incident in the read image is greater than or equal to the size threshold (S107 "Yes"). Each time (S111), pre-scanning is executed via S112 and S113 ("No" in S114, S105), but instead of this, the control unit 21 first determines that crop processing is not possible. Then, immediately after this determination, a state is set in which only the bright area in the read image is limited to the bright area, and only the bright area is continuously read by the reading unit 32, and the number of pixels constituting the bright area is set. The amount of light from the light source 51 of the illumination device 50 may be gradually reduced until it is determined that the size is no longer equal to or greater than the size threshold.

この場合、制御部21は、1回目のプレスキャンを実行して、最初にクロップ処理が可能でないと判定すると、その後は、読取部32のCCDセンサー47により読取画像におけるその明るい領域のみが常に読取られるように、キャリッジ44及び光学系ユニット45の位置を調節して設定するか、又はキャリッジ44及び光学系ユニット45の副走査方向Xの移動範囲を制限して繰り返し往復移動させる。そして、制御部21は、この状態でCCDセンサー47の出力に基づき当該明るい領域の各画素の画素値が明度閾値未満になったと判定するまで、照明装置50の光源51の光量を徐々に低減させる。制御部21は、当該明るい領域の各画素の画素値が明度閾値未満になったと判定したときに、クロップ処理を実行する。
<第2実施形態>
次に、第2実施形態の画像読取システムについて説明する。図12に示すように第2実施形態の画像読取システムSyは、複数の照明装置50を備えている点で、第1実施形態の画像読取システムSyとは異なる。第2実施形態では、画像形成装置10は複数の照明装置50を制御する。
In this case, when the control unit 21 executes the first prescan and first determines that crop processing is not possible, the CCD sensor 47 of the reading unit 32 always reads only the bright area in the read image thereafter. The positions of the carriage 44 and the optical system unit 45 are adjusted and set, or the movement range of the carriage 44 and the optical system unit 45 in the sub-scanning direction X is limited and the carriage 44 and the optical system unit 45 are repeatedly moved back and forth. Then, in this state, the control unit 21 gradually reduces the light amount of the light source 51 of the lighting device 50 until it determines that the pixel value of each pixel in the bright area is less than the brightness threshold based on the output of the CCD sensor 47. . When the control unit 21 determines that the pixel value of each pixel in the bright area is less than the brightness threshold, it performs crop processing.
<Second embodiment>
Next, an image reading system according to the second embodiment will be described. As shown in FIG. 12, the image reading system Sy of the second embodiment differs from the image reading system Sy of the first embodiment in that a plurality of lighting devices 50 are provided. In the second embodiment, the image forming apparatus 10 controls multiple lighting devices 50 .

複数の照明装置50は、画像形成装置10の周辺に設けられている。画像読取部15の原稿搬送部31並びに原稿押えカバー39が開かれている状態では、各照明装置50の光源51の光が第2プラテンガラス42に入射して外乱光となる。 A plurality of lighting devices 50 are provided around the image forming apparatus 10 . When the document conveying section 31 of the image reading section 15 and the document pressing cover 39 are open, the light from the light source 51 of each lighting device 50 enters the second platen glass 42 and becomes disturbance light.

第2実施形態でも、制御部21は、クロップ処理の実行指示を受け付けたとき、まず、読取部32によりプレスキャンを行わせて、読取部32のCCDセンサー47により読取られた読取画像に基づき第2プラテンガラス42に入射している外乱光を検出し、この検出された外乱光に基づきクロップ処理が可能であるか否かを判定する。そして、制御部21は、クロップ処理が可能であると判定した場合に、クロップ処理を実行する。 In the second embodiment as well, when receiving an instruction to execute crop processing, the control unit 21 first causes the reading unit 32 to perform pre-scanning, and based on the read image read by the CCD sensor 47 of the reading unit 32, performs a second scan. 2. Ambient light incident on the platen glass 42 is detected, and based on the detected ambient light, it is determined whether or not cropping is possible. Then, when the control unit 21 determines that the cropping process is possible, it executes the cropping process.

しかしながら、第2実施形態では、制御部21は、クロップ処理が可能でないと判定した場合、複数の各照明装置50のうち、画像形成装置10に最も近い照明装置50を選択して、この選択された照明装置50の光源をオフにする制御を行う。 However, in the second embodiment, when the control unit 21 determines that crop processing is not possible, it selects the lighting device 50 closest to the image forming device 10 from among the plurality of lighting devices 50, and selects the lighting device 50. Control is performed to turn off the light source of the lighting device 50 .

更に、その選択された照明装置50の光源をオフにした後に上記外乱光に基づくクロップ処理が可能であるか否かの判定で、クロップ処理が可能と判定しない場合、クロップ処理が可能と判定するまで、各照明装置50のうち、直近にオフにした照明装置50の次に画像形成装置10に近い照明装置50を順次選択して、この選択された照明装置50の光源を逐次オフにする制御を行う。 Further, if it is not determined that cropping is possible after the light source of the selected lighting device 50 is turned off, it is determined that cropping is possible. From among the lighting devices 50, the lighting device 50 that is closest to the image forming device 10 next to the lighting device 50 that was recently turned off is sequentially selected, and the light source of the selected lighting device 50 is turned off sequentially. I do.

例えば、画像形成装置10の記憶部18には、各照明装置50の識別子IDを画像形成装置10により近い方の照明装置50を優先させて順番に並べた識別子テーブル(図示せず)が記憶されている。制御部21は、記憶部18に記憶されている識別子テーブルを参照して、各照明装置50の識別子IDを画像形成装置10により近い方から順次読み出して、この読み出した識別子IDの照明装置50を逐次選択して、各照明装置50を順にオフにする制御を行う。 For example, the storage unit 18 of the image forming apparatus 10 stores an identifier table (not shown) in which the identifier IDs of the lighting apparatuses 50 are arranged in order with priority given to the lighting apparatus 50 closer to the image forming apparatus 10 . ing. The control unit 21 refers to the identifier table stored in the storage unit 18, sequentially reads out the identifier ID of each lighting device 50 from the one closest to the image forming device 10, and selects the lighting device 50 having the read identifier ID. Control is performed to sequentially select and turn off each lighting device 50 .

次に、第2実施形態に係る画像形成システムにおいてクロップ処理を実行する際の処理を説明する。図13は、第2実施形態に係る画像形成システムにおいてクロップ処理を実行する際の処理の流れを示すフローチャートである。 Next, processing when executing crop processing in the image forming system according to the second embodiment will be described. FIG. 13 is a flowchart showing the flow of processing when executing crop processing in the image forming system according to the second embodiment.

ユーザーが、例えば表示部11に表示されているGUIを操作して、クロップ処理の内容を設定する指示を入力すると、制御部21は、当該指示を受け付ける。制御部21は、当該指示に応じて、原稿搬送部31並びに原稿押えカバー39が開かれたままの状態でクロップ処理の機能を利用するか否かを選択するための図7に示すような開閉選択画面G1を表示部11に表示させる(S201)。 For example, when the user operates the GUI displayed on the display unit 11 to input an instruction to set the details of crop processing, the control unit 21 receives the instruction. In response to the instruction, the control unit 21 opens and closes the document feeder 31 and the document holding cover 39 as shown in FIG. The selection screen G1 is displayed on the display unit 11 (S201).

例えば、ユーザーがNGキーK12にタッチ操作すると、制御部21は、NGキーK12に対するタッチ操作に基づいて、クロップ処理の実行指示を、タッチパネル13を通じて受け付け(S202「NG」)、クロップ処理を実行する(S203)。 For example, when the user touches the NG key K12, the control unit 21 accepts a crop processing execution instruction through the touch panel 13 based on the touch operation on the NG key K12 (S202 "NG"), and executes the crop processing. (S203).

この場合、例えば、ユーザーは、原稿搬送部31並びに原稿押えカバー39を開いて、複数の小さな原稿(カードなど)を第2プラテンガラス42上に置き、原稿搬送部31並びに原稿押えカバー39を閉じてから、上記NGキーK12をタッチ操作する。このとき、制御部21は、タッチ操作に応じて受け付けたクロップ処理の実行指示に従って、クロップ処理を実行する。 In this case, for example, the user opens document transport section 31 and document holding cover 39, places a plurality of small documents (such as cards) on second platen glass 42, and closes document transport section 31 and document holding cover 39. Then, the NG key K12 is touch-operated. At this time, the control unit 21 executes the cropping process in accordance with the cropping process execution instruction received in response to the touch operation.

また、開閉選択画面G1の表示時に、ユーザーがOKキーK11にタッチ操作した場合、制御部21は、OKキーK11に対するタッチ操作に基づいて、「第2プラテンガラス42に入射している外乱光を含む読取画像に基づいたクロップ処理が可能であるか否かの判定」の実行指示を、タッチパネル13を通じて受け付ける(S202「OK」)。このとき、制御部21は、当該判定を行うためのプレスキャンを実行する旨を示す、例えば図8に示すようなメッセージM2を表示部11の画面に表示させる(S204)。 Further, when the user touches the OK key K11 while the opening/closing selection screen G1 is displayed, the control unit 21 displays "Remove disturbance light incident on the second platen glass 42" based on the touch operation on the OK key K11. Judgment as to whether or not cropping processing based on the read image is possible" is accepted through the touch panel 13 ("OK" in S202). At this time, the control unit 21 causes the screen of the display unit 11 to display a message M2, for example, as shown in FIG.

ユーザーは、メッセージM2を見て、各原稿が載置された第2プラテンガラス42に対して原稿搬送部31並びに原稿押えカバー39が開かれた状態にする。制御部21は、プレスキャンを実行して、読取部32により第2プラテンガラス42の範囲を読取らせる(S205)。制御部21は、第2プラテンガラス42の範囲の読取画像を示す画像データを画像メモリー17に記憶させる。 Upon seeing the message M2, the user opens the document conveying section 31 and the document holding cover 39 with respect to the second platen glass 42 on which each document is placed. The control unit 21 executes pre-scanning and causes the reading unit 32 to read the range of the second platen glass 42 (S205). The control unit 21 causes the image memory 17 to store image data representing the read image within the range of the second platen glass 42 .

制御部21は、画像メモリー17内の画像データが示す読取画像における各画素の明るさを示すそれぞれの画素値を取得し、予め設定された明度を示す明度閾値以上の画素値を有する各画素で構成される領域を検出する(S206)。 The control unit 21 acquires each pixel value indicating the brightness of each pixel in the read image indicated by the image data in the image memory 17, and obtains each pixel having a pixel value equal to or higher than a brightness threshold indicating brightness set in advance. The configured area is detected (S206).

制御部21は、読取画像におけるその明るい領域を構成する各画素の数を計数し、この計数された各画素の数が予め設定されたサイズ閾値以上であるか否かを判定する(S207)。 The control unit 21 counts the number of pixels forming the bright region in the read image, and determines whether or not the counted number of pixels is equal to or greater than a preset size threshold (S207).

制御部21は、その明るい領域を構成する各画素の数がサイズ閾値以上でないと判断したときは(S207「No」)、第2プラテンガラス42における外乱光が入射している領域が狭いため、クロップ処理が可能であると判定する(S208)。制御部21は、クロップ処理が可能である旨を示す、例えば図9に示すようなメッセージM3を表示部11の画面に表示させる(S209)。 When the control unit 21 determines that the number of pixels forming the bright region is not equal to or greater than the size threshold value (S207 "No"), the region on the second platen glass 42 where the ambient light is incident is small. It is determined that crop processing is possible (S208). The control unit 21 displays, for example, a message M3 as shown in FIG. 9 on the screen of the display unit 11 indicating that the cropping process is possible (S209).

このとき、ユーザーは、メッセージM3を見て、複数の小さな原稿(カードなど)を第2プラテンガラス42上に置き、原稿搬送部31並びに原稿押えカバー39が開かれたままの状態で、スタートキーを操作する。制御部21は、スタートキーの操作に基づいて、クロップ処理の実行指示を、タッチパネル13を通じて受け付ける。制御部21は、当該クロップ処理の実行指示に従って、クロップ処理を実行する(S210)。 At this time, the user sees the message M3, places a plurality of small documents (cards, etc.) on the second platen glass 42, and presses the start key while the document transport section 31 and the document holding cover 39 are open. to operate. The control unit 21 accepts an instruction to execute the cropping process through the touch panel 13 based on the operation of the start key. The control unit 21 executes the cropping process according to the instruction to execute the cropping process (S210).

一方、制御部21は、読取画像における上記明るい領域を構成する各画素の数がサイズ閾値以上と判断した場合(S207「Yes」)、第2プラテンガラス42における外乱光が入射している領域が広いため、クロップ処理が可能でないと判定する(S211)。このとき、制御部21は、クロップ処理が可能でないために複数の照明装置50のいずれかをオフにする旨を示すメッセージM4を表示部11の画面に表示させる(S212)。 On the other hand, when the control unit 21 determines that the number of pixels forming the bright region in the read image is equal to or larger than the size threshold (“Yes” in S207), the region on the second platen glass 42 where the ambient light is incident is Since it is wide, it is determined that crop processing is not possible (S211). At this time, the control unit 21 causes the screen of the display unit 11 to display a message M4 indicating that one of the plurality of lighting devices 50 is to be turned off because crop processing is not possible (S212).

制御部21は、記憶部18に記憶されている上記識別子テーブルを参照して、画像形成装置10に最も近い照明装置50の識別子IDを選択して読出し、この選択された照明装置50を示す識別子ID及び光源のオフを示す制御信号を近距離通信部14から、当該選択された照明装置50に送信させる(S213)。 The control unit 21 refers to the identifier table stored in the storage unit 18, selects and reads the identifier ID of the lighting device 50 closest to the image forming device 10, and obtains an identifier indicating the selected lighting device 50. The control signal indicating the ID and turning off the light source is transmitted from the short-range communication unit 14 to the selected lighting device 50 (S213).

各照明装置50では、制御信号が近距離通信部54で受信されると、制御部55は、制御信号によって示される識別子IDが自己の照明装置50の識別子IDに一致するか否かを判定し、一致しなければ、制御信号によって示される光源のオフを無効とし、一致すると、制御信号によって示される光源のオフを有効として、電源部52を制御して、光源51をオフにする。これにより、画像形成装置10に最も近い照明装置50の光源がオフにされる。 In each lighting device 50, when the control signal is received by the short-range communication unit 54, the control unit 55 determines whether or not the identifier ID indicated by the control signal matches the identifier ID of its own lighting device 50. If they do not match, turning off the light source indicated by the control signal is invalidated, and if they match, turning off the light source indicated by the control signal is enabled, and the power supply unit 52 is controlled to turn off the light source 51 . Thereby, the light source of the illumination device 50 closest to the image forming apparatus 10 is turned off.

この後、制御部21は、識別子テーブルにおける各照明装置50の識別子IDの全てについて、識別子ID及び光源のオフを示す制御信号の送信が終了したか否かを判定し(S214)、終了していなければ(S214「No」)、S205に戻って、プレスキャンを再度実行し、読取部32により第2プラテンガラス42の範囲を読取らせ、第2プラテンガラス42の範囲の読取画像における明度閾値以上の画素値を有する各画素で構成される領域を検出し(S206)、読取画像におけるその明るい領域を構成する各画素の数を計数し、この計数された各画素の数がサイズ閾値以上であるか否かを再度判定する(S207)。 After that, the control unit 21 determines whether or not the transmission of the identifier ID and the control signal indicating turning off of the light source has ended for all the identifier IDs of the lighting devices 50 in the identifier table (S214). If not ("No" in S214), the process returns to S205, pre-scanning is performed again, the range of the second platen glass 42 is read by the reading unit 32, and the brightness threshold in the read image of the range of the second platen glass 42 is determined. A region composed of pixels having pixel values equal to or larger than the size threshold is detected (S206), the number of pixels forming the bright region in the read image is counted, and the counted number of pixels is equal to or greater than the size threshold. It is determined again whether or not there is (S207).

ここで、制御部21は、その明るい領域を構成する各画素の数がサイズ閾値以上でないと判断したときは(S207「No」)、第2プラテンガラス42における外乱光が入射している領域が狭くなったため、クロップ処理が可能であると判定する(S208)。この後、上記と同様にして、クロップ処理が実行される(S209,S210)。 Here, when the control unit 21 determines that the number of pixels forming the bright region is not equal to or larger than the size threshold (“No” in S207), the region on the second platen glass 42 where the ambient light is incident is Since it has become narrower, it is determined that crop processing is possible (S208). After that, crop processing is executed in the same manner as described above (S209, S210).

また、制御部21は、読取画像におけるその明るい領域を構成する各画素の数がサイズ閾値以上と判断したときは(S207「Yes」)、第2プラテンガラス42における外乱光が入射している領域が広いため、クロップ処理が可能でないと判定する(S211)。この場合、制御部21は、クロップ処理が可能でないために照明装置の光量を低減させる旨を示すメッセージM4を表示部11の画面に再度表示させる(S212)。そして、制御部21は、記憶部18に記憶されている識別子テーブルを参照して、画像形成装置10に上記オフにした照明装置50の次に画像形成装置10に近い、ここでは2番目に近い、照明装置50の識別子IDを選択して読出し、この選択された照明装置50を示す識別子ID及び光源のオフを示す制御信号を近距離通信部14から照明装置50に送信させる(S213)。 Further, when the control unit 21 determines that the number of pixels forming the bright area in the read image is equal to or larger than the size threshold (S207 "Yes"), the area on the second platen glass 42 where disturbance light is incident is wide, it is determined that crop processing is not possible (S211). In this case, the control unit 21 causes the screen of the display unit 11 to display again the message M4 indicating that the amount of light of the lighting device is to be reduced because the crop processing is not possible (S212). Then, the control unit 21 refers to the identifier table stored in the storage unit 18 to refer to the illumination device 50 that is the closest to the image forming apparatus 10 after the lighting device 50 that has been turned off. , the identifier ID of the lighting device 50 is selected and read, and the identifier ID indicating the selected lighting device 50 and the control signal indicating turning off of the light source are transmitted from the short-range communication unit 14 to the lighting device 50 (S213).

各照明装置50では、上記と同様に、制御信号が近距離通信部54で受信されると、制御部55は、制御信号によって示される識別子IDが自己の照明装置50の識別子IDに一致するか否かを判定し、一致すると、制御信号によって示される光源のオフを有効として、電源部52を制御して、光源51をオフにする。これにより、画像形成装置10に2番目に近い照明装置50の光源がオフにされる。 In each lighting device 50, similarly to the above, when the control signal is received by the short-range communication unit 54, the control unit 55 determines whether the identifier ID indicated by the control signal matches the identifier ID of its own lighting device 50. If they match, turning off the light source indicated by the control signal is validated, and the power supply unit 52 is controlled to turn off the light source 51 . As a result, the light source of the illumination device 50 that is the second closest to the image forming apparatus 10 is turned off.

以降同様に、識別子テーブルにおける各照明装置50の識別子IDの全てについて、識別子ID及び光源のオフを示す制御信号の送信が終了していなければ(S214「No」)、S205に戻って、S205~S213の処理を繰り返す。 Likewise, if the transmission of the identifier ID and the control signal indicating turning off of the light source has not been completed for all of the identifier IDs of the lighting devices 50 in the identifier table (S214 "No"), the process returns to S205. The process of S213 is repeated.

これにより、クロップ処理が可能でないという判定が繰り返される度に、各照明装置50のうちから画像形成装置10により近い方の照明装置50が順次選択されて、この選択された照明装置50の光源51が逐次オフにされる。 As a result, each time the determination that the cropping process is not possible is repeated, the lighting device 50 closer to the image forming apparatus 10 is sequentially selected from among the lighting devices 50, and the light source 51 of the selected lighting device 50 is selected. are turned off sequentially.

制御部21は、識別子テーブルにおける各照明装置50の識別子IDの全てについて、識別子ID及び光源のオフを示す制御信号の送信が終了すると(S214「Yes」)、プレスキャンを再度実行する(S215)。そして、制御部21は、第2プラテンガラス42の範囲の読取画像における明度閾値以上の画素値を有する画素で構成される領域を検出し(S216)、読取画像におけるその明るい領域を構成する各画素の数がサイズ閾値以上であるか否かを判断する(S217)。 When transmission of the identifier ID and the control signal indicating turning off of the light source for all the identifier IDs of the lighting devices 50 in the identifier table is completed (S214 "Yes"), the control unit 21 executes prescan again (S215). . Then, the control unit 21 detects an area composed of pixels having a pixel value equal to or greater than the brightness threshold in the read image within the range of the second platen glass 42 (S216), and detects each pixel constituting the bright area in the read image. is greater than or equal to the size threshold (S217).

そして、制御部21は、その明るい領域を構成する各画素の数がサイズ閾値以上でなければ(S217「No」)、クロップ処理を可能であると判定し(S208)、クロップ処理が可能である旨を示すメッセージM3を表示部11の画面に表示して(S209)、クロップ処理を実行する(S210)。 If the number of pixels forming the bright area is not equal to or greater than the size threshold ("No" in S217), the control unit 21 determines that cropping is possible (S208), and the cropping is possible. A message M3 to that effect is displayed on the screen of the display unit 11 (S209), and crop processing is executed (S210).

また、制御部21は、読取画像におけるその明るい領域を構成する各画素の数がサイズ閾値以上と判断したときは(S217「Yes」)、全ての照明装置50の光源51をオフにしても、クロップ処理が可能でないと判定する(S218)。制御部21は、クロップ処理の実行が不可能である旨(原稿押えカバー39が開かれている状態でのクロップ処理の実行が不可能である旨でもよい)を示す例えば上記メッセージM5を表示部11の画面に表示させる(S219)。この後、処理は終了する。 Further, when the control unit 21 determines that the number of pixels forming the bright area in the read image is equal to or larger than the size threshold (S217 "Yes"), even if the light sources 51 of all the lighting devices 50 are turned off, It is determined that crop processing is not possible (S218). The control unit 21 displays, for example, the message M5 indicating that the cropping process cannot be executed (it may be that the cropping process cannot be executed while the document holding cover 39 is open). 11 screen (S219). After this, the process ends.

ユーザーは、メッセージM5を見て、画像形成装置10により制御している照明装置とは別の照明装置をオフにする、或いは、外窓のカーテンを閉める、を行ってから、S201からの処理を再開させる。 After seeing the message M5, the user turns off a lighting device other than the lighting device controlled by the image forming apparatus 10, or closes the curtain of the outside window, and then executes the processing from S201. let it resume.

このように第2実施形態では、読取部32によりプレスキャンを行わせ、プレスキャンで読取られた読取画像に基づき第2プラテンガラス42に入射している外乱光を検出してクロップ処理が可能であるか否かを判定し、クロップ処理が可能でないと判定した場合には、各照明装置50の光源51を画像形成装置10に近い方から順次オフにするので、ユーザーが照明装置を操作する等の作業を行わなくても、クロップ処理が可能となる。 As described above, in the second embodiment, pre-scanning is performed by the reading unit 32, and disturbance light incident on the second platen glass 42 is detected based on the read image read by the pre-scanning, so that crop processing can be performed. If it is determined that crop processing is not possible, the light sources 51 of the lighting devices 50 are turned off in order from the one closer to the image forming apparatus 10, so that the user operates the lighting devices, for example. Crop processing can be performed without the work of .

尚、第2実施形態では、各照明装置50の光源51を選択してオフにするだけなので、光源51として、電球、蛍光灯などの光量調節が不可能な照明機器を適用することが可能になる。 In the second embodiment, the light source 51 of each lighting device 50 is simply selected and turned off. Therefore, as the light source 51, it is possible to apply a lighting device such as a light bulb or a fluorescent lamp that cannot adjust the amount of light. Become.

また、制御部21は、クロップ処理が可能であると判定したときに、それぞれの光源51がオフにされている各照明装置50の識別子IDを記憶部18に記憶しておき、別の機会にクロップ処理の機能が再び設定されて、プレスキャンを実行してクロップ処理が可能でないと判定したときに、以前にクロップ処理が可能であると判定したときの各照明装置50の識別子IDを記憶部18から読み出し、これらの照明装置50の識別子ID及び光源のオフを示す制御信号を近距離通信部14から全ての照明装置50へと送信させてもよい。全ての照明装置50の制御部55は、その制御信号が近距離通信部54で受信されると、その制御信号によって示される各識別子IDに自己の照明装置50の識別子IDが含まれているか否かを判定し、含まれていなければ、制御信号によって示される光源のオフを無効とし、含まれていれば、制御信号によって示される光源のオフを有効として、電源部52を制御して、光源51をオフにする。これにより、各照明装置50の光源51を、クロップ処理が可能となるように直ちに選択してオフにすることが可能となる。 Further, when the control unit 21 determines that the crop processing is possible, the control unit 21 stores the identifier ID of each lighting device 50 whose light source 51 is turned off in the storage unit 18, and stores the identifier ID in the storage unit 18 at another time. When the cropping function is set again and pre-scanning is performed and it is determined that the cropping process is not possible, the identifier ID of each lighting device 50 when it was previously determined that the cropping process is possible is stored in the storage unit. 18 , and transmit the identifier ID of these lighting devices 50 and the control signal indicating turning off of the light source from the short-range communication unit 14 to all the lighting devices 50 . When the control signal is received by the short-range communication unit 54, the control units 55 of all the lighting devices 50 determine whether each identifier ID indicated by the control signal includes the identifier ID of its own lighting device 50. If it is not included, turning off the light source indicated by the control signal is invalidated, and if it is included, turning off the light source indicated by the control signal is enabled, and the power supply unit 52 is controlled to turn off the light source. 51 is turned off. This allows the light source 51 of each lighting device 50 to be selected and turned off immediately to enable cropping.

また、第2実施形態では、読取画像における外乱光が入射している明るい領域を構成する各画素の数がサイズ閾値以上であって(S207「Yes」)、クロップ処理が可能でないと判定される度に(S211)、S212及びS213を経て、プレスキャンを実行しているが(S214で「No」,S205)、これに代えて、制御部21は、最初にクロップ処理が可能でないと判定したとき、この判定の直後の時点から、読取画像におけるその明るい領域に限定して、当該明るい領域のみが読取部32により継続して読取られる状態を設定し、当該明るい領域を構成する各画素の数がサイズ閾値以上ではなくなったと判定するまで、各照明装置50の光源51を画像形成装置10に近いものから順にオフにする上記制御を行ってもよい。 In the second embodiment, it is determined that the cropping process is not possible because the number of pixels forming a bright area on which ambient light is incident in the read image is greater than or equal to the size threshold ("Yes" in S207). Each time (S211), pre-scanning is executed via S212 and S213 ("No" in S214, S205), but instead of this, the control unit 21 first determines that crop processing is not possible. Immediately after this determination, a state is set such that only the bright area in the read image is continuously read by the reading unit 32, and the number of pixels forming the bright area is determined. The above-described control may be performed to turn off the light sources 51 of the lighting devices 50 in order from the one closest to the image forming device 10 until it is determined that the size is no longer equal to or larger than the size threshold.

この場合、制御部21は、1回目のプレスキャンを実行して、最初にクロップ処理が可能でないと判定すると、読取部32のCCDセンサー47により読取画像におけるその明るい領域のみが常に読取られるように、キャリッジ44及び光学系ユニット45の位置を調節して設定するか又はキャリッジ44及び光学系ユニット45の副走査方向Xの移動範囲を制限して繰り返し往復移動させ、この状態でCCDセンサー47の出力に基づきその領域の各画素の画素値が明度閾値未満になったと判定するまで、各照明装置50の光源51を順にオフにする上記制御を行う。 In this case, when the control unit 21 executes the first prescan and first determines that the cropping process is not possible, the CCD sensor 47 of the reading unit 32 always reads only the bright area in the read image. , the positions of the carriage 44 and the optical system unit 45 are adjusted and set, or the range of movement of the carriage 44 and the optical system unit 45 in the sub-scanning direction X is limited, and the carriage 44 and the optical system unit 45 are repeatedly moved back and forth. until it is determined that the pixel value of each pixel in the area is less than the brightness threshold value based on the above control to turn off the light source 51 of each lighting device 50 in order.

また、上記各実施形態では、画像形成装置を例に挙げているが、本発明の画像読取システムを、ファクシミリ装置などにおける画像読取装置、あるいはPC、スキャナーなどを組み合わせてなるシステムに適用することも可能である。 In each of the above-described embodiments, an image forming apparatus is taken as an example, but the image reading system of the present invention can also be applied to an image reading apparatus such as a facsimile apparatus, or a system that combines a PC, a scanner, and the like. It is possible.

また、図1乃至図13を用いて説明した上記各実施形態の構成及び処理は、本発明の一例に過ぎず、本発明を当該構成及び処理に限定する趣旨ではない。 Also, the configuration and processing of each of the above embodiments described with reference to FIGS. 1 to 13 are merely examples of the present invention, and are not intended to limit the present invention to the configuration and processing.

10 画像形成装置
11 表示部
12 操作部
13 タッチパネル
14 近距離通信部
15 画像読取装置
16 画像形成部
17 画像メモリー
18 記憶部
19 制御ユニット
21 制御部
50 照明装置
51 光源
52 電源部
54 近距離通信部
55 制御部
Sy 画像読取システム
10 Image forming apparatus 11 Display unit 12 Operation unit 13 Touch panel 14 Near field communication unit 15 Image reader 16 Image forming unit 17 Image memory 18 Storage unit 19 Control unit 21 Control unit 50 Lighting device 51 Light source 52 Power supply unit 54 Near field communication unit 55 control unit Sy image reading system

Claims (11)

画像読取装置であって、
透光性を有し、原稿が載置される原稿台と、
前記原稿台に対して開閉自在に設けられて、閉じられたときに前記原稿台及び該原稿台に載置されている原稿を覆う原稿押えカバーと、
前記原稿台に載置されている原稿に、前記原稿台を介して光を照射し、前記原稿の画像を、前記原稿台を介して読取る画像読取部と、
前記画像読取部を制御すると共に、前記画像読取部の周辺に設けられ、前記画像読取装置とは別個の少なくとも1つの照明装置を制御する制御部と、を備え、
前記制御部は、前記画像読取部による読取りを行わせ、前記画像読取部により読取られた読取画像に含まれる前記原稿台上の原稿の画像を特定して切出すというクロップ処理の機能を有し、前記原稿押えカバーが開かれた状態で前記クロップ処理を実行する場合に、前記画像読取部によりプレスキャンを行わせて、前記画像読取部により読取られた読取画像に基づき前記原稿台に入射している外乱光を検出し、前記検出された外乱光に基づいて前記読取画像に含まれる前記原稿の画像を特定して切り出すことが可能であるか否かを判定し、前記原稿の画像を特定して切り出すことが可能でない場合に、前記照明装置を制御して、前記照明装置の光量を低減又は0にさせる画像読取装置。
An image reading device,
a translucent manuscript table on which a manuscript is placed;
a document holding cover that is openable and closable with respect to the document platen and covers the document platen and the document placed on the document platen when closed;
an image reading unit that irradiates a document placed on the document table with light through the document table and reads an image of the document through the document table;
a control unit that controls the image reading unit and controls at least one illumination device that is provided around the image reading unit and is separate from the image reading device;
The control unit has a crop processing function of causing the image reading unit to perform reading, and specifying and cropping an image of the document on the document platen included in the read image read by the image reading unit. and when the cropping process is executed with the document holding cover open, prescanning is performed by the image reading section, and the document is incident on the document table based on the read image read by the image reading section. detecting disturbance light from the source, determining whether or not it is possible to specify and cut out an image of the document contained in the read image based on the detected disturbance light, and specifying the image of the document; an image reading device that controls the illumination device to reduce or set the light amount of the illumination device to zero when it is not possible to extract the image by
前記制御部は、前記原稿の画像を特定して切り出すことが可能と判定した場合に、前記クロップ処理を実行する請求項1に記載の画像読取装置。 2. The image reading apparatus according to claim 1, wherein the control unit executes the crop processing when determining that the image of the document can be specified and cropped. 前記制御部は、前記原稿の画像を特定して切り出すことが不可能と判定した場合に、前記照明装置を制御してオフにし、前記照明装置の光量を0にする請求項1又は請求項2に記載の画像読取装置。 3. When determining that it is impossible to specify and cut out the image of the document, the control unit controls and turns off the illumination device, and sets the light amount of the illumination device to 0. The image reading device according to . 前記制御部は、
前記原稿の画像を特定して切り出すことが不可能と判定した場合に、前記照明装置を制御して、前記照明装置の光量を低減させ、
前記画像読取部によりプレスキャンを再度行わせて、前記画像読取部により読取られた読取画像に基づき前記原稿台に入射している外乱光を検出し、
前記検出された外乱光に基づいて前記読取画像に含まれる前記原稿の画像を特定して切り出すことが可能であるか否かを判定し、前記原稿の画像を特定して切り出すことが可能でないと判定した場合に、前記照明装置を制御して、前記照明装置の光量を更に低減させる請求項1又は請求項2に記載の画像読取装置。
The control unit
controlling the lighting device to reduce the amount of light of the lighting device when it is determined that it is impossible to specify and cut out the image of the document;
causing the image reading unit to perform prescan again, detecting disturbance light incident on the document table based on the read image read by the image reading unit;
determining whether or not it is possible to specify and cut out the image of the document included in the read image based on the detected disturbance light, and determine whether the image of the document can be specified and cut out; 3. The image reading apparatus according to claim 1, further reducing the amount of light of said lighting device by controlling said lighting device when said determination is made.
前記制御部は、前記原稿の画像を特定して切り出すことが可能でないと判定した場合、前記照明装置を制御して前記照明装置の光量を低減させた後は、前記画像読取部により、前記読取画像において前記外乱光と検出した画像部分に対応する領域のみに対して継続して読取を行わせ、前記継続した読取で得られる読取画像から検出する外乱光に基づき前記原稿の画像を特定して切り出すことが可能になったと判定するまで、前記照明装置を制御して前記照明装置の光量を低減させる請求項1又は請求項2に記載の画像読取装置。 If the control unit determines that it is not possible to specify and cut out the image of the document, after controlling the lighting device to reduce the light amount of the lighting device, the image reading unit controls the reading Continuous reading is performed only on an area corresponding to the image portion detected as the disturbance light in the image, and the image of the document is specified based on the disturbance light detected from the read image obtained by the continuous reading. 3. The image reading apparatus according to claim 1, wherein the lighting device is controlled to reduce the amount of light of the lighting device until it is determined that the image can be cut out. 前記制御部は、前記原稿の画像を特定して切り出すことが可能となるまで前記照明装置の光量を低減させたときは、前記低減された光量を記憶しておき、次に前記クロップ処理が再び実行されるときに、前記照明装置の光量を前記記憶された光量に設定する請求項5に記載の画像読取装置。 When the control unit reduces the amount of light of the illumination device until it becomes possible to specify and crop the image of the document, the reduced amount of light is stored, and then the cropping process is performed again. 6. The image reading apparatus according to claim 5, wherein when executed, the light amount of said lighting device is set to said stored light amount. 前記制御部は、
複数の前記照明装置を制御し、
前記画像読取部により近い位置にある前記照明装置を優先して設定した、前記各照明装置の順番を予め取得しておき、前記検出された外乱光に基づいて前記読取画像に含まれる前記原稿の画像を特定して切り出すことが可能でないと判定した場合に、前記各照明装置のうちから前記画像読取部に最も近い照明装置を選択して、前記選択した照明装置をオフにする請求項1又は請求項2に記載の画像読取装置。
The control unit
controlling a plurality of said lighting devices;
The order of the illumination devices is obtained in advance, in which the illumination device located closer to the image reading unit is preferentially set, and based on the detected disturbance light, the image of the document included in the read image is determined. 2. When it is determined that the image cannot be specified and clipped, the lighting device closest to the image reading unit is selected from among the lighting devices, and the selected lighting device is turned off. 3. The image reading device according to claim 2.
前記制御部は、前記検出された外乱光に基づき前記原稿の画像を特定して切り出すことが可能でないと判定した場合に、前記各照明装置のうちから前記画像読取部に最も近い照明装置を選択して、前記選択された照明装置をオフにし、前記画像読取部によりプレスキャンを再度行わせて、前記画像読取部により読取られた読取画像に基づき前記原稿台に入射している外乱光を検出し、前記検出された外乱光に基づいて前記読取画像に含まれている前記原稿の画像を特定して切り出すことが可能であるか否かを判定し、前記原稿の画像を特定して切り出すことが可能でないと判定した場合に、前記各照明装置のうちから前記画像読取部に次に近い照明装置を選択して、前記選択された照明装置をオフにする請求項7に記載の画像読取装置。 The control unit selects the lighting device closest to the image reading unit from among the lighting devices when it is determined that it is impossible to specify and cut out the image of the document based on the detected ambient light. Then, the selected illumination device is turned off, prescanning is performed again by the image reading unit, and disturbance light incident on the document table is detected based on the read image read by the image reading unit. and determining whether or not it is possible to specify and cut out the image of the document included in the read image based on the detected ambient light, and specify and clip the image of the document. 8. The image reading apparatus according to claim 7, wherein when it is determined that the lighting apparatus is not possible, the lighting apparatus next closest to the image reading unit is selected from among the lighting apparatuses, and the selected lighting apparatus is turned off. . 前記制御部は、前記検出された外乱光に基づき前記原稿の画像を特定して切り出すことが可能でないと判定した場合、前記照明装置を制御して前記照明装置の光量を低減させた後は、前記画像読取部により、前記読取画像において前記外乱光と検出した画像部分に対応する領域のみに対して継続して読取を行わせ、前記継続した読取で得られる読取画像から検出する外乱光に基づき前記原稿の画像を特定して切り出すことが可能になったと判定するまで、前記各照明装置を前記画像読取部により近い方から順次オフにする請求項7に記載の画像読取装置。 If the control unit determines that it is impossible to specify and cut out the image of the document based on the detected disturbance light, after controlling the lighting device to reduce the light amount of the lighting device, The image reading unit continuously reads only the area corresponding to the image portion detected as the disturbance light in the read image, and based on the disturbance light detected from the read image obtained by the continuous reading. 8. The image reading apparatus according to claim 7, wherein said illumination devices are sequentially turned off from the one closer to said image reading unit until it is determined that it is possible to specify and cut out the image of said document. 前記制御部は、前記原稿の画像を特定して切り出すことが可能となるまで前記照明装置をオフにさせると、前記オフにされた照明装置を記憶しておき、次に前記クロップ処理が再び実行される場合に、前記記憶された照明装置をオフにする請求項9に記載の画像読取装置。 When the control unit turns off the lighting device until the image of the document can be specified and cropped, the lighting device that has been turned off is stored, and then the cropping process is executed again. 10. The image reader of claim 9, wherein the stored lighting device is turned off when the lighting device is turned off. 画像読取装置と、前記画像読取装置の周辺に設けられた少なくとも1つの照明装置と、を備え、
前記画像読取装置は、
透光性を有し、原稿が載置される原稿台と、
前記原稿台に対して開閉自在に設けられて、閉じられたときに前記原稿台及び該原稿台に載置されている原稿を覆う原稿押えカバーと、
前記原稿台に載置されている原稿に、前記原稿台を介して光を照射し、前記原稿の画像を、前記原稿台を介して読取る画像読取部と、
前記画像読取部と前記照明装置とを制御する制御部と、を備え、
前記制御部は、前記画像読取部による読取りを行わせ、前記画像読取部により読取られた読取画像に含まれる前記原稿台上の原稿の画像を特定して切出すというクロップ処理の機能を有し、前記原稿押えカバーが開かれた状態で前記クロップ処理を実行する場合に、前記画像読取部によりプレスキャンを行わせて、前記画像読取部により読取られた読取画像に基づき前記原稿台に入射している外乱光を検出し、前記検出された外乱光に基づいて前記読取画像に含まれる前記原稿の画像を特定して切り出すことが可能であるか否かを判定し、前記原稿の画像を特定して切り出すことが可能でない場合に、前記照明装置を制御して、前記照明装置の光量を低減又は0にさせる画像読取システム。
an image reading device; and at least one lighting device provided around the image reading device,
The image reading device is
a translucent manuscript table on which a manuscript is placed;
a document holding cover that is openable and closable with respect to the document platen and covers the document platen and the document placed on the document platen when closed;
an image reading unit that irradiates a document placed on the document table with light through the document table and reads an image of the document through the document table;
a control unit that controls the image reading unit and the lighting device,
The control unit has a crop processing function of causing the image reading unit to perform reading, and specifying and cropping an image of the document on the document platen included in the read image read by the image reading unit. and when the cropping process is executed with the document holding cover open, prescanning is performed by the image reading section, and the document is incident on the document table based on the read image read by the image reading section. detecting disturbance light from the source, determining whether or not it is possible to specify and cut out an image of the document contained in the read image based on the detected disturbance light, and specifying the image of the document; 1. An image reading system for controlling the illumination device to reduce or set the light amount of the illumination device to zero when the image cannot be cut out by using the above method.
JP2021176866A 2021-10-28 2021-10-28 Image reading device and image reading system Pending JP2023066247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021176866A JP2023066247A (en) 2021-10-28 2021-10-28 Image reading device and image reading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021176866A JP2023066247A (en) 2021-10-28 2021-10-28 Image reading device and image reading system

Publications (1)

Publication Number Publication Date
JP2023066247A true JP2023066247A (en) 2023-05-15

Family

ID=86322453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021176866A Pending JP2023066247A (en) 2021-10-28 2021-10-28 Image reading device and image reading system

Country Status (1)

Country Link
JP (1) JP2023066247A (en)

Similar Documents

Publication Publication Date Title
JP4858407B2 (en) Image reading device
JP6375866B2 (en) Image reading device
JP3922379B2 (en) Image reading device
JP5316260B2 (en) Document reading apparatus and size determination method
JP5784467B2 (en) Image forming apparatus
US9131095B2 (en) Image forming apparatus and method of controlling the same
EP2431816A2 (en) Image scanning apparatus to alternate scanning and method thereof
JP2023066247A (en) Image reading device and image reading system
US11671544B2 (en) Image reading apparatus, image forming apparatus, and document size detection method
US11283952B2 (en) Image reading apparatus
JP7452128B2 (en) Information processing device, information processing method
JP2006067330A (en) Original reader and original size detection method
JP6780603B2 (en) Image reader and image forming device
JP2010245717A (en) Image reader and image forming apparatus
JP5642751B2 (en) Document reader
JP5917652B2 (en) Document reader
JP5917651B2 (en) Document reader
JP5642749B2 (en) Document reader
JP5731058B2 (en) Document reader
JP5642750B2 (en) Document reader
JP5572337B2 (en) Image reading apparatus and image forming apparatus
JP2015192151A (en) Image reader, and image processing apparatus
JP2011135406A (en) Image reading device and image forming device mounting the same
JP2020156055A (en) Image processing apparatus and blank paper document determination method
JP2011188204A (en) Image reading apparatus and image forming apparatus

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20221017