JP3538938B2 - Image reading device - Google Patents

Image reading device

Info

Publication number
JP3538938B2
JP3538938B2 JP01372395A JP1372395A JP3538938B2 JP 3538938 B2 JP3538938 B2 JP 3538938B2 JP 01372395 A JP01372395 A JP 01372395A JP 1372395 A JP1372395 A JP 1372395A JP 3538938 B2 JP3538938 B2 JP 3538938B2
Authority
JP
Japan
Prior art keywords
document
image
detected
change point
area
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
JP01372395A
Other languages
Japanese (ja)
Other versions
JPH08204909A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP01372395A priority Critical patent/JP3538938B2/en
Publication of JPH08204909A publication Critical patent/JPH08204909A/en
Application granted granted Critical
Publication of JP3538938B2 publication Critical patent/JP3538938B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、画像読取装置に関し、
特に原稿に光を照射して得られる光学像を電気信号に変
換する光電変換素子を用いて画像の読取りを行うデジタ
ル複写機等の画像読取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus,
In particular, the present invention relates to an image reading apparatus such as a digital copying machine that reads an image using a photoelectric conversion element that converts an optical image obtained by irradiating a document with light into an electric signal.

【0002】[0002]

【従来の技術】近年、原稿に光を照射して得られる光学
像を電気信号に変換しかつデジタル化して用紙等の媒体
に複写するデジタル複写機が開発され、実用化されてい
る。この種の画像読取装置では、CCD固体撮像素子等
の光電変換素子を用いて、原稿を経た入力光に基づく光
学像をアナログ電気信号に変換し、そのアナログ電気信
号を増幅しかつデジタル電気信号に変換した後、各種の
信号処理を施すようになっている。ところで、コピー用
紙のサイズを自動的に設定する機能を備えた複写機にお
いては、原稿画像の読取りを開始するに当り、プラテン
ガラス上にセットされた原稿のサイズを自動的に検出す
る必要がある。
2. Description of the Related Art In recent years, digital copiers for converting an optical image obtained by irradiating a document with light into an electric signal, digitizing the same, and copying the digital image onto a medium such as paper have been developed and put into practical use. In this type of image reading apparatus, an optical image based on input light passing through a document is converted into an analog electric signal using a photoelectric conversion element such as a CCD solid-state image pickup element, and the analog electric signal is amplified and converted into a digital electric signal. After the conversion, various kinds of signal processing are performed. By the way, in a copying machine having a function of automatically setting the size of copy paper, it is necessary to automatically detect the size of a document set on a platen glass when reading a document image is started. .

【0003】従来、複写機における原稿サイズの検出
は、原稿に赤外線を照射し、その反射光を検知するフォ
トセンサを各原稿サイズに対応した位置に複数個配置
し、この複数個のフォトセンサの各出力の状態に基づい
て行うのが一般的であった。しかしながら、各原稿サイ
ズ毎にフォトセンサを配したのではコスト高となる。そ
のため、光電変換素子としてCCD固体撮像素子を用い
て画像の読取りを行うデジタル複写機にあっては、CC
D固体撮像素子を利用して原稿サイズの検出を行うよう
にしたものがある(例えば、特開昭54−83438号
公報参照)。この検出方法は、プラテンカバー面上に黒
/グレー/鏡面処理等を施すことによって原稿外領域で
はCCD固体撮像素子に黒情報を与えるようにし、走査
端からの連続黒値をカウントすることにより、原稿サイ
ズを判定するというものである。
Conventionally, in a copying machine, the size of a document is detected by irradiating the document with infrared light and arranging a plurality of photosensors for detecting reflected light at positions corresponding to the size of each document. It is common to perform based on the state of each output. However, arranging a photo sensor for each document size increases costs. Therefore, in a digital copying machine that reads an image using a CCD solid-state imaging device as a photoelectric conversion device,
There is a device that detects the size of a document using a D solid-state imaging device (for example, see Japanese Patent Application Laid-Open No. 54-83438). In this detection method, black / gray / mirror processing is performed on the platen cover surface so that black information is given to the CCD solid-state image pickup device in the area outside the original, and the continuous black value from the scanning end is counted. The document size is determined.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
た従来技術では、プラテンカバー面上にゴミや紙粉など
が存在した場合に、これが白として認識されることによ
り、本来黒の部分であるにも拘らず原稿エッジと判断さ
れることになるため、原稿サイズを誤検出するという問
題があった。このような誤検出を防止するために、特開
平2−277038号公報に開示されるように、原稿領
域画素がある程度連続的に存在することを認識すること
によって原稿領域と原稿外領域との境界の画素、即ち原
稿のエッジ位置を検出し、このエッジ位置から原稿サイ
ズを検出する方法が一般的に用いられている。
However, according to the above-mentioned prior art, when dust or paper dust is present on the platen cover surface, it is recognized as white, so that even if it is originally black, Regardless, the document is determined to be the document edge, and there is a problem that the document size is erroneously detected. In order to prevent such erroneous detection, as disclosed in Japanese Patent Application Laid-Open No. 2-277038, the boundary between the original area and the outside area is recognized by recognizing that the original area pixels exist to some extent continuously. , Ie, the edge position of the original, and the original size is detected from the edge position.

【0005】この原稿サイズの検出方法では、原稿端部
の一定領域は原稿領域画素(白等)であることが前提と
なっている。しかしながら、原稿によっては、原稿領域
の端部まで画像が存在するものもある。例えば、文字画
像、網点画像やラダー画像が原稿領域全面に亘って存在
するような場合は、画像パターンによっては原稿領域で
あるにも拘らず原稿領域画素が所定数連続していないと
判断してしまうことになるため、原稿領域とは検知せ
ず、したがって原稿のエッジ位置を検出できないため、
原稿サイズの誤検出を招いてしまう場合があった。
[0005] This document size detection method is based on the premise that a fixed region at the document end is a document region pixel (white or the like). However, depending on the original, an image may exist up to the end of the original area. For example, when a character image, a halftone image, or a ladder image is present over the entire original area, it is determined that a predetermined number of original area pixels are not continuous despite the original area depending on the image pattern. Is not detected as a document area, and therefore the edge position of the document cannot be detected.
In some cases, erroneous detection of the document size was caused.

【0006】本発明は、上記課題に鑑みてなされたもの
であり、その目的とするところは、全面文字原稿やラダ
ーチャート、全面網点原稿のように原稿端部まで画像が
存在する原稿に対しても正確に原稿サイズを判定するこ
とが可能な画像読取装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and has as its object the object of the present invention for a document in which an image is present up to the edge of the document, such as a full-text document, a ladder chart, a full-dot document. It is another object of the present invention to provide an image reading apparatus capable of accurately determining a document size.

【0007】[0007]

【課題を解決するための手段】本発明による画像読取装
置は、原稿に光を照射して得られる光学像を電気信号に
変換する光電変換素子を用いて画像の読取りを行う画像
読取装置であって、光電変換素子の出力に基づく画像デ
ータを記憶する記憶手段と、この記憶手段の記憶内容を
走査しその走査情報の変化点を検出する第1の検出手
段と、前記記憶手段の記憶内容を走査し、その走査情報
変化点の密度が所定密度以上であることを検出する第
2の検出手段と、前記第1の検出手段が前記走査情報の
変化点が一定値以上連続的に存在することを検出したと
きは原稿端側の変化点を、前記第2の検出手段が前記走
査情報の変化点が前記所定密度以上であることを検出し
たときは原稿端側の変化点をそれぞれ原稿のエッジ位置
として検出するエッジ検出手段と、この検出したエッジ
位置に基づいて原稿サイズを判定するサイズ判定手段と
を備えた構成となっている。
An image reading apparatus according to the present invention is an image reading apparatus that reads an image using a photoelectric conversion element that converts an optical image obtained by irradiating a document with light to an electric signal. Te, storage means for storing image data based on the output of the photoelectric conversion element, scans the stored contents of this storage means, first detecting means for detecting a change point of the scanning information, the stored contents of said memory means And scan the scanning information
A second detecting means for detecting that the density of the changing point of the scanning information is equal to or higher than a predetermined density ;
When it is detected that the change point exists continuously over a certain value
The second detecting means scans the change point on the document end side.
It is detected that the change point of the inspection information is higher than the predetermined density.
, Change points on the document edge side
It has an edge detecting means for detecting, a configuration in which a size determining means for determining the document size based on the detected edge position as.

【0008】[0008]

【作用】上記構成の画像読取装置において、第1の検出
手段は、記憶手段に記憶された画像データを順に走査
し、画素データの論理が反転する変化点を検出する。こ
の変化点は、原稿外領域から原稿領域へ走査するときの
領域の境界の画素となる。第2の検出手段は、記憶手段
に記憶された画像データを順に走査し、画素データの論
理が反転する変化点がある一定範囲内に所定数以上存在
すること、即ち変化点の密度が所定密度以上であること
を検出する。この変化点の密度が高いことは、原稿端部
まで文字等の画像が存在することを意味する。エッジ検
出手段は、第1の検出手段が走査情報の変化点が一定値
以上連続的に存在することを検出したときは原稿端側の
変化点を原稿のエッジ位置とし、第2の検出手段が走査
情報の変化点が所定密度以上であることを検出したとき
は原稿端側の変化点を原稿のエッジ位置とする。そし
て、サイズ判定手段は、この検出したエッジ位置に基づ
いて原稿のサイズを判定する。
In the above-described image reading apparatus, the first detecting means sequentially scans the image data stored in the storage means and detects a change point where the logic of the pixel data is inverted. This change point is a pixel at the boundary of the area when scanning from the area outside the original to the original area. The second detection means is storage means
Scans the image data stored in the
It is detected that there is a predetermined number or more of change points at which the logic reverses within a certain range, that is, that the density of the change points is not less than a predetermined density. The high density of the changing points means that an image such as a character exists up to the end of the document. The edge detecting means determines that the change point of the scanning information is a constant value
When it is detected that the document exists continuously, the change point on the document end side is set as the edge position of the document, and the second detecting means scans the document.
When it is detected that the change point of information is higher than the specified density
Indicates that the change point on the document end side is the edge position of the document. Then, the size determining means determines the size of the document based on the detected edge position.

【0009】[0009]

【実施例】以下、例えばデジタル複写機に適用された本
発明の実施例につき、図面を参照しつつ詳細に説明す
る。なお、本発明は、デジタル複写機への適用に限定さ
れるものではなく、原稿に光を照射して得られる光学像
を電気信号に変換するCCD固体撮像素子等の光電変換
素子を用いて画像の読取りを行う画像読取装置全般に適
用し得るものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention applied to, for example, a digital copying machine will be described in detail with reference to the drawings. Note that the present invention is not limited to application to a digital copying machine, and an image is formed by using a photoelectric conversion element such as a CCD solid-state imaging device that converts an optical image obtained by irradiating a document with light to an electric signal. The present invention can be applied to all image reading apparatuses that read an image.

【0010】図1は、本発明が適用されるデジタル複写
機の概略構成図である。図1において、コピー対象の原
稿1は、プラテンガラス2上に一端が濃度基準板3に当
接するように配置され、プラテンカバー4によってその
裏面側及び周囲が覆われる。プラテンカバー4の内側に
は、カバーシート5が貼着されている。なお、プラテン
カバー4の開閉状態を検出するために、図2に示すよう
に、プラテンカバー4が閉じているときON状態にあ
り、開いたときOFF状態となるプラテン開閉センサ2
1と、アクチュエータ23を介してプラテンカバー4が
開いているときOFF状態となり、所定の角度まで閉じ
かけたときからON状態となる角度センサ22とが設け
られている。
FIG. 1 is a schematic configuration diagram of a digital copying machine to which the present invention is applied. In FIG. 1, a document 1 to be copied is arranged on a platen glass 2 such that one end thereof is in contact with a density reference plate 3, and a back side and a periphery thereof are covered by a platen cover 4. A cover sheet 5 is adhered inside the platen cover 4. In order to detect the open / closed state of the platen cover 4, as shown in FIG. 2, the platen open / close sensor 2 is turned on when the platen cover 4 is closed and turned off when opened.
1 and an angle sensor 22 which is turned off when the platen cover 4 is opened via the actuator 23 and turned on when the platen cover 4 is closed to a predetermined angle.

【0011】プラテンガラス2上に載置された原稿1に
は、露光ランプ6から発せられた光が直接あるいはリフ
レクタ7で反射されることによって照射される。この照
射光に基づく原稿1からの反射光は、反射ミラー8を経
て結像レンズ9によって光電変換素子であるCCD固体
撮像素子10の撮像面に結像される。この露光ランプ
6、リフレクタ7及び反射ミラー8を含む光学系は、図
示せぬキャリッジに搭載されて図の左右方向、即ち副走
査方向において移動可能となっている。また、CCD固
体撮像素子8としては画素が直線状に配列されたライン
センサが用いられ、紙面に垂直な方向の走査、即ち主走
査はCCD固体撮像素子10上において電気的に行われ
る。このCCD固体撮像素子10は、タイミング発生回
路11で発生される各種のタイミング信号に基づいてC
CD駆動回路12によって駆動される。
The original 1 placed on the platen glass 2 is irradiated with light emitted from an exposure lamp 6 directly or by being reflected by a reflector 7. The reflected light from the original 1 based on the irradiation light passes through a reflection mirror 8 and is imaged by an imaging lens 9 on an imaging surface of a CCD solid-state imaging device 10 which is a photoelectric conversion device. The optical system including the exposure lamp 6, the reflector 7, and the reflection mirror 8 is mounted on a carriage (not shown) and is movable in the left-right direction of the figure, that is, in the sub-scanning direction. A line sensor in which pixels are arranged linearly is used as the CCD solid-state imaging device 8, and scanning in a direction perpendicular to the paper surface, that is, main scanning, is electrically performed on the CCD solid-state imaging device 10. The CCD solid-state imaging device 10 generates a C signal based on various timing signals generated by a timing generation circuit 11.
Driven by the CD drive circuit 12.

【0012】CCD固体撮像素子10から出力されるア
ナログ画像信号は、アンプ13で増幅され、かつA/D
コンバータ14でデジタルデータに変換された後デジタ
ル信号処理回路15に供給される。このデジタル信号処
理回路15は、入力される画像データに対してシェーデ
ィング補正を行うシェーディング補正回路151と、こ
のシェーディング補正処理に用いられるRAM(1)1
52と、シェーディング補正後の画像データに対してフ
ィルタリング処理を行うデジタルフィルタ回路153
と、フィルタリング後の画像データに対して縮小や拡大
の処理を行う縮小/拡大回路154と、縮小/拡大処理
に用いられるRAM(2)155,RAM(3)156
と、これら各回路151,153,154とデータ/ア
ドレスバス157を介して接続されたCPU158とか
ら構成されている。
An analog image signal output from the CCD solid-state image pickup device 10 is amplified by an amplifier 13 and A / D
After being converted into digital data by the converter 14, it is supplied to the digital signal processing circuit 15. The digital signal processing circuit 15 includes a shading correction circuit 151 for performing shading correction on input image data, and a RAM (1) 1 used for the shading correction processing.
52, and a digital filter circuit 153 that performs a filtering process on the image data after the shading correction.
And a reduction / enlargement circuit 154 that performs reduction and enlargement processing on the filtered image data, and a RAM (2) 155 and a RAM (3) 156 used for reduction / enlargement processing.
And a CPU 158 connected to these circuits 151, 153, 154 via a data / address bus 157.

【0013】CPU158は、データ/アドレスバス1
57を介してデジタル信号処理回路15内の各回路15
1,153,154の制御を行うとともに、光学系を駆
動するキャリッジの駆動モータ(図示せず)に対してモ
ータドライブ制御信号を、露光ランプ6の駆動回路(図
示せず)に対してランプ制御信号をそれぞれ供給し、プ
ラテンガラス2上に載置された原稿1のサイズを検出す
る処理を行う。この原稿サイズの検出処理については後
で詳細に説明する。このデジタル信号処理回路15で各
種の信号処理が行われた画像データは、画像形成部16
に供給される。
The CPU 158 has a data / address bus 1
Each circuit 15 in the digital signal processing circuit 15 via 57
1, 153, 154, and a motor drive control signal for a drive motor (not shown) of a carriage for driving an optical system, and a lamp control for a drive circuit (not shown) of the exposure lamp 6. A signal is supplied, and a process of detecting the size of the document 1 placed on the platen glass 2 is performed. This document size detection processing will be described later in detail. The image data subjected to various signal processing by the digital signal processing circuit 15 is transmitted to an image forming unit 16.
Supplied to

【0014】上記構成のデジタル複写機において、装置
電源が投入(ON)されると、露光ランプ6、リフレク
タ7、反射ミラー8及び結像レンズ9等を含む光学系を
搭載したキャリッジ(図示せず)は、主走査原稿読取り
位置に移動する。そして、その位置でプラテンガラス2
上に載置された原稿1を読み取ることにより、その原稿
画像はCCD固体撮像素子10の撮像面上に結像されか
つ光電変換されてアナログ電気信号に変換される。この
アナログ画像信号は、A/Dコンバータ14によってn
ビット(本例では、8ビット)のデジタルデータに変換
される。デジタルデータに変換された画像データは、デ
ジタル信号処理回路15でシェーディング補正、フィル
タリング処理、縮小/拡大等の処理がなされた後、画像
形成部16に送られて用紙上に印字形成される。
In the digital copying machine having the above configuration, when the apparatus power is turned on (ON), a carriage (not shown) on which an optical system including an exposure lamp 6, a reflector 7, a reflection mirror 8, and an imaging lens 9 is mounted. ) Moves to the main scanning original reading position. Then, at that position, platen glass 2
By reading the original 1 placed thereon, the original image is formed on the imaging surface of the CCD solid-state imaging device 10 and photoelectrically converted to an analog electric signal. This analog image signal is converted by the A / D converter 14 into n
It is converted into digital data of bits (8 bits in this example). The image data converted into digital data is subjected to shading correction, filtering, reduction / enlargement, and the like in a digital signal processing circuit 15 and then sent to an image forming unit 16 to be printed and formed on paper.

【0015】次に、原稿画像の読取りに先立って行われ
る原稿サイズの検出処理について説明する。この原稿サ
イズの検出処理はCPU158によって行われるもので
あり、その検出処理のための機能ブロック図を図3に示
す。同図において、RAM(2)155には、プラテン
カバー4が閉じる途中で読み取られた1ライン分の画像
データが記憶される。これにより、RAM(2)155
に記憶される画像データにおいては、プラテンカバー4
が未だ開いた状態にあり、反射光がないことから、原稿
外領域の背景色が“黒”のデータとなる。一方、RAM
(3)156には、プラテンカバー4が閉じた状態で読
み取られた1ライン分の画像データが記憶される。これ
により、RAM(3)156に記憶される画像データに
おいては、カバーシート5が白色であることから、原稿
外領域の背景色が“白”のデータとなる。
Next, a description will be given of a document size detection process performed prior to reading of a document image. This document size detection processing is performed by the CPU 158, and a functional block diagram for the detection processing is shown in FIG. In the drawing, the RAM (2) 155 stores one line of image data read while the platen cover 4 is being closed. Thereby, the RAM (2) 155
The image data stored in the platen cover 4
Is still open and there is no reflected light, so that the background color of the area outside the original is "black" data. On the other hand, RAM
(3) 156 stores image data of one line read in a state where the platen cover 4 is closed. Accordingly, in the image data stored in the RAM (3) 156, the background color of the area outside the document is “white” because the cover sheet 5 is white.

【0016】画像データ走査手段31は、RAM(2)
155,RAM(3)156の各記憶内容を順に走査す
る。第1の検出手段32は、画像データ走査手段31に
よるRAM(2)155,RAM(3)156の各々の
走査情報について、その走査情報の変化点、即ち原稿領
域と原稿外領域との境界の画素を検出する。具体的に
は、図4に示す概念図において、原稿外領域(原稿外背
景色はRAM(2)155の場合“黒”、RAM(3)
156の場合“白”)から原稿領域に向けて図の左側及
び右側の両方向から順に走査し、原稿領域画素が一定値
以上連続的に存在することを検出する。なお、RAM
(2)155,RAM(3)156には、走査線Lに沿
った1ライン分の画像データが記憶されているものとす
る。
The image data scanning means 31 includes a RAM (2)
155, the stored contents of the RAM (3) 156 are sequentially scanned. The first detecting means 32 determines, for each of the scanning information of the RAM (2) 155 and the RAM (3) 156 by the image data scanning means 31, a changing point of the scanning information, that is, a boundary between the original area and the outside area of the original. Detect pixels. Specifically, in the conceptual diagram shown in FIG. 4, the area outside the document (the background color outside the document is “black” in the case of the RAM (2) 155), and the RAM (3)
In the case of "156""white"), scanning is sequentially performed from the left and right sides of the drawing toward the document area, and it is detected that the document area pixels are continuously present at a predetermined value or more. In addition, RAM
It is assumed that (2) 155 and RAM (3) 156 store one line of image data along the scanning line L.

【0017】ここで、原稿領域の色が白色系の原稿のサ
イズを検出する場合を例にとると、この場合には、原稿
外領域の画像データが“黒”として記憶されたRAM
(2)155の記憶内容の走査を行う。このとき、原稿
外領域から原稿領域に向けて走査すると、領域の境界で
は画素データが“黒”を示す論理から“白”を示す論理
に変化し、しかも“白”の画素データが連続することに
なる。これに対し、原稿領域の色が黒色系の原稿の場合
には、原稿外領域の画像データが“白”として記憶され
たRAM(3)156の記憶内容を走査することによ
り、同様にして原稿領域画素が一定値以上連続的に存在
することを検出できる。
Here, taking as an example a case where the size of a document whose color of the document area is white is detected, in this case, the RAM in which the image data of the area outside the document is stored as "black"
(2) Scan the stored contents of 155. At this time, when scanning is performed from the non-document area toward the manuscript area, the pixel data changes from a logic indicating “black” to a logic indicating “white” at the boundary of the area, and “white” pixel data continues. become. On the other hand, when the color of the original area is a black original, the content of the RAM (3) 156 in which the image data of the area outside the original is stored as “white” is scanned, and the original is similarly scanned. It can be detected that the area pixels continuously exist for a certain value or more.

【0018】第2の検出手段33は、画像データ走査手
段31によるRAM(2)155,RAM(3)156
の各々の走査情報について、その走査情報の変化点の密
度が所定密度以上であることを検出する。具体的には、
図5に示すように、原稿領域の端部に画像が存在した場
合には、原稿外領域から原稿領域に向けて走査したとき
に、原稿領域画素が一定値以上連続しないことから、第
2の検出手段33においては、走査中に黒→白又は白→
黒の変化点を検出したとき、その変化点からある一定範
囲内の画像データをモニターし、その一定範囲内におけ
る黒→白又は白→黒の変化点の数をカウントし、そのカ
ウント数が所定数以上あることを検出する。ここで、変
化点の数が所定数以上、即ち変化点の密度が所定の密度
以上であることは、原稿端部まで文字等の画像が存在す
ることを意味する。
The second detecting means 33 includes a RAM (2) 155 and a RAM (3) 156 by the image data scanning means 31.
Is detected, the density of the change point of the scanning information is equal to or higher than a predetermined density. In particular,
As shown in FIG. 5, when an image is present at the end of the document area, the pixels of the document area do not continue over a certain value when scanning from the outside area to the document area. In the detection means 33, during scanning, black → white or white →
When a black change point is detected, image data within a certain range from the change point is monitored, and the number of black-to-white or white-to-black change points within the certain range is counted. Detect that there is more than a number. Here, the fact that the number of change points is equal to or more than a predetermined number, that is, the density of change points is equal to or more than a predetermined density means that an image such as a character exists up to the end of the document.

【0019】第1,第2の検出手段32,33の各検出
出力は、OR回路34を介してエッジ検出手段35に供
給される。エッジ検出手段35は、第1,第2の検出手
段32,33の各検出出力のうち、先に供給される検出
出力に基づいて原稿のエッジ位置を検出する。具体的に
は、第1の検出手段32から先に原稿領域画素が一定値
以上連続したことを示す検出出力が供給されたときは、
最初の変化点を原稿外領域と原稿領域との境界画素、即
ち図4に示すエッジ位置X1,X2として検出し、第2
の検出手段33から先に変化点の数が所定数以上である
ことを示す検出出力が供給されたときは、最初の変化点
を図5に示すエッジ位置X1,X2として検出する。サ
イズ判定手段36は、エッジ検出手段35で検出された
エッジ位置X1,X2のデータから原稿1の主走査方向
の原稿幅を求め、さらに図示せぬフォトセンサから供給
される情報から原稿1の所定位置での副走査方向の原稿
有無情報を求め、原稿1のサイズを判定する。
The detection outputs of the first and second detection means 32 and 33 are supplied to an edge detection means 35 via an OR circuit 34. The edge detection means 35 detects the edge position of the document based on the detection output supplied first among the detection outputs of the first and second detection means 32 and 33. Specifically, when a detection output indicating that the document area pixels have continued for a predetermined value or more is supplied from the first detection unit 32 first,
The first change point is detected as a boundary pixel between the outside document area and the document area, that is, edge positions X1 and X2 shown in FIG.
When a detection output indicating that the number of change points is equal to or more than a predetermined number is supplied from the detection means 33, the first change point is detected as the edge positions X1 and X2 shown in FIG. The size determining means 36 determines the width of the document 1 in the main scanning direction from the data of the edge positions X1 and X2 detected by the edge detecting means 35, and further determines the predetermined width of the document 1 from information supplied from a photo sensor (not shown). The document presence / absence information in the sub-scanning direction at the position is obtained, and the size of the document 1 is determined.

【0020】上述したように、原稿領域の端部に画像が
存在しない原稿に対しては従来通り原稿サイズを正確に
判定できる第1の検出手段32に加えて第2の検出手段
33を設けたことにより、原稿領域の端部に画像が存在
する場合には、その画像の存在を認識した上で原稿のエ
ッジ位置を検出することができるので、全面文字原稿や
ラダーチャート、全面網点原稿のように原稿端部まで画
像が存在する原稿に対しても正確に原稿サイズを判定す
ることができる。
As described above, the second detecting means 33 is provided in addition to the first detecting means 32 which can accurately determine the size of a document for a document having no image at the end of the document area. Thus, when an image is present at the end of the document area, the edge position of the document can be detected after recognizing the presence of the image. As described above, the document size can be accurately determined even for a document in which an image is present up to the document end.

【0021】次に、CPU158によって実行される原
稿サイズの検出処理の手順につき、図6及び図7のフロ
ーチャートにしたがって説明する。装置電源が投入(O
N)されると、CPU158は先ず、光学系を搭載した
キャリッジを原稿検知位置へ移動させ、さらにタイミン
グ発生回路11を起動することによってCCD固体撮像
素子10に対するCCDクロックの供給を開始する(ス
テップS1)。次に、角度センサ22がONするよりも
先にスタートボタン(図示せず)が押されたか否かを判
断する(ステップS2)。そして、スタートボタンが未
だ押されていなければ、角度センサ22がONするのを
待つ(ステップS3)。
Next, the procedure of the document size detection process executed by the CPU 158 will be described with reference to the flowcharts of FIGS. Power on the device (O
N), the CPU 158 first moves the carriage on which the optical system is mounted to the document detection position, and starts supplying the CCD clock to the CCD solid-state imaging device 10 by activating the timing generation circuit 11 (step S1). ). Next, it is determined whether or not a start button (not shown) has been pressed before the angle sensor 22 is turned on (step S2). If the start button has not been pressed yet, the process waits until the angle sensor 22 is turned on (step S3).

【0022】角度センサ22がONすると、CPU15
8は、露光ランプ6をONし、RAM(2)155に1
ライン分の画像データを格納し(ステップS4)、プラ
テン開閉センサ21がONするのを待つ(ステップS
5)。プラテン開閉センサ21がONすると、RAM
(3)156に1ライン分の画像データを格納し(ステ
ップS6)、続いて露光ランプ6をOFFし、RAM
(2)155,RAM(3)156の各記憶内容を走査
する(ステップS7)。そして、原稿外背景色からの変
化点を検出したか否かを判断し(ステップS8)、この
判断をステップS9で1ライン全画素の走査が終了した
と判定されるまで繰り返す。1ライン全画素の走査が終
了しても、変化点を検出できなかった場合には、原稿エ
ッジ位置を検出できず、したがって原稿サイズも検出で
きないことになるので、“原稿サイズ検出できず”なる
旨のエラー表示をし(ステップS10)、しかる原稿サ
イズの検出処理を終了する。
When the angle sensor 22 is turned on, the CPU 15
8 turns on the exposure lamp 6 and stores 1 in the RAM (2) 155.
The image data for the line is stored (step S4), and waits until the platen open / close sensor 21 is turned on (step S4).
5). When the platen open / close sensor 21 is turned on, the RAM
(3) One line of image data is stored in 156 (step S6), then the exposure lamp 6 is turned off, and the RAM
(2) The respective storage contents of the 155 and the RAM (3) 156 are scanned (step S7). Then, it is determined whether or not a change point from the background color outside the document is detected (step S8), and this determination is repeated until it is determined in step S9 that scanning of all the pixels of one line has been completed. If the change point cannot be detected even after the scanning of all the pixels of one line is completed, the document edge position cannot be detected, and therefore the document size cannot be detected, so "document size cannot be detected". Is displayed (step S10), and the process of detecting the appropriate document size is terminated.

【0023】ステップS8で原稿外背景色からの変化点
を検出した場合には、原稿領域画素が一定値以上連続し
ているか否かを判断し(ステップS11)、一定値以上
連続していない場合には、その変化点が一定範囲内に所
定数以上あるか否かを判断し(ステップS12)、この
2つの判断をステップS9で1ライン全画素の走査が終
了したと判定されるまで繰り返す。原稿領域画素が一定
値以上連続している、又は変化点が一定範囲内に所定数
以上あると判定した場合には、最初の変化点の画素位置
を原稿エッジ位置として検出し(ステップS13)、そ
の検出した原稿エッジ位置より主走査方向の原稿幅を求
め(ステップS14)、続いてこの主走査方向の原稿幅
と副走査方向に配置されたフォトセンサの出力から原稿
サイズを求める(ステップS15)。
If a change point from the background color outside the document is detected in step S8, it is determined whether the pixels of the document area are continuous over a certain value (step S11). In step S12, it is determined whether or not the number of change points is equal to or greater than a predetermined number within a certain range (step S12). These two determinations are repeated until it is determined in step S9 that scanning of all pixels on one line has been completed. If it is determined that the document area pixels are continuous for a certain value or more or that the number of change points is a predetermined number or more within a certain range, the pixel position of the first change point is detected as the document edge position (step S13). The document width in the main scanning direction is obtained from the detected document edge position (step S14), and then the document size is obtained from the document width in the main scanning direction and the output of the photo sensor arranged in the sub-scanning direction (step S15). .

【0024】なお、ステップS2において、角度センサ
22がONするよりも先にスタートボタンが押されたと
判定した場合は、露光ランプ6をONし(ステップS1
6)、RAM(2)155に1ライン分の画像データを
格納し(ステップS17)、続いて露光ランプ6をOF
Fし(ステップS18)、しかる後ステップS8に移行
して上述した処理を実行することになる。
If it is determined in step S2 that the start button has been pressed before the angle sensor 22 has been turned on, the exposure lamp 6 is turned on (step S1).
6), image data for one line is stored in the RAM (2) 155 (step S17), and then the exposure lamp 6 is turned off.
F (step S18), and then the process proceeds to step S8 to execute the above-described processing.

【0025】[0025]

【発明の効果】以上説明したように、本発明によれば、
走査情報の変化点が所定数連続したことを検出する第1
の検出手段に加え、変化点の密度が所定密度以上である
ことを検出する第2の検出手段を設け、第1の検出手段
が走査情報の変化点が一定値以上連続的に存在すること
を検出したときは原稿端側の変化点を、第2の検出手段
が走査情報の変化点が所定密度以上であることを検出し
たときは原稿端側の変化点をそれぞれ原稿領域と原稿外
領域との境界画素、即ち原稿のエッジ位置として検出
し、このエッジ位置に基づいて原稿サイズを判定するよ
うにしたので、全面文字原稿やラダーチャート、全面網
点原稿のように原稿端部まで画像が存在する原稿に対し
ても正確に原稿サイズを判定できることになる。
As described above, according to the present invention,
A first method for detecting that a predetermined number of continuous change points of scanning information
The addition to the detection means, providing the second detection means for detecting the density of the change point of the predetermined density or more, the first detection means
Is that the scanning information change point exists continuously more than a certain value
Is detected, the change point on the document end side is detected by the second detecting means.
Detects that the change point of the scanning information is higher than the predetermined density.
In this case, the change point on the document end side is detected as the boundary pixel between the document area and the outside area, that is, the edge position of the document, and the document size is determined based on this edge position. It is possible to accurately determine the size of an original such as a ladder chart, a ladder chart, and an original having an image up to the end of the original, such as a halftone original.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明が適用されるデジタル複写機の概略構
成図である。
FIG. 1 is a schematic configuration diagram of a digital copying machine to which the present invention is applied.

【図2】 図1の要部の拡大図である。FIG. 2 is an enlarged view of a main part of FIG.

【図3】 原稿サイズ検出のための機能ブロック図であ
る。
FIG. 3 is a functional block diagram for detecting a document size.

【図4】 第1の検出手段による検出動作の概念図であ
る。
FIG. 4 is a conceptual diagram of a detection operation by a first detection unit.

【図5】 第2の検出手段による検出動作の概念図であ
る。
FIG. 5 is a conceptual diagram of a detection operation by a second detection unit.

【図6】 原稿サイズ検出の処理手順を示すフローチャ
ート(その1)である。
FIG. 6 is a flowchart (part 1) illustrating a processing procedure of document size detection.

【図7】 原稿サイズ検出の処理手順を示すフローチャ
ート(その2)である。
FIG. 7 is a flowchart (part 2) illustrating a processing procedure of document size detection.

【符号の説明】[Explanation of symbols]

1 原稿 2 プラテンガラス 6 露光ランプ 10 CCD固体撮像素子 15 デジタル信号処理回路 16 画像形成部 21 プラテン開閉センサ 22 角度センサ 32 第1の検出手段 33 第2の検出手段 35 エッジ検出手段 36 サイズ判定手段 1 manuscript 2 Platen glass 6 Exposure lamp 10 CCD solid-state imaging device 15 Digital signal processing circuit 16 Image forming unit 21 Platen open / close sensor 22 Angle sensor 32 First detecting means 33 Second detecting means 35 Edge detection means 36 Size determination means

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 原稿に光を照射して得られる光学像を電
気信号に変換する光電変換素子を用いて画像の読取りを
行う画像読取装置であって、 前記光電変換素子の出力に基づく画像データを記憶する
記憶手段と、 前記記憶手段の記憶内容を走査しその走査情報の変化
点を検出する第1の検出手段と、前記記憶手段の記憶内容を走査し、その走査情報の 変化
点の密度が所定密度以上であることを検出する第2の検
出手段と、前記第1の検出手段が前記走査情報の変化点が一定値以
上連続的に存在することを検出したときは原稿端側の変
化点を、前記第2の検出手段が前記走査情報の変化点が
前記所定密度以上であることを検出したときは原稿端側
の変化点をそれぞれ 原稿のエッジ位置として検出するエ
ッジ検出手段と、 前記エッジ位置に基づいて原稿サイズを判定するサイズ
判定手段とを備えたことを特徴とする画像読取装置。
1. An image reading apparatus for reading an image using a photoelectric conversion element that converts an optical image obtained by irradiating a document with light into an electric signal, wherein image data based on an output of the photoelectric conversion element is provided. storage means for storing, scans the stored contents of the storage means, and scanning a first detection means for detecting a change point of the scanning information, the stored contents of said storage means, the change point of the scanning information A second detecting means for detecting that the density is equal to or higher than a predetermined density;
When it is detected that the document is
The second detection means determines the change point of the scanning information.
When it is detected that the density is higher than the predetermined density, the document edge side
An image reading apparatus comprising: edge detection means for detecting a change point of each of them as an edge position of a document; and size determination means for determining a document size based on the edge position.
JP01372395A 1995-01-31 1995-01-31 Image reading device Expired - Fee Related JP3538938B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01372395A JP3538938B2 (en) 1995-01-31 1995-01-31 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01372395A JP3538938B2 (en) 1995-01-31 1995-01-31 Image reading device

Publications (2)

Publication Number Publication Date
JPH08204909A JPH08204909A (en) 1996-08-09
JP3538938B2 true JP3538938B2 (en) 2004-06-14

Family

ID=11841176

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01372395A Expired - Fee Related JP3538938B2 (en) 1995-01-31 1995-01-31 Image reading device

Country Status (1)

Country Link
JP (1) JP3538938B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5983440B2 (en) 2013-01-31 2016-08-31 ブラザー工業株式会社 Image reading apparatus and document edge determination program

Also Published As

Publication number Publication date
JPH08204909A (en) 1996-08-09

Similar Documents

Publication Publication Date Title
JP2502591B2 (en) Document position detector
JP3225112B2 (en) Document reading device and document reading method
JPS62181570A (en) Picture editing device
JP3538938B2 (en) Image reading device
JPH0670097A (en) Picture reader
JP3404955B2 (en) Document size detector
JP2003219117A (en) Both-ends of original detecting device
JPH08271980A (en) Image reader
JPH09247374A (en) Image reader
JPH09321984A (en) Image processor and metal color identification method
JP2958407B2 (en) Image processing device
JP3538939B2 (en) Document size detector
JPS63142960A (en) Image reader
JP3011942B2 (en) Digital image output device
JP2001069317A (en) Picture reader
JP2003302714A (en) Original front end detector
JP3176401B2 (en) Background image removal device
JP2000022899A (en) Image recognition device
JP2000321684A (en) Image reading device and method for reading image data
JPH09247373A (en) Image reader
JPS62293879A (en) Automatic input system for original size
JPH0548836A (en) Digital copying machine with original size detecting function
JPH0548837A (en) Digital copying machine with original size detecting function
JP2000069237A (en) Control method for image reader
JPS6285573A (en) Shading correcting device

Legal Events

Date Code Title Description
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: 20040302

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040315

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090402

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100402

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110402

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120402

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees