JP2006295404A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2006295404A
JP2006295404A JP2005111268A JP2005111268A JP2006295404A JP 2006295404 A JP2006295404 A JP 2006295404A JP 2005111268 A JP2005111268 A JP 2005111268A JP 2005111268 A JP2005111268 A JP 2005111268A JP 2006295404 A JP2006295404 A JP 2006295404A
Authority
JP
Japan
Prior art keywords
image
document
unit
reading
region
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.)
Withdrawn
Application number
JP2005111268A
Other languages
Japanese (ja)
Inventor
Hiroyuki Suzuki
浩之 鈴木
Kazuhiro Ishiguro
和宏 石黒
Hideyuki Toriyama
秀之 鳥山
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2005111268A priority Critical patent/JP2006295404A/en
Publication of JP2006295404A publication Critical patent/JP2006295404A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of accurately detecting the size of an original even if stripe dirt is caused on an original retainer and an original platen glass plate. <P>SOLUTION: A region discrimination section 513 of an image processing circuit 208 reads an image of a carrying belt after a composite machine 1 completes the reading of the entire original 40 to detect a region including the stripe dirt on the carrying belt 108 extended in the subscanning direction. A region storage section 514 stores positions and the range of the region detected by the region discrimination section 513. An original size detection section 515 references a region excluding the detected region stored in the region storage section 514 to detect the size of the original and inputs it to an image forming section 30. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、画像処理装置に関し、特に、原稿サイズの誤検出を防止する技術に関する。   The present invention relates to an image processing apparatus, and more particularly to a technique for preventing erroneous detection of a document size.

近年、複写機は原稿のサイズを自動的に検出することによって、ユーザの便宜を図っている。複写機が原稿のサイズを検出するためには、原稿を読取ガラスに押し付ける原稿押え等、原稿以外の部分と原稿との境界(以下、「原稿エッジ」という。)を検出する必要がある。この場合において、原稿押えが汚れていると原稿サイズを正しく検出することができない。   In recent years, copying machines have been designed for the convenience of users by automatically detecting the size of a document. In order for the copying machine to detect the size of the document, it is necessary to detect a boundary between the portion other than the document and the document (hereinafter referred to as “document edge”), such as a document press that presses the document against the reading glass. In this case, if the document presser is dirty, the document size cannot be detected correctly.

これに対して、例えば、原稿押えの汚れのピッチよりもビーム径が大きな発光ダイオードのビームで原稿面上を走査し、反射光量の急激な変化を検出することによって原稿エッジを検出する技術が提案されている(特許文献1を参照)。このようにすれば、原稿押えの汚れに起因する反射光量の変化を抑えることができるので、原稿エッジの誤検出を低減することができる。
特開平9−163083号公報
On the other hand, for example, a technique is proposed in which a document edge is detected by scanning a document surface with a light emitting diode beam having a beam diameter larger than the dirt pitch of the document presser and detecting a sudden change in the amount of reflected light. (See Patent Document 1). In this way, it is possible to suppress changes in the amount of reflected light caused by dirt on the document presser, thereby reducing erroneous detection of document edges.
JP 9-163083 A

しかしながら、自動原稿搬送装置(ADF: Automatic Document Feeder)を備えた複写機では、原稿押えや原稿台ガラスに原稿が擦れることによって、副走査方向に筋状の汚れが生じる。このような汚れがあると、上記従来技術によっても原稿エッジの誤検出を免れない。
本発明は、上述のような問題に鑑みて為されたものであって、原稿押えや原稿台ガラスに筋状の汚れが生じても原稿サイズを正確に検出することができる画像処理装置を提供することを目的とする。
However, in a copying machine equipped with an automatic document feeder (ADF), streak stains are generated in the sub-scanning direction by rubbing the document against the document presser or the document table glass. If such contamination is present, erroneous detection of the document edge is unavoidable even by the above prior art.
The present invention has been made in view of the above-described problems, and provides an image processing apparatus capable of accurately detecting a document size even when streak stains occur on a document presser or a document table glass. The purpose is to do.

上記目的を達成するため、本発明に係る画像処理装置は、原稿を載置する原稿台ガラスと、画像を読み取る読取手段と、原稿台ガラスに原稿を載置しない状態で読み取った画像から、筋状の画像である筋画像を検出する検出手段と、原稿台ガラスに原稿を載置した状態で読み取った画像から原稿エッジを検出することによって原稿サイズを特定する特定手段と、を備え、特定手段は、検出手段にて検出した筋画像以外の画像から原稿エッジを特定することを特徴とする。   In order to achieve the above object, an image processing apparatus according to the present invention includes a document table glass on which a document is placed, reading means for reading an image, and a streak from an image read without placing the document on the document table glass. Detecting means for detecting a streak image that is a shape image, and specifying means for specifying a document size by detecting a document edge from an image read in a state where the document is placed on a platen glass. Is characterized in that the document edge is specified from an image other than the streak image detected by the detecting means.

このようにすれば、原稿押えや原稿台ガラスに筋状の汚れが生じても原稿サイズを正確に検出することができる。特に、自動原稿搬送装置にて原稿が副走査方向に搬送されることによって、原稿台ガラスや自動原稿搬送装置の搬送ベルトに筋状の汚れが付着するような場合に生じる原稿サイズの誤検出を効果的に防止することができる。
本発明に係る画像処理装置は、読取手段は、主走査方向を長手方向とするCCDラインセンサにて画像を読み取ることを特徴とする。このようにすれば、CCDラインセンサを原稿サイズの検出に兼用するので専用のセンサを要しない。従って、画像処理装置のコストを低減することができる。
In this way, the document size can be accurately detected even when streaky stains occur on the document presser and the document table glass. In particular, erroneous detection of the document size that occurs when streaks of dirt adhere to the platen glass or the transport belt of the automatic document transport device when the document is transported in the sub-scanning direction by the automatic document transport device. It can be effectively prevented.
The image processing apparatus according to the present invention is characterized in that the reading means reads an image with a CCD line sensor whose longitudinal direction is the main scanning direction. In this way, since the CCD line sensor is also used for detecting the document size, a dedicated sensor is not required. Therefore, the cost of the image processing apparatus can be reduced.

本発明に係る画像処理装置は、特定手段は、検出手段にて検出した筋画像を含む領域以外にある画像から原稿エッジを特定することを特徴とする。このようにすれば、筋画像だけでなく筋画像の周辺部分も除外されるので、読み取りの際に生じる位置ずれにかかわらず誤検出を防止することができる。
本発明に係る画像処理装置は、画像の読み取りを要求する読取要求を受け付ける受付手段を備え、読取手段がひとつの読取要求に係る読み取りを完了するたびに、検出手段が筋画像を検出することを特徴とする。このようにすれば、複数枚の原稿に係る読み取り要求を受け付けた際に、すべての原稿を読み取り終えた後に筋画像を検出するので、単位時間に読み取ることができる原稿数を大きくすることができる。
The image processing apparatus according to the present invention is characterized in that the specifying unit specifies a document edge from an image other than the region including the streak image detected by the detecting unit. In this way, not only the streak image but also the peripheral portion of the streak image is excluded, so that erroneous detection can be prevented regardless of the positional deviation that occurs during reading.
The image processing apparatus according to the present invention includes a receiving unit that receives a reading request for requesting reading of an image, and each time the reading unit completes reading related to one reading request, the detecting unit detects a streak image. Features. In this way, when a reading request relating to a plurality of documents is received, a streak image is detected after all the documents have been read, so the number of documents that can be read per unit time can be increased. .

以下、本発明に係る画像処理装置の実施の形態について、複合機能機(MFP: Multiple Functional Peripheral。以下、単に「複合機」という。)を例にとり、図面を参照しながら説明する。
[1] 複合機の構成
本実施の形態に係る複合機の構成について説明する。
Hereinafter, embodiments of an image processing apparatus according to the present invention will be described with reference to the drawings, taking as an example a multifunction peripheral (MFP: Multiple Functional Peripheral).
[1] Configuration of MFP A configuration of the MFP according to the present embodiment will be described.

(1) 全体構成
図1は、本発明の実施の形態に係る複合機の概略構成を示す断面図である。図1に示されるように、複合機1は自動原稿搬送部10、読取部20及び画像形成部30とからなっている。自動原稿搬送部10は搬送ローラ101〜105、駆動ローラ106、従動ローラ107及び搬送ベルト108を備えており、読み取るべき原稿40がセットされている。読取部20は原稿台ガラス201、光源202、ミラー203〜205、レンズ206、CCD(Charge Coupled Device)ラインセンサ207、画像処理回路208、光学台209、210及び排紙トレイ211を備えている。画像形成部30は読取部20が読み取った画像データに基づいて画像形成を行う。
(1) Overall Configuration FIG. 1 is a cross-sectional view showing a schematic configuration of a multifunction machine according to an embodiment of the present invention. As shown in FIG. 1, the multifunction machine 1 includes an automatic document feeder 10, a reading unit 20, and an image forming unit 30. The automatic document conveyance unit 10 includes conveyance rollers 101 to 105, a driving roller 106, a driven roller 107, and a conveyance belt 108, and a document 40 to be read is set. The reading unit 20 includes a platen glass 201, a light source 202, mirrors 203 to 205, a lens 206, a CCD (Charge Coupled Device) line sensor 207, an image processing circuit 208, optical benches 209 and 210, and a paper discharge tray 211. The image forming unit 30 forms an image based on the image data read by the reading unit 20.

複合機1は搬送ローラ101〜104及び搬送ベルト108にて原稿台ガラス201上に原稿40を導く。搬送ベルト108は駆動ローラ106及び従動ローラ107にて駆動される。原稿台ガラス201上に載置された原稿40は光源202からの光を反射する。原稿40からの反射光はミラー203〜205を経由した後、レンズ206にてCCDラインセンサ207上に結像される。CCDラインセンサ207が光電変換によって得た画像信号は画像処理回路208にて処理される。   The multifunction machine 1 guides the document 40 onto the document table glass 201 by the conveyance rollers 101 to 104 and the conveyance belt 108. The conveyor belt 108 is driven by a driving roller 106 and a driven roller 107. The document 40 placed on the document table glass 201 reflects light from the light source 202. The reflected light from the original 40 passes through the mirrors 203 to 205 and is imaged on the CCD line sensor 207 by the lens 206. The image signal obtained by the photoelectric conversion by the CCD line sensor 207 is processed by the image processing circuit 208.

光源202とミラー203とは光学台209に、また、ミラー204、205は光学台210に固定されている。複合機1は原稿40を読み取りながら、不図示のステッピングモータを用いて光学台209、210を原稿台ガラス201に沿って移動させる。このようにして、複合機1はCCDラインセンサ207にて1ラインずつ画像データを読み取る。複合機1は原稿40を読み取り終えると、搬送ベルト108及び搬送ローラ105にて原稿40を排紙トレイ211に排出する。   The light source 202 and the mirror 203 are fixed to the optical bench 209, and the mirrors 204 and 205 are fixed to the optical bench 210. The multifunction device 1 moves the optical benches 209 and 210 along the platen glass 201 using a stepping motor (not shown) while reading the document 40. In this way, the multifunction device 1 reads the image data line by line by the CCD line sensor 207. When the multifunction device 1 finishes reading the document 40, the multifunction device 1 discharges the document 40 to the sheet discharge tray 211 by the conveyance belt 108 and the conveyance roller 105.

複合機1は原稿40をすべて読み取り終えると、搬送ベルト108を読み取り、筋状の画像である筋画像を検出することによって、搬送ベルト108上で副走査方向に伸びる筋状の汚れを含む領域を検出して、記憶する。以後、原稿サイズを検出する際にこの筋状の汚れを含む領域は除外される。
(2) 画像処理回路208の構成
次に、画像処理回路208の構成について説明する。
When all the documents 40 are read, the multi-function device 1 reads the conveyance belt 108 and detects a stripe image that is a stripe image, whereby a region including stripe-like dirt extending in the sub-scanning direction on the conveyance belt 108 is detected. Detect and memorize. Thereafter, when the document size is detected, the area including the streaks is excluded.
(2) Configuration of Image Processing Circuit 208 Next, the configuration of the image processing circuit 208 will be described.

図2は、画像処理回路208の主要な機能構成を示すブロック図である。図2に示されるように、画像処理回路208は画像合成部501、A/D変換部502、シェーディング補正部503、ライン間補正部504、色収差補正部505、変倍・移動処理部506、色変換部507、マニュアル下地調整部508、電子ソート用メモリ509、オート下地調整部510、色補正部511、MTF補正部512、領域判別部513、領域記憶部514及び原稿サイズ検出部515を備えている。画像処理部208はCCDラインセンサ207から画像信号を受け付け、画像処理を施した後、画像形成部30へ画像データを出力する。   FIG. 2 is a block diagram showing the main functional configuration of the image processing circuit 208. As shown in FIG. 2, the image processing circuit 208 includes an image synthesis unit 501, an A / D conversion unit 502, a shading correction unit 503, an interline correction unit 504, a chromatic aberration correction unit 505, a magnification / movement processing unit 506, a color A conversion unit 507, a manual background adjustment unit 508, an electronic sort memory 509, an auto background adjustment unit 510, a color correction unit 511, an MTF correction unit 512, an area determination unit 513, an area storage unit 514, and a document size detection unit 515 are provided. Yes. The image processing unit 208 receives an image signal from the CCD line sensor 207, performs image processing, and then outputs image data to the image forming unit 30.

さて、画像処理回路208が備える画像合成部501はCCDラインセンサ207が出力する色毎に画像を合成してアナログ画像信号を生成する。A/D変換部502は画像合成部501が生成したアナログ画像信号をデジタル画像信号に変換する。シェーディング補正部503はデジタル画像信号にシェーディング補正を施す。ライン間補正部504はデジタル画像信号にライン間補正を施す。色収差補正部505はデジタル画像信号の色収差を補正する。色収差補正部505の出力は変倍・移動処理部506と原稿サイズ検出部515とに入力される。   Now, the image composition unit 501 provided in the image processing circuit 208 composes an image for each color output from the CCD line sensor 207 to generate an analog image signal. The A / D conversion unit 502 converts the analog image signal generated by the image composition unit 501 into a digital image signal. A shading correction unit 503 performs shading correction on the digital image signal. The interline correction unit 504 performs interline correction on the digital image signal. A chromatic aberration correction unit 505 corrects chromatic aberration of the digital image signal. The output of the chromatic aberration correction unit 505 is input to the magnification / movement processing unit 506 and the document size detection unit 515.

変倍・移動処理部506はユーザの要求に応じて変倍処理(用紙指定変倍、独立変倍)や移動処理(とじ代、センタリング、コーナリング、上下並行移動)を実行する。色変換部507はデジタル画像信号をRGB表色系からLab表色系へと変換する色変換処理を実行する。マニュアル下地調整部508はユーザの要求に応じて下地調整処理を実行する。電子ソート用メモリ509はユーザの要求に応じてソート処理を実行する際に用いられるメモリである。   A scaling / moving processing unit 506 executes scaling processing (paper designation scaling, independent scaling) and movement processing (binding margin, centering, cornering, vertical parallel movement) according to a user request. The color conversion unit 507 executes color conversion processing for converting the digital image signal from the RGB color system to the Lab color system. The manual background adjustment unit 508 executes background adjustment processing in response to a user request. An electronic sort memory 509 is a memory used when executing a sort process in response to a user request.

オート下地調整部510はユーザの要求によらず下地調整処理を実行する。オート下地調整部510の出力は色補正部511と領域判別部513とに入力される。色補正部511はCCDラインセンサ207で読み取られたすべての色を画像形成部30で表現できる色空間内で偏ることなく最小の色差で表現するために、デジタル画像信号をLab表色系からCMYK表色系へと変換する。MTF(Modulation Transfer Function)補正部512は文字や線画を原稿に忠実に先鋭に再生するためのMTF補正処理を実行する。   The automatic background adjustment unit 510 performs background adjustment processing regardless of a user request. The output of the automatic background adjustment unit 510 is input to the color correction unit 511 and the area determination unit 513. The color correction unit 511 expresses the digital image signal from the Lab color system to CMYK in order to express all the colors read by the CCD line sensor 207 with a minimum color difference in the color space that can be expressed by the image forming unit 30. Convert to color system. An MTF (Modulation Transfer Function) correction unit 512 executes an MTF correction process for reproducing characters and line drawings sharply faithfully to the original.

領域判別部513は、複合機1が原稿40を読み取った際に、MTF補正部を制御するための制御信号を生成して、出力する。領域判別部513は、複合機1が原稿40をすべて読み取り終えた後に搬送ベルト108を読み取った際に、搬送ベルト108上で副走査方向に伸びる筋状の汚れを含む領域を検出する。領域記憶部514は領域判別部513が検出した領域の位置と範囲を記憶する。原稿サイズ検出部515は、領域記憶部514が記憶する領域を除外した領域を参照して原稿サイズを検出し、これを画像形成部30に入力する。   The area determination unit 513 generates and outputs a control signal for controlling the MTF correction unit when the multifunction device 1 reads the document 40. The area determination unit 513 detects an area including streak-like dirt extending in the sub-scanning direction on the conveyor belt 108 when the multifunction device 1 has read the entire document 40 and then reads the conveyor belt 108. The area storage unit 514 stores the position and range of the area detected by the area determination unit 513. The document size detection unit 515 detects the document size with reference to the area excluding the area stored in the area storage unit 514, and inputs this to the image forming unit 30.

(3) 領域判別部513の構成
次に、領域判別部513の構成について説明する。
図3は、領域判別部513の主要な機能構成を示すブロック図である。図3に示されるように、領域判別部513はカラー信号作成部601、各種エッジ信号作成部602、画像ノイズ領域信号作成部603、網点領域信号作成部604及びカラー信号作成部605を備えている。
(3) Configuration of Region Discriminating Unit 513 Next, the configuration of the region discriminating unit 513 will be described.
FIG. 3 is a block diagram illustrating a main functional configuration of the area determination unit 513. As shown in FIG. 3, the area determination unit 513 includes a color signal generation unit 601, various edge signal generation units 602, an image noise area signal generation unit 603, a halftone area signal generation unit 604, and a color signal generation unit 605. Yes.

カラー信号作成部601は出力したデジタル画像信号から黒色領域信号(_BLACK)を生成して、出力する。各種エッジ信号作成部602はL信号を受け付けると、網点判別用孤立点信号(WAMI(白孤立点)、KAMI(黒孤立点))、文字内エッジ信号(_INEDG)及び文字エッジ領域信号(_EDG)を生成して、出力する。画像ノイズ領域信号作成部603は、各種エッジ信号作成部602が出力した文字エッジ領域信号(_EDG)を受け付けてノイズ領域信号(_NOISE)を生成し、領域記憶部514へ出力する。   The color signal generation unit 601 generates a black area signal (_BLACK) from the output digital image signal and outputs it. Upon receiving the L signal, the various edge signal generation unit 602 receives halftone dot isolated point signals (WAMI (white isolated point), KAMI (black isolated point)), character edge signal (_INEDG), and character edge region signal (_EDG). ) Is generated and output. The image noise region signal creation unit 603 receives the character edge region signal (_EDG) output from the various edge signal creation units 602, generates a noise region signal (_NOISE), and outputs it to the region storage unit 514.

網点領域信号作成部604は各種エッジ信号作成部602から網点判別用孤立点信号(WAMI、KAMI)を受け付けて網点領域信号(_AMI)を生成し、出力する。MTF制御信号作成部605はカラー信号作成部601から黒色領域信号(_BLACK)を、各種エッジ信号作成部602から文字内エッジ信号(_INEDG)及び文字エッジ領域信号(_EDG)を、また、網点領域信号作成部604からは網点領域信号(_AMI)を受け付けてMTF補正部制御信号(CMPX、KMPX)を生成し、MTF補正部512へ出力する。   The halftone dot region signal generator 604 receives a halftone dot isolated point signal (WAMI, KAMI) from the various edge signal generators 602, generates a halftone dot region signal (_AMI), and outputs it. The MTF control signal generator 605 receives the black area signal (_BLACK) from the color signal generator 601, the character edge signal (_INEDG) and the character edge area signal (_EDG) from the various edge signal generators 602, and the dot area A halftone dot region signal (_AMI) is received from the signal creation unit 604, MTF correction unit control signals (CMPX, KMPX) are generated, and output to the MTF correction unit 512.

(4) 各種エッジ信号作成部602の構成
次に各種エッジ信号作成部602の構成について説明する。
図4は、各種エッジ信号作成部602の主要な機能構成を示すブロック図である。図4に示されるように、各種エッジ信号作成部602はマトリクス作成部701、主走査1次微分フィルタ702、副走査1次微分フィルタ703、2次微分フィルタ(+)704、2次微分フィルタ(×)705、内エッジ判別フィルタ706、孤立点検出部707、比較器708〜711、NOR素子712を備えている。
(4) Configuration of Various Edge Signal Creation Unit 602 Next, the configuration of various edge signal creation unit 602 will be described.
FIG. 4 is a block diagram showing the main functional configuration of various edge signal creation units 602. As shown in FIG. 4, various edge signal creation units 602 include a matrix creation unit 701, a main scanning primary differential filter 702, a sub-scan primary differential filter 703, a secondary differential filter (+) 704, a secondary differential filter ( X) 705, an inner edge discrimination filter 706, an isolated point detection unit 707, comparators 708 to 711, and a NOR element 712.

このうち、主走査1次微分フィルタ702、副走査1次微分フィルタ703、2次微分フィルタ(+)704、2次微分フィルタ(×)705、内エッジ判別フィルタ706及び孤立点検出部707は特徴抽出フィルタを構成する。
マトリクス作成部701はL信号を受け付けて画素の5×5マトリクスを生成し、特徴抽出フィルタに入力する。
Among these, the main scanning primary differential filter 702, the sub-scan primary differential filter 703, the secondary differential filter (+) 704, the secondary differential filter (×) 705, the inner edge discrimination filter 706, and the isolated point detection unit 707 are features. Configure the extraction filter.
The matrix creation unit 701 receives the L signal, generates a 5 × 5 matrix of pixels, and inputs it to the feature extraction filter.

主走査1次微分フィルタ702は、5×5マトリクスについて主走査方向の1次微分を実行する。副走査1次微分フィルタ703は、5×5マトリクスについて副走査方向の1次微分を実行する。2次微分フィルタ(+)704は、主走査方向及び副走査方向について5×5マトリクスの2次微分を算出する。2次微分フィルタ(×)705は、主走査方向及び副走査方向に斜交する方向について5×5マトリクスの2次微分を算出する。内エッジ判別フィルタ706は、5×5マトリクスについて内エッジの有無を判定する。   The main scanning primary differentiation filter 702 performs primary differentiation in the main scanning direction for a 5 × 5 matrix. The sub-scanning primary differentiation filter 703 performs primary differentiation in the sub-scanning direction for the 5 × 5 matrix. A secondary differential filter (+) 704 calculates a secondary differential of a 5 × 5 matrix in the main scanning direction and the sub-scanning direction. A secondary differential filter (×) 705 calculates a secondary differential of a 5 × 5 matrix with respect to a direction oblique to the main scanning direction and the sub-scanning direction. The inner edge discriminating filter 706 determines whether or not there is an inner edge for the 5 × 5 matrix.

孤立点検出部707は、5×5マトリクスにおける孤立点を検出する。すなわち、5×5マトリクスで中心画素の値が周囲8画素の値よりも大きく、かつ、8方向の2画素平均値よりも大きければ白孤立点とし、WAMI信号を出力する。また、中心画素の値が周囲8画素の値よりも小さく、かつ、8方向の2画素平均値よりも小さければ黒孤立点とし、KAMI信号を出力する。   The isolated point detection unit 707 detects isolated points in the 5 × 5 matrix. That is, if the value of the central pixel is larger than the value of the surrounding 8 pixels in the 5 × 5 matrix and larger than the 2-pixel average value in 8 directions, a white isolated point is determined and a WAMI signal is output. If the value of the center pixel is smaller than the value of the surrounding eight pixels and smaller than the average value of two pixels in eight directions, a black isolated point is determined and a KAMI signal is output.

比較器708は、主走査1次微分フィルタ702の出力値と副走査1次微分フィルタ702の出力値とを比較して大きい方の値を出力する。比較器710は比較器708の出力値と所定値(EDGREF)とを比較して、比較器708の出力値の方が大きければ、論理値が真であることを示す信号を出力する。さもなければ、偽であることを示す信号を出力する。   The comparator 708 compares the output value of the main scanning primary differential filter 702 and the output value of the sub-scanning primary differential filter 702 and outputs the larger value. The comparator 710 compares the output value of the comparator 708 with a predetermined value (EDGREF), and outputs a signal indicating that the logical value is true if the output value of the comparator 708 is larger. Otherwise, a signal indicating false is output.

比較器709は2次微分フィルタ(+)704の出力と2次微分フィルタ(×)705の出力とを比較して大きい方の値を出力する。比較器711は比較器709の出力値と所定値(EDGREF)とを比較して、比較器709の出力値の方が大きければ、論理値が真であることを示す信号を出力する。さもなければ、偽であることを示す信号を出力する。NOR素子712は比較器701、711の出力の否定論理和を算出して、結果を出力する。   The comparator 709 compares the output of the secondary differential filter (+) 704 and the output of the secondary differential filter (×) 705 and outputs the larger value. The comparator 711 compares the output value of the comparator 709 with a predetermined value (EDGREF), and outputs a signal indicating that the logical value is true if the output value of the comparator 709 is larger. Otherwise, a signal indicating false is output. The NOR element 712 calculates the negative logical sum of the outputs of the comparators 701 and 711 and outputs the result.

(5) 画像ノイズ領域信号作成部603の構成
次に、画像ノイズ領域信号作成部603の構成を説明する。
図5は、画像ノイズ領域信号作成部603の構成を示す回路図である。図5に示されるように、画像ノイズ領域信号作成部603は複数の遅延素子801とNOR素子802とを備えている。画像ノイズ領域信号作成部603は文字エッジ領域信号(_EDG)を主走査同期信号(_TG)に同期して遅延素子801の個数だけシフトした信号すべてについて論理積(AND)を求めて画像ノイズ領域信号(_NOISE)を生成する。これによって、文字エッジ領域信号(_EDG)が副走査方向に所定ライン数だけ連続している領域の位置と範囲とを検出する。
(5) Configuration of Image Noise Area Signal Creation Unit 603 Next, the configuration of the image noise area signal creation unit 603 will be described.
FIG. 5 is a circuit diagram showing a configuration of the image noise area signal creation unit 603. As shown in FIG. 5, the image noise region signal creation unit 603 includes a plurality of delay elements 801 and NOR elements 802. The image noise region signal creation unit 603 obtains a logical product (AND) for all signals obtained by shifting the character edge region signal (_EDG) by the number of delay elements 801 in synchronization with the main scanning synchronization signal (_TG), and obtains the image noise region signal. (_NOISE) is generated. As a result, the position and range of the area where the character edge area signal (_EDG) continues for a predetermined number of lines in the sub-scanning direction are detected.

[2] 複合機1の動作
次に、複合機1の動作について説明する。
(1) メインルーチン
図6は、複合機1の主要な動作を示すフローチャートである。図6に示されるように、複合機1は操作パネルのスタートボタンが押下されると(S601:YES)、自動原稿搬送部10に原稿がセットされたか否かを確認する。原稿がセットされていたら(S602:YES)、原稿を1枚だけ搬送する(S603)。原稿を搬送した後、及び自動原稿搬送部10に原稿がセットされていない場合には、原稿サイズを検出する(S604)。そして、原稿を読み取った後(S605)、自動原稿搬送部10に原稿が残っていたら(S606:YES)、前の原稿を排出した後、次の原稿を搬送し(S602)、上記の処理を繰り返す。
[2] Operation of MFP 1 Next, the operation of the MFP 1 will be described.
(1) Main Routine FIG. 6 is a flowchart showing main operations of the multifunction machine 1. As shown in FIG. 6, when the start button on the operation panel is pressed (S601: YES), the multi function device 1 checks whether or not a document is set on the automatic document feeder 10. If the original is set (S602: YES), only one original is conveyed (S603). After the document is transported and when no document is set on the automatic document transport unit 10, the document size is detected (S604). After the original is read (S605), if the original remains in the automatic original conveyance unit 10 (S606: YES), the previous original is discharged, the next original is conveyed (S602), and the above processing is performed. repeat.

自動原稿搬送部10に原稿が残っていなければ(S606:NO)、ゴミ検出処理を実行する(S607)。その後、及びスタートボタンが押下されなかった場合には(S601:NO)、スタートボタンの押下を待つ。
(2) 原稿サイズ検出処理(S604)
次に、原稿サイズ検出処理(S604)について説明する。なお、複合機1は原稿の副走査方向のサイズについては専用のセンサを用いて検出するので、ここでは、専ら原稿の主走査方向のサイズを検出する処理について説明する。
If no document remains on the automatic document feeder 10 (S606: NO), dust detection processing is executed (S607). After that, and when the start button is not pressed (S601: NO), it waits for the start button to be pressed.
(2) Document size detection processing (S604)
Next, the document size detection process (S604) will be described. Since the multifunction device 1 detects the size of the document in the sub-scanning direction using a dedicated sensor, a process for exclusively detecting the size of the document in the main scanning direction will be described here.

図7は、原稿台ガラス201上に載置された原稿を読み取って得られた画像を例示する図である。図7に示されるように、原稿902は読取領域901の一隅に配置されている。また、原稿902と共に搬送ベルト108又は原稿台ガラス201上に付着した筋状の汚れ903も読み取られている。
主走査方向の原稿サイズは副走査方向に伸びる原稿エッジを検出することによってなされるところ、汚れ903のように副走査方向に伸びる図形が読み取られると、原稿エッジの検出を誤り、原稿サイズを誤検出するおそれがある。これに対して、本実施の形態においては原稿を読み取って排紙した後に搬送ベルト108及び原稿台ガラス201を読み取って汚れ903を検出し、汚れ903を含む領域を除外して原稿サイズを検出する。このようにすれば、搬送ベルト108や原稿台ガラス201の汚れに起因する原稿エッジの誤検出、延いては原稿サイズの誤検出を防止することができる。
FIG. 7 is a diagram illustrating an image obtained by reading a document placed on the platen glass 201. As shown in FIG. 7, the document 902 is arranged at one corner of the reading area 901. Further, streak-like stains 903 attached on the conveyance belt 108 or the document table glass 201 together with the document 902 are also read.
The document size in the main scanning direction is determined by detecting the document edge extending in the sub-scanning direction. However, when a figure extending in the sub-scanning direction such as a stain 903 is read, the detection of the document edge is erroneous and the document size is incorrect. There is a risk of detection. On the other hand, in the present embodiment, after the original is read and discharged, the conveying belt 108 and the original platen glass 201 are read to detect the dirt 903, and the area including the dirt 903 is excluded to detect the original size. . In this way, it is possible to prevent the erroneous detection of the document edge due to the contamination of the conveyance belt 108 and the document table glass 201, and hence the erroneous detection of the document size.

図8は、原稿サイズ検出処理(S604)を例示するフローチャートである。図8に示されるように、複合機1は原稿サイズ検出部515にて、先ず、変数sを0にした後(S801)、エッジ検出ループ(S802〜S809)を実行する。すなわち、N個の画素を有するCCDラインセンサ207の画素毎に副走査方向に並ぶ画素値を辿り、画素の階調値が所定のしきい値よりも大きい否かを判定する。そして、階調値がしきい値よりも大きければ(S803:YES)、当該画素が領域記憶部514にて記憶されている領域に属するか否かを判定する。当該画素が当該領域に属していなければ(S804:NO)、変数sの値を1だけ増加させる(S805)。   FIG. 8 is a flowchart illustrating the document size detection process (S604). As shown in FIG. 8, the multifunction device 1 first causes the document size detection unit 515 to set the variable s to 0 (S801), and then executes an edge detection loop (S802 to S809). That is, the pixel values arranged in the sub-scanning direction are traced for each pixel of the CCD line sensor 207 having N pixels, and it is determined whether or not the gradation value of the pixel is larger than a predetermined threshold value. If the gradation value is larger than the threshold value (S803: YES), it is determined whether or not the pixel belongs to the region stored in the region storage unit 514. If the pixel does not belong to the region (S804: NO), the value of the variable s is increased by 1 (S805).

当該画素が当該領域に属している場合(S804:YES)、及び画素の階調値がしきい値よりも大きくない場合には(S803:NO)、変数sの値を定数Sと比較する。変数sの値が定数Sよりも大きければ(S806:YES)、変数sの値と変数nの値とを記憶し(S807)、変数sの値を0にする(S808)。この定数Sは副走査方向に伸びるスジの長さの最小値を規定する定数であって、原稿サイズ検出部515は定数Sにて規定される長さよりも長いスジを原稿エッジとして検出する。   When the pixel belongs to the region (S804: YES) and when the gradation value of the pixel is not larger than the threshold value (S803: NO), the value of the variable s is compared with the constant S. If the value of the variable s is larger than the constant S (S806: YES), the value of the variable s and the value of the variable n are stored (S807), and the value of the variable s is set to 0 (S808). The constant S is a constant that defines the minimum value of the length of the stripe extending in the sub-scanning direction, and the document size detection unit 515 detects a stripe longer than the length defined by the constant S as the document edge.

1からNまでのすべてのnについて上述の処理を終えた後、原稿サイズ検出部515は記憶した変数sの値のうち最も大きいものに対応するnを主走査方向の原稿エッジの位置として原稿サイズを決定する(S810)。
(3) ゴミ検出処理(S607)
次に、ゴミ検出処理(S607)について説明する。
After finishing the above-described processing for all n from 1 to N, the document size detection unit 515 sets the document size with n corresponding to the largest value of the stored variable s as the position of the document edge in the main scanning direction. Is determined (S810).
(3) Dust detection processing (S607)
Next, the dust detection process (S607) will be described.

図9は、ゴミ検出処理(S607)を例示するフローチャートである。図9に示されるように、領域判別部513は、先ず、変数sを0にした後(S901)、汚れ検出ループ(S902〜S908)を実行する。すなわち、N個の画素を有するCCDラインセンサ207の画素毎に副走査方向に並ぶ画素値を辿り、画素の階調値が所定のしきい値よりも大きい否かを判定する。そして、階調値がしきい値よりも大きければ(S903:YES)、変数sの値を1だけ増加させる(S904)。   FIG. 9 is a flowchart illustrating the dust detection process (S607). As illustrated in FIG. 9, the area determination unit 513 first sets a variable s to 0 (S901), and then executes a dirt detection loop (S902 to S908). That is, the pixel values arranged in the sub-scanning direction are traced for each pixel of the CCD line sensor 207 having N pixels, and it is determined whether or not the gradation value of the pixel is larger than a predetermined threshold value. If the gradation value is larger than the threshold value (S903: YES), the value of the variable s is increased by 1 (S904).

画素の階調値がしきい値よりも大きくない場合には(S903:NO)、変数sの値を定数Sと比較する。変数sの値が定数Sよりも大きければ(S905:YES)、変数sの値と変数nの値とを記憶し(S906)、変数sの値を0にする(S907)。この定数Sは副走査方向に伸びる汚れの長さの最小値を規定する定数であって、領域判別部513は定数Sにて規定される長さよりも長い汚れを検出し、領域記憶部514にて記憶する。1からNまでのすべてのnについて上述の処理を終えると、ゴミ検出処理は終了する。   When the gradation value of the pixel is not larger than the threshold value (S903: NO), the value of the variable s is compared with the constant S. If the value of the variable s is larger than the constant S (S905: YES), the value of the variable s and the value of the variable n are stored (S906), and the value of the variable s is set to 0 (S907). This constant S is a constant that defines the minimum value of the length of dirt extending in the sub-scanning direction, and the area discriminating unit 513 detects dirt that is longer than the length defined by the constant S and stores it in the area storage unit 514. Remember. When the above process is completed for all n from 1 to N, the dust detection process ends.

[3] 変形例
以上、本発明を実施の形態に基づいて説明してきたが、本発明が上述の実施の形態に限定されないのは勿論であり、以下のような変形例を実施することができる。
(1) 上記実施の形態においては、自動原稿搬送部10にセットされた原稿すべてを読み取った後に汚れ検出を行なうとしたが、本発明がこれに限定されないのは言うまでもなく、原稿を読み取る毎に汚れを検出しても良い。
[3] Modifications As described above, the present invention has been described based on the embodiments. However, the present invention is not limited to the above-described embodiments, and the following modifications can be implemented. .
(1) In the above embodiment, the stain detection is performed after reading all the documents set on the automatic document feeder 10. However, the present invention is not limited to this, and every time a document is read. Dirt may be detected.

また、原稿が原稿台ガラス201上に手置きされる場合には、スタートボタンが押下されてから所定時間以上、例えば10分以上、押下されなかった場合に汚れを検出しても良い。このようにすれば、手置きで画像を読み取る場合であっても、原稿を読み取るたびには汚れを検出しないので、直ぐに次の原稿を読み取ることができる。従って、ユーザの利便性を向上させることができる。   When the document is placed on the platen glass 201, the stain may be detected when the start button is not pressed for a predetermined time or more, for example, 10 minutes or more after the start button is pressed. In this way, even when the image is read manually, the next original can be read immediately because the stain is not detected every time the original is read. Therefore, user convenience can be improved.

(2) 上記実施の形態においては、特に言及しなかったが、領域判別部513にて検出した汚れの領域が、既に検出した領域に含まれ、または一致する場合には、領域記憶部514にて記憶しないこととしても良い。また、新たに検出した領域が既に検出した領域を含む場合には、既に検出した領域に代えて新たに検出した領域を記憶することとしても良い。このようにすれば、領域記憶部514にて使用する記憶容量を低減することができる。   (2) Although not particularly mentioned in the above embodiment, if the dirt area detected by the area discriminating unit 513 is included in or coincides with the already detected area, the area storage unit 514 It is also good not to remember. When the newly detected area includes the already detected area, the newly detected area may be stored instead of the already detected area. In this way, the storage capacity used in the area storage unit 514 can be reduced.

本発明に係る画像処理装置は、原稿サイズの誤検出を防止する技術として有用である。   The image processing apparatus according to the present invention is useful as a technique for preventing erroneous detection of the document size.

本発明の実施の形態に係る複合機の概略構成を示す断面図である。1 is a cross-sectional view illustrating a schematic configuration of a multifunction peripheral according to an embodiment of the present invention. 本発明の実施の形態に係る画像処理回路208の主要な機能構成を示すブロック図である。It is a block diagram which shows the main function structures of the image processing circuit 208 which concerns on embodiment of this invention. 本発明の実施の形態に係る領域判別部513の主要な機能構成を示すブロック図である。It is a block diagram which shows the main function structures of the area | region discrimination | determination part 513 which concerns on embodiment of this invention. 本発明の実施の形態に係る各種エッジ信号作成部602の主要な機能構成を示すブロック図である。It is a block diagram which shows the main function structures of the various edge signal production | generation part 602 which concerns on embodiment of this invention. 本発明の実施の形態に係る画像ノイズ領域信号作成部603の構成を示す回路図である。It is a circuit diagram which shows the structure of the image noise area | region signal preparation part 603 which concerns on embodiment of this invention. 本発明の実施の形態に係る複合機1の主要な動作を示すフローチャートである。3 is a flowchart showing main operations of the multifunction machine 1 according to the embodiment of the present invention. 本発明の実施の形態に係る原稿台ガラス201上に載置された原稿を読み取って得られた画像を例示する図である。It is a figure which illustrates the image obtained by reading the manuscript put on manuscript table glass 201 concerning an embodiment of the invention. 本発明の実施の形態に係る原稿サイズ検出処理(S604)を例示するフローチャートである。6 is a flowchart illustrating document size detection processing (S604) according to an embodiment of the present invention. 本発明の実施の形態に係るゴミ検出処理(S607)を例示するフローチャートである。It is a flowchart which illustrates the dust detection process (S607) which concerns on embodiment of this invention.

符号の説明Explanation of symbols

1…………………複合機
10………………自動原稿搬送部
20………………読取部
30………………画像形成部
40、902……原稿
101〜105…搬送ローラ
106……………駆動ローラ
107……………従動ローラ
108……………搬送ベルト
201……………原稿台ガラス
202……………光源
203〜205…ミラー
206……………レンズ
207……………CCDラインセンサ
208……………画像処理回路
209、210…光学台
211……………排紙トレイ
501……………画像合成部
502……………A/D変換部
503……………シェーディング補正部
504……………ライン間補正部
505……………色収差補正部
506……………変倍・移動処理部
507……………色変換部
508……………マニュアル下地調整部
509……………電子ソート用メモリ
510……………オート下地調整部
511……………色補正部
512……………MTF補正部
513……………領域判別部
514……………領域記憶部
515……………原稿サイズ検出部
601……………カラー信号作成部
602……………各種エッジ信号作成部
603……………画像ノイズ領域信号作成部
604……………網点領域信号作成部
605……………カラー信号作成部
701……………マトリクス作成部
702……………主走査1次微分フィルタ
703……………副走査1次微分フィルタ
704……………2次微分フィルタ(+)
705……………2次微分フィルタ(×)
706……………内エッジ判別フィルタ
707……………孤立点検出部
708〜711…比較器
712……………NOR素子
801……………遅延素子
802……………NOR素子
901……………読取領域
903……………汚れ
1 ……………… MFP 10 ……………… Automatic Document Feeder 20 ……………… Reading Unit 30 ……………… Image Forming Units 40, 902… Documents 101 to 105… Conveying roller 106... Driving roller 107... Followed roller 108... Conveying belt 201. Lens lens 207 CCD line sensor 208 Image processing circuits 209, 210 Optical stage 211 Sheet tray 501 Image composition unit 502 A / D converter 503 ... Shading correction unit 504 ... Interline correction unit 505 ... Chromatic aberration correction unit 506 ... Scaling / movement processing unit 507 ... ..... Color conversion unit 508 ........... Manual background adjustment unit 09 ......... Electronic sort memory 510 ......... Automatic background adjustment unit 511 ......... Color correction unit 512 ......... MTF correction unit 513 ......... Region determination unit 514 ... ... Area storage unit 515... Original size detection unit 601... Color signal generation unit 602... Various edge signal generation units 603. ............... dot area signal generator 605 ......... color signal generator 701 ......... matrix generator 702 .......... main scanning primary differential filter 703 .......... sub scanning Primary differential filter 704 ......... Secondary differential filter (+)
705 ... 2nd order differential filter (x)
706 ..... Inner edge discriminating filter 707 ..... Isolated point detectors 708 to 711 ... Comparator 712 ..... NOR element 801. 901 ... Reading area 903 ... Dirt

Claims (4)

原稿を載置する原稿台ガラスと、
画像を読み取る読取手段と、
原稿台ガラスに原稿を載置しない状態で読み取った画像から、筋状の画像である筋画像を検出する検出手段と、
原稿台ガラスに原稿を載置した状態で読み取った画像から原稿エッジを検出することによって原稿サイズを特定する特定手段と、を備え、
特定手段は、検出手段にて検出した筋画像以外の画像から原稿エッジを特定する
ことを特徴とする画像処理装置。
A platen glass on which a document is placed;
Reading means for reading an image;
Detection means for detecting a streak image that is a streak-like image from an image read without placing the document on the platen glass;
A specifying means for specifying a document size by detecting a document edge from an image read with the document placed on a platen glass;
An image processing apparatus characterized in that the specifying means specifies a document edge from an image other than the streak image detected by the detecting means.
読取手段は、主走査方向を長手方向とするCCDラインセンサにて画像を読み取る
ことを特徴とする請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the reading unit reads an image with a CCD line sensor whose longitudinal direction is the main scanning direction.
特定手段は、検出手段にて検出した筋画像を含む領域以外にある画像から原稿エッジを特定する
ことを特徴とする請求項1に記載の画像処理装置。
The image processing apparatus according to claim 1, wherein the specifying unit specifies a document edge from an image other than an area including the stripe image detected by the detecting unit.
画像の読み取りを要求する読取要求を受け付ける受付手段を備え、
読取手段がひとつの読取要求に係る読み取りを完了するたびに、検出手段が筋画像を検出する
ことを特徴とする請求項1に記載の画像処理装置。
Comprising a receiving means for receiving a reading request for reading an image;
The image processing apparatus according to claim 1, wherein the detection unit detects a streak image each time the reading unit completes reading related to one reading request.
JP2005111268A 2005-04-07 2005-04-07 Image processing apparatus Withdrawn JP2006295404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005111268A JP2006295404A (en) 2005-04-07 2005-04-07 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005111268A JP2006295404A (en) 2005-04-07 2005-04-07 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2006295404A true JP2006295404A (en) 2006-10-26

Family

ID=37415506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005111268A Withdrawn JP2006295404A (en) 2005-04-07 2005-04-07 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2006295404A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008227625A (en) * 2007-03-08 2008-09-25 Ricoh Co Ltd Image processor, image processing method, image processing program and recording medium
JP2013102267A (en) * 2011-11-07 2013-05-23 Ricoh Co Ltd Image reading apparatus, document size detection method, and document size detection program
CN111866295A (en) * 2019-04-24 2020-10-30 富士施乐株式会社 Image reading apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008227625A (en) * 2007-03-08 2008-09-25 Ricoh Co Ltd Image processor, image processing method, image processing program and recording medium
JP2013102267A (en) * 2011-11-07 2013-05-23 Ricoh Co Ltd Image reading apparatus, document size detection method, and document size detection program
CN111866295A (en) * 2019-04-24 2020-10-30 富士施乐株式会社 Image reading apparatus
CN111866295B (en) * 2019-04-24 2023-11-28 富士胶片商业创新有限公司 Image reading apparatus

Similar Documents

Publication Publication Date Title
US10356252B2 (en) Image reading apparatus, image forming apparatus, image reading method, and non-transitory storage medium that generate abnormal pixel information based on received information
JP4487320B2 (en) Image processing apparatus, document reading apparatus, and color / monochrome determination method
JP2006033797A (en) Image processing apparatus and image processing method
US6728418B1 (en) Image read apparatus and method that can obtain favorable readout image
JP2017098841A (en) Image reading system
US7515298B2 (en) Image processing apparatus and method determining noise in image data
JP3706800B2 (en) Image processing system, method, and storage medium
US20080218800A1 (en) Image processing apparatus, image processing method, and computer program product
JP4513622B2 (en) Image reading device
JP2006295404A (en) Image processing apparatus
JP6645294B2 (en) Image reading device
JP4873733B2 (en) Document color / monochrome determination method, image reading apparatus, image forming apparatus, and image transmitting apparatus
JP4561433B2 (en) Image reading device
EP2141904B1 (en) Image reading device, image forming apparatus, and image reading method
JP4630481B2 (en) Image reading device
JP7475870B2 (en) IMAGE READING APPARATUS, CONTROL METHOD FOR IMAGE READING APPARATUS, AND PROGRAM
JP5697544B2 (en) Image processing apparatus and image processing method
JP2005123915A (en) Image reader and image forming apparatus employing it
JP7114768B2 (en) Image reading device and image forming device
JP2011259008A (en) Image reading device, image processing device, image reading method and program
JP2007281703A (en) Image reader
JPH09233323A (en) Digital image reader
JP6501125B2 (en) Image reading apparatus, image reading method, image forming apparatus, and image reading program
JP2021118384A (en) Image reading device, control method of the same, and program
JP2004343190A (en) Image reading apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080319

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20090603