JP4419700B2 - Image reading device - Google Patents

Image reading device Download PDF

Info

Publication number
JP4419700B2
JP4419700B2 JP2004179317A JP2004179317A JP4419700B2 JP 4419700 B2 JP4419700 B2 JP 4419700B2 JP 2004179317 A JP2004179317 A JP 2004179317A JP 2004179317 A JP2004179317 A JP 2004179317A JP 4419700 B2 JP4419700 B2 JP 4419700B2
Authority
JP
Japan
Prior art keywords
document
data
original
shading correction
press sheet
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.)
Expired - Fee Related
Application number
JP2004179317A
Other languages
Japanese (ja)
Other versions
JP2006005627A (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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2004179317A priority Critical patent/JP4419700B2/en
Publication of JP2006005627A publication Critical patent/JP2006005627A/en
Application granted granted Critical
Publication of JP4419700B2 publication Critical patent/JP4419700B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Holders For Sensitive Materials And Originals (AREA)
  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)

Description

本発明は、原稿載置板に載置された原稿の輝度データを読取るフラット・ベッド・スキャナ(FBS:Flat Bed Scanner)を備えた画像読取装置に関し、詳しくは原稿載置板に載置された原稿がプレスシートにより原稿載置板へ押圧された状態で原稿を含むプレスシートの輝度データを読取って原稿サイズを検出する画像読取装置に関するものである。   The present invention relates to an image reading apparatus including a flat bed scanner (FBS) that reads luminance data of a document placed on a document placing plate, and more specifically, placed on the document placing plate. The present invention relates to an image reading device that detects the size of a document by reading luminance data of the press sheet including the document while the document is pressed against the document placing plate by the press sheet.

透明な原稿載置板に載置された原稿の輝度データを読取る、いわゆるフラット・ベッド・スキャナを備えた画像読取装置では、例えば、原稿の本読取り開始前の予備走査(プレスキャン)において原稿の画像を主走査ライン毎に数ライン程度走査して原稿幅を検出するとともに、所定位置に配設された原稿検出センサにより原稿の縦方向の長さを検出することにより、原稿の読取り開始前に原稿サイズを検出している。   In an image reading apparatus equipped with a so-called flat bed scanner that reads luminance data of a document placed on a transparent document placing plate, for example, in a preliminary scan (pre-scan) before starting the actual reading of the document, By scanning the image about several lines for each main scanning line to detect the document width and detecting the length of the document in the vertical direction by a document detection sensor disposed at a predetermined position, before the reading of the document is started. The document size is detected.

しかし、上記のような方法で原稿サイズを検出する画像読取装置の多くは、A4やB4等の定形サイズの原稿が載置されることを前提としているため、定形サイズ以外の原稿が載置された場合に正しい原稿サイズを検出することができないことがあり、場合によってはユーザが原稿サイズを入力しなければならなかった。また、原稿が斜めに載置された場合にも、正しい原稿サイズを検出することができないことがあった。   However, since many image reading apparatuses that detect the document size by the above method are based on the premise that a fixed-size document such as A4 or B4 is loaded, a document other than the fixed-size document is loaded. In some cases, the correct document size cannot be detected. In some cases, the user has to input the document size. Further, even when the original is placed obliquely, the correct original size may not be detected.

かかる事情を考慮して原稿サイズを検出する装置として、特許文献1に開示されている画像読取装置がある。この画像読取装置50は、図11に示すように、透明な原稿載置板51、該載置板51に載置された原稿52を上方から押圧して原稿載置板51に密着させる原稿カバー53、原稿52に光を照射する光源54、原稿52からの反射光を所定の方向へ導く反射ミラー55、反射光を収束する収束レンズ56、収束光の可視光成分のみを透過するフィルタ57、透過した収束光を電気信号に変換して出力するCCD(Charge Coupled Device)58等を備えている。   As an apparatus for detecting the document size in consideration of such circumstances, there is an image reading apparatus disclosed in Patent Document 1. As shown in FIG. 11, the image reading apparatus 50 includes a transparent document placing plate 51, and a document cover that presses a document 52 placed on the placing plate 51 from above and closely contacts the document placing plate 51. 53, a light source 54 for irradiating the original 52 with light, a reflection mirror 55 for guiding the reflected light from the original 52 in a predetermined direction, a converging lens 56 for converging the reflected light, a filter 57 for transmitting only the visible light component of the convergent light, A CCD (Charge Coupled Device) 58 for converting the transmitted convergent light into an electrical signal and outputting it is provided.

そして、前記原稿カバー53の下面には、光線を吸収する板状の吸光部材59が貼付けられるとともに、更にその吸光部材59の下面に光線を透過する板状の透明部材60が貼付けられており、原稿の読取り開始命令があると、原稿52を含む原稿カバー53表面の輝度データがCCD58によって主走査ライン毎に読取られ、読取られた輝度データに対してA/D変換、シェーディング補正が行われる。図12は、輝度データのうちのシェーディング補正後の1ライン(主走査ライン)分の輝度データの濃度(以下、「輝度値」ともいう。)を示した図であり、光源54から原稿カバー53に入射された光が吸光部材59により減衰されており、原稿52内の黒レベルに対して原稿カバー53の黒レベルが若干低く(黒く)なっている。このようにして得られた輝度データから原稿サイズを検出するために、画像読取装置50には比較処理部(不図示)が設けられており、該比較処理部において、原稿カバー53の黒レベルと原稿52の黒レベルの中間の値を基準値Thとし、輝度値が基準信号Th以下の画素データを全て原稿領域外であると判断して、原稿の画素データと原稿領域外の画素データとを判別する処理を主走査ライン毎に行って正確な原稿サイズを検出している。 A plate-like light absorbing member 59 that absorbs light rays is attached to the lower surface of the original cover 53, and a plate-like transparent member 60 that transmits light rays is attached to the lower surface of the light absorbing member 59. When a document reading start command is issued, luminance data on the surface of the document cover 53 including the document 52 is read by the CCD 58 for each main scanning line, and A / D conversion and shading correction are performed on the read luminance data. FIG. 12 is a diagram showing the luminance data density (hereinafter also referred to as “luminance value”) for one line (main scanning line) after shading correction in the luminance data. Is attenuated by the light absorbing member 59, and the black level of the document cover 53 is slightly lower (black) than the black level in the document 52. In order to detect the document size from the luminance data obtained in this way, the image reading apparatus 50 is provided with a comparison processing unit (not shown). In the comparison processing unit, the black level of the document cover 53 is detected. An intermediate value of the black level of the document 52 is set as a reference value Th, and all pixel data having a luminance value equal to or less than the reference signal Th are determined to be outside the document area, and the pixel data of the document and the pixel data outside the document area are determined. An accurate document size is detected by performing the determination process for each main scanning line.

しかしながら、特許文献1の画像読取装置50では、縁が黒い原稿52を含む吸光部材59の画像を読取った際に原稿の縁の輝度値と吸光部材59の輝度値とが近い値をとる場合には、原稿領域と原稿以外の領域とを判別できないおそれがある。   However, in the image reading device 50 of Patent Document 1, when the image of the light absorbing member 59 including the original 52 with the black edge is read, the luminance value of the edge of the original and the luminance value of the light absorbing member 59 are close to each other. May not be able to distinguish between a document area and a non-document area.

また、吸光部材59が黒色に形成されているため、定形サイズよりも小さい原稿を定形サイズを指定して読取ると、定形サイズと原稿サイズが異なるために、原稿の画像データの画像が記録された記録紙において、縁が黒色に記録されてしまい、トナーが無駄に使用されてしまうという問題がある。そして、これを防止するために、黒色で記録されてしまう部分の画素データを白色の画素データに変換するという通常の画像処理では必要のない処理を行わなければならない。   Further, since the light absorbing member 59 is formed in black, when an original smaller than the standard size is read by specifying the standard size, the image of the original image data is recorded because the standard size is different from the original size. There is a problem in that the edges of the recording paper are recorded in black and the toner is wasted. In order to prevent this, it is necessary to perform processing that is not necessary in normal image processing in which pixel data of a portion recorded in black is converted into white pixel data.

また、原稿カバー53の吸光部材59を原稿52内の黒を読んだ場合よりも反射光量が少なくなるような材料で形成することは困難であり、可能であるとしても原稿カバー53の構造が複雑になることから、装置コストが増大する等の問題が生じることが当然考えられる。   Further, it is difficult to form the light absorbing member 59 of the document cover 53 with a material that reduces the amount of reflected light compared to the case where the black color in the document 52 is read. Even if possible, the structure of the document cover 53 is complicated. Therefore, it is naturally conceivable that a problem such as an increase in apparatus cost occurs.

本発明は、かかる課題に鑑みてなされたものであり、透明な原稿載置板に載置された原稿の輝度データを読取るフラット・ベッド・スキャナを備えた画像読取装置において、原稿領域の画素データと原稿領域外の画素データを判別して定形サイズ以外の原稿であってもその正確な原稿サイズを検出することができる画像読取装置を提供することを目的とする。   The present invention has been made in view of the above problems, and in an image reading apparatus having a flat bed scanner for reading luminance data of a document placed on a transparent document placing plate, pixel data of a document region It is an object of the present invention to provide an image reading apparatus that can detect pixel data outside a document area and detect an accurate document size even for a document of a non-standard size.

上記目的を達成するために、請求項1記載の画像読取装置は、白基準板の輝度データを基準にして、読取った原稿の輝度データをシェーディング補正する画像読取装置において、原稿載置板に載置された原稿が前記白基準板よりも拡散反射率が高いプレスシートにより前記原稿載置板へ押圧された状態で前記原稿を含む前記プレスシートの輝度データを読取る読取手段と、プレスシートの輝度データを基準にして前記原稿を含むプレスシートの輝度データをシェーディング補正するシェーディング補正手段と、プレスシートのシェーディング補正後の輝度値より低い一定の閾値データにより、シェーディング補正後の前記原稿を含むプレスシートの輝度データを2値化する2値化手段と、2値化後のデータに基づいて前記原稿の縁を検出する検出手段と、を備えることを特徴としている。 In order to achieve the above object, an image reading apparatus according to claim 1 is an image reading apparatus that performs shading correction on luminance data of a read original on the basis of luminance data of a white reference plate. Reading means for reading luminance data of the press sheet including the original in a state in which the placed original is pressed against the original placing plate by a press sheet having a diffuse reflectance higher than that of the white reference plate; A press sheet including the original after shading correction by shading correction means for shading correction of luminance data of the press sheet including the original on the basis of data, and constant threshold data lower than the luminance value after the shading correction of the press sheet Binarizing means for binarizing the luminance data of the document and the edge of the document based on the binarized data Is characterized by comprising: means out, the.

請求項2記載の画像読取装置は、前記シェーディング補正手段による処理と並行して、前記白基準板の輝度データを基準にして前記原稿を含むプレスシートの輝度データをシェーディング補正する手段を備えることを特徴としている。 The image reading apparatus according to claim 2, further comprising means for correcting shading of luminance data of the press sheet including the original with reference to luminance data of the white reference plate in parallel with the processing by the shading correction unit. It is a feature.

請求項3記載の画像読取装置は、前記シェーディング補正手段は、前記原稿を含むプレスシートの輝度データに間引き処理を施したデータをシェーディング補正することを特徴としている。 The image reading apparatus according to claim 3 is characterized in that the shading correction means performs shading correction on data obtained by performing a thinning process on luminance data of a press sheet including the original .

請求項4記載の画像読取装置は、前記原稿を含むプレスシートの輝度データのうち、前記検出手段が検出した前記原稿の縁によって囲まれた画素データからなる輝度データに対して画像処理を行う手段を備えることを特徴としている。 5. The image reading apparatus according to claim 4, wherein image processing is performed on luminance data composed of pixel data surrounded by an edge of the original detected by the detecting means, out of luminance data of the press sheet including the original. It is characterized by having.

請求項1に記載の画像読取装置によれば、定形サイズ以外の原稿が原稿載置板に載置された場合や、原稿が斜めに載置された場合であっても、原稿の縁を検出して原稿載置板に載置された原稿の正確な原稿サイズを判定することができる。また、原稿の縁を検出するために、プレスシートのシェーディング補正後の輝度値より低い一定の閾値データにより、シェーディング補正後の前記原稿を含むプレスシートの輝度データを2値化するため、2値化に使用する閾値データに一定値を用いることができ、2値化処理を容易に行うことができる。 According to the image reading apparatus of the first aspect, even when a document of a non-standard size is placed on the document placing plate or when the document is placed obliquely, the edge of the document is detected. Thus, it is possible to determine the exact document size of the document placed on the document placement plate. In addition, in order to detect the edge of the document, the brightness data of the press sheet including the document after shading correction is binarized with a certain threshold data lower than the brightness value after the shading correction of the press sheet. A constant value can be used for threshold data used for binarization, and binarization processing can be easily performed.

請求項2に記載の画像読取装置によれば、シェーディング補正手段による処理と並行して、白基準板の輝度データを基準にして原稿を含むプレスシートの輝度データをシェーディング補正する手段を備えているので、原稿の縁を検出するためのシェーディング補正手段による処理と、いわゆるシェーディング補正とを同時に行うことができる。したがって、原稿の縁を検出するための予備走査(プレスキャン)を行う必要がないという利点がある。 According to the second aspect of the present invention, the image reading apparatus includes means for correcting the shading correction of the brightness data of the press sheet including the document with reference to the brightness data of the white reference plate in parallel with the processing by the shading correction means. Therefore, the processing by the shading correction means for detecting the edge of the document and so-called shading correction can be performed simultaneously. Therefore, there is an advantage that it is not necessary to perform preliminary scanning (pre-scanning) for detecting the edge of the document.

請求項3に記載の画像読取装置によれば、原稿を含むプレスシートの輝度データの全てを用いて原稿の縁を検出する場合に比べて、原稿の縁を検出する処理を高速化することができる。また、原稿の縁を検出する処理にかかる消費電力を削減することができる。 According to the image reading apparatus of the third aspect, compared to the case where the edge of the document is detected using all the luminance data of the press sheet including the document, the processing for detecting the edge of the document can be speeded up. it can. Further, it is possible to reduce power consumption required for processing for detecting the edge of the document.

請求項4に記載の画像読取装置によれば、原稿サイズを判定するために読取られた原稿を含むプレスシートの輝度データのうち、不要なプレスシートの輝度データに対して画像処理が行われることはなく、必要な原稿領域の画素データからなる原稿の輝度データに対してのみ画像処理を行うことができる。 According to the image reading apparatus of the fourth aspect, the image processing is performed on the luminance data of the unnecessary press sheet among the luminance data of the press sheet including the original read in order to determine the original size. Rather, image processing can be performed only on the luminance data of the original composed of pixel data of the required original area.

以下、本発明の実施の形態に係る画像読取装置について、図面に基づき説明する。図1は、本発明の第1の実施形態に係る画像読取装置1の構成例を示したブロック図である。画像読取装置1は、図示するように制御部(MPU:Microprocessing Unit)2、原稿読取部3、画像処理回路4、ページメモリ5、コーデック(CODEC:Coder and Decoder)6、画像メモリ7、記録部8、操作部9、表示部10、ROM(Read Only Memory)11、及びRAM(Random Access Memory)12を備えたものであって、各部2乃至12は、バス13によって通信可能に接続されている。   Hereinafter, an image reading apparatus according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of an image reading apparatus 1 according to the first embodiment of the present invention. As shown in the figure, the image reading apparatus 1 includes a control unit (MPU: Microprocessing Unit) 2, a document reading unit 3, an image processing circuit 4, a page memory 5, a codec (CODEC: Coder and Decoder) 6, an image memory 7, and a recording unit. 8, an operation unit 9, a display unit 10, a ROM (Read Only Memory) 11, and a RAM (Random Access Memory) 12, and the units 2 to 12 are communicably connected by a bus 13. .

制御部2は、画像読取装置1の各部の動作を制御する。原稿読取部3は、原稿の輝度データを読取るものであり、図2に示すように、フラットベッド読取部(FBS:Flat Bed Scanner)15を備えている。このフラットベッド読取部15は、図示するように、読取るべき原稿を載置するための透明な原稿載置板16と、載置された原稿に光を照射する光源(不図示)及び原稿からの反射光を所定の方向へ導くための反射ミラー(不図示)を備え且つ原稿載置板16に対して水平方向(副走査方向)に往復移動する走査キャリッジ17と、反射光を収束する集光レンズ18と、収束光を電気信号に変換して出力するラインセンサ(CCD:Charge Coupled Device)19、とを備えてなる縮小光学系の画像読取ユニットである。   The control unit 2 controls the operation of each unit of the image reading apparatus 1. The document reading unit 3 reads luminance data of a document, and includes a flat bed scanner (FBS) 15 as shown in FIG. As shown in the figure, the flatbed reading unit 15 includes a transparent document placing plate 16 for placing a document to be read, a light source (not shown) for irradiating light on the placed document, and from the document. A scanning carriage 17 having a reflecting mirror (not shown) for guiding the reflected light in a predetermined direction and reciprocating in the horizontal direction (sub-scanning direction) with respect to the document placing plate 16, and a condensing light that converges the reflected light. A reduction optical system image reading unit including a lens 18 and a line sensor (CCD: Charge Coupled Device) 19 that converts convergent light into an electric signal and outputs the electric signal.

このフラットベッド読取部15の上方には、フラットベッド読取部15本体の上面奥に設けられた支持部20を軸として原稿載置板16に対して開閉可能な原稿押圧部材21が設けられている。この原稿押圧部材21の原稿載置板16と接する側の表面には、原稿載置板16に載置された原稿を上方から押圧して原稿載置板16に密着させるとともに、原稿の背景として原稿の周辺部に影が生じるのを防ぐためにプレスシート22が貼設されている。   A document pressing member 21 that can be opened and closed with respect to the document placing plate 16 is provided above the flat bed reading unit 15 with a support unit 20 provided at the back of the upper surface of the main body of the flat bed reading unit 15 as an axis. . On the surface of the document pressing member 21 on the side in contact with the document placement plate 16, the document placed on the document placement plate 16 is pressed from above to be brought into close contact with the document placement plate 16, and as the background of the document. A press sheet 22 is affixed to prevent a shadow from being generated in the peripheral portion of the document.

原稿載置板16に原稿が載置されて原稿押圧部材21が閉じられた後、操作部9の所定操作により原稿の読取り開始命令があると、走査キャリッジ17が原稿載置板16に対して図中の矢印で示すように水平に移動しながら原稿載置板16上の原稿を走査し、原稿からの反射光をラインセンサ19へ導いて結像することによって原稿載置板16に載置された原稿の輝度データが主走査ライン毎に読取られるようになっている。なお、後述するが、原稿の読取りを行う際に原稿載置板16に載置された原稿の正確な原稿サイズを判定(検出)するために、原稿を含むプレスシート22の輝度データがラインセンサ19により読取られて所定の出力先に出力されるようになっている。なお、輝度データを構成する各画素データは、その明暗情報が数値(以下、「輝度値」という。)によって表されており、輝度値が低いほどその画素データが暗く(黒く)、逆に輝度値が高いほどその画素データが明るい(白い)ことを示している。また、輝度データを構成する各画素データには、それぞれ位置情報が付加されており、各画素データが原稿載置板16上のどの画素を読取ったものであるか容易に判断できるようになっている。   After a document is placed on the document placing plate 16 and the document pressing member 21 is closed, when a document reading start command is issued by a predetermined operation of the operation unit 9, the scanning carriage 17 applies to the document placing plate 16. As shown by the arrows in the figure, the document on the document placing plate 16 is scanned while moving horizontally, and the reflected light from the document is guided to the line sensor 19 to form an image and placed on the document placing plate 16. The luminance data of the original document is read for each main scanning line. As will be described later, in order to determine (detect) the exact document size of the document placed on the document placement plate 16 when the document is read, the luminance data of the press sheet 22 including the document is a line sensor. 19 is read and output to a predetermined output destination. In addition, each pixel data constituting the brightness data has its brightness information represented by a numerical value (hereinafter referred to as “brightness value”), and the lower the brightness value, the darker the pixel data becomes (black), and conversely the brightness The higher the value, the brighter (white) the pixel data. Further, each pixel data constituting the luminance data is added with position information, so that it is possible to easily determine which pixel on the document placing plate 16 is read by each pixel data. Yes.

また、原稿押圧部材21の上部には、図示していないが自動原稿搬送部(ADF:Automatic Document Feeder)が設けられている。ラインセンサ19は、走査キャリッジ17が透光板23の下方に固定された状態で前記自動原稿搬送部によって搬送される原稿を前記透光板23の上方の所定の読取位置にて走査することにより、自動原稿搬送部によって搬送される原稿の輝度データを読取ることも可能である。なお、前記所定の読取位置を通過する原稿を透光板23に近接させるガイドとして、透光板23と対向する位置に白色テープを貼り付けられたり、白色に塗装されることにより白色に形成された白基準板(シェーディングプレート)24が設けられている。   Although not shown, an automatic document feeder (ADF) is provided above the document pressing member 21. The line sensor 19 scans a document transported by the automatic document transport unit in a state where the scanning carriage 17 is fixed below the translucent plate 23 at a predetermined reading position above the translucent plate 23. It is also possible to read the luminance data of the document conveyed by the automatic document conveyance unit. As a guide for bringing the document passing through the predetermined reading position close to the translucent plate 23, a white tape is attached to a position facing the translucent plate 23 or painted white to form a white color. A white reference plate (shading plate) 24 is provided.

なお、上記のプレスシート22は、原稿の背景として原稿の周辺部に影が生じるのを防ぐことができ、且つプレスシート22の下面(原稿又は原稿載置板16と接する面)が無地で且つその拡散反射率がこの白基準板24よりも高い材料で形成されている。したがって、フラットベッド読取部15は、原稿載置板16に載置された原稿が白基準板24よりも拡散反射率が高いプレスシート22により原稿載置板16へ押圧された状態で原稿を含むプレスシート22の輝度データを読取る読取手段として機能する。   The press sheet 22 can prevent a shadow from being generated in the peripheral portion of the document as the background of the document, and the lower surface of the press sheet 22 (the surface in contact with the document or the document placing plate 16) is plain and The diffuse reflectance is made of a material higher than that of the white reference plate 24. Therefore, the flatbed reading unit 15 includes the original in a state where the original placed on the original placing plate 16 is pressed against the original placing plate 16 by the press sheet 22 having a diffuse reflectance higher than that of the white reference plate 24. It functions as a reading means for reading the luminance data of the press sheet 22.

図3は、本発明の第1の実施形態にかかる画像読取装置1における原稿読取部3の構成を示したブロック図である。原稿読取部3は、図示するように、上記のラインセンサ19(不図示)等を具備するフラットベッド読取部15の他に、AFE(Analog Front End)回路26、A/D変換回路27、第1シェーディング補正回路28、第2シェーディング補正回路29、2値化回路30、及び判別回路31を具備している。   FIG. 3 is a block diagram showing a configuration of the document reading unit 3 in the image reading apparatus 1 according to the first embodiment of the present invention. As shown in the figure, the document reading unit 3 includes an AFE (Analog Front End) circuit 26, an A / D conversion circuit 27, a first circuit, in addition to the flat bed reading unit 15 including the line sensor 19 (not shown). A first shading correction circuit 28, a second shading correction circuit 29, a binarization circuit 30, and a discrimination circuit 31 are provided.

AFE回路26は、フラットベッド読取部15のラインセンサ19が読取った原稿を含むプレスシート22のアナログ輝度データに対して、予め設定されたゲイン設定値に基づいて前記アナログ輝度データを構成する各画素データの輝度値を増幅するゲイン調整を行う。A/D変換回路27は、AFE回路26においてゲイン調整されたアナログ輝度データをデジタル輝度データにA/D変換(Analog to Digital Conversion)する。   The AFE circuit 26 has each pixel constituting the analog luminance data based on a preset gain setting value with respect to the analog luminance data of the press sheet 22 including the document read by the line sensor 19 of the flatbed reading unit 15. Perform gain adjustment to amplify the luminance value of the data. The A / D conversion circuit 27 performs A / D conversion (Analog to Digital Conversion) on the analog luminance data whose gain has been adjusted in the AFE circuit 26 into digital luminance data.

第1シェーディング補正回路28は、A/D変換回路27から出力された原稿を含むプレスシート22の輝度データに対して通常シェーディング補正を行う。ここで、通常シェーディング補正は、光量ムラや光学部品の影響、及びラインセンサ19の画素感度のバラツキを補正するために行われる、所謂シェーディング補正である。この第1シェーディング補正回路28は、シェーディングRAM32を具備しており、該シェーディングRAM32には、フラットベッド読取部15のラインセンサ19が白基準板24の画像を読取って取得した白基準板24の輝度データ(以下、「シェーディングデータ」ともいう。)が格納されている。この白基準板24の輝度データは、具体的には、主走査方向に1ラインのデータである。第1シェーディング補正回路28は、A/D変換回路27から出力された原稿を含むプレスシート22の輝度データに対してこのシェーディングRAM32に格納されているシェーディングデータを基準にしてシェーディング補正(通常シェーディング補正)を行う。このように、画像読取装置1は、白基準板24の輝度データを基準にして、読取った原稿の輝度データをシェーディング補正する機能を備えている。   The first shading correction circuit 28 performs normal shading correction on the luminance data of the press sheet 22 including the document output from the A / D conversion circuit 27. Here, the normal shading correction is a so-called shading correction that is performed to correct unevenness in the amount of light, the influence of optical components, and variations in pixel sensitivity of the line sensor 19. The first shading correction circuit 28 includes a shading RAM 32, and the luminance of the white reference plate 24 acquired by the line sensor 19 of the flat bed reading unit 15 reading the image of the white reference plate 24 is acquired in the shading RAM 32. Data (hereinafter also referred to as “shading data”) is stored. Specifically, the luminance data of the white reference plate 24 is data for one line in the main scanning direction. The first shading correction circuit 28 performs shading correction (normal shading correction) on the basis of the shading data stored in the shading RAM 32 with respect to the luminance data of the press sheet 22 including the document output from the A / D conversion circuit 27. )I do. As described above, the image reading apparatus 1 has a function of correcting the shading correction of the luminance data of the read document with reference to the luminance data of the white reference plate 24.

なお、白基準板24の輝度データをシェーディングRAM32に格納するタイミングは、原稿を含むプレスシート22の輝度データの読取り開始前であれば特に限定されるものではなく、例えば画像読取装置1の電源がONされる度に読取ってシェーディングRAM32に格納したり、原稿を含むプレスシート22の輝度データの読取り開始命令がある度に当該輝度データの読取り開始前に読取って格納してもよい。また、原稿読取り時に限らず、ユーザによる取込み指示操作が操作部9において行われた場合に、白基準板24の輝度データを取得してシェーディングRAM32に格納するようにしてもよい。   The timing for storing the brightness data of the white reference plate 24 in the shading RAM 32 is not particularly limited as long as it is before the start of reading the brightness data of the press sheet 22 including the original. For example, the power source of the image reading apparatus 1 is turned on. Each time it is turned on, it may be read and stored in the shading RAM 32, or it may be read and stored before the start of reading the luminance data whenever there is an instruction to start reading the luminance data of the press sheet 22 including the original. Further, not only when reading a document but also when a user takes an instruction for taking in the operation unit 9, the luminance data of the white reference plate 24 may be acquired and stored in the shading RAM 32.

第2シェーディング補正回路29は、A/D変換回路27から出力された原稿を含むプレスシート22の輝度データに対して原稿サイズ判定用シェーディング補正を行う。原稿サイズ判定用シェーディング補正は、ラインセンサ19が読取った原稿載置板16に載置された原稿を含むプレスシート22の輝度データに対して、載置された原稿の正確な原稿サイズを判定するために行われるシェーディング補正である。   The second shading correction circuit 29 performs document size determination shading correction on the luminance data of the press sheet 22 including the document output from the A / D conversion circuit 27. In the document size determination shading correction, the accurate document size of the placed document is determined with respect to the luminance data of the press sheet 22 including the document placed on the document placing plate 16 read by the line sensor 19. This is a shading correction performed for the purpose.

第2シェーディング補正回路29は、後に詳述するが、第1シェーディング補正回路28が具備するシェーディングRAM32の白基準板24の輝度データを白側に所定量オフセットしたデータ(基準データ)を基準にしてA/D変換回路27から出力された原稿を含むプレスシート22の輝度データをシェーディング補正するシェーディング補正手段として機能し、この第2シェーディング補正回路29によって処理されたシェーディング補正後のデータは、2値化回路30へと出力される。   As will be described in detail later, the second shading correction circuit 29 is based on data (reference data) obtained by offsetting the luminance data of the white reference plate 24 of the shading RAM 32 included in the first shading correction circuit 28 by a predetermined amount to the white side. It functions as a shading correction unit that performs shading correction on the luminance data of the press sheet 22 including the document output from the A / D conversion circuit 27, and the data after shading correction processed by the second shading correction circuit 29 is binary. Is output to the conversion circuit 30.

2値化回路30は、シェーディング補正後のデータを2値化する2値化手段として機能し、第2シェーディング補正回路29が原稿サイズ判定用シェーディング補正したデータを所定の閾値に基づいて2値化(階調減少処理)する。判別回路31は、2値化後のデータに基づいて原稿の縁を検出する検出手段として機能し、2値化回路30によって2値化されたデータに基づいて、ラインセンサ19が原稿を含むプレスシート22表面の画像を読取って取得した原稿を含むプレスシート22の輝度データを原稿領域の画素データと原稿領域外の画素データとに判別する処理を行う。この判別回路31の判別結果は、画像処理回路4へと出力される。 The binarization circuit 30 functions as binarization means for binarizing the data after shading correction, and binarizes the data obtained by the shading correction for document size determination by the second shading correction circuit 29 based on a predetermined threshold. (Gradation reduction processing). The discriminating circuit 31 functions as detection means for detecting the edge of the document based on the binarized data, and the line sensor 19 presses the document including the document based on the binarized data by the binarizing circuit 30. A process of discriminating luminance data of the press sheet 22 including the original obtained by reading the image on the surface of the sheet 22 into pixel data in the original area and pixel data outside the original area is performed. The discrimination result of the discrimination circuit 31 is output to the image processing circuit 4.

なお、第1シェーディング補正回路28による通常シェーディング補正の処理と第2シェーディング補正回路29による原稿サイズ判定用のシェーディング補正の処理とは並行して行われるようになっており、第1シェーディング補正回路28は、シェーディング補正手段(第2シェーディング補正回路29)による処理と並行して、白基準板24の輝度データを基準にして原稿を含むプレスシート22の輝度データをシェーディング補正する手段として機能する。   The normal shading correction processing by the first shading correction circuit 28 and the shading correction processing for document size determination by the second shading correction circuit 29 are performed in parallel. In parallel with the processing by the shading correction means (second shading correction circuit 29), it functions as means for shading correction of the luminance data of the press sheet 22 including the original with reference to the luminance data of the white reference plate 24.

画像処理回路4は、原稿を含むプレスシート22の輝度データのうち、判別回路(検出手段)31が検出した原稿の縁によって囲まれた画素データからなる輝度データに対して画像処理を行う手段として機能する。具体的には、判別回路31から出力された判別結果に基づいて、第1シェーディング補正回路28において通常シェーディング補正が施された原稿を含むプレスシート22の輝度データ(以下、通常シェーディング補正が施された後の輝度データを「画像データ」という。)のうち、原稿領域の画素データからなる原稿の画像データに対してのみ画像処理を行う。ここで、画像処理回路4が行う画像処理は、原稿の画像データの画像を記録部8において用紙に記録するための画像処理であり、具体的には、γ補正、拡大/縮小の変倍処理、2値化処理等の画像処理である。このようにして画像処理回路4において必要な画像処理が施された原稿の画像データは、ページメモリ5へと出力される。なお、この画像処理回路4において行われる2値化処理は、2値化回路30において行われる原稿サイズを判定するための2値化ではなく、原稿の画像データの画像を用紙に記録するための2値化処理である。また、本実施の形態においては、2値化回路30において原稿サイズを判定するための2値化を行う場合について説明するが、2値化回路30を設けず、この画像処理回路4において原稿サイズを判定するための2値化も併せて行うようにしてもよい。   The image processing circuit 4 is a means for performing image processing on luminance data composed of pixel data surrounded by the edge of the original detected by the discrimination circuit (detection means) 31 among the luminance data of the press sheet 22 including the original. Function. Specifically, based on the determination result output from the determination circuit 31, the luminance data of the press sheet 22 including the original subjected to the normal shading correction in the first shading correction circuit 28 (hereinafter, normal shading correction is performed). Thereafter, the luminance data is referred to as “image data”), and image processing is performed only on the image data of the document including the pixel data of the document area. Here, the image processing performed by the image processing circuit 4 is image processing for recording an image of image data of a document on a sheet in the recording unit 8, and specifically, γ correction and enlargement / reduction scaling processing. Image processing such as binarization processing. The document image data that has been subjected to the necessary image processing in the image processing circuit 4 in this way is output to the page memory 5. The binarization processing performed in the image processing circuit 4 is not binarization for determining the document size performed in the binarization circuit 30, but for recording the image of the document image data on the paper. This is a binarization process. In the present embodiment, a case where binarization for determining the document size is performed in the binarization circuit 30 will be described. However, the binarization circuit 30 is not provided, and the image processing circuit 4 performs document size. Binarization may also be performed for determining the above.

ページメモリ5は、画像処理回路4において画像処理が施された原稿の画像データを蓄積するメモリである。コーデック6は、画像データを符号化(エンコード)・復号(デコード)するものである。ここでは、画像処理回路4で必要な画像処理が行われたページメモリ5の原稿の画像データをMH(Modified Huffman)、MR(Modified Read)、MMR(Modified Modified Read)、JBIG(Joint Bi-level Image Group)方式等により符号化し、符号化されている画像データを復号する。   The page memory 5 is a memory that stores image data of a document that has been subjected to image processing in the image processing circuit 4. The codec 6 encodes / decodes image data. Here, the image data of the document in the page memory 5 on which the image processing circuit 4 has performed the required image processing is converted into MH (Modified Huffman), MR (Modified Read), MMR (Modified Modified Read), JBIG (Joint Bi-level). The image data is encoded by an Image Group) method and the encoded image data is decoded.

画像メモリ7は、コーデック6において符号化された画像データ、画像処理回路4から直接出力された画像データ等を格納する。記録部8は、画像メモリ7から読み出された画像データの画像を用紙に記録するものである。この記録部8における記録方式としては、例えば、電子写真方式やインクジェット記録方式等の各種の記録方式を用いることができる。   The image memory 7 stores image data encoded by the codec 6, image data directly output from the image processing circuit 4, and the like. The recording unit 8 records an image of the image data read from the image memory 7 on a sheet. As a recording method in the recording unit 8, various recording methods such as an electrophotographic method and an ink jet recording method can be used.

操作部9は、図2に例示するように、原稿読取部3(不図示)に原稿の読取り開始を指示するためのスタートキー33、コピー部数等を入力するためのテンキー34、原稿の読取倍率を設定するための倍率設定キー35、原稿の読取濃度を設定するための濃度設定キー36など、表示部10と連動した各種操作キーを備えている。表示部10は、各種の設定画面や画像読取装置1の動作状態などを文字や図形などで表示する液晶表示装置(LCD:Liquid Crystal Display)37や、点灯又は消灯で表示するLEDランプ38などを備えている。   As illustrated in FIG. 2, the operation unit 9 includes a start key 33 for instructing the document reading unit 3 (not shown) to start reading a document, a numeric keypad 34 for inputting the number of copies, and the document reading magnification. Various operation keys linked to the display unit 10 are provided, such as a magnification setting key 35 for setting the image density and a density setting key 36 for setting the reading density of the document. The display unit 10 includes a liquid crystal display (LCD) 37 that displays various setting screens and operation states of the image reading device 1 with characters and graphics, an LED lamp 38 that is turned on or off, and the like. I have.

ROM11は、制御部2によりこの画像読取装置1の各部の動作が制御されるための各種プログラムを格納している。画像読取装置1の各部の処理動作は、このROM11に格納されている各種プログラムに基づいて制御部2が発行する命令に従って行われる。RAM12は、画像読取装置1の処理動作に用いる設定情報や動作情報等の各種データを読み出し及び書込み可能な状態で格納している。   The ROM 11 stores various programs for controlling the operation of each unit of the image reading apparatus 1 by the control unit 2. The processing operation of each unit of the image reading apparatus 1 is performed according to instructions issued by the control unit 2 based on various programs stored in the ROM 11. The RAM 12 stores various data such as setting information and operation information used for the processing operation of the image reading apparatus 1 in a readable and writable state.

以下、フラットベッド読取部15で原稿を含むプレスシート22の輝度データが読取られてからページメモリ5に格納されるまでに、上記のように構成された画像読取装置1において行われる処理について、図2乃至図4に基づいて説明する。まず、ユーザによってフラットベッド読取部15の原稿載置板16に原稿が載置され、原稿押圧部材21が閉じられた後、操作部9のスタートキー33が押下されると、フラットベッド読取部15の走査キャリッジ17が原稿載置板16に沿って水平方向(副走査方向)に原稿を含むプレスシート22を走査することにより、ラインセンサ19は、原稿を含むプレスシート22の輝度データを主走査ライン毎に読取る。   Hereinafter, processing performed in the image reading apparatus 1 configured as described above from when the luminance data of the press sheet 22 including the original is read by the flatbed reading unit 15 until it is stored in the page memory 5 will be described. This will be described with reference to FIGS. First, when the user places a document on the document placing plate 16 of the flat bed reading unit 15 and closes the document pressing member 21, the flat key reading unit 15 is pressed when the start key 33 of the operation unit 9 is pressed. When the scanning carriage 17 scans the press sheet 22 including the original in the horizontal direction (sub-scanning direction) along the original placement plate 16, the line sensor 19 performs main scanning on the luminance data of the press sheet 22 including the original. Read line by line.

このようにして、フラットベッド読取部15のラインセンサ19によって読取られた原稿を含むプレスシート22の輝度データは、図3に示すように、AFE回路26へと順次出力され、該AFE回路26において予め設定されたゲイン設定値に基づいてゲイン調整される。続いて、AFE回路26においてゲイン調整された原稿を含むプレスシート22の輝度データは、A/D変換回路27へと出力され、該A/D変換回路27においてアナログ輝度データからデジタル輝度データへとA/D変換される。   In this way, the luminance data of the press sheet 22 including the original read by the line sensor 19 of the flat bed reading unit 15 is sequentially output to the AFE circuit 26 as shown in FIG. Gain adjustment is performed based on a preset gain setting value. Subsequently, the luminance data of the press sheet 22 including the original whose gain has been adjusted in the AFE circuit 26 is output to the A / D conversion circuit 27, and the analog luminance data is changed to digital luminance data in the A / D conversion circuit 27. A / D conversion is performed.

次に、A/D変換回路27においてA/D変換された原稿を含むプレスシート22の輝度データは、第1シェーディング補正回路28と第2シェーディング補正回路29へ同時に出力される。第1シェーディング補正回路28は、シェーディングRAM32に予め格納されている白基準板24の輝度データを基準にして、A/D変換回路27から出力された原稿を含むプレスシート22の輝度データを通常シェーディング補正する。このようにして、第1シェーディング補正回路28において通常シェーディング補正が施された原稿を含むプレスシート22の画像データは、画像処理回路4へと出力される。   Next, the luminance data of the press sheet 22 including the document A / D converted by the A / D conversion circuit 27 is simultaneously output to the first shading correction circuit 28 and the second shading correction circuit 29. The first shading correction circuit 28 performs normal shading on the luminance data of the press sheet 22 including the document output from the A / D conversion circuit 27 based on the luminance data of the white reference plate 24 stored in the shading RAM 32 in advance. to correct. In this manner, the image data of the press sheet 22 including the original that has been subjected to the normal shading correction in the first shading correction circuit 28 is output to the image processing circuit 4.

一方、第2シェーディング補正回路29に対してもA/D変換回路27から原稿を含むプレスシート22の輝度データが出力されるが、原稿を含むプレスシート22の輝度データの全てが出力されるわけではなく、第2シェーディング補正回路29へは、間引き処理が施された原稿を含むプレスシート22の輝度データが出力されるようになっている。例えば、原稿の主走査方向に600dpiの解像度で読取った原稿を含むプレスシート22の輝度データがA/D変換回路27から第1シェーディング補正回路28へ出力されるような場合には、これに間引き処理が施された125dpi程度の原稿を含むプレスシート22の輝度データがA/D変換回路27から第2シェーディング補正回路29へと出力される。これは、原稿サイズを判定するためには、600dpiもの高精細なデータは必要なく、125dpi程度のデータがあれば十分だからである。ただし、高精細のデータを用いた場合、低精細のデータを用いた場合よりもより正確な原稿サイズを判定することが可能であるが、逆に処理に時間がかかるという問題が生じるので、これらのことを考慮して、原稿を含むプレスシート22の輝度データに対して間引く画素データの割合を決定するようにすればよい。したがって、シェーディング補正手段として機能する第2シェーディング補正回路29は、原稿を含むプレスシート22の輝度データに間引き処理を施したデータをシェーディング補正する。   On the other hand, the luminance data of the press sheet 22 including the original is also output from the A / D conversion circuit 27 to the second shading correction circuit 29, but all the luminance data of the press sheet 22 including the original is output. Instead, the brightness data of the press sheet 22 including the original subjected to the thinning process is output to the second shading correction circuit 29. For example, when the luminance data of the press sheet 22 including the original read at a resolution of 600 dpi in the main scanning direction of the original is output from the A / D conversion circuit 27 to the first shading correction circuit 28, this is thinned out. Luminance data of the press sheet 22 including the processed 125 dpi document is output from the A / D conversion circuit 27 to the second shading correction circuit 29. This is because high-definition data of 600 dpi is not necessary to determine the document size, and data of about 125 dpi is sufficient. However, when high-definition data is used, it is possible to determine a more accurate original size than when low-definition data is used. In consideration of this, the ratio of the pixel data to be thinned out with respect to the luminance data of the press sheet 22 including the original may be determined. Therefore, the second shading correction circuit 29 functioning as a shading correction means performs shading correction on the data obtained by thinning the luminance data of the press sheet 22 including the original.

図4の(a)は、フラットベッド読取部15のラインセンサ19が読取った原稿を含むプレスシート22の輝度データ(Image)とシェーディングRAM32から読み出した白基準板24の輝度データ(P)を1ライン(主走査ライン)について例示した図である。第2シェーディング補正回路29には、同図(a)の状態から同図(b)の状態となるように、シェーディングRAM32から読み出された白基準板24の輝度データを白側に所定量オフセットした基準データ(W)が入力される。そして、第2シェーディング補正回路29は、入力された基準データを基準にして原稿を含むプレスシート22の輝度データをシェーディング補正する。なお、第2シェーディング補正回路29は、原稿を含むプレスシート22の輝度データに対して1画素ずつ原稿サイズ判定用シェーディング補正を行うので、基準データは、1画素ずつ第2シェーディング補正回路29へ入力される。   FIG. 4A shows the luminance data (Image) of the press sheet 22 including the original read by the line sensor 19 of the flatbed reading unit 15 and the luminance data (P) of the white reference plate 24 read from the shading RAM 32. It is the figure illustrated about the line (main scanning line). In the second shading correction circuit 29, the luminance data of the white reference plate 24 read from the shading RAM 32 is offset by a predetermined amount to the white side so that the state shown in FIG. The reference data (W) is input. Then, the second shading correction circuit 29 performs shading correction on the luminance data of the press sheet 22 including the document with reference to the input reference data. The second shading correction circuit 29 performs shading correction for document size determination pixel by pixel on the luminance data of the press sheet 22 including the document, so that the reference data is input to the second shading correction circuit 29 pixel by pixel. Is done.

なお、図示しないが、原稿読取部3は、ASIC(Application Specific Integrated Circuit)等の専用回路によって構成されており、該ASICが備える演算処理回路によってA/D変換回路27から出力された原稿を含むプレスシート22の輝度データに対して間引き処理が施されたデータを第2シェーディング補正回路29へと出力したり、シェーディングRAM32に格納されている白基準板24の輝度データを白側に所定量オフセットしたデータを第2シェーディング補正回路29へと出力することが可能である。また、第2シェーディング補正回路29は、間引き処理が施された原稿を含むプレスシート22の輝度データを原稿サイズ判定用シェーディング補正するため、白側に所定量オフセットした白基準板24の輝度データの全てを第2シェーディング補正回路29へ入力する必要はない。したがって、第2シェーディング補正回路29へは、白側に所定量オフセットされた白基準板24の輝度データに対して、原稿を含むプレスシート22の輝度データと同じように間引き処理が施されたデータが入力されるようになっている。   Although not shown, the document reading unit 3 is configured by a dedicated circuit such as an ASIC (Application Specific Integrated Circuit) and includes a document output from the A / D conversion circuit 27 by an arithmetic processing circuit included in the ASIC. Data obtained by thinning the luminance data of the press sheet 22 is output to the second shading correction circuit 29, or the luminance data of the white reference plate 24 stored in the shading RAM 32 is offset by a predetermined amount to the white side. It is possible to output the processed data to the second shading correction circuit 29. Further, the second shading correction circuit 29 corrects the luminance data of the press sheet 22 including the original subjected to the thinning process, and corrects the luminance data of the white reference plate 24 offset by a predetermined amount to the white side in order to correct the shading correction for the original size. It is not necessary to input all to the second shading correction circuit 29. Therefore, the second shading correction circuit 29 is subjected to the thinning process on the luminance data of the white reference plate 24 offset by a predetermined amount on the white side in the same manner as the luminance data of the press sheet 22 including the original. Is entered.

図4の(c)は、第2シェーディング補正回路29によりシェーディング補正された後のデータを示した図である。2値化回路30は、このシェーディング補正後のデータを所定の閾値(Threshold)に基づいて2値化する処理を行う。図4の(d)は、2値化回路30が2値化したデータを示した図である。ここで、「1」の値を示すデータは、原稿サイズを判定するための処理が行われる前の輝度値を持つ元々の画素データが、プレスシート22の画像を読取って取得した画素データ(プレスシート領域の画素データ)であることを示しており、「1」の値を示すデータ群によって挟み込まれた「0」の値を示すデータは、原稿サイズを判定するための処理が行われる前の輝度値を持つ元々の画素データが、原稿の画像を読取って取得した画素データ(原稿領域の画素データ)であることを示している。判別回路31は、この2値化後のデータに基づいて原稿の縁を検出する。具体的には、2値化後のデータに基づいて、原稿を含むプレスシート22の輝度データを原稿領域の画素データと原稿領域外(プレスシート22)の画素データに判別する処理を行う。このようにして、判別回路31によって原稿を含むプレスシート22の輝度データを原稿領域の画素データとプレスシート領域の画素データとに判別する処理が行われると、その判別結果は、画像処理回路4へと出力される。   FIG. 4C shows the data after the shading correction by the second shading correction circuit 29. The binarization circuit 30 performs a process of binarizing the data after the shading correction based on a predetermined threshold (Threshold). FIG. 4D is a diagram illustrating data binarized by the binarization circuit 30. Here, the data indicating the value “1” is the pixel data (the press data obtained by reading the image of the press sheet 22 from the original pixel data having the luminance value before the process for determining the document size is performed. Sheet area pixel data), and data indicating a value of “0” sandwiched by a data group indicating a value of “1” is before the process for determining the document size is performed. This indicates that the original pixel data having a luminance value is pixel data (original area pixel data) obtained by reading an image of the original. The discriminating circuit 31 detects the edge of the document based on the binarized data. More specifically, based on the binarized data, the luminance data of the press sheet 22 including the original is discriminated into pixel data in the original area and pixel data outside the original area (press sheet 22). In this way, when the discrimination circuit 31 performs the process of discriminating the luminance data of the press sheet 22 including the original into the pixel data of the original area and the pixel data of the press sheet area, the result of the determination is the image processing circuit 4. Is output.

画像処理回路4は、第1シェーディング補正回路28において通常シェーディング補正された原稿を含むプレスシート22の画像データと、判別回路31からの判別結果とが入力されると、入力された判別結果に基づいて、入力された原稿を含むプレスシート22の画像データのうち、必要なデータに対してのみ画像処理を行う。すなわち、原稿を含むプレスシート22の画像データのうちの原稿領域の画素データについてのみ拡大/縮小の変倍処理等の画像処理を行う。このようにして画像処理回路4において必要な画像処理が施された画素データからなる原稿の画像データは、ページメモリ5に格納される。そして、ページメモリ5に格納された原稿の画像データは、図示していないが、コーデック6において所定の符号化方式で符号化された後に画像メモリ7に一旦格納され、記録部8の処理動作に合わせて順次読み出されるとともにコーデック6において復号され、記録部8においてその画像が用紙に記録される。   When the image data of the press sheet 22 including the original that has been subjected to the normal shading correction by the first shading correction circuit 28 and the determination result from the determination circuit 31 are input, the image processing circuit 4 is based on the input determination result. Thus, image processing is performed only on necessary data among the image data of the press sheet 22 including the input original. That is, image processing such as enlargement / reduction scaling processing is performed only on pixel data in the document area of the image data of the press sheet 22 including the document. Image data of a document composed of pixel data that has been subjected to necessary image processing in the image processing circuit 4 in this manner is stored in the page memory 5. Although not shown, the original image data stored in the page memory 5 is encoded by the codec 6 using a predetermined encoding method and then temporarily stored in the image memory 7 for processing operation of the recording unit 8. These are sequentially read out and decoded by the codec 6, and the image is recorded on the paper in the recording unit 8.

以上説明したように、画像読取装置1によれば、第2シェーディング補正回路29、2値化回路30、及び判別回路31の処理により、原稿を含むプレスシート22の輝度データを構成する画素データを、原稿領域の画素データと原稿領域外の画素データとに判別することができ、これにより正確な原稿サイズを検出することが可能である。また、これらの各部29乃至31において行われる処理は、原稿を含むプレスシート22の輝度データ全てに対して行われるわけではなく、間引き処理が施されたデータに対して行われるので、全てのデータを用いて原稿の縁を検出する処理を行う場合に比べて、その処理を高速で行うことができ、また、原稿の縁を検出するための上記の各部29乃至31等が処理を実行するために必要な電力(消費電力)を削減することができるという利点がある。また、第1シェーディング補正回路28による通常シェーディング補正と、第2シェーディング補正回路29による原稿サイズ判定用シェーディング補正と、が並行して行われるので、原稿サイズを判定するために原稿の本読取り前に予備走査(プレスキャン)を行う必要がないという利点がある。   As described above, according to the image reading apparatus 1, the pixel data constituting the luminance data of the press sheet 22 including the document is processed by the processing of the second shading correction circuit 29, the binarization circuit 30, and the determination circuit 31. Therefore, it is possible to discriminate between pixel data in the document area and pixel data outside the document area, and thereby an accurate document size can be detected. Further, the processing performed in each of these units 29 to 31 is not performed on all the luminance data of the press sheet 22 including the original, but is performed on the data subjected to the thinning processing, and therefore all the data The processing can be performed at a higher speed than the processing for detecting the edge of the document using the above, and the above-described units 29 to 31 for detecting the edge of the document execute the processing. There is an advantage that the electric power (power consumption) required for the operation can be reduced. Further, since the normal shading correction by the first shading correction circuit 28 and the shading correction for document size determination by the second shading correction circuit 29 are performed in parallel, before the actual reading of the document to determine the document size. There is an advantage that it is not necessary to perform a pre-scan.

次に、本発明の第2の実施形態に係る画像読取装置1Aについて説明する。この第2の実施形態においては、プレスシート22の輝度データを基準にして原稿を含むプレスシートの輝度データをシェーディング補正(原稿サイズ判定用シェーディング補正)する場合について説明する。なお、この画像読取装置1Aの全体の構成及び原稿読取部3Aの一部の構成は、図1及び図3に示した第1の実施形態に係る画像読取装置1と同一であるため、同一の構成のものには同一番号を付けてその説明を省略し、主に異なる点(原稿読取部の構成)について以下で説明する。   Next, an image reading apparatus 1A according to a second embodiment of the present invention will be described. In the second embodiment, a case will be described in which the brightness data of a press sheet including a document is subjected to shading correction (shading correction for document size determination) based on the brightness data of the press sheet 22. The overall configuration of the image reading apparatus 1A and the partial configuration of the document reading unit 3A are the same as those of the image reading apparatus 1 according to the first embodiment shown in FIGS. Components having the same numbers are assigned the same reference numerals, and descriptions thereof are omitted. Mainly different points (configuration of the document reading unit) will be described below.

図5は、本発明の第2の実施形態に係る画像読取装置1Aにおける原稿読取部3Aの構成を示すブロック図である。図示するように、原稿読取部3Aは、図3に示す画像読取装置1の原稿読取部3に対して、第2シェーディング補正回路29にシェーディングRAM40が設けられている点で異なっている。このシェーディングRAM40には、第2シェーディング補正回路29が原稿サイズ判定用シェーディング補正を行う際に基準として用いるプレスシート22の輝度データが格納されている。このプレスシート22の輝度データは、フラットベッド読取部15のラインセンサ19が、原稿載置板16に原稿が載置されていない状態、又は原稿が載置されていない領域において、プレスシート22の画像を読取って取得した主走査方向に1ラインのデータである。すなわち、原稿を含まないプレスシート22の輝度データである。   FIG. 5 is a block diagram showing a configuration of the document reading unit 3A in the image reading apparatus 1A according to the second embodiment of the present invention. As illustrated, the document reading unit 3A is different from the document reading unit 3 of the image reading apparatus 1 illustrated in FIG. 3 in that a shading RAM 40 is provided in the second shading correction circuit 29. The shading RAM 40 stores brightness data of the press sheet 22 used as a reference when the second shading correction circuit 29 performs shading correction for document size determination. The brightness data of the press sheet 22 is obtained when the line sensor 19 of the flat bed reading unit 15 is in a state where no original is placed on the original placement plate 16 or in an area where no original is placed. One line of data in the main scanning direction obtained by reading an image. That is, the brightness data of the press sheet 22 that does not include a document.

第2シェーディング補正回路29は、ここでは、シェーディングRAM32に格納されている白基準板24の輝度データではなく、このシェーディングRAM40に格納されているプレスシート22の輝度データを基準にして、入力される原稿を含むプレスシート22の輝度データをシェーディング補正するシェーディング補正手段として機能する。なお、上記の通り、第2シェーディング補正回路29には、原稿を含むプレスシート22の輝度データが全て入力されるわけではなく、一部の画素データが間引かれた原稿を含むプレスシート22の輝度データが入力されるので、シェーディングRAM40には、原稿を含むプレスシート22の輝度データに対して行われる間引き処理と同じ間引き処理が施されたプレスシート22の輝度データが格納されるようになっている。   Here, the second shading correction circuit 29 is input based on the luminance data of the press sheet 22 stored in the shading RAM 40, not the luminance data of the white reference plate 24 stored in the shading RAM 32. It functions as a shading correction means for correcting the shading of the luminance data of the press sheet 22 including the original. As described above, not all the luminance data of the press sheet 22 including the original is input to the second shading correction circuit 29, but the press sheet 22 including the original with a part of the pixel data thinned out. Since the luminance data is input, the shading RAM 40 stores the luminance data of the press sheet 22 that has been subjected to the same thinning process as the thinning process performed on the luminance data of the press sheet 22 including the document. ing.

図6の(a)は、フラットベッド読取部15のラインセンサ19が読取った原稿を含むプレスシート22の輝度データ(Image)とシェーディングRAM40から読み出したプレスシート22の輝度データ(S)を1ライン(主走査ライン)について例示した図である。上記の第1の実施形態に係る画像読取装置1の第2シェーディング補正回路29と同様に、間引き処理が施された原稿を含むプレスシート22の輝度データが入力されると、第2シェーディング補正回路29は、図示するプレスシート22の輝度データをシェーディングRAM40から読み出し、読み出したプレスシート22の輝度データを基準にして原稿を含むプレスシート22の輝度データを(原稿サイズ判定用)シェーディング補正する。同図(b)は、シェーディング補正後のデータを示した図である。2値化回路30は、このシェーディング補正後のデータを所定の閾値(Threshold)に基づいて2値化する。同図(c)は、2値化回路30が2値化したデータを示した図である。ここで、「1」の値を示すデータは、図4の(d)と同様に、プレスシート領域の画素データであることを示しており、「1」の値を示すデータ群によって挟み込まれた「0」の値を示すデータは、原稿領域の画素データであることを示している。判別回路31は、この2値化後のデータに基づいて原稿の縁を検出する。具体的には、原稿を含むプレスシート22の輝度データを、原稿領域の画素データと原稿領域外の画素データとに判別する処理を行う。   6A shows one line of luminance data (Image) of the press sheet 22 including the original read by the line sensor 19 of the flatbed reading unit 15 and luminance data (S) of the press sheet 22 read from the shading RAM 40. FIG. It is the figure illustrated about (main scanning line). Similar to the second shading correction circuit 29 of the image reading apparatus 1 according to the first embodiment described above, when the luminance data of the press sheet 22 including the thinned document is input, the second shading correction circuit 29 reads out the luminance data of the illustrated press sheet 22 from the shading RAM 40, and performs shading correction on the luminance data of the press sheet 22 including the original (for original size determination) with reference to the read luminance data of the press sheet 22. FIG. 5B shows the data after shading correction. The binarization circuit 30 binarizes the data after the shading correction based on a predetermined threshold (Threshold). FIG. 4C shows data binarized by the binarization circuit 30. FIG. Here, the data indicating the value of “1” indicates the pixel data of the press sheet area as in FIG. 4D, and is sandwiched between the data groups indicating the value of “1”. Data indicating a value of “0” indicates pixel data of the document area. The discriminating circuit 31 detects the edge of the document based on the binarized data. Specifically, a process is performed for determining the luminance data of the press sheet 22 including the original into pixel data in the original area and pixel data outside the original area.

以上説明したように、第2の実施形態に係る画像読取装置1Bによれば、白基準板24の輝度データではなく、プレスシート22の輝度データを用いて原稿サイズ判定用シェーディング補正を行うことができる。なお、ここで、第2シェーディング補正回路29が原稿サイズ判定用のシェーディング補正を行ったシェーディング補正後のデータを2値化回路30が2値化し、2値化後のデータに基づいて判別回路31が原稿の縁を検出する場合について説明したが、原稿サイズ判定用のシェーディング補正を行うことなく原稿の縁を検出することも可能である。   As described above, according to the image reading apparatus 1B according to the second embodiment, the shading correction for document size determination can be performed using the brightness data of the press sheet 22 instead of the brightness data of the white reference plate 24. it can. Here, the binarization circuit 30 binarizes the data after shading correction performed by the second shading correction circuit 29 for shading correction for document size determination, and the discrimination circuit 31 is based on the binarized data. However, it is also possible to detect the edge of the document without performing shading correction for determining the document size.

以下、読取った原稿を含むプレスシート22の輝度データに対して、原稿サイズ判定用のシェーディング補正を行うことなく原稿の縁を検出する本発明の第3の実施形態に係る画像読取装置1Bについて説明する。なお、この画像読取装置1Bの全体の構成及び原稿読取部3Bの一部の構成は、図1に示した第1の実施形態に係る画像読取装置1と同一であるため、同一の構成のものには同一番号を付けてその説明を省略し、主に異なる点(原稿読取部の構成)について以下で説明する。   Hereinafter, an image reading apparatus 1B according to a third embodiment of the present invention that detects the edge of a document without performing shading correction for document size determination on luminance data of the press sheet 22 including the read document will be described. To do. The entire configuration of the image reading apparatus 1B and the partial configuration of the document reading unit 3B are the same as those of the image reading apparatus 1 according to the first embodiment shown in FIG. The same reference numerals are assigned to the components, and the description thereof is omitted. Mainly different points (configuration of the document reading unit) will be described below.

図7は、本発明の第3の実施形態に係る画像読取装置1Bにおける原稿読取部3Bの構成を示すブロック図である。図示するように、原稿読取部3Bは、図3に示す画像読取装置1の原稿読取部3に対して、シェーディング補正を行うための回路として、第2シェーディング補正回路29が設けられておらず、シェーディング補正回路41(第1シェーディング補正回路28)のみが設けられている点で異なっている。シェーディング補正回路41は、第1シェーディング補正回路28と同様に、シェーディングRAM42(シェーディングRAM32)を具備しており、白基準板24の輝度データが格納されている。   FIG. 7 is a block diagram showing the configuration of the document reading unit 3B in the image reading apparatus 1B according to the third embodiment of the present invention. As shown in the figure, the document reading unit 3B is not provided with a second shading correction circuit 29 as a circuit for performing shading correction on the document reading unit 3 of the image reading apparatus 1 shown in FIG. The difference is that only the shading correction circuit 41 (first shading correction circuit 28) is provided. Similar to the first shading correction circuit 28, the shading correction circuit 41 includes a shading RAM 42 (shading RAM 32), in which luminance data of the white reference plate 24 is stored.

また、2値化回路30は、ここでは、白基準板24の輝度データを白側にオフセットした閾値データにより原稿を含むプレスシート22の輝度データを2値化する2値化手段として機能し、判別回路31は、2値化回路30が2値化した2値化処理後のデータに基づいて原稿の縁を検出する検出手段として機能する。   In addition, the binarization circuit 30 functions as binarization means for binarizing the luminance data of the press sheet 22 including the original by using threshold data obtained by offsetting the luminance data of the white reference plate 24 to the white side. The discriminating circuit 31 functions as detection means for detecting the edge of the document based on the binarized data binarized by the binarizing circuit 30.

なお、シェーディング補正回路41と2値化回路30へは、A/D変換回路27から出力された原稿を含むプレスシート22の輝度データが同時に出力されるようになっており、シェーディング補正回路41は、2値化手段(2値化回路30)による処理と並行して、白基準板24の輝度データを基準にして原稿を含むプレスシート22の輝度データをシェーディング補正する手段として機能する。また、2値化回路30には、第1の実施形態における第2シェーディング補正回路29と同様に、間引き処理が施された原稿を含むプレスシート22の輝度データが入力されるようになっている。したがって、2値化回路30は、原稿を含むプレスシート22の輝度データに間引き処理を施したデータを2値化する。   Note that the luminance data of the press sheet 22 including the document output from the A / D conversion circuit 27 is output to the shading correction circuit 41 and the binarization circuit 30 at the same time. In parallel with the processing by the binarization means (binarization circuit 30), it functions as a means for shading correction of the luminance data of the press sheet 22 including the original with reference to the luminance data of the white reference plate 24. Similarly to the second shading correction circuit 29 in the first embodiment, the binarization circuit 30 is input with the luminance data of the press sheet 22 including the original subjected to the thinning process. . Therefore, the binarization circuit 30 binarizes the data obtained by thinning the luminance data of the press sheet 22 including the original.

原稿読取部3Bにおいても、A/D変換回路27においてA/D変換された原稿を含むプレスシート22の輝度データは、シェーディング補正回路41と2値化回路30へ同時に出力される。シェーディング補正回路41は、前記第1シェーディング補正回路28と同様に、入力された原稿を含むプレスシート22の輝度データに対して、通常シェーディング補正を行ってシェーディング補正後の画像データを画像処理回路4へと出力する。   Also in the document reading unit 3B, the luminance data of the press sheet 22 including the document A / D converted by the A / D conversion circuit 27 is simultaneously output to the shading correction circuit 41 and the binarization circuit 30. Similar to the first shading correction circuit 28, the shading correction circuit 41 performs normal shading correction on the luminance data of the press sheet 22 including the input original, and the image data after the shading correction is converted into the image processing circuit 4. To output.

図8の(a)は、フラットベッド読取部15のラインセンサ19が読取った原稿を含むプレスシート22の輝度データ(Image)とシェーディングRAM42から読み出した白基準板24の輝度データ(P)を1ライン(主走査ライン)について例示した図である。原稿読取部3Bは、同図(a)の状態から同図(b)の状態となるように、白基準板24の輝度データを白側にオフセットして2値化処理を行うための閾値データ(T)を生成し、間引き処理を行い、2値化回路30へと入力する。そして、2値化回路30は、入力された閾値データにより原稿を含むプレスシート22の輝度データを2値化する。図8の(c)は、2値化回路30が2値化したデータを示した図である。ここで、「1」の値を示すデータは、図4の(d)と同様に、プレスシート領域の画素データであることを示しており、「1」の値を示すデータ群によって挟み込まれた「0」の値を示すデータは、原稿領域の画素データであることを示している。判別回路31は、この2値化後のデータに基づいて原稿の縁を検出する。具体的には、原稿を含むプレスシート22の輝度データを、原稿領域の画素データと原稿領域外の画素データとに判別する処理を行う。   FIG. 8A shows the luminance data (Image) of the press sheet 22 including the original read by the line sensor 19 of the flatbed reading unit 15 and the luminance data (P) of the white reference plate 24 read from the shading RAM 42 as 1. It is the figure illustrated about the line (main scanning line). The document reading unit 3B offsets the luminance data of the white reference plate 24 to the white side and performs binarization processing so that the state shown in FIG. (T) is generated, thinned out, and input to the binarization circuit 30. Then, the binarization circuit 30 binarizes the luminance data of the press sheet 22 including the document based on the input threshold data. FIG. 8C is a diagram illustrating data binarized by the binarization circuit 30. Here, the data indicating the value of “1” indicates the pixel data of the press sheet area as in FIG. 4D, and is sandwiched between the data groups indicating the value of “1”. Data indicating a value of “0” indicates pixel data of the document area. The discriminating circuit 31 detects the edge of the document based on the binarized data. Specifically, a process is performed for determining the luminance data of the press sheet 22 including the original into pixel data in the original area and pixel data outside the original area.

以上説明したように、第3の実施形態に係る画像読取装置1Bによれば、原稿サイズ判定用シェーディング補正を行うことなく原稿サイズを判定することができる。なお、ここでは2値化回路30がシェーディングRAM42に格納されている白基準板24の輝度データを白側にオフセットした閾値データにより原稿を含むプレスシート22の輝度データを2値化し、2値化後のデータに基づいて判別回路31が原稿の縁を検出する場合について説明したが、プレスシート22の輝度データを黒側にオフセットした閾値データにより原稿を含むプレスシート22の輝度データを2値化するようにしてもよい。   As described above, according to the image reading apparatus 1B according to the third embodiment, the document size can be determined without performing the document size determination shading correction. Here, the binarization circuit 30 binarizes and binarizes the luminance data of the press sheet 22 including the original with threshold data obtained by offsetting the luminance data of the white reference plate 24 stored in the shading RAM 42 to the white side. The case where the discrimination circuit 31 detects the edge of the document based on the later data has been described, but the brightness data of the press sheet 22 including the document is binarized by threshold data obtained by offsetting the brightness data of the press sheet 22 to the black side. You may make it do.

以下、プレスシート22の輝度データを黒側にオフセットした閾値データにより原稿を含むプレスシート22の輝度データを2値化し、2値化後のデータに基づいて原稿の縁を検出する本発明の第4の実施形態に係る画像読取装置1Cについて説明する。なお、この画像読取装置1Cの全体の構成及び原稿読取部3Cの一部の構成は、図1及び図3に示した第1の実施形態に係る画像読取装置1と同一であるため、同一の構成のものには同一番号を付けてその説明を省略し、主に異なる点(原稿読取部の構成)について以下で説明する。   Hereinafter, the luminance data of the press sheet 22 including the original is binarized by threshold data obtained by offsetting the luminance data of the press sheet 22 to the black side, and the edge of the original is detected based on the binarized data. An image reading apparatus 1C according to the fourth embodiment will be described. The entire configuration of the image reading apparatus 1C and the partial configuration of the document reading unit 3C are the same as those of the image reading apparatus 1 according to the first embodiment shown in FIGS. Components having the same numbers are assigned the same reference numerals, and descriptions thereof are omitted. Mainly different points (configuration of the document reading unit) will be described below.

図9は、本発明の第4の実施形態に係る画像読取装置1Cにおける原稿読取部3Cの構成を示すブロック図である。図示するように、原稿読取部3Cは、図3に示す画像読取装置1の原稿読取部3に対して、シェーディング補正を行うための回路として、第2シェーディング補正回路29が設けられておらず、シェーディング補正回路41(第1シェーディング補正回路28)のみが設けられている点で異なっている。シェーディング補正回路41は、第1シェーディング補正回路28と同様に、シェーディングRAM42(シェーディングRAM32)を具備している。   FIG. 9 is a block diagram showing the configuration of the document reading unit 3C in the image reading apparatus 1C according to the fourth embodiment of the present invention. As shown in the figure, the document reading unit 3C is not provided with a second shading correction circuit 29 as a circuit for performing shading correction on the document reading unit 3 of the image reading apparatus 1 shown in FIG. The difference is that only the shading correction circuit 41 (first shading correction circuit 28) is provided. As with the first shading correction circuit 28, the shading correction circuit 41 includes a shading RAM 42 (shading RAM 32).

また、2値化回路30は、ここでは、プレスシート22の輝度データを黒側にオフセットした閾値データにより原稿を含むプレスシート22の輝度データを2値化する2値化手段として機能し、判別回路31は、2値化回路30が2値化処理した2値化処理後のデータに基づいて原稿の縁を検出する検出手段として機能する。なお、2値化回路30は、ここではレジスタ43を具備しており、該レジスタ43には、プレスシート22の輝度データに基づいて生成された閾値データが格納されている。ここで、閾値データは、具体的にはフラットベッド読取部15が原稿載置板16に原稿が載置されていない状態で、又は原稿を除く領域において、プレスシート22の画像を読取って得た主走査方向に1ラインのデータを黒側にオフセットしたものである。なお、2値化回路30には、本発明の第3の実施形態において説明した2値化回路30と同様に、間引き処理が施された原稿を含むプレスシート22の輝度データが入力されるため、上記のオフセット後に、これと同じように間引き処理が施されたデータが閾値データとしてレジスタ43に格納される。   In addition, the binarization circuit 30 functions as a binarization unit that binarizes the luminance data of the press sheet 22 including the original by using threshold data obtained by offsetting the luminance data of the press sheet 22 to the black side. The circuit 31 functions as a detection unit that detects the edge of the document based on the binarized data obtained by the binarization circuit 30. Here, the binarization circuit 30 includes a register 43, and threshold data generated based on the luminance data of the press sheet 22 is stored in the register 43. Here, the threshold data is specifically obtained by reading the image of the press sheet 22 when the flatbed reading unit 15 does not place a document on the document placing plate 16 or in an area excluding the document. One line of data is offset to the black side in the main scanning direction. Since the binarization circuit 30 receives the luminance data of the press sheet 22 including the original subjected to the thinning-out process, as in the binarization circuit 30 described in the third embodiment of the present invention. After the above-described offset, the data subjected to the thinning process in the same manner as this is stored in the register 43 as threshold data.

原稿読取部3Cにおいても、A/D変換回路27においてA/D変換された原稿を含むプレスシート22の輝度データは、シェーディング補正回路41と2値化回路30へ同時に出力される。シェーディング補正回路41は、前記第1シェーディング補正回路28と同様に、入力された原稿を含むプレスシート22の輝度データに対して、通常シェーディング補正を行ってシェーディング補正後の画像データを画像処理回路4へと出力する。   Also in the document reading unit 3C, the luminance data of the press sheet 22 including the document A / D converted by the A / D conversion circuit 27 is simultaneously output to the shading correction circuit 41 and the binarization circuit 30. Similar to the first shading correction circuit 28, the shading correction circuit 41 performs normal shading correction on the luminance data of the press sheet 22 including the input original, and the image data after the shading correction is converted into the image processing circuit 4. To output.

図10の(a)は、フラットベッド読取部15のラインセンサ19が読取った原稿を含むプレスシート22の輝度データ(Image)と黒側にオフセットする前のプレスシート22の輝度データ(S)を1ラインについて例示した図である。原稿読取部3Cは、同図(a)から同図(b)の状態となるようにプレスシート22の輝度データを黒側にオフセットして2値化処理を行うための閾値データを生成し、間引き処理を行ってこれをレジスタ43に予め格納している。2値化回路30は、レジスタ43に格納されている閾値データに基づいて原稿を含むプレスシート22の輝度データを2値化する。同図(c)は、2値化回路30が2値化したデータを示した図である。ここで、「1」の値を示すデータは、図4の(d)と同様に、プレスシート領域の画素データであることを示しており、「1」の値を示すデータ群によって挟み込まれた「0」の値を示すデータは、原稿領域の画素データであることを示している。判別回路31は、この2値化後のデータに基づいて原稿の縁を検出する。具体的には、原稿を含むプレスシート22の輝度データを原稿領域の画素データと原稿領域外の画素データとに判別する処理を行う。   FIG. 10A shows luminance data (Image) of the press sheet 22 including the original read by the line sensor 19 of the flat bed reading unit 15 and luminance data (S) of the press sheet 22 before being offset to the black side. It is the figure illustrated about one line. The document reading unit 3C generates threshold data for performing binarization processing by offsetting the luminance data of the press sheet 22 to the black side so that the state shown in FIG. The thinning process is performed and stored in the register 43 in advance. The binarization circuit 30 binarizes the luminance data of the press sheet 22 including the original based on the threshold data stored in the register 43. FIG. 4C shows data binarized by the binarization circuit 30. FIG. Here, the data indicating the value of “1” indicates the pixel data of the press sheet area as in FIG. 4D, and is sandwiched between the data groups indicating the value of “1”. Data indicating a value of “0” indicates pixel data of the document area. The discriminating circuit 31 detects the edge of the document based on the binarized data. More specifically, a process for determining the luminance data of the press sheet 22 including the document into pixel data in the document area and pixel data outside the document area is performed.

以上説明した画像読取装置1乃至1Cによれば、原稿領域の画素データと原稿領域外の画素データとを判別して原稿サイズを判定する処理を行うので、原稿載置板16に原稿が斜めに載置されていたり、また載置された原稿が定形サイズの原稿でなかったとしても、その正確な原稿サイズを判定することができる。また、原稿を押圧するプレスシート22の表面が白基準板24よりも拡散反射率が高い材料で構成されているため、従来の画像読取装置のように、縁が黒ベタとなっている原稿を読取った場合に、原稿の画素データとプレスシート22の画素データを区別できないおそれがあるといった問題が生じることはない。また、上記の通り、原稿を含むプレスシート22の輝度データをシェーディング補正した後に2値化処理して原稿サイズを判定すること、及びシェーディング補正を行うことなく2値化処理して原稿サイズを判定することのいずれの方法でも正確な原稿サイズを判定することができるが、前者の場合、2値化処理で使用する閾値に一定(所定)の値を用いることができるので、2値化処理が簡単に行えるという利点がある。   According to the image reading apparatuses 1 to 1C described above, the document size is determined by discriminating the pixel data in the document area and the pixel data outside the document area, so that the document is inclined on the document placement plate 16. Even if the document is placed or the placed document is not a standard size document, the exact document size can be determined. Further, since the surface of the press sheet 22 that presses the document is made of a material having a diffuse reflectance higher than that of the white reference plate 24, a document having a solid black edge as in a conventional image reading apparatus is used. When read, there is no problem that the pixel data of the document and the pixel data of the press sheet 22 may not be distinguished. In addition, as described above, the luminance data of the press sheet 22 including the original is subjected to shading correction, and then binarized to determine the original size, and binarized without performing shading correction to determine the original size. However, in the former case, a constant (predetermined) value can be used as the threshold value used in the binarization process. It has the advantage of being easy to do.

なお、フラットベッド読取部15のラインセンサ19が読取った白基準板24の輝度データやプレスシート22の輝度データにはノイズが含まれており、このノイズが含まれた状態の輝度データを使用して閾値データを生成した場合、原稿領域の画素データと原稿領域外の画素データとを正確に判別することができないおそれがある。そのため、本実施形態に係る画像読取装置1乃至1Cでは、複数回の読取りによる平均値や、周辺の画素データとの平均をとること等により補正された輝度データがシェーディングRAM32(42)に格納され使用されるようになっている。したがって、2値化回路30は、原稿領域の画素データと原稿領域外の画素データとを正確に判別するための2値化処理を行うことが可能である。   Note that the luminance data of the white reference plate 24 and the luminance data of the press sheet 22 read by the line sensor 19 of the flat bed reading unit 15 include noise, and the luminance data in a state including this noise is used. If the threshold data is generated, there is a possibility that the pixel data in the original area and the pixel data outside the original area cannot be accurately determined. Therefore, in the image reading apparatuses 1 to 1C according to the present embodiment, the luminance data corrected by taking an average value obtained by a plurality of readings and averaging with surrounding pixel data is stored in the shading RAM 32 (42). It has come to be used. Therefore, the binarization circuit 30 can perform binarization processing for accurately discriminating between pixel data in the document area and pixel data outside the document area.

また、本実施形態では、読取った原稿を含むプレスシート22の輝度データに対して通常シェーディング補正を行う処理と、原稿の縁を検出するための処理を並行して行う場合について説明したが、原稿の縁を検出して原稿サイズを判定する処理を予備走査(プレスキャン)において行い、予備走査での判別結果に基づいて原稿の本読取りを行うようにしてもよい。具体的には、原稿の予備走査を行って得た原稿を含むプレスシート22の輝度データを原稿の画素データとプレスシート22の画素データを判別する処理を行い、原稿の画素データであると判別した画素データによって構成される領域を原稿領域と判断して該原稿領域のみに対して本読取りを行う。   Further, in the present embodiment, the case where the processing for performing the normal shading correction on the luminance data of the press sheet 22 including the read document and the processing for detecting the edge of the document are performed in parallel has been described. The process of detecting the edge of the document and determining the document size may be performed in the preliminary scan (pre-scan), and the original document may be read based on the determination result in the preliminary scan. Specifically, the luminance data of the press sheet 22 including the original obtained by performing the preliminary scanning of the original is subjected to a process of discriminating the pixel data of the original and the pixel data of the press sheet 22, and is determined to be the pixel data of the original. The area constituted by the pixel data is determined as the original area, and the main reading is performed only on the original area.

また、本実施の形態で示した画像読取装置1乃至1Cの構成は、本発明に係る画像読取装置の一態様にすぎず、本発明の要旨を逸脱しない範囲内で適宜設計変更できることは勿論であり、例えば、コピー装置、ファクシミリ装置、スキャナ装置、及びこれらの複合機としても実現可能である。   The configuration of the image reading apparatuses 1 to 1C shown in the present embodiment is only one aspect of the image reading apparatus according to the present invention, and it is needless to say that the design can be changed as appropriate without departing from the gist of the present invention. For example, the present invention can be realized as a copying apparatus, a facsimile apparatus, a scanner apparatus, and a complex machine thereof.

本発明は、例えば、原稿載置板に載置された原稿の輝度データを読取るフラットベッドスキャナを備えた各種装置に適用可能である。   The present invention is applicable, for example, to various apparatuses including a flatbed scanner that reads luminance data of a document placed on a document placement plate.

本発明の第1の実施形態に係る画像読取装置の構成例を示したブロック図である。1 is a block diagram illustrating a configuration example of an image reading apparatus according to a first embodiment of the present invention. フラットベッド読取部及び該読取部が備える原稿載置板に対して開閉可能に設けられた原稿押圧部材に貼設されているプレスシートについて説明するための概略斜視図である。FIG. 4 is a schematic perspective view for explaining a flat sheet reading unit and a press sheet attached to a document pressing member provided to be openable and closable with respect to a document placing plate included in the reading unit. 本発明の第1の実施形態に係る画像読取装置における原稿読取部の構成を示したブロック図である。FIG. 2 is a block diagram illustrating a configuration of a document reading unit in the image reading apparatus according to the first embodiment of the present invention. 本発明の第1の実施形態に係る画像読取装置において行われる原稿サイズを判定するための原稿サイズ判定用シェーディング補正、2値化処理等について説明するための図である。FIG. 5 is a diagram for explaining document size determination shading correction and binarization processing for determining the document size performed in the image reading apparatus according to the first embodiment of the present invention. 本発明の第2の実施形態に係る画像読取装置における原稿読取部の構成を示したブロック図である。FIG. 6 is a block diagram illustrating a configuration of a document reading unit in an image reading apparatus according to a second embodiment of the present invention. 本発明の第2の実施形態に係る画像読取装置において行われる原稿サイズを判定するための原稿サイズ判定用シェーディング補正、2値化処理等について説明するための図である。FIG. 10 is a diagram for describing document size determination shading correction and binarization processing for determining a document size performed in an image reading apparatus according to a second embodiment of the present invention. 本発明の第3の実施形態に係る画像読取装置における原稿読取部の構成を示したブロック図である。FIG. 10 is a block diagram illustrating a configuration of a document reading unit in an image reading apparatus according to a third embodiment of the present invention. 本発明の第3の実施形態に係る画像読取装置において行われる原稿サイズを判定するための2値化処理等について説明するための図である。FIG. 10 is a diagram for explaining binarization processing and the like for determining a document size performed in an image reading apparatus according to a third embodiment of the present invention. 本発明の第4の実施形態に係る画像読取装置における原稿読取部の構成を示したブロック図である。FIG. 10 is a block diagram illustrating a configuration of a document reading unit in an image reading apparatus according to a fourth embodiment of the present invention. 本発明の第4の実施形態に係る画像読取装置において行われる原稿サイズを判定するための2値化処理等について説明するための図である。FIG. 10 is a diagram for explaining binarization processing and the like for determining a document size performed in an image reading apparatus according to a fourth embodiment of the present invention. 従来の画像読取装置の原稿読取部の構成を示した概略断面図である。FIG. 10 is a schematic cross-sectional view illustrating a configuration of a document reading unit of a conventional image reading apparatus. 従来の画像読取装置において行われる原稿サイズの判定処理について説明するための図である。FIG. 10 is a diagram for explaining document size determination processing performed in a conventional image reading apparatus.

符号の説明Explanation of symbols

1、1A、1B、1C 画像読取装置
2 制御部(MPU)
3、3A、3B、3C 原稿読取部
4 画像処理回路
15 フラットベッド読取部
16 原稿載置板
19 ラインセンサ
22 プレスシート
24 白基準板
28 第1シェーディング補正回路
29 第2シェーディング補正回路
30 2値化回路
31 判別回路
32、40、42 シェーディングRAM
41 シェーディング補正回路
43 レジスタ
1, 1A, 1B, 1C Image reading device 2 Control unit (MPU)
3, 3A, 3B, 3C Document reading unit 4 Image processing circuit 15 Flatbed reading unit 16 Document placing plate 19 Line sensor 22 Press sheet 24 White reference plate 28 First shading correction circuit 29 Second shading correction circuit 30 Binary Circuit 31 Discriminating circuit 32, 40, 42 Shading RAM
41 Shading correction circuit 43 Register

Claims (4)

白基準板の輝度データを基準にして、読取った原稿の輝度データをシェーディング補正する画像読取装置において、
原稿載置板に載置された原稿が前記白基準板よりも拡散反射率が高いプレスシートにより前記原稿載置板へ押圧された状態で前記原稿を含む前記プレスシートの輝度データを読取る読取手段と、プレスシートの輝度データを基準にして前記原稿を含むプレスシートの輝度データをシェーディング補正するシェーディング補正手段と、プレスシートのシェーディング補正後の輝度値より低い一定の閾値データにより、シェーディング補正後の前記原稿を含むプレスシートの輝度データを2値化する2値化手段と、2値化後のデータに基づいて前記原稿の縁を検出する検出手段と、を備えることを特徴とする画像読取装置。
In an image reading apparatus that performs shading correction on luminance data of a read document with reference to luminance data of a white reference plate,
Reading means for reading luminance data of the press sheet including the original while the original placed on the original placement plate is pressed against the original placement plate by a press sheet having a diffuse reflectance higher than that of the white reference plate The shading correction means for shading correction of the brightness data of the press sheet including the original document with reference to the brightness data of the press sheet, and constant threshold data lower than the brightness value after the shading correction of the press sheet, after the shading correction An image reading apparatus comprising: binarizing means for binarizing luminance data of a press sheet including the original; and detecting means for detecting an edge of the original based on the binarized data. .
前記シェーディング補正手段による処理と並行して、前記白基準板の輝度データを基準にして前記原稿を含むプレスシートの輝度データをシェーディング補正する手段を備えることを特徴とする請求項1記載の画像読取装置。 The image reading apparatus according to claim 1, further comprising means for correcting shading of luminance data of a press sheet including the original with reference to luminance data of the white reference plate in parallel with processing by the shading correction unit. apparatus. 前記シェーディング補正手段は、前記原稿を含むプレスシートの輝度データに間引き処理を施したデータをシェーディング補正することを特徴とする請求項2記載の画像読取装置。 The image reading apparatus according to claim 2, wherein the shading correction unit performs shading correction on data obtained by performing a thinning process on luminance data of a press sheet including the original . 前記原稿を含むプレスシートの輝度データのうち、前記検出手段が検出した前記原稿の縁によって囲まれた画素データからなる輝度データに対して画像処理を行う手段を備えることを特徴とする請求項1乃至3のいずれか1に記載の画像読取装置。 2. The image processing apparatus according to claim 1, further comprising: a unit that performs image processing on luminance data including pixel data surrounded by an edge of the original detected by the detecting unit out of luminance data of the press sheet including the original. 4. The image reading device according to any one of items 1 to 3 .
JP2004179317A 2004-06-17 2004-06-17 Image reading device Expired - Fee Related JP4419700B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004179317A JP4419700B2 (en) 2004-06-17 2004-06-17 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004179317A JP4419700B2 (en) 2004-06-17 2004-06-17 Image reading device

Publications (2)

Publication Number Publication Date
JP2006005627A JP2006005627A (en) 2006-01-05
JP4419700B2 true JP4419700B2 (en) 2010-02-24

Family

ID=35773642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004179317A Expired - Fee Related JP4419700B2 (en) 2004-06-17 2004-06-17 Image reading device

Country Status (1)

Country Link
JP (1) JP4419700B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010219667A (en) 2009-03-13 2010-09-30 Murata Machinery Ltd Image scanning apparatus
JP5323644B2 (en) * 2009-11-05 2013-10-23 シャープ株式会社 Image reading apparatus and image forming apparatus having the same
JP2017073764A (en) * 2015-10-08 2017-04-13 株式会社リコー Image processing apparatus, image processing method and program

Also Published As

Publication number Publication date
JP2006005627A (en) 2006-01-05

Similar Documents

Publication Publication Date Title
US8068260B2 (en) Original document size detection using a line sensor for reading the original document
JP2022129816A (en) Image reading apparatus and image forming apparatus
JP6204035B2 (en) Document size detection device, image reading device, and document size detection method
JP4797959B2 (en) Image reading device
JP2022137425A (en) Image reading device and image forming apparatus
JP2008227625A (en) Image processor, image processing method, image processing program and recording medium
JP4379488B2 (en) Image reading device
JP4419700B2 (en) Image reading device
JP4137081B2 (en) Image reading device
JPH0670097A (en) Picture reader
KR0181129B1 (en) Image processing apparatus
JPH10145556A (en) Image reader
JP3453197B2 (en) Document size detector
US7444028B2 (en) Image processing apparatus for binarizing image data
JP5278455B2 (en) Image reading apparatus and program thereof
JP2022128248A (en) Image reading device and image forming apparatus
JP6884580B2 (en) Image processing device, control method of image processing device, and program
JP4527685B2 (en) Image reading apparatus, image reading control program, and image reading method
US12063337B2 (en) Image processing apparatus, scanner, image forming apparatus, data management system, and image processing method
JP4432961B2 (en) Image processing apparatus and image processing program
JP2009194762A (en) Image processing apparatus
JP2011023920A (en) Image reading apparatus and image forming apparatus
JP2005123703A (en) Image reading apparatus
JP2006005513A (en) Image reading apparatus
JP6288514B2 (en) Image reading device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090604

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090924

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091016

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: 20091110

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091123

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121211

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131211

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131211

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees