[go: up one dir, main page]

JP5910002B2 - Image reading apparatus, document size detection method, and document size detection program - Google Patents

Image reading apparatus, document size detection method, and document size detection program Download PDF

Info

Publication number
JP5910002B2
JP5910002B2 JP2011243494A JP2011243494A JP5910002B2 JP 5910002 B2 JP5910002 B2 JP 5910002B2 JP 2011243494 A JP2011243494 A JP 2011243494A JP 2011243494 A JP2011243494 A JP 2011243494A JP 5910002 B2 JP5910002 B2 JP 5910002B2
Authority
JP
Japan
Prior art keywords
image
document
size
processing
read data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2011243494A
Other languages
Japanese (ja)
Other versions
JP2013102267A (en
Inventor
馬場 裕行
裕行 馬場
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011243494A priority Critical patent/JP5910002B2/en
Publication of JP2013102267A publication Critical patent/JP2013102267A/en
Application granted granted Critical
Publication of JP5910002B2 publication Critical patent/JP5910002B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

本発明は、画像読み取り装置、原稿サイズ検出方法及び原稿サイズ検出プログラムに関し、詳細には、原稿サイズを安価かつ高精度に検出する画像読み取り装置、原稿サイズ検出方法及び原稿サイズ検出プログラムに関する。   The present invention relates to an image reading apparatus, a document size detection method, and a document size detection program. More specifically, the present invention relates to an image reading apparatus, a document size detection method, and a document size detection program that detect a document size at low cost and with high accuracy.

スキャナ装置、複写装置、ファクシミリ装置、複合装置等のコンタクトガラス(原稿台)上にセットされた原稿の画像を読み取るブック型の画像読み取り装置においては、原稿を読み取る前に、光源等やミラー等の光学部品を搭載する走行体を移動させて、コンタクトガラスの所定領域に読み取り光を照射し、その反射光をCCD(Charge Coupled Device)等の光電変換素子で光電変換した読み取りデータに基づいて、安価に原稿サイズを検出することが行われている。   In a book-type image reading device that reads an image of a document set on contact glass (document table) such as a scanner device, a copying device, a facsimile device, or a composite device, a light source, a mirror, etc. Based on read data obtained by moving a traveling body carrying optical components, irradiating a predetermined area of the contact glass with reading light, and photoelectrically converting the reflected light with a photoelectric conversion element such as a CCD (Charge Coupled Device). An original size is detected.

そして、従来、主走査方向の画像データ取得範囲を任意に変更する手段と、画像データ取得の間隔を副走査方向に任意に、かつ主走査方向とは独立に変更する手段とを備えた原稿サイズ検知装置において、前記主走査方向の画像データ取得範囲を変更する手段は、読み取りライン数が増加するに従って前記取得範囲を変更することを特徴とする原稿サイズ検知装置が提案されている(特許文献1参照)。すなわち、この従来技術は、原稿サイズを検出するのに、専用のフォトセンサ等を用いることなく、原稿の読み取りを行うための読み取りセンサを用いるとともに、読み取りライン数が増加するに従って画像データ取得範囲を変更することで、精度の向上を図っている。   Conventionally, an original size having means for arbitrarily changing the image data acquisition range in the main scanning direction and means for arbitrarily changing the image data acquisition interval in the sub-scanning direction and independently of the main scanning direction In the detection device, there is proposed a document size detection device in which the means for changing the image data acquisition range in the main scanning direction changes the acquisition range as the number of read lines increases (Patent Document 1). reference). In other words, this conventional technique uses a reading sensor for reading a document without using a dedicated photo sensor or the like to detect the document size, and increases the image data acquisition range as the number of reading lines increases. By changing, the accuracy is improved.

しかしながら、上記従来技術にあっては、読み取りライン数が増加するに従って画像データ取得範囲を変更するのみであって、原稿サイズを高精度にかつ安価に検出する上で、改良の必要があった。   However, in the above-described prior art, only the image data acquisition range is changed as the number of reading lines increases, and it is necessary to improve the document size with high accuracy and at low cost.

すなわち、原稿には種々の画像があり、原稿に高濃度網点の画像が広範囲にあると、画像濃度が高いため、原稿なしと、誤判定し、原稿サイズを誤判定するおそれがあった。   That is, there are various images on the original, and if the original has a high density halftone dot image in a wide range, the image density is high. Therefore, it may be erroneously determined that there is no original and the original size may be erroneously determined.

そこで、本発明は、原稿サイズを安価にかつ高精度に検出することを目的としている。   Accordingly, an object of the present invention is to detect a document size at low cost and with high accuracy.

上記目的を達成するために、請求項1記載の画像読み取り装置は、原稿台上の原稿の画像を読み取ってアナログの読み取りデータを出力する画像読み取り手段と、前記画像読み取り手段の出力するアナログの読み取りデータをデジタル変換してデジタル読み取りデータに変換するデジタル変換処理手段と、前記原稿台上に載置された原稿の原稿サイズ検出時に、前記画像読み取り手段が該原稿台の所定の大きさの所定数の原稿サイズ検出領域を読み取って前記デジタル変換処理手段でデジタル変換されたデジタル読み取りデータを、少なくとも像域分離処理を含み該原稿の主走査方向端部を該原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理手段と、前記画像処理手段で画像処理された前記領域デジタル読み取りデータに基づいて前記原稿の主走査方向のサイズを検出するサイズ検出手段と、を備え、前記画像処理手段は、原稿読み取り時に、前記デジタル読み取りデータに対して、少なくとも像域分離処理を含む画像処理を、像域分離処理パラメータを含む所定の画像処理パラメータに基づいて施す画像処理実行手段と、前記原稿サイズ検出時と原稿読み取り時とで前記画像処理実行手段に設定する前記像域分離処理パラメータを含む前記画像処理パラメータを切り替えるとともに、該原稿サイズ検出時には、前記領域デジタル読み取りデータを、前記原稿の主走査方向端部を原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理パラメータに切り替えるパラメータ切り替え手段と、を備えていることを特徴としている。 In order to achieve the above object, an image reading apparatus according to claim 1 is an image reading unit that reads an image of a document on a platen and outputs analog read data; and an analog reading output by the image reading unit. digital conversion processing means for converting the digital read data to the data digitally converted, when the document size detection of the document placed on the document table, a predetermined number of said image reading means is the original table of predetermined size digitally converted digital read data, background and distinguishable image characteristics of the document in the main scanning direction end portion of the document includes at least image area separation processing by reading the document size detection region said digital conversion means Image processing means for performing image processing on the area digital read data, and the area digital image processed by the image processing means And a size detecting means for detecting the main scanning direction size of the document based on the read data, the image processing means, when the document reading, to the digital read data, an image including at least image area separation processing Image processing execution means for performing processing based on predetermined image processing parameters including image area separation processing parameters, and the image area separation processing parameters set in the image processing execution means at the time of document size detection and document reading When the document size is detected, the area digital read data is image-processed into area digital read data having image characteristics that can distinguish the end portion in the main scanning direction of the document from the background of the document. a parameter switching means for switching the image processing parameters, in that it comprises It is a symptom.

本発明によれば、原稿サイズを安価にかつ高精度に検出することができる。   According to the present invention, the document size can be detected inexpensively and with high accuracy.

本発明の一実施例を適用したカラー複合装置の画像読み取り部の正面概略構成図。1 is a schematic front view of an image reading unit of a color composite apparatus to which an embodiment of the present invention is applied. SDFユニットの正面概略拡大図。Front schematic enlarged view of the SDF unit. 画像読み取り部の走査光学系の正面概略拡大図。The front schematic enlarged view of the scanning optical system of an image reading part. カラー複合装置の要部ブロック構成図。The principal part block block diagram of a color compound apparatus. 読み取り信号処理部のブロック構成図。The block block diagram of a read signal processing part. 読み取り信号処理分の詳細なブロック構成図。FIG. 3 is a detailed block configuration diagram for reading signal processing. 画像処理部のブロック構成図。The block block diagram of an image process part. 前段画像処理部のブロック構成図。The block block diagram of a front | former stage image process part. スルー時とコントラスト強調時のγテーブルの一例を示す図。The figure which shows an example of (gamma) table at the time of through and contrast emphasis. 像域分離処理部のブロック構成図。The block diagram of an image area separation processing unit. ピーク画素の説明図。Explanatory drawing of a peak pixel. γ変換曲線とγルックアップテーブルの一例を示す図。The figure which shows an example of (gamma) conversion curve and (gamma) look-up table. 原稿読み取り時に動作するブロックのみを示した前段画像処理部のブロック構成図。FIG. 6 is a block diagram of a pre-stage image processing unit showing only blocks that operate when reading a document. 後段画像処理部のブロック構成図。The block block diagram of a back | latter stage image process part. 原稿サイズ検出処理を示すフローチャート。6 is a flowchart showing document size detection processing. 原稿サイズ検知読み取り処理の説明図。Explanatory drawing of a document size detection reading process. 原稿サイズ検出用のメモリのデータ保存状態の一例を示す図。FIG. 4 is a diagram illustrating an example of a data storage state of a document size detection memory. 原稿検知処理を示すフローチャート。6 is a flowchart showing document detection processing. 高濃度網点が検知領域に存在する場合の原稿検知処理の説明図。Explanatory drawing of the original detection process when a high density halftone dot exists in a detection area. 主走査サイズ判定テーブルの一例を示すず。An example of the main scanning size determination table is not shown. 原稿サイズ判定処理の説明図。Explanatory drawing of a document size determination process. 原稿サイズ判定テーブルを示す図。The figure which shows a document size determination table.

以下、本発明の好適な実施例を添付図面に基づいて詳細に説明する。なお、以下に述べる実施例は、本発明の好適な実施例であるので、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明によって不当に限定されるものではなく、また、本実施の形態で説明される構成の全てが本発明の必須の構成要件ではない。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, since the Example described below is a suitable Example of this invention, various technically preferable restrictions are attached | subjected, However, The range of this invention is unduly limited by the following description. However, not all the configurations described in the present embodiment are essential constituent elements of the present invention.

図1〜図22は、本発明の画像読み取り装置、原稿サイズ検出方法及び原稿サイズ検出プログラムの一実施例を示す図であり、図1は、本発明の画像読み取り装置、原稿サイズ検出方法及び原稿サイズ検出プログラムの一実施例を適用したカラー複合装置1の画像読み取り部10の正面概略構成図である。   1 to 22 are diagrams showing an embodiment of an image reading apparatus, document size detection method, and document size detection program according to the present invention. FIG. 1 shows an image reading apparatus, document size detection method, and document according to the present invention. It is a front schematic block diagram of the image reading part 10 of the color composite apparatus 1 to which one Example of the size detection program is applied.

図1において、画像読み取り部(画像読み取り装置)10は、筐体11の上部に原稿読み取り台(原稿台)12が設けられており、原稿読み取り台12には、通常、コンタクトガラスが配設されている。原稿読み取り台12の上部は、開閉可能な原稿押さえ板13が設けられており、原稿押さえ板13は、原稿読み取り台12上にセットされた原稿Gを原稿読み取り台12のコンタクトガラスに密着させるように押さえつける。   In FIG. 1, an image reading unit (image reading apparatus) 10 is provided with a document reading table (document table) 12 at the top of a housing 11, and the document reading table 12 is usually provided with contact glass. ing. An openable / closable document pressing plate 13 is provided on the upper portion of the document reading table 12, and the document pressing plate 13 is configured to bring the document G set on the document reading table 12 into close contact with the contact glass of the document reading table 12. Press down on.

図1の筐体11の右側上部には、原稿搬送部14が配設されており、原稿搬送部14は、SDF(シートスルー・ドキュメント・フィーダ)ユニット15と原稿トレイ16とを備えている。SDFユニット15内には原稿搬送ステッピングモータ17が備えられており、原稿トレイ16上には、複数枚の原稿Gが読み取り面を上にして重ねて載置される。   A document transport unit 14 is disposed on the upper right side of the housing 11 of FIG. 1, and the document transport unit 14 includes an SDF (sheet through document feeder) unit 15 and a document tray 16. A document conveying stepping motor 17 is provided in the SDF unit 15, and a plurality of documents G are placed on the document tray 16 with the reading surface facing up.

原稿搬送部14は、図2に示すように、原稿トレイ16上に載置された複数枚の原稿Gを、SDFユニット15で、1枚ずつ分離して、原稿搬送ステッピングモータ17により回転駆動される分離ローラ18と搬送ローラ19により原稿読み取り台12を通過させて図示しない排紙トレイ上に搬送する。原稿搬送部14は、原稿読み取り台3のSDFユニット6側の端部に、シェーディング補正用の白基準板20が配設されている。また、原稿搬送部14は、原稿押さえ板13と一体構造となっており、原稿押さえ板13を開く際、原稿搬送部14も一緒に開閉動作される。   As shown in FIG. 2, the document conveying section 14 separates a plurality of documents G placed on the document tray 16 one by one by the SDF unit 15 and is rotated by a document conveying stepping motor 17. The separation roller 18 and the conveyance roller 19 pass through the document reading table 12 and are conveyed onto a paper discharge tray (not shown). The document transport unit 14 is provided with a white reference plate 20 for shading correction at the end of the document reading table 3 on the SDF unit 6 side. The document transport unit 14 is integrated with the document pressing plate 13, and when the document pressing plate 13 is opened, the document transport unit 14 is also opened and closed together.

原稿搬送装置5の配設されている本体筐体2の上面の原稿搬送経路には、図2に示すように、SDF窓12aが形成されており、SDF窓12aの形成されている位置の上部のSDFユニット15内には、透過ガラス12bと白板15cが配設されている。この白板15cは、SDF窓12a及び透過ガラス12bを通した光路上、特に、SDF窓12aにゴミ等が付着しているか否かを検出する際に読み取られる。   As shown in FIG. 2, an SDF window 12a is formed in the document conveyance path on the upper surface of the main body housing 2 where the document conveyance device 5 is disposed, and an upper portion of the position where the SDF window 12a is formed. In the SDF unit 15, a transmissive glass 12b and a white plate 15c are disposed. The white plate 15c is read when detecting whether or not dust or the like is attached to the optical path through the SDF window 12a and the transmission glass 12b, in particular, the SDF window 12a.

筐体11の内部には、第1走行体21、第2走行体22、レンズ23、CCD(Charge Coupled Device )24及び走行体ステッピングモータ25等からなる走査光学系(画像読み取り手段)26が配設されており、第1走行体21は、光源21aとミラー21bを、また、第2走行体22は、ミラー22a、22bを、それぞれ搭載している。   Inside the housing 11, a scanning optical system (image reading means) 26 comprising a first traveling body 21, a second traveling body 22, a lens 23, a CCD (Charge Coupled Device) 24, a traveling body stepping motor 25, and the like is arranged. The first traveling body 21 is equipped with a light source 21a and a mirror 21b, and the second traveling body 22 is equipped with mirrors 22a and 22b.

走査光学系26は、第1走行体21と第2走行体22が走行体ステッピングモータ25により水平方向(副走査方向)に移動され、第1走行体21上の光源21a、例えば、蛍光灯等から原稿読み取り台12上に載置された原稿Gに光を照射して、該原稿Gで反射された光の反射光を第1走行体21上のミラー21bで第2走行体22方向に反射し、第2走行体22上のミラー22a及びミラー22bで第1走行体21から入射される光を順次反射して、レンズ23方向に出射させる。レンズ23は、第2走行体22から入射される光をCCD24に集光して照射させる。CCD24は、1次元に複数の光電変換素子として1ライン分のCCD素子が主走査方向にライン状に配列されており、レンズ23から入射される入射光を光電変換して、アナログの画像データ(画像信号)を出力する。また、走査光学系26は、白基準板18に光を照射して、該白基準板18からの反射光を上記同様にCCD24に入射し、CCD24からシェーディング補正用の基準データとして出力する。   In the scanning optical system 26, the first traveling body 21 and the second traveling body 22 are moved in the horizontal direction (sub-scanning direction) by the traveling body stepping motor 25, and a light source 21a on the first traveling body 21, for example, a fluorescent lamp or the like. Irradiates the original G placed on the original reading table 12 with light, and the reflected light of the light reflected by the original G is reflected in the direction of the second traveling body 22 by the mirror 21b on the first traveling body 21. Then, the light incident from the first traveling body 21 is sequentially reflected by the mirror 22a and the mirror 22b on the second traveling body 22, and emitted in the direction of the lens 23. The lens 23 collects and irradiates the light incident from the second traveling body 22 on the CCD 24. The CCD 24 has one line of CCD elements arranged in a line in the main scanning direction as a plurality of photoelectric conversion elements in one dimension, and photoelectrically converts incident light incident from the lens 23 to obtain analog image data ( Image signal). Further, the scanning optical system 26 irradiates the white reference plate 18 with light, and the reflected light from the white reference plate 18 is incident on the CCD 24 in the same manner as described above, and is output from the CCD 24 as reference data for shading correction.

そして、画像読み取り部10は、原稿読み取りモードとして、図3に示すように、原稿押さえ板13を開いて原稿読み取り台12上に載置された原稿Gの画像を読み取るブックモードと、図2に示したように、原稿搬送部14を用いて、SDFユニット15の原稿搬送ステッピングモータ17により複数のローラ18、19を回転駆動させて原稿トレイ16上に載置された複数枚の原稿Gを1枚ずつSDF窓12aの所定の読み取り位置に搬送し、停止する第1走行体21の光源21aから、搬送される原稿Gに光を照射して、原稿Gの画像を読み取るSDFモードとがある。   Then, as shown in FIG. 3, the image reading unit 10 opens the document pressing plate 13 and reads the image of the document G placed on the document reading table 12 as shown in FIG. As shown, a plurality of documents G placed on the document tray 16 are rotated by driving a plurality of rollers 18 and 19 by a document transport stepping motor 17 of the SDF unit 15 using the document transport unit 14. There is an SDF mode in which an image of the original G is read by irradiating light to the conveyed original G from the light source 21a of the first traveling body 21 which is conveyed one by one to a predetermined reading position of the SDF window 12a and stopped.

画像読み取り部10は、ブックモードでは、図3に示したように、原稿押さえ板13を開いて原稿読み取り台12上に原稿Gがセットされると、光源21aを点灯させて、まず、白基準板18の読み取りを行って、シェーディング補正用の基準データを取得し、その後、走行体ステッピングモータ25を駆動させて、第1走行体21及び第2走行体22を、原稿GからCCD24までの光路長が一定となる状態で副走査方向に移動して、原稿サイズを検出した後、原稿読み取り台12上の原稿Gの画像を読み取る。   In the book mode, as shown in FIG. 3, the image reading unit 10 opens the document pressing plate 13 and sets the document G on the document reading table 12, turns on the light source 21a, first, the white reference The reading of the plate 18 is performed to obtain reference data for shading correction, and then the traveling body stepping motor 25 is driven to move the first traveling body 21 and the second traveling body 22 from the original G to the CCD 24. After moving in the sub-scanning direction with the length being constant and detecting the document size, the image of the document G on the document reading table 12 is read.

また、画像読み取り部10は、SDFモードでは、図2に示したように、原稿トレイ16上に複数枚の原稿Gがセットされると、まず、光源21aを点灯させて、白基準板18aの読み取りを行った後、ステッピングモータ14を駆動させて、第1走行体21をSDF窓12aの読み取り位置まで移動させて、停止させる。次に、画像読み取り部10は、原稿搬送ステッピングモータ17を駆動させて、原稿トレイ16にセットされた原稿Gを分離ローラ17で1枚ずつ分離して、搬送ローラ18、19で搬送していき、第1走行体21の所定の読み取り位置まで搬送する。このとき、原稿Gは一定速度で搬送され、第1走行体21及び第2走行体22は停止したままで、第1走行体21上の光源21aからSDF窓12aを通して当該搬送される原稿Gに光を照射して、該原稿Gで反射された原稿Gからの光を、再度SDF窓12aを通して、ミラー21b及び第2走行体22上のミラー22a、22bで反射して、レンズ23を通してCCD24に入射させ、CCD24で光電変換して、原稿Gの画像を読み取る。   In the SDF mode, as shown in FIG. 2, when a plurality of documents G are set on the document tray 16, the image reading unit 10 first turns on the light source 21 a and turns on the white reference plate 18 a. After performing the reading, the stepping motor 14 is driven to move the first traveling body 21 to the reading position of the SDF window 12a and stop. Next, the image reading unit 10 drives the document conveyance stepping motor 17 to separate the document G set on the document tray 16 one by one by the separation roller 17 and conveys the document G by the conveyance rollers 18 and 19. Then, the first traveling body 21 is conveyed to a predetermined reading position. At this time, the original G is conveyed at a constant speed, and the first traveling body 21 and the second traveling body 22 are stopped, and the original G is conveyed from the light source 21a on the first traveling body 21 through the SDF window 12a. Light from the original G reflected by the original G is reflected again by the mirror 21b and the mirrors 22a and 22b on the second traveling body 22 through the SDF window 12a, and passed through the lens 23 to the CCD 24. Incident light is subjected to photoelectric conversion by the CCD 24 to read an image of the original G.

カラー複合装置1は、図4に示すように回路ブロック構成されており、CPU(Central Processing Unit )31、メモリ32、メモリコントローラ33、読み取り信号処理部34、画像処理部35、書き込み信号処理部36、LD(Laser Diode:半導体レーザ)37、LD駆動部38、上記CCD24、CCD駆動回路39、上記光源21a、光源ドライバ40、原稿搬送モータドライバ41、上記原稿搬送用の原稿搬送ステッピングモータ17、走行体モータドライバ42及び上記走行体駆動用の走行体ステッピングモータ25等を備えている。   The color composite apparatus 1 has a circuit block configuration as shown in FIG. 4, and includes a CPU (Central Processing Unit) 31, a memory 32, a memory controller 33, a read signal processor 34, an image processor 35, and a write signal processor 36. , LD (Laser Diode: semiconductor laser) 37, LD drive unit 38, CCD 24, CCD drive circuit 39, light source 21a, light source driver 40, document transport motor driver 41, document transport stepping motor 17 for document transport, travel A body motor driver 42 and the traveling body stepping motor 25 for driving the traveling body are provided.

メモリ21内には、画像読み取り部10としての基本処理プログラムや後述する光源サイズ検出プログラム等の各種プログラム及びこれらの各種プログラムを実行するのに必要な各種データが格納されているとともに、CPU31のワークメモリ、画像データの蓄積等に用いられる。   The memory 21 stores various programs such as a basic processing program as the image reading unit 10 and a light source size detection program to be described later, and various data necessary for executing these various programs. Used for storage of memory and image data.

CPU(パラメータ切り替え手段)31は、メモリ32内のプログラムに基づいて、メモリ32をワークメモリとして利用しつつ、カラー複合装置1の各部を制御して、カラー複合装置1としての処理を実行するとともに、後述する原稿サイズ検出方法を実行する。   The CPU (parameter switching means) 31 controls each unit of the color composite apparatus 1 and executes processing as the color composite apparatus 1 while using the memory 32 as a work memory based on a program in the memory 32. Then, a document size detection method described later is executed.

上記光源21aは、CPU31の制御下で、光源ドライバ40により点灯・消灯制御され、CCD24は、CPU31の制御下で、CCD駆動部39により駆動されて、光電変換した画像データを読み取り信号処理部34に出力する。   The light source 21 a is controlled to be turned on / off by the light source driver 40 under the control of the CPU 31, and the CCD 24 is driven by the CCD driving unit 39 under the control of the CPU 31 to read the photoelectrically converted image data and the signal processing unit 34. Output to.

上記原稿搬送ステッピングモータ17は、CPU31の制御下で、原稿搬送モータドライバ41により駆動され、走行体ステッピングモータ25は、CPU31の制御下で、走行体モータドライバ42により駆動される。   The document conveying stepping motor 17 is driven by the document conveying motor driver 41 under the control of the CPU 31, and the traveling body stepping motor 25 is driven by the traveling body motor driver 42 under the control of the CPU 31.

読み取り信号処理部(デジタル変換処理手段)34は、図5に示すように、アナログビデオ処理部51とシェーディング補正処理部52を備えている。 As shown in FIG. 5, the read signal processing unit ( digital conversion processing means) 34 includes an analog video processing unit 51 and a shading correction processing unit 52.

アナログビデオ処理部51には、CCD24の出力するアナログのカラー画像信号(アナログの読み取りデータ)Saが入力され、アナログビデオ処理部51は、アナログのカラー画像信号Saをデジタル変換してデジタルのカラー画像データ(デジタル読み取りデータ)としてシェーディング補正処理部52に出力する。   The analog video processing unit 51 receives an analog color image signal (analog read data) Sa output from the CCD 24, and the analog video processing unit 51 converts the analog color image signal Sa into a digital color image. The data (digital read data) is output to the shading correction processing unit 52.

シェーディング補正処理部52は、白基準板18を読み取った際のカラー画像データを内部RAMにシェーディング補正用の基準データとして記憶し、原稿Gを読み取った際のアナログビデオ処理部51でデジタル変換されたデジタルカラー画像データに対して、該基準データに基づいてシェーディング補正を施して、シェーディング補正後のデジタルカラー画像データSbを画像処理部35に出力する。   The shading correction processing unit 52 stores the color image data when the white reference plate 18 is read as reference data for shading correction in the internal RAM, and is digitally converted by the analog video processing unit 51 when the original G is read. The digital color image data is subjected to shading correction based on the reference data, and the digital color image data Sb after the shading correction is output to the image processing unit 35.

上記読み取り信号処理部34のアナログビデオ処理部51及びシェーディング補正処理部52は、詳細には、図6に示すようにブロック構成されている。   The analog video processing unit 51 and the shading correction processing unit 52 of the read signal processing unit 34 are configured in block as shown in detail in FIG.

すなわち、アナログビデオ処理部51は、図6に示すように、プリアンプ回路51a、可変増幅回路51b、A/Dコンバータ51c等を備えており、シェーディング補正処理回路52は、黒演算回路52a、シェーディング補正演算回路52b及びラインバッファ52c等を備えている。   That is, as shown in FIG. 6, the analog video processing unit 51 includes a preamplifier circuit 51a, a variable amplification circuit 51b, an A / D converter 51c, and the like. The shading correction processing circuit 52 includes a black arithmetic circuit 52a, a shading correction, and the like. An arithmetic circuit 52b and a line buffer 52c are provided.

画像読み取り部10は、光源21aで原稿読み取り台12上にある原稿Gを照射した反射光を、シェーディング調整板27を通して、レンズ23によってCCD24に集光して結像する。なお、図6では、説明簡単化のために、反射光を折り返すためのミラーは省略している。また、シェーディング調整板27は、CCD24の中央部と端部での反射光量の差を無くすための光量調整の役割を果たすものである。すなわち、シェーディング演算処理において、CCD24の中央部と端部で反射光量の差がありすぎると、歪を多く含んだ演算結果しか得られないため、シェーディング調整板27で、予め反射光量の差を無くした後に、シェーディング演算処理を行う。   The image reading unit 10 focuses the reflected light irradiated on the original G on the original reading table 12 by the light source 21 a through the shading adjustment plate 27 and is focused on the CCD 24 by the lens 23 to form an image. In FIG. 6, a mirror for folding the reflected light is omitted for the sake of simplicity. Further, the shading adjustment plate 27 plays a role of adjusting the amount of light for eliminating the difference in the amount of reflected light between the central portion and the end portion of the CCD 24. That is, in the shading calculation process, if there is too much difference in the amount of reflected light between the central portion and the end portion of the CCD 24, only a calculation result including a lot of distortion can be obtained. After that, shading calculation processing is performed.

アナログビデオ処理部51は、CCD24から入力されるアナログのカラー画像信号Saをプリアンプ回路51aと可変増幅回路51bで増幅して、A/Dコンバータ51cでデジタル変換してデジタルのカラー画像データとしてシェーディング補正処理部52の黒演算回路52aに出力する。   The analog video processing unit 51 amplifies the analog color image signal Sa input from the CCD 24 by the preamplifier circuit 51a and the variable amplifier circuit 51b, and digitally converts it by the A / D converter 51c to correct the shading as digital color image data. The result is output to the black arithmetic circuit 52a of the processing unit 52.

シェーディング補正処理部52は、アナログビデオ処理部51からのデジタルカラー画像データに対して、黒演算回路52aで、CCD24のチップ間、画素間の黒レベル(光量が少ない場合の電気信号)のばらつきを低減して、画像の黒部にスジやムラが生じることを防止して、シェーディング補正演算回路52bに出力し、シェーディング補正演算回路52bは、ラインバッファ52cの保持している基準データに基づいて、照射系、光学系やCCD24の感度ばらつきを補正するシェーディング補正を施してデジタルカラー画像データSbを画像処理部35に出力する。   The shading correction processing unit 52 uses the black arithmetic circuit 52a for the digital color image data from the analog video processing unit 51 to vary the black level (electric signal when the amount of light is small) between the chips of the CCD 24 and between the pixels. This reduces the occurrence of streaks and unevenness in the black portion of the image and outputs the result to the shading correction arithmetic circuit 52b. The shading correction arithmetic circuit 52b performs irradiation based on the reference data held in the line buffer 52c. The digital color image data Sb is output to the image processing unit 35 by performing shading correction for correcting sensitivity variations of the system, the optical system, and the CCD 24.

画像処理部(画像処理手段)35は、図7に示すように、前段画像処理部35aと後段画像処理部35b等を備えており、ASIC(Application Specific Integrated Circuit)で構成されている。   As shown in FIG. 7, the image processing unit (image processing means) 35 includes a pre-stage image processing unit 35a, a post-stage image processing unit 35b, and the like, and is configured by an ASIC (Application Specific Integrated Circuit).

前段画像処理部(画像処理実行手段)35aは、図8に示すように、ライン間補正処理部61、原稿検知補正処理用γ変換処理部62、原稿検知補正処理用フィルタ処理部63、像域分離処理部64、γ変換処理部65、フィルタ処理部66、色変換処理部67及び変倍処理部68を備えており、読み取り信号処理部34からRGB(赤(Red)、緑(Green)、青(Blue))のカラーデジタル画像データがライン間補正処理部61に入力される。   As shown in FIG. 8, the pre-stage image processing unit (image processing execution unit) 35a includes an interline correction processing unit 61, a document detection correction processing γ conversion processing unit 62, a document detection correction processing filter processing unit 63, and an image area. A separation processing unit 64, a γ conversion processing unit 65, a filter processing unit 66, a color conversion processing unit 67, and a scaling processing unit 68, and RGB (Red (Red), Green (Green), Blue color digital image data is input to the inter-line correction processing unit 61.

ライン間補正処理部61は、カラー画像を読み取るCCD24の各RGBの取り付け位置の差によって生じるそれぞれRGB間のラインずれを補正する。例えば、ライン間補正処理部61は、Bのラインを基準とした場合、RとB、GとBの間のラインずれ量(ライン遅延)を補正する。   The inter-line correction processing unit 61 corrects a line shift between RGB caused by a difference in RGB mounting positions of the CCD 24 that reads a color image. For example, the inter-line correction processing unit 61 corrects the amount of line deviation (line delay) between R and B and G and B when the B line is used as a reference.

原稿検知補正用γ変換処理部(γ変換処理手段)62は、原稿サイズ検知時にのみγ補正を行い、原稿読み取り時には、図9(a)に示すようなスルーのγテーブルを設定して、画像データをスルーさせて、原稿検知補正処理用フィルタ処理部63に出力する。すなわち、原稿検知補正用γ変換処理部62は、原稿読み取り時には、図9(a)に示すようなスルーのγテーブル(パラメータ)がCPU31によって設定されて、ライン間補正処理部61からの画像データをデジタルカラー画像データをそのまま原稿検知補正処理用フィルタ処理部63に出力する。そして、原稿検知補正用γ変換処理部62は、原稿サイズ検知時には、図9(b)に示すような画像濃度のコントラスト差を明確にするγテーブル(パラメータ)がCPU31によって設定されて、ライン間補正処理部61からのデジタルカラー画像データにγ補正を施して、網点のピークをより一層検出しやすくするγ補正を行い、γ補正後のデジタル画像データを原稿検知補正処理用フィルタ処理部63に出力する。   A document detection correction γ conversion processing unit (γ conversion processing means) 62 performs γ correction only when a document size is detected, and sets a through γ table as shown in FIG. The data is passed through and output to the document detection correction processing filter processing unit 63. That is, the original detection correction γ conversion processing unit 62 sets a through γ table (parameter) as shown in FIG. 9A by the CPU 31 when reading an original, and the image data from the interline correction processing unit 61 is set. The digital color image data is output to the document detection correction processing filter processing unit 63 as it is. Then, when detecting the document size, the document detection correction γ conversion processing unit 62 sets a γ table (parameter) for clarifying the contrast difference in image density as shown in FIG. The digital color image data from the correction processing unit 61 is subjected to γ correction to make it easier to detect halftone peaks, and the digital image data after γ correction is subjected to a document detection correction processing filter processing unit 63. Output to.

原稿検知補正処理用フィルタ処理部(フィルタ処理手段)63は、デジタルカラー画像データに対して、原稿サイズ検知時にのみフィルタ補正を行い、原稿読み取り時には、画像データをスルーさせて、像域分離処理部64に出力する。すなわち、原稿検知補正処理用フィルタ処理部63は、スルーのフィルタ係数(パラメータ)がCPU31によって設定されて、原稿検知補正用γ変換処理部62からの画像データをデジタルカラー画像データをそのまま像域分離処理部64に出力する。そして、原稿検知補正処理用フィルタ処理部63は、原稿サイズ検知時には、高濃度網点のピークを精度良く検出するために、鮮鋭度を増加させるフィルタ係数がCPU31によって設定され、原稿検知補正用γ変換処理部62からのデジタルカラー画像データに対して、網点のピーク画像と周囲の画素との濃度レベルの差を強調するフィルタ処理を施して、フィルタ処理後のデジタルから画像データを像域分離処理部64に出力する。   A document detection correction processing filter processing section (filter processing means) 63 performs filter correction on the digital color image data only at the time of document size detection, and passes through the image data when reading the document, so that an image area separation processing section. 64. That is, in the document detection correction processing filter processing unit 63, the through filter coefficient (parameter) is set by the CPU 31, and the image data from the document detection correction γ conversion processing unit 62 is subjected to image area separation as it is. The data is output to the processing unit 64. Then, when detecting the document size, the document detection correction processing filter processing unit 63 sets a filter coefficient for increasing the sharpness by the CPU 31 in order to accurately detect the peak of the high density halftone dot. The digital color image data from the conversion processing unit 62 is subjected to filter processing that emphasizes the density level difference between the halftone dot peak image and surrounding pixels, and the image data is separated from the digital image after the filter processing. The data is output to the processing unit 64.

像域分離処理部64は、CPU31によって、原稿サイズ検知時と原稿読み取り時とで閾値(像域分離処理パラメータ)が切り替えられて、原稿検知補正処理用フィルタ処理部63からのデジタルカラー画像データに対して像域分離処理を施して、像域分離処理後のデジタルカラー画像データを、原稿サイズ検知時には、メモリ71へ保管させ、原稿読み取り時には、γ変換処理部65に出力する。像域分離部64は、原稿読み取り時には、原稿Gの文字領域、写真領域、網点領域等を抽出し、後段画像処理部35bにおいて各領域に適したパラメータで処理を行なうための像域分離結果を抽出して、RGB画像データの他に、sデータをγ変換処理部65に出力する。   In the image area separation processing unit 64, the CPU 31 switches the threshold value (image area separation processing parameter) between when the document size is detected and when the document is read, so that the digital color image data from the document detection correction processing filter processing unit 63 is converted. The image area separation process is performed on the digital color image data after the image area separation process is stored in the memory 71 when the document size is detected, and is output to the γ conversion processing unit 65 when the document is read. The image area separation unit 64 extracts a character area, a photographic area, a halftone dot area, and the like of the original G when reading the original, and an image area separation result for performing processing with parameters suitable for each area in the subsequent image processing unit 35b. And the s data in addition to the RGB image data is output to the γ conversion processing unit 65.

具体的には、像域分離処理部64は、図10に示すように、ピーク画素検出部64a、網点領域検出部64b及び網点領域補正部64cを備えており、マトリックスを使用してピークを検出することで、網点であるか否かを判定する(特許3336046号公報、特許3518258号公報参照)。すなわち、ピーク画素検出部64aは、ピーク画素検出部64aは、図11に示すようなピーク画素を検出する。なお、ピーク画素とは、図11に示すように、中心画素の濃度レベルLが周囲の全ての画素の濃度レベルよりも高い、あるいは、低く、かつ、中心画素の濃度レベルLと中心画素を挾んで対角線に存在する4対の対画素の濃度レベルa、bが、4対ともに、|2×L−a−b|>TH(固定のしきい値)であるとき、該中心画素は、ピーク画素であるとする。   Specifically, as shown in FIG. 10, the image area separation processing unit 64 includes a peak pixel detection unit 64a, a halftone dot region detection unit 64b, and a halftone dot region correction unit 64c. Is detected to determine whether it is a halftone dot (see Japanese Patent No. 3336046 and Japanese Patent No. 3518258). That is, the peak pixel detection unit 64a detects the peak pixel as shown in FIG. As shown in FIG. 11, the peak pixel means that the density level L of the central pixel is higher or lower than the density level of all the surrounding pixels, and the density level L of the central pixel is different from that of the central pixel. When the density levels a and b of the four pairs of pixels existing on the diagonal line are both | 2 × L−a−b |> TH (fixed threshold value), the center pixel has a peak. Let it be a pixel.

網点領域検出部64bは、4×4画素を1ブロックとし、4ブロックにおいて、ピーク画素検出部64aの検出したピーク画素を含むブロックが2ブロック以上存在すると、注目ブロックを網点候補領域として判定し、判定結果とデジタルカラー画像データを網点領域補正部64cに出力する。   The halftone dot area detection unit 64b determines that the block of interest is a halftone dot candidate area when 4 × 4 pixels are one block and there are two or more blocks including the peak pixel detected by the peak pixel detection unit 64a in the four blocks. The determination result and the digital color image data are output to the halftone dot region correction unit 64c.

網点領域補正部64cは、注目ブロックを中心とした9個のブロックにおいて、4ブロック以上が網点領域検出部64bの検出した網点候補であると、すなわち、ある程度の大きさを持って網点領域が存在していると、注目ブロックを網点領域とし、該当しない場合には、注目ブロックを非網点領域として、補正処理を行う。   The halftone dot region correction unit 64c determines that four or more blocks are the halftone dot candidates detected by the halftone dot region detection unit 64b among the nine blocks centered on the target block, that is, the halftone dot region correction unit 64c has a certain size. If a dot area exists, the target block is set as a halftone dot area, and if not, correction processing is performed with the target block as a non-halftone dot area.

そして、像域分離処理部64は、原稿読み取り時には、CPU31によって、原稿Gの読み取りに最適な像域分離処理パラメータが設定されて、該像域分離処理パラメータを用いて像域分離処理を行うが、この原稿読み取り時の像域分離処理パラメータで像域分離を行うと、原稿サイズを適切に検出する像域分離処理を行うことができない場合がある。 The image area separation processing unit 64 sets an image area separation processing parameter optimal for reading the original G by the CPU 31 during document reading, and performs image area separation processing using the image area separation processing parameter. If image area separation is performed using the image area separation processing parameters at the time of document reading, there may be cases where image area separation processing for appropriately detecting the document size cannot be performed.

そこで、本実施例のカラー複合装置1は、CPU31が、像域分離処理部64における像域分離処理を、原稿読み取り時と原稿サイズ検知時とで、像域分離処理パラメータを、切り替えて行わせる。具体的には、CPU31は、原稿サイズ検知時に、高濃度網点のピークを検出するピーク検出の閾値(像域分離処理パターン)を像域分離処理部64へ設定すると、文字等を網点として誤検出するおそれがあるため、原稿サイズ検知時には、原稿読み取り時よりも小さい閾値を像域分離処理部64へ設定する。   Therefore, in the color composite apparatus 1 according to the present embodiment, the CPU 31 causes the image area separation processing unit 64 to perform the image area separation processing by switching the image area separation processing parameter between when reading the original and when detecting the original size. . Specifically, when the CPU 31 sets a peak detection threshold (image area separation processing pattern) for detecting a peak of a high density halftone dot in the image area separation processing unit 64 at the time of document size detection, a character or the like is set as a halftone dot. Since there is a risk of erroneous detection, a threshold smaller than that at the time of reading the document is set in the image area separation processing unit 64 when the document size is detected.

そして、前段画像処理部35aは、原稿サイズ検知時おける像域分離処理部64での網点検出をより一層高精度に行えるように、デジタルカラー画像データに対して、原稿検知補正処理用γ変換処理部62及び原稿検知補正処理用フィルタ処理部63において、コントラスト調整やフィルタ処理の補正処理を行なっている。   Then, the pre-stage image processing unit 35a performs γ conversion for document detection correction processing on the digital color image data so that the halftone dot detection by the image area separation processing unit 64 at the time of document size detection can be performed with higher accuracy. The processing unit 62 and the document detection correction processing filter processing unit 63 perform correction processing for contrast adjustment and filter processing.

そして、前段画像処理部35aは、像域分離処理部63以下のγ変換処理部65、フィルタ処理部66、色変換処理部67及び変倍処理部68においては、原稿読み取り時にのみ動作を行う。   The pre-stage image processing unit 35a operates in the γ conversion processing unit 65, the filter processing unit 66, the color conversion processing unit 67, and the scaling processing unit 68 below the image area separation processing unit 63 only when reading a document.

γ変換処理部(γ変換処理手段)65は、CPU31によって、像域分離処理部64での像域分離結果に応じてγテーブルが設定されて、主に濃度調整を行って、処理結果のデジタルカラー画像データ及びsデータをフィルタ処理部66に出力する。この場合、γ変換処理部65は、例えば、図12(a)に示すようなγ変換曲線のγテーブルであり、内部のメモリに保持する図12(b)に示すようなγルックアップテーブルを参照して、濃度調整を行う。図12(b)の場合、γ変換処理部65は、入力が「3」のとき、γルックアップテーブルを参照して、「D003」を出力する。   The γ conversion processing unit (γ conversion processing means) 65 sets the γ table according to the image area separation result in the image area separation processing unit 64 by the CPU 31, mainly adjusts the density, and performs digital processing. Color image data and s data are output to the filter processing unit 66. In this case, the γ conversion processing unit 65 is, for example, a γ table of a γ conversion curve as shown in FIG. 12A, and a γ lookup table as shown in FIG. Referring to, density adjustment is performed. In the case of FIG. 12B, when the input is “3”, the γ conversion processing unit 65 refers to the γ lookup table and outputs “D003”.

フィルタ処理部(フィルタ処理手段)66は、γ変換処理されたデジタルカラー画像データに対して、sデータに基づいて、MTF補正、鮮鋭化、平滑化を目的としたフィルタ処理演算を行って、色変換処理部67に出力する。   A filter processing unit (filter processing means) 66 performs filter processing operations for the purpose of MTF correction, sharpening, and smoothing on the digital color image data that has been subjected to the γ conversion processing based on the s data. The data is output to the conversion processing unit 67.

色変換処理部67は、カラーデジタル画像データを出力デバイスであるLD37等の色空間、例えば、CMYK色空間への変換処理を行って、CMYK描画データを変倍処理部68に出力し、変倍処理部68は、読み取りの解像度からカラー複合装置1の操作表示部等で設定された所望の解像度に変換するための変倍処理を行って、CMYK描画データを後段画像処理部35bに出力する。   The color conversion processing unit 67 converts the color digital image data into a color space such as the output device LD37, for example, a CMYK color space, and outputs CMYK drawing data to the scaling processing unit 68. The processing unit 68 performs a scaling process for converting the read resolution to a desired resolution set by the operation display unit of the color multifunction apparatus 1, and outputs CMYK drawing data to the subsequent image processing unit 35b.

すなわち、前段画像処理部35aは、原稿読み取り時には、CPU31の制御下で、図13に示すように、原稿検知補正処理用γ変換処理部62と原稿検知補正処理用フィルタ処理部63は、スルーパスとなって、ライン間補正処理部61、像域分離処理部64、γ変換処理部65、フィルタ処理部66、色変換処理部67及び変倍処理部68のみで画像データの処理を行うこととなる。また、前段画像処理部35aは、画像データがカラー画像データの場合には、RGB各成分に対して上記の処理を行い、モノクロ画像データの場合には、RGBのGデータのパスを使用して一成分だけ上記の処理を行う。   That is, when reading a document, the pre-stage image processing unit 35a, under the control of the CPU 31, as shown in FIG. 13, the document detection correction processing γ conversion processing unit 62 and the document detection correction processing filter processing unit 63 Thus, the image data processing is performed only by the interline correction processing unit 61, the image area separation processing unit 64, the γ conversion processing unit 65, the filter processing unit 66, the color conversion processing unit 67, and the scaling processing unit 68. . In addition, when the image data is color image data, the pre-stage image processing unit 35a performs the above processing on each of the RGB components, and when the image data is monochrome image data, it uses the RGB G data path. The above process is performed for only one component.

そして、カラー複合装置1は、図8に示したように、上記メモリ71にアクセスする原稿検知処理部72を備えており、原稿検知処理部(サイズ検出手段)72は、メモリ71に保存されているデジタルカラー画像データに基づいて、原稿Gの主走査方向サイズを検出する。この原稿検知処理部72については、後で詳細に説明する。   As shown in FIG. 8, the color multifunction apparatus 1 includes a document detection processing unit 72 that accesses the memory 71. The document detection processing unit (size detection unit) 72 is stored in the memory 71. The size of the original G in the main scanning direction is detected based on the existing digital color image data. The document detection processing unit 72 will be described in detail later.

後段画像処理部35bは、図14に示すように、階調変換処理部81を備えており、階調変換処理部81には、前段画像処理部35aの変倍処理部68からCMYK画像データが入力される。階調変換処理部81は、後段の書き込み信号処理部36の階調能力に応じて、CMYK、8bit、256階調のCMYK画像データを書き込み信号処理部36に適した階調データに変換して、一旦、メモリコントローラ33を介してメモリ32に保存する。   As shown in FIG. 14, the latter-stage image processing unit 35b includes a gradation conversion processing unit 81. The gradation conversion processing unit 81 receives CMYK image data from the scaling processing unit 68 of the previous-stage image processing unit 35a. Entered. The gradation conversion processing unit 81 converts CMYK, 8-bit, and 256 gradation CMYK image data into gradation data suitable for the write signal processing unit 36 according to the gradation capability of the write signal processing unit 36 in the subsequent stage. Once stored in the memory 32 via the memory controller 33.

例えば、階調変換処理部81は、後段の書き込み信号処理部36以降の画像書き込み系が、1bit、2階調まで出力可能な場合には、固定閾値2値化による階調変換処理を行う。この場合、例えば、2値化固定閾値が「128」の場合、前段画像処理部35aから入力されるCMYK画像データに対して、下記の条件によって2値化処理を行う。   For example, the gradation conversion processing unit 81 performs gradation conversion processing by fixed threshold binarization when the image writing system after the write signal processing unit 36 in the subsequent stage can output up to 1 bit and 2 gradations. In this case, for example, when the binarization fixed threshold is “128”, the binarization process is performed on the CMYK image data input from the pre-stage image processing unit 35a under the following conditions.

0≦画素データ<128が真であると、「0」
128≦画素データ≦255が真であると、「1」
また、階調変換処理部81は、後段の書き込み信号処理部36以降の画像書き込み系が、2bit、4階調まで出力可能な場合には、固定閾値4値化による階調変換処理を行う。この場合、例えば、4値化固定閾値が「128」の場合、前段画像処理部35aから入力されるCMYK画像データに対して、下記の条件によって4値化処理を行う。
“0” if 0 ≦ pixel data <128 is true
If 128 ≦ pixel data ≦ 255 is true, “1”.
Further, the gradation conversion processing unit 81 performs gradation conversion processing by quaternization of a fixed threshold value when the image writing system after the writing signal processing unit 36 in the subsequent stage can output up to 2 bits and 4 gradations. In this case, for example, when the quaternization fixed threshold is “128”, the quaternization process is performed on the CMYK image data input from the preceding image processing unit 35a under the following conditions.

0≦画素データ<64が真であると、「0」
64≦画素データ<128が真であると、「1」
128≦画素データ<192が真であると、「2」
192≦画素データ≦255が真であると、「3」
後段画像処理部35bは、処理済みのCMYK画像データをメモリコントローラ33を介してメモリ32に保存する。
“0” if 0 ≦ pixel data <64 is true
If 64 ≦ pixel data <128 is true, “1”.
If 128 ≦ pixel data <192 is true, “2”.
If 192 ≦ pixel data ≦ 255 is true, “3”.
The post-stage image processing unit 35 b stores the processed CMYK image data in the memory 32 via the memory controller 33.

図4に戻って、書き込み信号処理部36は、メモリ32に保存されている階調処理後のCMYK画像データに対して、LD37を発光させるために、PWM変調してLD駆動部38に出力する。LD駆動部38は、書き込み信号処理部36からの信号に基づいてLD37を点滅駆動させて、図示しない感光体上に静電潜像を形成する。   Returning to FIG. 4, the write signal processing unit 36 performs PWM modulation on the CMYK image data after gradation processing stored in the memory 32 and outputs it to the LD drive unit 38 in order to cause the LD 37 to emit light. . The LD drive unit 38 drives the LD 37 to blink on the basis of a signal from the write signal processing unit 36 to form an electrostatic latent image on a photoconductor (not shown).

そして、カラー複合装置1、特に、画像読み取り部10は、ROM、EEPROM(Electrically Erasable and Programmable Read Only Memory)、EPROM、フラッシュメモリ、フレキシブルディスク、CD−ROM(Compact Disc Read Only Memory)、CD−RW(Compact Disc Rewritable)、DVD(Digital Versatile Disk)、SD(Secure Digital)カード、MO(Magneto-Optical Disc)等のコンピュータが読み取り可能な記録媒体に記録されている本発明の原稿サイズ検出方法を実行する原稿サイズ検出プログラムを読み込んでメモリ32等に導入することで、後述する走査光学系26のCCD24を利用して主走査方向の原稿サイズを安価かつ高精度に検出する原稿サイズ検出方法を実行する画像読み取り装置として構築されている。この原稿サイズ検出プログラムは、アセンブラ、C、C++、C#、Java(登録商標)等のレガシープログラミング言語やオブジェクト指向ブログラミング言語等で記述されたコンピュータ実行可能なプログラムであり、上記記録媒体に格納して頒布することができる。   The color composite apparatus 1, in particular, the image reading unit 10 includes a ROM, an EEPROM (Electrically Erasable and Programmable Read Only Memory), an EPROM, a flash memory, a flexible disk, a CD-ROM (Compact Disc Read Only Memory), and a CD-RW. Execute the document size detection method of the present invention recorded on a computer-readable recording medium such as (Compact Disc Rewritable), DVD (Digital Versatile Disk), SD (Secure Digital) card, MO (Magneto-Optical Disc), etc. By reading a document size detection program to be read and introducing it into the memory 32 or the like, a document size detection method for detecting the document size in the main scanning direction at a low cost and with high accuracy using the CCD 24 of the scanning optical system 26 described later is executed. It is constructed as an image reading device. This document size detection program is a computer-executable program written in a legacy programming language such as assembler, C, C ++, C #, Java (registered trademark) or an object-oriented programming language, and is stored in the recording medium. And can be distributed.

次に、本実施例の作用について説明する。本実施例の画像形成装置1は、原稿Gの画像を読み取る走査光学系26のCCD24を用いて、原稿サイズを安価にかつ高精度に検出する。   Next, the operation of this embodiment will be described. The image forming apparatus 1 according to the present embodiment uses the CCD 24 of the scanning optical system 26 that reads an image of the original G, and detects the original size at low cost and with high accuracy.

カラー複合装置1は、ブックモードで原稿Gの画像を読み取る場合、原稿Gの読み取りに使用する走査光学系26のCCD24を用いて、原稿Gの主走査方向のサイズを検出する。   When reading the image of the original G in the book mode, the color composite apparatus 1 detects the size of the original G in the main scanning direction using the CCD 24 of the scanning optical system 26 used for reading the original G.

すなわち、カラー複合装置1は、原稿Gが原稿読み取り台12にセットされて原稿サイズ検知タイミングになると、すなわち、図示しない開閉センサが、原稿押さえ板13が所定角度、例えば、30°まで閉じられたことを検出すると、図15に示すように、原稿サイズ検知動作を行うための初期設定を行う初期化を行い(ステップS101)、第1走行体21及び第2走行体22を移動させて、原稿サイズ検知読み取り動作を行わせる(ステップS102)。   That is, in the color composite apparatus 1, when the document G is set on the document reading table 12 and the document size detection timing comes, that is, the open / close sensor (not shown) closes the document pressing plate 13 to a predetermined angle, for example, 30 °. When this is detected, as shown in FIG. 15, initialization is performed to perform initial settings for performing the document size detection operation (step S101), the first traveling body 21 and the second traveling body 22 are moved, and the document is moved. A size detection reading operation is performed (step S102).

すなわち、カラー複合装置1は、原稿読み取り台12を原稿Gがわから見た図16に示すように、原稿サイズ検知時、原稿読み取り台12の起点側のホームポジション位置HPに位置している第1走行体21を、予め設定されている検知開始位置KPまで移動させた後、原稿読み取り時の走行体21、22の移動方向(図16の右方向)とは、逆方向である原稿サイズ検知時の移動方向(図16の左方向)に移動させながら、予め設定されている検知領域(原稿サイズ検出領域)Ar1、Ar2、Ar3を読み取る。この検知領域Ar1〜Ar3は、標準の原稿サイズを判定するのに原稿Gの有無を検出する必要のある領域として、予め設定されている領域である。なお、図16には、3つの検知領域Ar1、Ar2、Ar3が設けられている場合が示されているが、検知領域は、3つに限るものではない。   That is, as shown in FIG. 16 in which the original reading table 12 is seen from the original G, the color composite apparatus 1 is located at the home position HP on the starting side of the original reading table 12 when the original size is detected. After the traveling body 21 is moved to a preset detection start position KP, when the document size is detected, the moving direction of the traveling bodies 21 and 22 at the time of document reading (the right direction in FIG. 16) is opposite. The detection areas (document size detection areas) Ar1, Ar2, and Ar3 that are set in advance are read while moving in the movement direction (left direction in FIG. 16). The detection areas Ar1 to Ar3 are areas set in advance as areas where it is necessary to detect the presence or absence of the document G in order to determine the standard document size. FIG. 16 shows a case where three detection areas Ar1, Ar2, and Ar3 are provided, but the number of detection areas is not limited to three.

カラー複合装置1は、原稿サイズ検知読み取り動作を行なって、CCD24によって検知領域Ar1〜Ar3を読み取って、アナログ画像データを読み取り信号処理部34に出力し、画像をアナログビデオ処理部51でデジタルカラー画像データに変換するとともに、必要が信号処理を行なって、画像処理部35に出力する。   The color composite apparatus 1 performs an original size detection reading operation, reads the detection areas Ar1 to Ar3 by the CCD 24, outputs analog image data to the read signal processing unit 34, and outputs an image to the digital color image by the analog video processing unit 51. In addition to conversion to data, signal processing is performed as necessary, and the result is output to the image processing unit 35.

そして、画像処理部35の前段画像処理部35aは、ライン間補正処理部61が、デジタルカラー画像を読み取るCCD24の各RGBの取り付け位置の差によって生じるそれぞれRGB間のラインずれを補正した後、原稿検知補正用γ変換処理部62が、原稿サイズ検知時には、図9(b)に示したような画像濃度のコントラスト差を明確にするγテーブル(パラメータ)を設定して、ライン間補正処理部61からのデジタルカラー画像データにγ補正を施して、網点のピークをより一層検出しやすくするγ補正を行い、γ補正後のデジタル画像データを原稿検知補正処理用フィルタ処理部63に出力する。原稿検知補正処理用フィルタ処理部63は、原稿サイズ検知時には、高濃度網点のピークを精度良く検出するために、鮮鋭度を増加させるフィルタ係数を設定し、原稿検知補正用γ変換処理部62からのデジタルカラー画像データに対して、網点のピーク画像と周囲の画素との濃度レベルの差を強調するフィルタ処理を施して、フィルタ処理後のデジタルから画像データを像域分離処理部64に出力する。像域分離処理部64は、閾値を、原稿サイズ検知時の閾値(像域分離処理パラメータ)、すなわち、原稿読み取り時よりも小さい閾値に設定して、原稿検知補正処理用フィルタ処理部63からのデジタルカラー画像データに対して、文字等を網点として誤検出することを防止した状態で、像域分離処理を施して、像域分離処理後のデジタルカラー画像データ(領域デジタル読み取りデータ)を、メモリ71へ保管する。   Then, the pre-stage image processing unit 35a of the image processing unit 35 corrects the line shift between the RGB caused by the difference between the RGB mounting positions of the CCD 24 where the interline correction processing unit 61 reads the digital color image, and then the original. When the detection correction γ conversion processing unit 62 detects the document size, it sets a γ table (parameter) for clarifying the contrast difference of the image density as shown in FIG. Γ correction is performed on the digital color image data from the image data to make it easier to detect halftone dot peaks, and the digital image data after γ correction is output to the document detection correction processing filter processing unit 63. The document detection correction processing filter processing unit 63 sets a filter coefficient for increasing the sharpness in order to accurately detect the peak of high density halftone dots when detecting the document size, and the document detection correction γ conversion processing unit 62. Is applied to the digital color image data from the digital image data from the digital image data to the image area separation processing unit 64 by applying a filter process for enhancing the density level difference between the halftone dot peak image and the surrounding pixels. Output. The image area separation processing unit 64 sets the threshold value at the time of document size detection (image area separation processing parameter), that is, a threshold value smaller than that at the time of document reading, and outputs from the document detection correction processing filter processing unit 63. Digital color image data is subjected to image area separation processing while preventing erroneous detection of characters and the like as halftone dots, and digital color image data after image area separation processing (region digital read data) Store in the memory 71.

したがって、メモリ71には、例えば、図17に示すように、各検知領域Ar1〜Ar3の読み取りデジタルカラー画像データPat1[1]〜Pat1[n+m]、Pat2[1]〜Pat2[n+m]、Pat3[1]〜Pat3[n+m]が格納される。   Therefore, in the memory 71, for example, as shown in FIG. 17, the read digital color image data Pat1 [1] to Pat1 [n + m], Pat2 [1] to Pat2 [n + m of each detection area Ar1 to Ar3. ], Pat3 [1] to Pat3 [n + m] are stored.

そして、カラー複合装置1は、CPU31の制御下で、原稿検知処理部72が、メモリ71の読み取りデジタルカラー画像データPat1[1]〜Pat1[n+m]、Pat2[1]〜Pat2[n+m]、Pat3[1]〜Pat3[n+m]に対して、原稿検知処理(ステップS103)、主走査原稿サイズ判定処理(ステップS104)及び原稿サイズ判定処理(ステップS105)を順次行う。   In the color composite apparatus 1, under the control of the CPU 31, the document detection processing unit 72 causes the read digital color image data Pat1 [1] to Pat1 [n + m] and Pat2 [1] to Pat2 [n +] read from the memory 71. m], Pat3 [1] to Pat3 [n + m], document detection processing (step S103), main scanning document size determination processing (step S104), and document size determination processing (step S105) are sequentially performed.

カラー複合装置1は、上記原稿検知処理を、図18に示すように行い、原稿検知処理としては、大きく分けて、最大ライン数設定処理(ステップS201)、平均値算出処理(ステップS210)、2値化判定処理(ステップS220)、RGB判定処理(ステップS230)及び網点除外判定処理(ステップS240)からなっている。   The color multifunction apparatus 1 performs the document detection process as shown in FIG. 18. The document detection process is roughly divided into a maximum line number setting process (step S201), an average value calculation process (step S210), and 2. It consists of a value determination process (step S220), an RGB determination process (step S230), and a halftone dot exclusion determination process (step S240).

すなわち、カラー複合装置1は、原稿検知処理に入ると、図18に示すように、原稿検知処理部72が、まず、読み取る検知領域Ar1〜Ar3の最大ライン数を設定する最大ライン数設定処理を行い(ステップS201)、次に、各検知領域Ar1〜Ar3のRGBの画素値の平均値を算出する平均値算出処理を行う(ステップS210)。原稿検知処理部72は、この平均値算出処理では、まず、検知領域Ar1、Ar2、Ar3それぞれのR画素を全て加算した後に加算結果を画素数で除算してRの平均値を算出し(ステップS211)、次に、検知領域Ar1、Ar2、Ar3それぞれのG画素を全て加算した後に加算結果を画素数で除算してRの平均値を算出する(ステップS212)。さらに、原稿検知処理部72は、権利領域Ar1、Ar2、Ar3それぞれのB画素を全て加算した後に加算結果を画素数で除算してBの平均値を算出する(ステップS213)。例えば、原稿検知処理部72は、検知領域Ar1のR画素に対して、Pat1AveR←(Pat1[0]〜Pat1[m×n]の総和)÷(m×n)を算出することで、Rの平均値Pat1AveRを算出し、同様に、B、Gの各成分についても同様に算出して、平均値Pat1AveG、Pat1AveBとする。なお、ここで、RGB画像データは、8bitデータであって、0:明るい、255:暗いとする。   That is, when the color multifunction apparatus 1 enters the document detection process, as shown in FIG. 18, the document detection processing unit 72 first performs a maximum line number setting process for setting the maximum number of lines in the detection areas Ar1 to Ar3 to be read. (Step S201), and then an average value calculation process for calculating the average value of the RGB pixel values of the detection areas Ar1 to Ar3 is performed (Step S210). In this average value calculation process, first, the document detection processing unit 72 adds all the R pixels in the detection areas Ar1, Ar2, Ar3, and then divides the addition result by the number of pixels to calculate the average value of R (step Next, after adding all the G pixels in each of the detection areas Ar1, Ar2, and Ar3, the addition result is divided by the number of pixels to calculate an average value of R (step S212). Further, the document detection processing unit 72 adds all the B pixels of the right areas Ar1, Ar2, and Ar3, and then divides the addition result by the number of pixels to calculate an average value of B (step S213). For example, the document detection processing unit 72 calculates Pat1AveR ← (total of Pat1 [0] to Pat1 [m × n]) ÷ (m × n) for the R pixel in the detection area Ar1. The average value Pat1AveR is calculated. Similarly, the B and G components are calculated in the same manner as the average values Pat1AveG and Pat1AveB. Here, the RGB image data is 8-bit data, 0: bright, 255: dark.

次に、原稿検知処理部72は、平均値算出処理で算出した各検知領域Ar1〜Ar3の平均値Pat1AveR、Pat1AveG、Pat1AveB〜Pat3AveR、Pat3AveG、Pat3AveBをRGBの各成分に対して、2値化閾値PatThを用いて2値化する2値化判定処理を行う(ステップS220)。原稿検知処理部72は、この2値化判定処理では、RGBそれぞれに対して検知レベルを変える必要がある場合には、2値化閾値をRGB毎に設定してもよいが、本実施例のカラー複合装置1では、RGBで共通の2値化閾値PatThを用いて、各検知領域Ar1〜Ar3の平均値Pat1AveR、Pat1AveG、Pat1AveB〜Pat3AveR、Pat3AveG、Pat3AveBをRGBの各成分に対して2値化する。この2値化閾値PatThとしては、例えば、PatTh=32を用いる。原稿検知処理部72は、2値化閾値PatThを用いて、検知領域Ar1のRGBそれぞれについて2値化した結果を、Result1R、Result1G、Result1Bとし、PatTh≦Pat1AveRであると、Result1R←1:原稿なし(1次判定)、PatTh>Pat1AveRであると、Result1R←0:原稿あり(1次判定)として、2値化する(ステップS221)。検知領域Ar2、Ar3についても同様に、2値化した結果を、Result2R、Result2G、Result2B及びResult3R、Result3G、Result3Bとし、2値化する(ステップS222、S223)。   Next, the document detection processing unit 72 binarizes the average values Pat1AveR, Pat1AveG, Pat1AveB to Pat3AveR, Pat3AveG, Pat3AveB of each of the detection areas Ar1 to Ar3 calculated in the average value calculation process with respect to each RGB component. A binarization determination process for binarization is performed using PatTh (step S220). In the binarization determination process, the document detection processing unit 72 may set a binarization threshold value for each RGB when it is necessary to change the detection level for each of RGB. In the color composite apparatus 1, the average values Pat1AveR, Pat1AveG, Pat1AveB to Pat3AveR, Pat3AveG, and Pat3AveB of each detection area Ar1 to Ar3 are binarized with respect to each RGB component by using a common binarization threshold PatTh for RGB. To do. For example, PatTh = 32 is used as the binarization threshold PatTh. The document detection processing unit 72 uses the binarization threshold PatTh to binarize the RGB of the detection area Ar1 as Result1R, Result1G, and Result1B. If PatTh ≦ Pat1AveR, then Result1R ← 1: No document (Primary determination), if PatTh> Pat1AveR, Result1R ← 0: Document is present (primary determination) and binarized (step S221). Similarly, the detection areas Ar2 and Ar3 are binarized as Result2R, Result2G, Result2B and Result3R, Result3G, and Result3B (steps S222 and S223).

原稿検知処理部72は、2値化判定処理を行うと、R、G、Bで2値化の結果が異なる場合があり、RGBいずれかの1成分で判定すると原稿Gによっては誤判定することがあるため、RGB3成分の2値化結果に対して、以下に説明するRGB判定処理を行って、主走査方向の原稿サイズを決定する(ステップS230)。すなわち、原稿検知処理部72は、検知領域Ar1〜Ar3のR、G、Bの2値化結果の論理積が真(1)であると、R、G、Bのいずれもが暗いデータであるため、「原稿なし」の状態と判定し、R、G、Bのうち1つでも明るいデータがある場合には、論理積の結果が偽(0)になるため、この場合は、「原稿あり」と判定する。   When the binarization determination process is performed, the document detection processing unit 72 may have different binarization results for R, G, and B. If the determination is made using one component of RGB, an erroneous determination may be made depending on the document G. Therefore, the RGB determination process described below is performed on the binarized result of the RGB three components to determine the document size in the main scanning direction (step S230). In other words, the document detection processing unit 72 has dark data for all of R, G, and B when the logical product of the binarization results of R, G, and B in the detection areas Ar1 to Ar3 is true (1). Therefore, when it is determined that there is no document, and there is bright data in at least one of R, G, and B, the result of the logical product is false (0). Is determined.

すなわち、原稿検知処理部72は、例えば、検知領域Ar1に対して、以下のように2値化判定を行う。   That is, the document detection processing unit 72 performs binarization determination on the detection area Ar1, for example, as follows.

(Result1R&Result1G&Result1B)が、Result1RGB:真(1)であると、原稿なし(2次判定)
(Result1R&Result1G&Result1B)が、Result1RGB:偽(0)であると、原稿あり(2次判定)
ここで、&は、論理積を示している。
If (Result1R & Result1G & Result1B) is Result1RGB: True (1), there is no document (secondary determination)
If (Result1R & Result1G & Result1B) is Result1RGB: False (0), there is a manuscript (secondary judgment)
Here, & indicates a logical product.

原稿検知処理部72は、上記処理を検知領域Ar2、検知領域Ar3に対しても同様に行う。   The document detection processing unit 72 similarly performs the above processing on the detection area Ar2 and the detection area Ar3.

次に、原稿検知処理部72は、検知領域Ar1〜Ar3上に、濃度の高い画像情報があった場合は、例えば、図19に示すように、原稿Gの検知領域Ar1に対応する領域に濃度の高い画像情報がある場合、上記RGB判定処理までの判定処理では誤判定する場合がある。図19では、原稿GがA4サイズであり、検知領域Ar1を覆う状態の原稿Gの検知領域Ar1に対応する領域に、ハッチングで示す高い画像領域がある場合が示されている。そこで、原稿検知処理部72は、以下のように網点除外判定処理(ステップS240)を行う。   Next, when there is high-density image information on the detection areas Ar1 to Ar3, the document detection processing unit 72, for example, in the area corresponding to the detection area Ar1 of the document G as shown in FIG. If there is high image information, the determination process up to the RGB determination process may make an erroneous determination. FIG. 19 shows a case where the document G is A4 size and there is a high image area indicated by hatching in the area corresponding to the detection area Ar1 of the document G in a state of covering the detection area Ar1. Therefore, the document detection processing unit 72 performs a halftone dot exclusion determination process (step S240) as follows.

具体的には、原稿検知処理部72は、まず、メモリ71に保存されている検知領域Ar1〜Ar3の各画素データの像域分離結果において、非網点と判定された画素の数(NumNotAmiTh)を、以下のようにカウントする(ステップS241)。   Specifically, the document detection processing unit 72 first determines the number of pixels determined as non-halftone dots (NumNotAmiTh) in the image area separation result of each pixel data of the detection areas Ar1 to Ar3 stored in the memory 71. Are counted as follows (step S241).

NumNotAmi←(PatNotAmi[0]〜PatNotAmi[m×n]の非網点と判定された画素の数)
次に、原稿検知処理部72は、全画素数のうち所定数の画素、例えば、30%以上の画素が非網点領域と判断されていると、検知領域Ar1〜Ar3全体を非網点とするような閾値NumNotAmiTh(例えば、m×n×0.3の切捨て)を設定して、以下のように、検知領域Ar1〜Ar3が非網点領域であるか否かを判定する非網点判定処理(3次判定)を行う(ステップS242、S243)。
NumNotAmi ← (Number of pixels determined as non-halftone dots from PatNotAmi [0] to PatNotAmi [m × n])
Next, when a predetermined number of pixels, for example, 30% or more pixels are determined to be non-halftone areas, the document detection processing unit 72 sets the entire detection areas Ar1 to Ar3 as non-halftone dots. A threshold value NumNotAmiTh (for example, truncation of m × n × 0.3) is set, and non-halftone dot determination processing for determining whether or not the detection areas Ar1 to Ar3 are non-halftone dot areas as follows ( (Tertiary determination) is performed (steps S242 and S243).

すなわち、原稿検知処理部72は、ステップS242の処理として、以下の処理を、各検知領域Ar1〜Ar3に対して行う。   That is, the document detection processing unit 72 performs the following process on each of the detection areas Ar1 to Ar3 as the process of step S242.

NumNotAmiTh≦NumNotAmiであると、Result1NotAmi←1(非網点領域)
NumNotAmiTh>NumNotAmiであると、Result1NotAmi←0(網点領域)
次に、原稿検知処理部72は、ステップS243の処理として、検知領域Ar1の場合、以下の網点除外判定処理を行って、原稿検知処理を終了する。
If NumNotAmiTh ≦ NumNotAmi, Result1NotAmi ← 1 (non-halftone area)
If NumNotAmiTh> NumNotAmi, Result1NotAmi ← 0 (halftone dot area)
Next, as a process in step S243, the document detection processing unit 72 performs the following halftone dot exclusion determination process in the detection area Ar1, and ends the document detection process.

(Result1RGB&Result1NotAmi)が真(1)であると、Ar1←×原稿なし(3次判定)
(Result1RGB&Result1NotAmi)が偽(0)であると、Ar1←○原稿あり(3次判定)
原稿検知処理部72は、上記処理を他の検知領域Ar2、Ar3に対して行うことで、例えば、図20に示すような主走査サイズ判定テーブルを、原稿Gがあるか、ないかによって参照することで、主走査方向原稿サイズを、「182mm以下」、「210mm以下」、「257mm以下」、「297mm以下]と判定する。
If (Result1RGB & Result1NotAmi) is true (1), Ar1 ← × No original (tertiary judgment)
If (Result1RGB & Result1NotAmi) is false (0), Ar1 ← ○ original exists (tertiary judgment)
The document detection processing unit 72 performs the above processing on the other detection areas Ar2 and Ar3, thereby referring to a main scanning size determination table as shown in FIG. Thus, the document size in the main scanning direction is determined as “182 mm or less”, “210 mm or less”, “257 mm or less”, “297 mm or less”.

図15に戻って、原稿検知処理部72は、主走査原稿サイズ判定処理(ステップS104)の判定処理結果と、図21に示すように、原稿Gの副走査方向の長さを検知する副走査サイズ検知センサ90の検出結果に基づいて、原稿Gのサイズを判定する原稿サイズ判定処理を行う(ステップS105)。   Returning to FIG. 15, the document detection processing unit 72 performs sub-scanning to detect the determination result of the main-scanning document size determination process (step S <b> 104) and the length of the document G in the sub-scanning direction as shown in FIG. 21. Based on the detection result of the size detection sensor 90, document size determination processing for determining the size of the document G is performed (step S105).

副走査サイズ検知センサ(副走査サイズ検出手段)90は、例えば、反射型フォトセンサ等が用いられ、図21に示すように、副走査方向において、最小原稿サイズであるA5サイズよりも原稿基準から離れた位置であって、B5サイズよりも原稿基準側の位置に配設されている。副走査サイズ検知センサ90は、反射型フォトセンサの場合、図示しない光源から検知光を原稿G方向に向かって出射して、原稿Gの有無による反射光の強弱を受光素子で受光することで、原稿Gの有無を検出する。すなわち、原稿検知処理部72は、例えば、図22に示すような原稿サイズ判定テーブルを内部メモリ等に格納しており、CCD24の上記検知領域Ar1〜Ar3の読み取り結果の情報(図22では、○が原稿あり、−が原稿なし)と、副走査サイズ検知センサ90の検知結果の情報(図22では、○が原稿有り、−が原稿なし、aが副走査サイズ検知センサ90の検知結果で、丸が原稿あり、−が原稿なし)とに基づいて、原稿サイズ判定テーブルを参照して、原稿サイズを判定する原稿サイズ判定処理を行う。例えば、原稿検知処理部72は、図22において、検知領域Ar1〜Ar3全てが原稿ありで、副走査サイズ検知センサ90の検知結果が原稿ありであると、原稿Gのサイズが、「A3」であると判定し、検知領域Ar1と検知領域Ar2のみが原稿ありで、副走査サイズ検知センサ90の検知結果が原稿ありであると、原稿Gのサイズが、「B4」であると判定する。   As the sub-scanning size detection sensor (sub-scanning size detecting means) 90, for example, a reflection type photo sensor is used, and as shown in FIG. It is located at a position away from the document reference side with respect to the B5 size. In the case of a reflective photosensor, the sub-scanning size detection sensor 90 emits detection light from a light source (not shown) in the direction of the original G, and receives the intensity of reflected light depending on the presence or absence of the original G with a light receiving element. The presence or absence of the document G is detected. That is, the document detection processing unit 72 stores, for example, a document size determination table as shown in FIG. 22 in an internal memory or the like, and information on the reading results of the detection areas Ar1 to Ar3 of the CCD 24 (in FIG. Is the original and-is the original, and the detection result information of the sub-scanning size detection sensor 90 (in FIG. 22, ◯ is the original,-is no original, and a is the detection result of the sub-scanning size detection sensor 90. A document size determination process for determining a document size is performed with reference to a document size determination table based on whether a circle is a document and-is a document. For example, in FIG. 22, when the original detection processing unit 72 has all the detection areas Ar1 to Ar3 with a document and the detection result of the sub-scanning size detection sensor 90 is a document, the size of the document G is “A3”. If it is determined that there is a document only in the detection area Ar1 and the detection area Ar2, and the detection result of the sub-scanning size detection sensor 90 is that there is a document, it is determined that the size of the document G is “B4”.

このように、本実施例のカラー複合装置1は、その画像読み取り部10が、原稿読み取り台(原稿台)12上の原稿Gの画像を読み取ってアナログの読み取りデータを出力する査光学系(画像読み取り手段)26と、走査光学系26のCCD24の出力するアナログの読み取りデータを2値化してデジタル読み取りデータに変換する読み取り信号処理部(2値化処理手段)34と、原稿読み取り台12上に載置された原稿Gの原稿サイズ検出時に、走査光学系26のCCD24が該原稿読み取り台12の所定の大きさの所定数の検知領域(原稿サイズ検出領域)Ar1、Ar2、Ar3を読み取って読み取り信号処理部34で2値化された領域デジタル読み取りデータを、少なくとも像域分離処理を含み該原稿の主走査方向端部を該原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理部(画像処理手段)35と、画像処理部35で画像処理された領域デジタル読み取りデータに基づいて原稿Gの主走査方向のサイズを検出する原稿検知処理部(サイズ検出手段)72と、を備えている。   As described above, in the color composite apparatus 1 of this embodiment, the image reading unit 10 reads the image of the document G on the document reading table (document table) 12 and outputs analog read data (image). Reading means) 26, a reading signal processing unit (binarization processing means) 34 that binarizes analog reading data output from the CCD 24 of the scanning optical system 26 and converts it into digital reading data, and a document reading table 12. When detecting the document size of the placed document G, the CCD 24 of the scanning optical system 26 reads and reads a predetermined number of detection areas (document size detection areas) Ar1, Ar2, and Ar3 of a predetermined size on the document reading table 12. The area digital read data binarized by the signal processing unit 34 includes at least an image area separation process, and the main scanning direction end of the document is placed on the back of the document. An image processing unit (image processing means) 35 that performs image processing on area digital read data having image characteristics that can be distinguished from the image, and a size of the original G in the main scanning direction based on the area digital read data image-processed by the image processing unit 35 A document detection processing unit (size detection means) 72 for detecting the above.

したがって、原稿Gの画像読み取る走査光学系26を用いて主走査方向の原稿端部を検出するのに必要な検知領域Ar1〜Ar3のみを読み取るとともに、該読み取り画像に原稿端部と背景との区別を可能とする画像処理を施すことができ、原稿サイズを安価にかつ高精度に検出することができる。   Accordingly, only the detection areas Ar1 to Ar3 necessary for detecting the document edge in the main scanning direction are read using the scanning optical system 26 for reading the image of the document G, and the document image is distinguished from the document edge and the background. Therefore, the image size can be detected at low cost and with high accuracy.

また、本実施例のカラー複合装置1は、その画像読み取り部10が、原稿読み取り台12上の原稿Gの画像を読み取ってアナログの読み取りデータを出力する画像読み取り処理ステップと、該画像読み取り処理ステップで出力されるアナログの読み取りデータを2値化してデジタル読み取りデータに変換する2値化処理ステップと、原稿読み取り台12上に載置された原稿の原稿サイズ検出時に、該画像読み取り処理ステップで原稿読み取り台12の所定の大きさの所定数の検出領域Ar1〜Ar3を読み取って該2値化処理ステップで2値化された領域デジタル読み取りデータを、少なくとも像域分離処理を含み該原稿の主走査方向端部を該原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理ステップと、該画像処理ステップで画像処理された該領域デジタル読み取りデータに基づいて原稿Gの主走査方向のサイズを検出するサイズ検出処理ステップと、を有する原稿サイズ検出方法を実行している。   Further, in the color composite apparatus 1 of this embodiment, the image reading unit 10 reads an image of the document G on the document reading table 12 and outputs analog read data, and the image reading processing step. A binarization processing step for binarizing the analog read data output in step S4 and converting it into digital read data, and when detecting the document size of the document placed on the document reading table 12, the image reading processing step Main scanning of the original including at least an image area separation process is performed on the area digital read data binarized in the binarization process step by reading a predetermined number of detection areas Ar1 to Ar3 having a predetermined size on the reading table 12. Image processing step for image processing of area end portion of image direction to region digital read data having image characteristics distinguishable from background of document , Running document size detection method with the size detection processing step of detecting the main scanning direction size of the original G on the basis of the region digital read data subjected to image processing in the image processing step.

したがって、原稿Gの画像読み取る走査光学系26を用いて主走査方向の原稿端部を検出するのに必要な検知領域Ar1〜Ar3のみを読み取るとともに、該読み取り画像に原稿端部と背景との区別を可能とする画像処理を施すことができ、原稿サイズを安価にかつ高精度に検出することができる。   Accordingly, only the detection areas Ar1 to Ar3 necessary for detecting the document edge in the main scanning direction are read using the scanning optical system 26 for reading the image of the document G, and the document image is distinguished from the document edge and the background. Therefore, the image size can be detected at low cost and with high accuracy.

さらに、本実施例のカラー複合装置1は、その画像読み取り部10が、コンピュータに、原稿読み取り台12上の原稿Gの画像を読み取ってアナログの読み取りデータを出力する画像読み取り処理と、該画像読み取り処理で出力されるアナログの読み取りデータを2値化してデジタル読み取りデータに変換する2値化処理と、原稿読み取り台12上に載置された原稿の原稿サイズ検出時に、該画像読み取り処理で原稿読み取り台12の所定の大きさの所定数の検出領域Ar1〜Ar3を読み取って該2値化処理で2値化された領域デジタル読み取りデータを、少なくとも像域分離処理を含み該原稿の主走査方向端部を該原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理と、該画像処理で画像処理された該領域デジタル読み取りデータに基づいて原稿Gの主走査方向のサイズを検出するサイズ検出処理と、を実行させる原稿サイズ検出プログラムを搭載している。   Further, in the color composite apparatus 1 of the present embodiment, the image reading unit 10 reads an image of the document G on the document reading table 12 and outputs analog read data to the computer, and the image reading process. The binarization process for binarizing the analog read data output in the process and converting it into digital read data, and the original reading by the image reading process when detecting the original size of the original placed on the original reading table 12 An area digital read data binarized by the binarization process by reading a predetermined number of detection areas Ar1 to Ar3 of a predetermined size on the table 12 includes at least an image area separation process, and ends in the main scanning direction of the document Image processing is performed on the digital read data of a region having image characteristics that can be distinguished from the background of the original, and the image processing is performed by the image processing It is equipped with a document size detection program for executing the size detection process of detecting the main scanning direction size of the original G on the basis of the area digital read data.

したがって、原稿Gの画像読み取る走査光学系26を用いて主走査方向の原稿端部を検出するのに必要な検知領域Ar1〜Ar3のみを読み取るとともに、該読み取り画像に原稿端部と背景との区別を可能とする画像処理を施すことができ、原稿サイズを安価にかつ高精度に検出することができる。   Accordingly, only the detection areas Ar1 to Ar3 necessary for detecting the document edge in the main scanning direction are read using the scanning optical system 26 for reading the image of the document G, and the document image is distinguished from the document edge and the background. Therefore, the image size can be detected at low cost and with high accuracy.

また、本実施例のカラー複合装置1は、前記画像処理部35が、原稿読み取り時に、デジタル読み取りデータに対して、少なくとも像域分離処理を含む画像処理を、像域分離処理パラメータを含む所定の画像処理パラメータに基づいて施す前段画像処理部(画像処理実行手段)35aと、原稿サイズ検出時と原稿読み取り時とで前段画像処理部35aに設定する像域分離処理パラメータを含む画像処理パラメータを切り替えるとともに、該原稿サイズ検出時には、前記領域デジタル読み取りデータを、原稿Gの主走査方向端部を原稿Gの背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理パラメータに切り替えるCPU(パラメータ切り替え手段)31と、を備えている。 In the color composite apparatus 1 of the present embodiment, the image processing unit 35 performs predetermined image processing including image region separation processing parameters on image processing including at least image region separation processing on digitally read data when the document is read. An image processing parameter including an image area separation processing parameter set in the preceding image processing unit 35a is switched between a preceding image processing unit (image processing executing unit) 35a to be applied based on the image processing parameter and a document size detection time and a document reading time. At the same time, when the document size is detected, the CPU switches the area digital read data to an image processing parameter for image processing to the area digital read data having an image characteristic that can distinguish the end of the original G in the main scanning direction from the background of the original G. Parameter switching means) 31.

したがって、画像処理パラメータを切り替えるだけで、原稿読み取り画像に対する画像処理と、原稿サイズ検出時の領域デジタル読み取りデータに対する画像処理とを画像処理部35で行うことができ、原稿サイズをより一層安価にかつ高精度に検出することができる。   Therefore, by simply switching the image processing parameters, the image processing for the original read image and the image processing for the area digital read data at the time of original size detection can be performed by the image processing unit 35, and the original size can be further reduced. It can be detected with high accuracy.

さらに、本実施例のカラー複合装置1は、前記画像処理部35が、前記画像処理パラメータとしてのフィルタパラメータに基づいて画像を鮮鋭化、平滑化するフィルタ処理を行う原稿検知補正処理用フィルタ処理部63とフィルタ処理部66からなるフィルタ処理手段を備え、原稿サイズ検出時に、前記領域デジタル読み取りデータに対して、該フィルタ手段の原稿検知補正処理用フィルタ処理部63によって画像の鮮鋭度を増加させるフィルタ処理を行っている。   Furthermore, in the color composite apparatus 1 of the present embodiment, the image processing unit 35 performs a filter process for sharpening and smoothing an image based on a filter parameter as the image processing parameter. A filter processing unit comprising a filter processing unit 63 and a filter processing unit 66, and a filter for increasing the image sharpness by the document detection correction processing filter processing unit 63 of the filter unit for the area digital read data at the time of document size detection. Processing is in progress.

したがって、画像処理パラメータを切り替えるだけで、原稿読み取り画像に対する画像処理と、原稿サイズ検出時の領域デジタル読み取りデータに対する画像処理とを画像処理部35で行うことができ、原稿サイズをより一層安価にかつより一層高精度に検出することができる。   Therefore, by simply switching the image processing parameters, the image processing for the original read image and the image processing for the area digital read data at the time of original size detection can be performed by the image processing unit 35, and the original size can be further reduced. It can be detected with higher accuracy.

また、本実施例のカラー複合装置1は、前記画像処理部35が、画像処理パラメータとしてのγパラメータに基づいて画像の濃度調整を行うγ変換処理を行う原稿検知補正処理用γ変換処理部62とγ変換処理部65からなるγ変換処理手段を備え、原稿サイズ検出時に、前記領域デジタル読み取りデータに対して、原稿検知補正処理用γ変換処理部62によって画像の濃度のコントラスト差を明確にするγ変換処理を行っている。   Further, in the color composite apparatus 1 of this embodiment, the image processing unit 35 performs a γ conversion process for adjusting the density of an image based on a γ parameter as an image processing parameter. And a γ conversion processing unit 65, and at the time of document size detection, a contrast difference in image density is clarified by the document detection correction processing γ conversion processing unit 62 for the area digital read data. γ conversion processing is performed.

したがって、画像処理パラメータを切り替えるだけで、原稿読み取り画像に対する画像処理と、原稿サイズ検出時の領域デジタル読み取りデータに対する画像処理とを画像処理部35で行うことができ、原稿サイズをより一層安価にかつより一層高精度に検出することができる。   Therefore, by simply switching the image processing parameters, the image processing for the original read image and the image processing for the area digital read data at the time of original size detection can be performed by the image processing unit 35, and the original size can be further reduced. It can be detected with higher accuracy.

さらに、本実施例のカラー複合装置1は、原稿検知処理部72が、前記領域デジタル読み取りデータに基づいて検知領域Ar1〜Ar3が網点領域であるか否かを判定して、該判定結果に基づいて原稿Gの主走査方向のサイズを検出している。   Further, in the color composite apparatus 1 of the present embodiment, the document detection processing unit 72 determines whether or not the detection areas Ar1 to Ar3 are halftone dot areas based on the area digital read data, and the determination result is obtained. Based on this, the size of the original G in the main scanning direction is detected.

したがって、網点がある場合にも適切に原稿Gの端部を検出することができ、原稿サイズを安価かつより一層構成度に検出することができる。   Therefore, even when there is a halftone dot, the edge of the original G can be detected appropriately, and the original size can be detected at a lower cost and with a higher degree of composition.

また、本実施例のカラー複合装置1は、画像処理部45が、像域分離処理部64で、前記像域分離処理パラメータとして、網点分離のピーク検出の閾値を用いて前記領域デジタル読み取りデータを画像処理し、原稿検知処理部72が、像域分離処理部64で、画像処理した該領域デジタル読み取りデータに基づいて原稿Gの検知領域Ar1〜Ar3が網点領域であるか否か判定して、該判定結果に基づいて原稿Gの主走査方向のサイズを検出している。 Further, in the color composite apparatus 1 of the present embodiment, the image processing unit 45 is the image region separation processing unit 64 and uses the threshold value for halftone dot separation peak detection as the image region separation processing parameter. The document detection processing unit 72 determines whether or not the detection regions Ar1 to Ar3 of the document G are halftone dot regions based on the digital read data obtained by the image region separation processing unit 64. Thus, the size of the original G in the main scanning direction is detected based on the determination result.

したがって、網点がある場合にも適切に原稿Gの端部を検出することができ、原稿サイズを安価かつより一層構成度に検出することができる。   Therefore, even when there is a halftone dot, the edge of the original G can be detected appropriately, and the original size can be detected at a lower cost and with a higher degree of composition.

さらに、本実施例のカラー複合装置1は、その画像読み取り部10が、原稿読み取り台12上の原稿Gの副走査方向の端部位置を検出する副走査サイズ検知センサ(副走査サイズ検出手段)90を備えており、原稿検知処理部72が、前記主走査方向のサイズと、該副走査サイズ検知センサ90の検出した副走査方向の端部位置に基づいて原稿Gのサイズと向きを検出している。   Further, in the color composite apparatus 1 of the present embodiment, the image reading unit 10 detects a position of the end portion of the document G on the document reading table 12 in the sub-scanning direction (sub-scanning size detecting means). The document detection processing unit 72 detects the size and orientation of the document G based on the size in the main scanning direction and the end position in the sub scanning direction detected by the sub scanning size detection sensor 90. ing.

したがって、原稿サイズと向きを安価かつ正確に検出することができる。   Accordingly, the document size and orientation can be detected inexpensively and accurately.

以上、本発明者によってなされた発明を好適な実施例に基づき具体的に説明したが、本発明は上記実施例で説明したものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to that described in the above embodiments, and various modifications can be made without departing from the scope of the invention. It goes without saying that it is possible.

1 カラー複合装置
10 画像読み取り部
11 筐体
12 原稿読み取り台
12a SDF窓
12b 透過ガラス
13 原稿押さえ板
14 原稿搬送部
15 SDFユニット
15c 白板
16 原稿トレイ
17 原稿搬送ステッピングモータ
18 分離ローラ
19 搬送ローラ
20 白基準板
21 第1走行体
21a 光源
21b ミラー
22 第2走行体
22a、22b ミラー
23 レンズ
24 CCD
25 走行体ステッピングモータ
26 走査光学系
31 CPU
32 メモリ
33 メモリコントローラ
34 読み取り信号処理部
35 画像処理部
35a 前段画像処理部
35b 後段画像処理部
36 書き込み信号処理部
37 LD
38 LD駆動部
39 CCD駆動回路
40 光源ドライバ
41 原稿搬送モータドライバ
42 走行体モータドライバ
51 アナログビデオ処理部
52 シェーディング補正処理部
61 ライン間補正処理部
62 原稿検知補正処理用γ変換処理部
63 原稿検知補正処理用フィルタ処理部
64 像域分離処理部
65 γ変換処理部
66 フィルタ処理部
67 色変換処理部
68 変倍処理部
71 メモリ
72 原稿検知処理部
81 階調変換処理部
90 副走査サイズ検知センサ
G 原稿
DESCRIPTION OF SYMBOLS 1 Color compound apparatus 10 Image reading part 11 Case 12 Original reading stand 12a SDF window 12b Transmission glass 13 Original holding plate 14 Original conveyance part 15 SDF unit 15c White plate 16 Original tray 17 Original conveyance stepping motor 18 Separation roller 19 Conveyance roller 20 White Reference plate 21 First traveling body 21a Light source 21b Mirror 22 Second traveling body 22a, 22b Mirror 23 Lens 24 CCD
25 traveling body stepping motor 26 scanning optical system 31 CPU
32 memory 33 memory controller 34 read signal processing unit 35 image processing unit 35a front image processing unit 35b rear image processing unit 36 write signal processing unit 37 LD
38 LD drive unit 39 CCD drive circuit 40 Light source driver 41 Document transport motor driver 42 Traveling body motor driver 51 Analog video processing unit 52 Shading correction processing unit 61 Interline correction processing unit 62 Document detection correction processing gamma conversion processing unit 63 Document detection Correction processing filter processing unit 64 Image area separation processing unit 65 γ conversion processing unit 66 Filter processing unit 67 Color conversion processing unit 68 Scaling processing unit 71 Memory 72 Document detection processing unit 81 Gradation conversion processing unit 90 Sub-scanning size detection sensor G manuscript

特開2007−60004号公報JP 2007-60004 A

Claims (8)

原稿台上の原稿の画像を読み取ってアナログの読み取りデータを出力する画像読み取り手段と、
前記画像読み取り手段の出力するアナログの読み取りデータをデジタル変換してデジタル読み取りデータに変換するデジタル変換処理手段と、
前記原稿台上に載置された原稿の原稿サイズ検出時に、前記画像読み取り手段が該原稿台の所定の大きさの所定数の原稿サイズ検出領域を読み取って前記デジタル変換処理手段でデジタル変換されたデジタル読み取りデータを、少なくとも像域分離処理を含み該原稿の主走査方向端部を該原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理手段と、
前記画像処理手段で画像処理された前記領域デジタル読み取りデータに基づいて前記原稿の主走査方向のサイズを検出するサイズ検出手段と、
を備え
前記画像処理手段は、
原稿読み取り時に、前記デジタル読み取りデータに対して、少なくとも像域分離処理を含む画像処理を、像域分離処理パラメータを含む所定の画像処理パラメータに基づいて施す画像処理実行手段と、
前記原稿サイズ検出時と原稿読み取り時とで前記画像処理実行手段に設定する前記像域分離処理パラメータを含む前記画像処理パラメータを切り替えるとともに、該原稿サイズ検出時には、前記領域デジタル読み取りデータを、前記原稿の主走査方向端部を原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理パラメータに切り替えるパラメータ切り替え手段と、
を備えていることを特徴とする画像読み取り装置。
Image reading means for reading an image of a document on a platen and outputting analog read data;
Digital conversion processing means for digitally converting analog read data output from the image reading means into digital read data;
When detecting the document size of the document placed on the document table, the image reading unit reads a predetermined number of document size detection areas of a predetermined size on the document table, and is digitally converted by the digital conversion processing unit . the digital read data, image processing means for image processing in the main scanning direction end portion of the document includes at least image area separation processing region digital data read distinguishable image characteristics and background of the document,
Size detecting means for detecting the size of the original in the main scanning direction based on the area digital read data image-processed by the image processing means;
Equipped with a,
The image processing means includes
Image processing execution means for performing image processing including at least image area separation processing on the digital read data based on predetermined image processing parameters including image area separation processing parameters when reading a document;
The image processing parameters including the image area separation processing parameters set in the image processing execution unit are switched between when the document size is detected and when reading the document. A parameter switching means for switching an image processing parameter for image processing to an area digital read data having an image characteristic distinguishable from the background of the document in the main scanning direction end;
Image reading apparatus characterized in that it comprises a.
前記画像処理手段は、
前記画像処理パラメータとしてのフィルタパラメータに基づいて画像を鮮鋭化、平滑化するフィルタ処理を行うフィルタ処理手段を備え
前記原稿サイズ検出時に、前記領域デジタル読み取りデータに対して、前記フィルタ処理手段によって画像の鮮鋭度を増加させるフィルタ処理を行うことを特徴とする請求項1記載の画像読み取り装置。
The image processing means includes
Filter processing means for performing filter processing for sharpening and smoothing an image based on a filter parameter as the image processing parameter ,
2. The image reading apparatus according to claim 1 , wherein when the document size is detected , the area digital read data is subjected to a filter process for increasing a sharpness of the image by the filter processing unit.
前記画像処理手段は、
前記画像処理パラメータとしてのγパラメータに基づいて画像の濃度調整を行うγ変換処理を行うγ変換処理手段を備え、
前記原稿サイズ検出時に、前記領域デジタル読み取りデータに対して、前記γ変換処理手段によって画像の濃度のコントラスト差を明確にするγ変換処理を行うことを特徴とする請求項1または請求項2記載の画像読み取り装置。
The image processing means includes
Γ conversion processing means for performing γ conversion processing for adjusting image density based on the γ parameter as the image processing parameter,
3. The gamma conversion processing for clarifying a contrast difference in image density by the gamma conversion processing means on the area digital read data when the document size is detected. Image reading device.
前記サイズ検出手段は、
前記領域デジタル読み取りデータに基づいて前記原稿サイズ検出領域が網点領域であるか否かを判定して、前記原稿サイズ検出領域が網点領域であるか否かの判定結果に基づいて前記原稿の主走査方向のサイズを検出することを特徴とする請求項1から請求項3のいずれかに記載の画像読み取り装置。
The size detecting means includes
It is determined whether or not the document size detection area is a halftone dot area based on the area digital read data, and based on the determination result whether or not the document size detection area is a halftone dot area, The image reading apparatus according to claim 1, wherein a size in a main scanning direction is detected .
前記画像処理手段は、
前記像域分離処理パラメータとして、網点分離のピーク検出の閾値を用いて前記領域デジタル読み取りデータを画像処理し、
前記サイズ検出手段は、
前記画像処理手段の画像処理した前記領域デジタル読み取りデータに基づいて前記原稿サイズ検出領域が網点領域であるか否かを判定して、前記原稿サイズ検出領域が網点領域であるか否かの判定結果に基づいて前記原稿の主走査方向のサイズを検出することを特徴とする請求項1から請求項4のいずれかに記載の画像読み取り装置。
The image processing means includes
As the image area separation processing parameter, image processing is performed on the area digital read data using a threshold value for peak detection of halftone dot separation,
The size detecting means includes
It is determined whether or not the document size detection region is a halftone dot region based on the region digital read data subjected to image processing by the image processing means, and whether or not the document size detection region is a halftone dot region. 5. The image reading apparatus according to claim 1, wherein a size of the original in the main scanning direction is detected based on a determination result.
前記画像読み取り装置は、
前記原稿台上の原稿の副走査方向の端部位置を検出する副走査サイズ検出手段を備えており、
前記サイズ検出手段は、前記主走査方向のサイズと、前記副走査サイズ検出手段の検出した副走査方向の端部位置に基づいて前記原稿のサイズと向きを検出することを特徴とする請求項1から請求項5のいずれかに記載の画像読み取り装置。
The image reading device includes:
A sub-scanning size detecting means for detecting an end position of the original on the original table in the sub-scanning direction;
2. The size detection unit detects the size and orientation of the document based on a size in the main scanning direction and an end position in the sub scanning direction detected by the sub scanning size detection unit. The image reading apparatus according to claim 5.
原稿台上の原稿の画像を読み取ってアナログの読み取りデータを出力する画像読み取り処理ステップと、  An image reading processing step for reading an image of a document on a platen and outputting analog read data;
前記画像読み取りステップで出力されるアナログの読み取りデータをデジタル変換してデジタル読み取りデータに変換するデジタル変換処理ステップと、  A digital conversion processing step for digitally converting the analog read data output in the image reading step into digital read data;
前記原稿台上に載置された原稿の原稿サイズ検出時に、前記画像読み取りステップで該原稿台の所定の大きさの所定数の原稿サイズ検出領域を読み取って前記デジタル変換処理ステップでデジタル変換されたデジタル読み取りデータを、少なくとも像域分離処理を含み該原稿の主走査方向端部を該原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理ステップと、  When the document size of the document placed on the document table is detected, a predetermined number of document size detection areas of a predetermined size on the document table are read in the image reading step and digitally converted in the digital conversion processing step. An image processing step for image-processing digital read data into area digital read data having an image characteristic that includes at least an image area separation process and distinguishable from a background of the original at an end in the main scanning direction of the original;
前記画像処理ステップで画像処理された前記領域デジタル読み取りデータに基づいて前記原稿の主走査方向のサイズを検出するサイズ検出処理ステップと、  A size detection processing step for detecting a size of the document in the main scanning direction based on the area digital read data image-processed in the image processing step;
を有し、  Have
前記画像処理ステップは、  The image processing step includes
原稿読み取り時に、前記デジタル読み取りデータに対して、少なくとも像域分離処理を含む画像処理を、像域分離処理パラメータを含む所定の画像処理パラメータに基づいて施す画像処理実行ステップと、  An image processing execution step of performing image processing including at least image area separation processing on the digital read data based on predetermined image processing parameters including image area separation processing parameters when reading a document;
前記原稿サイズ検出時と原稿読み取り時とで前記画像処理実行ステップにおいて設定する前記像域分離処理パラメータを含む前記画像処理パラメータを切り替えるとともに、該原稿サイズ検出時には、前記領域デジタル読み取りデータを、前記原稿の主走査方向端部を原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理パラメータに切り替えるパラメータ切り替えステップと、  The image processing parameters including the image area separation processing parameters set in the image processing execution step are switched between when the document size is detected and when the document is read, and when the document size is detected, the area digital read data is converted into the document. A parameter switching step for switching an image processing parameter for image processing to an area digital read data having an image characteristic in which the main scanning direction end can be distinguished from the background of the document;
を有することを特徴とする原稿サイズ検出方法。  A method for detecting a document size.
コンピュータに、
原稿台上の原稿の画像を読み取ってアナログの読み取りデータを出力する画像読み取り処理ステップと、
前記画像読み取りステップで出力されるアナログの読み取りデータをデジタル変換してデジタル読み取りデータに変換するデジタル変換処理ステップと、
前記原稿台上に載置された原稿の原稿サイズ検出時に、前記画像読み取りステップで該原稿台の所定の大きさの所定数の原稿サイズ検出領域を読み取って前記デジタル変換処理ステップでデジタル変換されたデジタル読み取りデータを、少なくとも像域分離処理を含み該原稿の主走査方向端部を該原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理ステップと、
前記画像処理ステップで画像処理された前記領域デジタル読み取りデータに基づいて前記原稿の主走査方向のサイズを検出するサイズ検出処理ステップと、
実行させ、
前記画像処理ステップは、
原稿読み取り時に、前記デジタル読み取りデータに対して、少なくとも像域分離処理を含む画像処理を、像域分離処理パラメータを含む所定の画像処理パラメータに基づいて施す画像処理実行ステップと、
前記原稿サイズ検出時と原稿読み取り時とで前記画像処理実行ステップにおいて設定する前記像域分離処理パラメータを含む前記画像処理パラメータを切り替えるとともに、該原稿サイズ検出時には、前記領域デジタル読み取りデータを、前記原稿の主走査方向端部を原稿の背景と区別可能な画像特性の領域デジタル読み取りデータに画像処理する画像処理パラメータに切り替えるパラメータ切り替えステップと、
を実行させることを特徴とする原稿サイズ検出プログラム
On the computer,
An image reading processing step for reading an image of a document on a platen and outputting analog read data;
A digital conversion processing step for digitally converting the analog read data output in the image reading step into digital read data;
When the document size of the document placed on the document table is detected, a predetermined number of document size detection areas of a predetermined size on the document table are read in the image reading step and digitally converted in the digital conversion processing step . the digital read data, and an image processing step of the image processing in the main scanning direction end portion of the document includes at least image area separation processing region digital data read distinguishable image characteristics and background of the document,
A size detection processing step for detecting a size of the document in the main scanning direction based on the area digital read data image-processed in the image processing step;
And execute
The image processing step includes
An image processing execution step of performing image processing including at least image area separation processing on the digital read data based on predetermined image processing parameters including image area separation processing parameters when reading a document;
The image processing parameters including the image area separation processing parameters set in the image processing execution step are switched between when the document size is detected and when the document is read, and when the document size is detected, the area digital read data is converted into the document. A parameter switching step for switching an image processing parameter for image processing to an area digital read data having an image characteristic in which the main scanning direction end can be distinguished from the background of the document;
Allowed to execute document size detection program characterized Rukoto.
JP2011243494A 2011-11-07 2011-11-07 Image reading apparatus, document size detection method, and document size detection program Active JP5910002B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011243494A JP5910002B2 (en) 2011-11-07 2011-11-07 Image reading apparatus, document size detection method, and document size detection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011243494A JP5910002B2 (en) 2011-11-07 2011-11-07 Image reading apparatus, document size detection method, and document size detection program

Publications (2)

Publication Number Publication Date
JP2013102267A JP2013102267A (en) 2013-05-23
JP5910002B2 true JP5910002B2 (en) 2016-04-27

Family

ID=48622504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011243494A Active JP5910002B2 (en) 2011-11-07 2011-11-07 Image reading apparatus, document size detection method, and document size detection program

Country Status (1)

Country Link
JP (1) JP5910002B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016197773A (en) 2015-04-02 2016-11-24 キヤノン株式会社 Image reading device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268367A (en) * 2000-03-22 2001-09-28 Minolta Co Ltd Image scanning apparatus
JP2006295404A (en) * 2005-04-07 2006-10-26 Konica Minolta Business Technologies Inc Image processing apparatus
JP4948360B2 (en) * 2007-10-29 2012-06-06 株式会社リコー Image reading apparatus and image forming apparatus
JP4855458B2 (en) * 2008-08-27 2012-01-18 シャープ株式会社 Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium for recording image processing program

Also Published As

Publication number Publication date
JP2013102267A (en) 2013-05-23

Similar Documents

Publication Publication Date Title
JP4948360B2 (en) Image reading apparatus and image forming apparatus
JP5014224B2 (en) Image reading apparatus and image processing method
CN103581464B (en) Image read-out and image processing system
JP2000050061A (en) Image processor
JP4797959B2 (en) Image reading device
US5796876A (en) Apparatus for reading image and method therefor
JP2008227625A (en) Image processing apparatus, image processing method, image processing program, and recording medium
JP2016066836A (en) Image reading apparatus, control method of the same, and program
JP4379488B2 (en) Image reading device
JP4933402B2 (en) Image reading device
JP5910002B2 (en) Image reading apparatus, document size detection method, and document size detection program
JP6645294B2 (en) Image reading device
JP6447006B2 (en) Image processing apparatus, image reading apparatus, image processing method, and image processing program
JP2011259008A (en) Image reading device, image processing device, image reading method and program
JP5206582B2 (en) Image reading device
JP7423272B2 (en) Document reading device, control method for document reading device, and program
JP2003198777A (en) Image processing device
JP6155582B2 (en) Image reading apparatus, image reading method and program
JP2011023920A (en) Image reading apparatus and image forming apparatus
JP5652058B2 (en) Image reading apparatus and image forming apparatus having the same
KR20200067231A (en) Image reading apparatus, control method for controlling image reading apparatus, and storage medium
JP2018019236A (en) Image reader and control method therefor
JP2019024168A (en) Image reading device
JP2010161637A (en) Document scanner and image forming apparatus
JP2007312233A (en) Image processor and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141020

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20141112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150817

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150901

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151014

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160301

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160314

R151 Written notification of patent or utility model registration

Ref document number: 5910002

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151