JP2011205473A - Image reading apparatus and printing system employing the same - Google Patents

Image reading apparatus and printing system employing the same Download PDF

Info

Publication number
JP2011205473A
JP2011205473A JP2010071752A JP2010071752A JP2011205473A JP 2011205473 A JP2011205473 A JP 2011205473A JP 2010071752 A JP2010071752 A JP 2010071752A JP 2010071752 A JP2010071752 A JP 2010071752A JP 2011205473 A JP2011205473 A JP 2011205473A
Authority
JP
Japan
Prior art keywords
image
extraction
line
unit
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2010071752A
Other languages
Japanese (ja)
Inventor
Masayuki Tanaka
公幸 田中
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Data 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 Oki Data Corp filed Critical Oki Data Corp
Priority to JP2010071752A priority Critical patent/JP2011205473A/en
Publication of JP2011205473A publication Critical patent/JP2011205473A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To solve the problem with a method of extracting a specific region designated by surrounding a desired region in a document with a closed loop by an image reading apparatus, wherein this method requires much time and efforts for the marking, since marking surrounding the specific region with the closed loop is performed, in particular, when desired to process a number of documents, resulting in a problem in work efficiency.SOLUTION: An image reading apparatus includes: image data transmitters (100, 101) for reading an image in a predetermined rectangular region on an image formed surface of a read document and transmitting image data of the read image: a continuous line detector 102 for detecting, from the image data, a continuous line extending in one direction of the rectangular region; an extraction block generator 105 for generating a rectangular extraction block which is adjacent to the continuous line and determined by a length of the continuous line and an extraction width orthogonal to the continuous line; and an image processor 107 for extracting an image within a range of the extraction block from the image data and processing the image data to generate print data for printing.

Description

本発明は、画像読み取り装置に関し、特に読み取り原稿の特定領域を抽出する技術に関するものである。   The present invention relates to an image reading apparatus, and more particularly to a technique for extracting a specific area of a read original.

従来、画像読み取り装置によって原稿内の指定された特定領域を抽出する方法として、原稿内の所望領域を閉ループで囲むように専用マーカー等でマーキングした後、マーキングした原稿を読み取らせることによって、マーキングした特定領域を抽出する方法があった(例えば、特許文献1参照)。   Conventionally, as a method of extracting a specified specific area in a document by an image reading device, marking is performed by marking the desired area in the document with a dedicated marker or the like so as to surround the area with a closed loop, and then reading the marked document There has been a method of extracting a specific region (see, for example, Patent Document 1).

特開平6−133150号公報(第4頁、図4)Japanese Patent Laid-Open No. 6-133150 (page 4, FIG. 4)

しかし、従来の方法では、原稿内の抽出したい特定領域を閉ループで囲むマーキングを行うため、マーキング作業に手間がかかり、特に多くの原稿を処理したい場合などには作業効率の点で問題があった。
本発明は、これらの問題点を解消し、作業性に優れた特定領域の抽出方法を提供することを目的とする。
However, in the conventional method, marking is performed by enclosing a specific area to be extracted in a closed loop with a closed loop, so that the marking work is troublesome, and there is a problem in terms of work efficiency particularly when a large number of originals are processed .
An object of the present invention is to solve these problems and to provide a method for extracting a specific region with excellent workability.

本発明による画像読み取り装置は、読み取り原稿に記録された画像を読み取る画像読み取り装置であって、
前記読み取り原稿の画像形成面の所定の矩形領域の画像を読み込んで、読み込んだ画像の画像データを送信する画像データ送信部と、前記画像データから、前記矩形領域の一方向に延在する連続線を検出する連続線検出部と、前記連続線に隣接し、前記連続線の長さと該連続線に直交する方向の抽出幅によって定まる矩形状の抽出ブロックを生成する抽出ブロック生成部と、前記画像データから前記抽出ブロックの範囲内の画像を抽出して前記画像データを加工処理し、印刷するための印刷データを生成する画像加工部とを有することを特徴とする。
An image reading apparatus according to the present invention is an image reading apparatus that reads an image recorded on a read original,
An image data transmitting unit that reads an image of a predetermined rectangular area on the image forming surface of the read original and transmits image data of the read image; and a continuous line extending from the image data in one direction of the rectangular area A continuous line detection unit that detects a rectangular extraction block that is adjacent to the continuous line and is defined by a length of the continuous line and an extraction width in a direction orthogonal to the continuous line; and the image An image processing unit that extracts an image within the range of the extraction block from the data, processes the image data, and generates print data for printing.

本発明による別の画像読み取り装置は、読み取り原稿に記録された画像を読み取る画像読み取り装置であって、
前記読み取り原稿の画像形成面の所定の矩形領域の画像を読み込んで、読み込んだ画像の画像データを送信する画像データ送信部と、前記所定の矩形領域内で、用紙端余白領域と該用紙端余白領域に囲まれた原稿複写領域とを区別し、前記画像データから、前記用紙端余白領域の画像データを分離して送信する原稿複写範囲検出部と、前記用紙端余白領域の画像データから、前記矩形領域の一方向に延在する第1のマーカー線を検出するマーカー線検出部と、前記用紙端余白領域の画像データから、前記第1のマーカー線と直交する方向に延在する第2のマーカー線を検出し、前記第1のマーカー線によって定まる、前記第1のマーカー線と平行な座標軸の領域と、前記第2のマーカー線によって定まる、前記第2のマーカー線と平行な座標軸の領域とが交差する領域に相当する抽出ブロックを生成する抽出ブロック生成部と、前記画像データから前記抽出ブロックの範囲内の画像を抽出して前記画像データを加工処理し、印刷するための印刷データを生成する画像加工部とを有することを特徴とする。
Another image reading apparatus according to the present invention is an image reading apparatus for reading an image recorded on a read original,
An image data transmitting unit that reads an image of a predetermined rectangular area on the image forming surface of the read original and transmits image data of the read image; a paper edge margin area and the paper edge margin in the predetermined rectangular area; A document copy range detection unit that distinguishes a document copy region surrounded by a region and separates and transmits the image data of the paper margin region from the image data, and the image data of the paper margin region A marker line detector that detects a first marker line extending in one direction of the rectangular area, and a second that extends in a direction orthogonal to the first marker line from the image data of the paper edge margin area A marker line is detected and is determined by the first marker line, the area of the coordinate axis parallel to the first marker line, and the coordinate determined by the second marker line and parallel to the second marker line An extraction block generating unit that generates an extraction block corresponding to a region intersecting with the region, and printing for extracting an image within the range of the extraction block from the image data, processing the image data, and printing And an image processing unit for generating data.

本発明によれば、読み取り原稿から抽出したい所望の画像領域を特定する際に、対応する領域に延在する連続線を記述するだけで所望の画像領域を特定し、抽出することが可能となる。   According to the present invention, when a desired image area desired to be extracted from a read document is specified, the desired image area can be specified and extracted simply by describing a continuous line extending to the corresponding area. .

本発明による実施の形態1の画像読み取り装置の要部構成を示す機能ブロック図である。It is a functional block diagram which shows the principal part structure of the image reading apparatus of Embodiment 1 by this invention. 実施の形態1において、スキャナで読み取る読み取り原稿と、スキャナの読取り位置との関係、及び画像読み取り装置による読み取り動作を説明するための動作説明図である。FIG. 6 is an operation explanatory diagram for explaining a relationship between a reading document read by a scanner and a reading position of the scanner and a reading operation by the image reading device in the first embodiment. 実施の形態1において、判断条件入力部によって表示される表示画面例を示す動作説明図である。FIG. 10 is an operation explanatory diagram illustrating an example of a display screen displayed by a determination condition input unit in the first embodiment. 実施の形態1において、抽出条件設定部によって表示される表示画面例を示す動作説明図である。FIG. 10 is an operation explanatory diagram illustrating an example of a display screen displayed by the extraction condition setting unit in the first embodiment. 実施の形態1において、補助線を伴って書き込まれた連続線の形状を示す図である。In Embodiment 1, it is a figure which shows the shape of the continuous line written with the auxiliary line. (a)は、実施の形態1の画像読み取り装置が読み取る読み取り原稿の画像であり、(b)は、抽出モードを「切り出し」モードとして印刷したときの印刷画像を示す図であり、(c)は、抽出モードを「マスク」モードとして画像抽出し、印刷した時の印刷画像を示す図である。(A) is an image of a read original read by the image reading apparatus according to the first embodiment, and (b) is a diagram showing a print image when the extraction mode is set to the “cutout” mode, and (c) These are diagrams showing a print image when an image is extracted and printed with the extraction mode set to the “mask” mode. 本発明による実施の形態2の画像読み取り装置の要部構成を示す機能ブロック図である。It is a functional block diagram which shows the principal part structure of the image reading apparatus of Embodiment 2 by this invention. 実施の形態2において、スキャナで読み取る読み取り原稿と、スキャナの読取り位置との関係、及び画像読み取り装置による読み取り動作を説明するための動作説明図である。In Embodiment 2, it is operation | movement explanatory drawing for demonstrating the relationship between the reading original read with a scanner, the reading position of a scanner, and reading operation | movement by an image reading apparatus. 実施の形態2において、判断条件入力部によって表示される表示画面例を示す動作説明図である。In Embodiment 2, it is operation | movement explanatory drawing which shows the example of a display screen displayed by the judgment condition input part. 実施の形態2において、抽出条件設定部によって表示される表示画面例を示す動作説明図である。In Embodiment 2, it is operation | movement explanatory drawing which shows the example of a display screen displayed by the extraction condition setting part. (a)は、実施の形態2の画像読み取り装置が読み取る読み取り原稿の画像であり、(b)は、抽出モードを「切り出し」モードとして印刷したときの印刷画像を示す図であり、(c)は、抽出モードを「マスク」モードとして画像抽出し、印刷した時の印刷画像を示す図である。(A) is an image of a read original read by the image reading apparatus according to the second embodiment, and (b) is a diagram illustrating a print image when the extraction mode is set to the “cutout” mode, and (c) These are diagrams showing a print image when an image is extracted and printed with the extraction mode set to the “mask” mode.

実施の形態1.
図1は、本発明による実施の形態1の画像読み取り装置の要部構成を示す機能ブロック図である。
Embodiment 1 FIG.
FIG. 1 is a functional block diagram showing a main configuration of the image reading apparatus according to the first embodiment of the present invention.

画像読み取り装置1は、スキャナ100、画像読み取り部101、連続線検出部102、補助線判断部103、判断条件入力部104、抽出ブロック生成部105、抽出条件設定部106、及び画像加工部107を備える。スキャナ100は、任意サイズの原稿のカラー画像を読み取り、読み取ったカラー画像のカラーデジタル画像データを画像読み取り部101に送信する。画像読み取り部101は、後述するように、このカラーデジタル画像データをライン単位で、原稿のサイズ情報と共に後段の、連続線検出部102及び画像加工部107に送信する。尚、スキャナ100と画像読み取り部101は、画像データ送信部に相当する。   The image reading apparatus 1 includes a scanner 100, an image reading unit 101, a continuous line detection unit 102, an auxiliary line determination unit 103, a determination condition input unit 104, an extraction block generation unit 105, an extraction condition setting unit 106, and an image processing unit 107. Prepare. The scanner 100 reads a color image of a document of an arbitrary size and transmits color digital image data of the read color image to the image reading unit 101. As will be described later, the image reading unit 101 transmits the color digital image data in units of lines to the continuous line detection unit 102 and the image processing unit 107 in the subsequent stage together with the document size information. The scanner 100 and the image reading unit 101 correspond to an image data transmission unit.

連続線検出部102は、ライン単位で入力するラインデータを逐次スキャンしながら後述する連続線55(図2)を探索する。補助線判断部103は、後述する補助線65(図5)を特定し、判断条件入力部104は、連続線検出部101において連続線55を判断するための線幅や線の色等の判断条件を、ユーザ指示に基づいて入力して設定し、抽出ブロック生成部105は、検出された連続線55の情報をもとに抽出ブロック56(図2)を生成する。   The continuous line detection unit 102 searches for a continuous line 55 (FIG. 2) to be described later while sequentially scanning line data input in units of lines. The auxiliary line determination unit 103 specifies an auxiliary line 65 (FIG. 5), which will be described later, and the determination condition input unit 104 determines line width, line color, and the like for the continuous line detection unit 101 to determine the continuous line 55. The conditions are input and set based on a user instruction, and the extraction block generation unit 105 generates the extraction block 56 (FIG. 2) based on the information of the detected continuous line 55.

抽出条件設定部106は、補助線判断部103の動作のオン/オフや抽出ブロック56の生成条件を入力するユーザ指示に基づいて設定し、画像加工部107は、画像読み取り部101で得られたカラーデジタル画像データと抽出ブロック生成部105で生成された抽出ブロック情報とから後述するようにカラーデジタル画像データを加工した印刷データを生成し、外部装置のプリンタ110に送信する。印刷手段としてのプリンタ110は、画像加工部107から出力された印刷データを所定媒体へ印刷する。   The extraction condition setting unit 106 sets on / off of the operation of the auxiliary line determination unit 103 and a user instruction to input the generation conditions of the extraction block 56, and the image processing unit 107 is obtained by the image reading unit 101. Print data obtained by processing the color digital image data is generated from the color digital image data and the extracted block information generated by the extracted block generation unit 105 as described later, and is transmitted to the printer 110 of the external device. A printer 110 serving as a printing unit prints print data output from the image processing unit 107 on a predetermined medium.

以上の構成において、画像読み取り装置1の動作について以下に説明する。
図2は、スキャナ100で読み取る読み取り原稿60と、スキャナ100の読取り位置との関係、及び画像読み取り装置1による読み取り動作を説明するための動作説明図である。
In the above configuration, the operation of the image reading apparatus 1 will be described below.
FIG. 2 is an operation explanatory diagram for explaining the relationship between the reading document 60 read by the scanner 100 and the reading position of the scanner 100 and the reading operation by the image reading apparatus 1.

読み取り基準位置50は、読み取り時における読み取り原稿60の読み取り開始位置に相当する。便宜上、ここで、この読み取り基準位置50を原点として、スキャナヘッド(CCDセンサなどを用いた画像データ取り込み機構部品)の配列方向と平行にX軸をとり、読み取り原稿60の移動方向である矢印A方向と平行にY軸をとり、読み取りピッチ(例えば、読み取り解像度が300dot/inchの場合には、1/300inch)を単位としたX−Y座標を想定する。ここでは、スキャナヘッドが固定で、読み取り原稿60が矢印A方向に移動する装置を想定し、Y軸のプラス方向を矢印Aと逆方向に設定しているため、読み取り方向はY軸のプラス方向となる。尚、読み取り原稿60が固定でスキャナヘッドがY軸のプラス方向に移動する構成を想定しても良い。   The reading reference position 50 corresponds to the reading start position of the read document 60 at the time of reading. For the sake of convenience, here, the reading reference position 50 is set as the origin, the X axis is parallel to the arrangement direction of the scanner head (image data capturing mechanism component using a CCD sensor or the like), and the arrow A that is the moving direction of the reading document 60 An XY coordinate is assumed in which the Y axis is parallel to the direction and the reading pitch (for example, 1/300 inch when the reading resolution is 300 dots / inch) is used as a unit. Here, assuming that the scanner head is fixed and the read document 60 moves in the direction of arrow A, the positive direction of the Y axis is set in the direction opposite to that of arrow A, so the reading direction is the positive direction of the Y axis. It becomes. It may be assumed that the read document 60 is fixed and the scanner head moves in the positive direction of the Y axis.

ここでは簡単のため、読み取り基準位置50を読み取り原稿60の端部に対応する位置に想定し、X軸方向の最大読み取り座標位置xm及びY軸方向の最大読み取り座標位置ymが、それぞれ読み取り原稿60の長さ及び幅と一致するように想定する。従って、ここでは、読み取り基準位置50(原点)及び座標位置xm、ymで定まる矩形領域、即ち読み取り原稿60の全領域の画像がスキャナ100によって読み込まれる。   Here, for simplicity, it is assumed that the reading reference position 50 is a position corresponding to the end of the reading document 60, and the maximum reading coordinate position xm in the X-axis direction and the maximum reading coordinate position ym in the Y-axis direction are the reading document 60, respectively. Is assumed to match the length and width of Therefore, here, the scanner 100 reads an image of a rectangular area determined by the reading reference position 50 (origin) and the coordinate positions xm and ym, that is, the entire area of the reading document 60.

後述するように、画像読み取り装置1が、読み取り原稿60の各オブジェクト(文字、図形、写真データなどのデータ)が存在する位置を認識する場合、すべてこのX−Y座標に基づいて認識する。   As will be described later, when the image reading apparatus 1 recognizes the position where each object (data such as characters, graphics, and photographic data) of the read original 60 exists, it recognizes all based on the XY coordinates.

連続線55a,55b,55c(特に区別する必要がない場合には連続線55と称す場合がある)は、特定色の線で後述する抽出ブロック(連続線55と点線で囲まれた領域)56a,56b,56c(特に区別する必要がない場合には抽出ブロック56と称す場合がある)の位置を特定するため、例えばユーザによって読み取り原稿60に書き込まれるマーキング情報である。連続線55は、連続線検出部102によってその色及び太さが他と区別されることにより検出されるため、読み取り原稿60に頻繁に現れる色の成分と異なる色、及び原稿中の各オブジェクトと容易に区別が可能な程度の太さでマーキングされる必要がある。連続線検出部102は、後述するように、ユーザによって選択設定された色及び太さに基づいて連続線55を検出する。   The continuous lines 55a, 55b, and 55c (which may be referred to as the continuous line 55 when there is no particular distinction) are extracted blocks (area surrounded by the continuous line 55 and the dotted line) 56a described later with a line of a specific color. , 56b, and 56c (which may be referred to as the extraction block 56 when there is no need to distinguish between them), for example, marking information written on the read original 60 by the user. Since the continuous line 55 is detected by the continuous line detection unit 102 distinguishing the color and thickness from others, a color different from the color component frequently appearing in the read original 60 and each object in the original are detected. It must be marked with a thickness that can be easily distinguished. As described later, the continuous line detection unit 102 detects the continuous line 55 based on the color and thickness selected and set by the user.

従って、連続線55の色材の種類、線の太さは、連続線検出部102で正しく検出できるものを予め選定しておく。この場合、特定色材、特定形状のみの組合せに限定されるものではない。例えば、連続線検出部102が指定された太さの線だけではなく、それ以上の太さの線を連続線の対象として検出するものであってもよい。このようにして、一般的な文書原稿中のオブジェクトが、連続線の一部と偶発的に合致する頻度をより低く抑えるものを適宜選択しておけばよい。説明の簡単化のため、以降の説明における連続線55は、読み取り原稿60のオブジェクトと偶発的に合致することのない特定色と線幅を有しているものとして説明する。   Therefore, the color material type and line thickness of the continuous line 55 are selected in advance so that the continuous line detection unit 102 can correctly detect them. In this case, it is not limited to the combination of only the specific color material and the specific shape. For example, the continuous line detection unit 102 may detect not only a specified thickness line but also a line having a larger thickness as a continuous line target. In this way, it is only necessary to appropriately select an object in a general document original that suppresses the frequency with which an object coincides with a part of a continuous line. In order to simplify the description, the continuous line 55 in the following description will be described as having a specific color and line width that do not coincide with the object of the read original 60.

抽出ブロック56は、ユーザが抽出したい画像領域を囲むように連続線55に隣接して形成され、各抽出ブロック56のX方向の長さは連続線の長さに一致し、Y方向の長さd(pix)は、後述するように予めユーザによって選択設定される。   The extraction block 56 is formed adjacent to the continuous line 55 so as to surround the image area that the user wants to extract. The length of each extraction block 56 in the X direction matches the length of the continuous line, and the length in the Y direction. d (pix) is selected and set by the user in advance as will be described later.

所望の位置に適切な連続線55をマーキングした読み取り原稿60が、ユーザによって、スキャナ100の図示しないセット位置にセットされ、スキャナ100による画像読み込みが開始されると、スキャナ100が、X軸に平行に配置した図示しないスキャンヘッドによって読み取り基準位置50から読み取り原稿60の読み取りを開始する。このとき、スキャンヘッドは、X軸に平行で、Y軸方向に所定の読み取りピッチで設定する複数の読み取りラインをY軸のプラス方向に走査し、各ライン上の画像を所定の読み取りピッチ(X軸方向)で読み込み、読み込んだカラーデジタル画像データを順次画像読み取り部101に送信する。画像読み取り部101は、受信したカラーデジタル画像データを1ラインずつ、連続線検出部102及び後述の画像加工部107へ、原稿のサイズ情報とともに全ラインの画像データを送出する。   When a reading document 60 on which a suitable continuous line 55 is marked at a desired position is set by a user at a setting position (not shown) of the scanner 100 and image reading by the scanner 100 is started, the scanner 100 is parallel to the X axis. The reading of the original 60 is started from the reading reference position 50 by a scanning head (not shown) arranged in FIG. At this time, the scan head scans a plurality of reading lines set in parallel with the X axis at a predetermined reading pitch in the Y axis direction in the positive direction of the Y axis, and images on each line are scanned at a predetermined reading pitch (X Axis direction), and the read digital color image data is sequentially transmitted to the image reading unit 101. The image reading unit 101 sends the received color digital image data line by line to the continuous line detection unit 102 and the image processing unit 107 described later along with the size information of the original, line by line.

連続線検出部102は、画像読み取り部101から送られたライン毎に各画素値の分析処理を行って連続線55の要素の有無を判断する。この分析処理では、1ラインの各画素の画素値が特定色成分相当の値か否かを判定し、特定色成分相当であると判断された場合その画素のX座標値を一時保存する。1ライン分の画素値の分析が終了した段階で、一時保存されていたX座標値xのうち連続するものがあった場合、その始点座標値xa及び終点座標値xbと、該当ラインのY座標値yを1組のデータ対としてメモリに保存する。   The continuous line detection unit 102 analyzes each pixel value for each line sent from the image reading unit 101 and determines the presence or absence of an element of the continuous line 55. In this analysis processing, it is determined whether or not the pixel value of each pixel of one line is a value corresponding to the specific color component. If it is determined that the pixel value is equivalent to the specific color component, the X coordinate value of the pixel is temporarily stored. At the stage where the analysis of pixel values for one line is completed, if there are consecutive X coordinate values x temporarily stored, the start point coordinate value xa and end point coordinate value xb, and the Y coordinate of the corresponding line The value y is stored in memory as a set of data pairs.

以上の処理を全ラインについて実行した後、メモリに保存された各データ対から、X座標の始点座標値xaと終点座標値xbが一致するデータ対であって、かつY座標値yがya〜(ya+n)までnだけ連続するデータ対が存在するか否かを判断する。即ち、ここでは、線の色が連続線として予め設定した特定色であって、Y座標の座標値yaからライン数n分の線幅を有し、更にその長さが始点座標値xa〜終点座標値xbまでの長さを有する連続線55の存在が判定される。ここで連続線の線幅に相当するn(y方向の連続性しきい値)、及び連続線の特定色は、判断条件入力部104から設定されるものを使う。   After the above processing is executed for all lines, the data pair stored in the memory is a data pair in which the start coordinate value xa and the end coordinate value xb of the X coordinate coincide with each other, and the Y coordinate value y is ya ~. It is determined whether or not there are n consecutive data pairs up to (ya + n). That is, here, the color of the line is a specific color set in advance as a continuous line, has a line width corresponding to the number n of lines from the coordinate value ya of the Y coordinate, and the length is from the start point coordinate value xa to the end point. The presence of the continuous line 55 having a length up to the coordinate value xb is determined. Here, n (the continuity threshold value in the y direction) corresponding to the line width of the continuous line and the specific color of the continuous line are set from the determination condition input unit 104.

尚、ここでは、メモリに保存された各データ対からX座標の始点座標値xaと終点座標値xbが一致するデータ対を連続線の候補として選択したが、連続線の端部のばらつきを考慮して、始点、終点の各X座標値が、連続して所定の範囲に収まるデータ対を検索して得られたデータ対を連続線の候補として選択しても良い。   In this case, a data pair in which the start coordinate value xa and the end coordinate value xb of the X coordinate coincide with each other stored in the memory is selected as a continuous line candidate, but the variation of the end of the continuous line is taken into consideration. Then, a data pair obtained by searching for a data pair in which the X coordinate values of the start point and the end point continuously fall within a predetermined range may be selected as a continuous line candidate.

連続線検出部102は、以上のようにして検出した連続線55の連続線情報として、連続線55の最も基準位置50側のY座標に相当する位置座標値ya、X座標の始点座標値xa及び終点座標xbの3つの座標値情報と線幅nを抽出ブロック生成部105に送出し、その後、次の読み取り原稿60の連続線検出に備え、すでにメモリに保存している連続線に関する情報を消去する。   As the continuous line information of the continuous line 55 detected as described above, the continuous line detection unit 102 has a position coordinate value ya corresponding to the Y coordinate closest to the reference position 50 of the continuous line 55, and a start point coordinate value xa of the X coordinate. And the three coordinate value information of the end point coordinate xb and the line width n are sent to the extraction block generation unit 105, and then information on the continuous line already stored in the memory is prepared for the detection of the continuous line of the next read original 60. to erase.

判断条件入力部104は、連続線55の検出条件を設定するため、設定項目を表示し、ユーザが選択した内容を入力するインターフェースを有する設定画面をスキャナLCD(Liquid Crystal Display)などの表示デバイスに表示すると共に、適宜ユーザによる特定条件値の入力手段を提供する。図3に、判断条件入力部104による表示画面例を示す。ここで示す例は、連続線と判断するための線幅(太さ)、及び連続線と判断するための特定色を指定するためのユーザインターフェース例であり、ユーザによって、連続線55の線幅の連続性しきい値N(mm)を任意に指定/変更し、更に連続線55の特定色を選択することができる。   The determination condition input unit 104 displays setting items to set detection conditions for the continuous line 55, and displays a setting screen having an interface for inputting the content selected by the user on a display device such as a scanner LCD (Liquid Crystal Display). In addition to displaying, a means for inputting a specific condition value by the user is provided as appropriate. FIG. 3 shows an example of a display screen by the judgment condition input unit 104. The example shown here is an example of a user interface for specifying a line width (thickness) for determining a continuous line and a specific color for determining a continuous line. The continuity threshold value N (mm) can be arbitrarily designated / changed, and a specific color of the continuous line 55 can be selected.

ここでユーザが入力する連続性しきい値N(mm)は、読み取りピッチ単位の数値n(pix)、即ち、
n=N・(25.4)/DPI
(DPIは読み取り解像度(ドット数/1インチ)、小数点以下は切捨てで換算)
に換算されて連続線検出部104に提供される。またユーザが選択した特定色成分は、連続線の検出時の対象特定色成分とすることを指示する。本ユーザインターフェースによる連続性しきい値の入力タイミングは、該当原稿のスキャン開始前に適宜表示し設定するものである。
Here, the continuity threshold value N (mm) input by the user is a numerical value n (pix) in units of reading pitch, that is,
n = N · (25.4) / DPI
(DPI is the reading resolution (number of dots / 1 inch), rounded down to the nearest decimal point)
Converted into a continuous line detection unit 104. The specific color component selected by the user is instructed to be the target specific color component at the time of detecting a continuous line. The input timing of the continuity threshold by this user interface is appropriately displayed and set before the scanning of the corresponding document is started.

抽出ブロック生成部105は、連続線検出部102から送られた連続線55の座標値情報(ya、xa、xb)及び線幅n、後述する抽出条件設定部106で設定された各種抽出条件及び抽出モードから、抽出ブロック56の位置を特定するX−Y座標値を算出し、得られた抽出ブロック56の位置・範囲情報(X−Y座標値情報)、及び抽出条件設定部106で設定された抽出カラー指定、抽出モード情報を、画像加工部107に適宜送出する。抽出ブロック56の位置を特定するX−Y座標値の算出方法については後で説明する。   The extraction block generation unit 105 includes coordinate value information (ya, xa, xb) and line width n of the continuous line 55 sent from the continuous line detection unit 102, various extraction conditions set by the extraction condition setting unit 106 described later, and From the extraction mode, an XY coordinate value specifying the position of the extraction block 56 is calculated, and the obtained position / range information (XY coordinate value information) of the extraction block 56 and the extraction condition setting unit 106 are set. The extracted color designation and extraction mode information are sent to the image processing unit 107 as appropriate. A method for calculating the XY coordinate value for specifying the position of the extraction block 56 will be described later.

抽出条件設定部106は、各種抽出条件を設定するため、設定項目を表示し、ユーザが選択した内容を入力するインターフェースを有する設定画面をスキャナLEDなどの表示デバイスに表示すると共に、適宜ユーザによる特定条件値の入力手段を提供する。図4に抽出条件設定部106による表示画面例を示す。   In order to set various extraction conditions, the extraction condition setting unit 106 displays setting items, displays a setting screen having an interface for inputting the content selected by the user on a display device such as a scanner LED, and is appropriately specified by the user. A condition value input means is provided. FIG. 4 shows a display screen example by the extraction condition setting unit 106.

ここでは、印刷時に該当抽出範囲のみ残す「切り出し」モードとするか或いは該当抽出範囲のみ消去する「マスク」モードとするかの抽出モード、及び抽出範囲内の情報をカラーで取得するかモノクロで取得するかの抽出カラーが、ユーザによって任意に指定/変更できる。更に、抽出ブロック56を抽出する際に後述する補助線65(図5)を使用するか否かのオン(ON)、オフ(OFF)選択と、補助線65を使用しない選択がおこなわれた場合に、図2に示すような、連続線55に隣接する抽出ブロック56のY軸方向の抽出幅D(mm)とを、ユーザによって任意に指定/変更できる。   Here, the extraction mode, which is the “cutout” mode in which only the relevant extraction range is left during printing or the “mask” mode in which only the relevant extraction range is erased, and the information in the extraction range is obtained in color or in monochrome. The extraction color of whether or not can be designated / changed arbitrarily by the user. Further, when extracting the extraction block 56, an ON (ON) or OFF (OFF) selection as to whether or not to use an auxiliary line 65 (FIG. 5) described later, and a selection not using the auxiliary line 65 are performed. In addition, the extraction width D (mm) in the Y-axis direction of the extraction block 56 adjacent to the continuous line 55 as shown in FIG. 2 can be arbitrarily designated / changed by the user.

ここでユーザが入力する抽出ブロック56のY軸方向の抽出幅D(mm)は、読み取りピッチ単位の数値d(pix)、即ち、
d=D・(25.4)/DPI
(DPIは読み取り解像度(ドット数/1インチ)、小数点以下は切捨てで換算)
に換算されて抽出ブロック生成部105に提供される。本ユーザインターフェースによる各種抽出条件の入力タイミングは、該当原稿のスキャン開始前に適宜表示し設定するものである。
Here, the extraction width D (mm) in the Y-axis direction of the extraction block 56 input by the user is a numerical value d (pix) in units of reading pitch,
d = D · (25.4) / DPI
(DPI is the reading resolution (number of dots / 1 inch), rounded down to the nearest decimal point)
The extracted block is provided to the extraction block generation unit 105. The input timing of various extraction conditions by this user interface is appropriately displayed and set before the scanning of the corresponding document is started.

補助線判断部103は、抽出ブロック生成部105から連続線情報が通知された場合、連続線検出部102に対して、連続線判断条件及びライン単位データの転送要求を行い、連続線55からY軸方向に延在する補助線65(図5)の検出処理を行う。図5は、補助線65を伴って書き込まれた連続線55の形状を示す図である。同図に示すように、補助線65は、連続線55の一端からY軸プラス方向に延在して描かれ、その長さdがそのまま、抽出ブロック56の抽出幅dとなる。従って、図4において補助線を使用するオン(ON)が選択された場合、連続線55と補助線65によって確定される領域(図5の網掛け領域)が抽出ブロック56となる。   When the continuous line information is notified from the extraction block generation unit 105, the auxiliary line determination unit 103 requests the continuous line detection unit 102 to transfer the continuous line determination condition and the line unit data. Detection processing of the auxiliary line 65 (FIG. 5) extending in the axial direction is performed. FIG. 5 is a diagram showing the shape of the continuous line 55 written with the auxiliary line 65. As shown in the figure, the auxiliary line 65 is drawn extending from one end of the continuous line 55 in the plus direction of the Y axis, and its length d becomes the extraction width d of the extraction block 56 as it is. Therefore, when ON (ON) using an auxiliary line is selected in FIG. 4, an area (shaded area in FIG. 5) defined by the continuous line 55 and the auxiliary line 65 becomes the extraction block 56.

補助線65の検出は、先にX座標の画素並びからX軸方向の連続線55を検出したのと同じ検出条件、方法をY座標方向の画素並びに適用することでなされる。従って補助線65の線幅も連続線55と同じn(pix)である場合に検出されるため、補助線65も連続線55と同じ線幅で描く必要がある。   The auxiliary line 65 is detected by applying the same detection conditions and method as those for detecting the continuous line 55 in the X-axis direction from the X-coordinate pixel array previously and the pixels in the Y-coordinate direction. Accordingly, since the auxiliary line 65 is detected when the line width is the same n (pix) as the continuous line 55, the auxiliary line 65 needs to be drawn with the same line width as the continuous line 55.

ここで連続線検出部102は、少なくとも補助線判断部103からラインデータの転送要求がある間は、画像読み取り部101から受信したラインデータを補助線判断部103にも転送する。以上の方法により要求された補助線65の終端ライン座標(補助線の終点Y座標値yh)が検出された場合、該当するY座標値yhを抽出ブロック生成部105に返信する。この時、抽出ブロック生成部105では、Y座標の抽出範囲を、Y座標値(ya+n)からyh(=(ya+n+d))までの範囲とする。もし、他の連続線の補助線判断要求が残っていなければ連続線検出部102に要求していたラインデータの転送要求を解除して処理を終了する。   Here, the continuous line detection unit 102 also transfers the line data received from the image reading unit 101 to the auxiliary line determination unit 103 at least while there is a line data transfer request from the auxiliary line determination unit 103. When the end line coordinates (auxiliary end point Y coordinate value yh) of the auxiliary line 65 requested by the above method are detected, the corresponding Y coordinate value yh is returned to the extraction block generation unit 105. At this time, the extraction block generation unit 105 sets the extraction range of the Y coordinate to a range from the Y coordinate value (ya + n) to yh (= (ya + n + d)). If there is no other continuous line auxiliary line determination request remaining, the line data transfer request requested to the continuous line detection unit 102 is canceled and the process is terminated.

抽出ブロック生成部105は、連続線検出部102、補助線判断部103、及び抽出条件設定部106から送られてきた各種情報から、図2に示す各抽出ブロック56の位置・範囲情報(X−Y座標値情報)としての始点71a,71b,71c(特に区別する必要がない場合には始点71と称す場合がある)及び終点72a,72b,72c(特に区別する必要がない場合には終点72と称す場合がある)の座標を得る。各座標は以下の通りである。
始点71の座標(x1、y1)及び終点72の座標(x2、y2)は、
補助線オフ(OFF)の場合、x1=xa、y1=ya+n
x2=xb、y2=ya+n+dであり、
補助線オン(ON)の場合、x1=xa、y1=ya+n
x2=xb、y2=yh(=ya+n+d)である。
The extraction block generation unit 105 obtains position / range information (X−) of each extraction block 56 shown in FIG. 2 from various information sent from the continuous line detection unit 102, the auxiliary line determination unit 103, and the extraction condition setting unit 106. Y coordinate value information) as start points 71a, 71b, 71c (may be referred to as start point 71 when it is not necessary to distinguish between them) and end points 72a, 72b, 72c (when there is no need to distinguish between them, end point 72) Get the coordinates). Each coordinate is as follows.
The coordinates (x1, y1) of the start point 71 and the coordinates (x2, y2) of the end point 72 are
When the auxiliary line is off (OFF), x1 = xa, y1 = ya + n
x2 = xb, y2 = ya + n + d,
When the auxiliary line is on (ON), x1 = xa, y1 = ya + n
x2 = xb, y2 = yh (= ya + n + d).

画像加工部107は、抽出ブロック生成部105から得られた各抽出ブロック56の位置・範囲情報(X−Y座標値情報)、抽出モード、抽出カラー指定情報をもとに画像読み取り部101から伝送されたカラーデジタル画像データから必要な部分の画像データのみを切出す。   The image processing unit 107 transmits from the image reading unit 101 based on the position / range information (XY coordinate value information), extraction mode, and extraction color designation information of each extraction block 56 obtained from the extraction block generation unit 105. Only necessary image data is cut out from the color digital image data.

抽出モードが「切り出し」モードであった場合、抽出ブロック56の範囲内の画像データのみを、プリンタ108へ出力するデータを一時保存する出力ページメモリに書き出す。このとき抽出カラー指定がモノクロであった場合、更に抽出画像中のグレー成分(RGBデータの場合、例えば、R=G=Bがグレー成分として検出可能)のみを選択的に抽出する。一方、抽出モードが「マスク」であった場合、抽出ブロック56の範囲内の画像データを消去して出力ページメモリに書き出す。このとき抽出カラー指定がモノクロであった場合、更に抽出画像中のグレー成分のみを出力ページメモリに残す。   When the extraction mode is the “cutout” mode, only the image data within the range of the extraction block 56 is written to the output page memory that temporarily stores the data to be output to the printer 108. At this time, when the extraction color designation is monochrome, only the gray component in the extracted image (in the case of RGB data, for example, R = G = B can be detected as a gray component) is selectively extracted. On the other hand, when the extraction mode is “mask”, the image data in the range of the extraction block 56 is erased and written to the output page memory. At this time, if the extraction color designation is monochrome, only the gray component in the extracted image is left in the output page memory.

以上のようにして、1頁分の全ての画像データに対して上記した画像抽出処理を行った後、得られた画像データをプリンタ110に送出する。プリンタ110は、伝送された画像データを別途印刷設定として適宜指定された印刷条件に従って所定の印刷用紙へ印刷する。   As described above, after performing the above-described image extraction processing on all image data for one page, the obtained image data is sent to the printer 110. The printer 110 prints the transmitted image data on a predetermined printing sheet according to printing conditions appropriately designated as separate print settings.

図6は、この時画像加工部107で出力ページメモリに書き出され、プリンタ110によって印刷される印刷画像例を示す。同図(a)は、画像読み取り装置1が読み取る読み取り原稿60の画像であり、この原稿に図2で説明した各連続線55a,55b,55cをマーキングして抽出ブロック56a,56b,56cを指定し、抽出モードを「切り出し」モードとして画像抽出し、印刷したときの印刷画像を同図(b)に示し、抽出モードを「マスク」モードとして画像抽出し、印刷した時の印刷画像を同図(c)に示す。   FIG. 6 shows an example of a print image that is written in the output page memory by the image processing unit 107 and printed by the printer 110 at this time. FIG. 5A shows an image of a read original 60 read by the image reading apparatus 1. The extraction lines 56a, 56b, and 56c are designated by marking the original lines 55a, 55b, and 55c described in FIG. (B) shows the print image when the extraction mode is “cutout” mode and the image is extracted and printed, and the print image when the extraction mode is “mask” mode and is printed is shown in FIG. Shown in (c).

尚、上記説明では、補助線判断部103が、Y軸方向にのびる補助線65(図5)を検出してY軸方向の抽出幅dを決定する例を示したが、これに限定されるものではなく、例えば、文字認識処理を組み合わせ、連続線55に隣接する文字のサイズを読み取り、この文字サイズに基づいて、例えば連続線に隣接する一行の文字が含まれる幅に、Y軸方向の抽出幅dを決定しても良いなど、種々の方法を採用することが可能である。   In the above description, the auxiliary line determination unit 103 detects the auxiliary line 65 (FIG. 5) extending in the Y-axis direction and determines the extraction width d in the Y-axis direction. However, the present invention is limited to this. For example, the character recognition processing is combined, the size of the character adjacent to the continuous line 55 is read, and based on this character size, for example, the width including one line of characters adjacent to the continuous line is included in the Y-axis direction. Various methods can be employed, such as determining the extraction width d.

以上のように、本実施の形態の読み取り装置によれば、読み込み原稿の読み取り範囲を閉ループでマーキングすることなく、直線状の連続線をマーキングするだけで、読み込み範囲を指定できるため、マーキング作業が単純となり、特に多くの原稿を処理したい場合などには作業効率を向上することが可能となる。   As described above, according to the reading apparatus of the present embodiment, the reading range of the read original can be designated by marking a linear continuous line without marking the reading range in a closed loop. This simplifies operation efficiency, especially when a large number of documents are to be processed.

実施の形態2.
図7は、本発明による実施の形態2の画像読み取り装置の要部構成を示す機能ブロック図である。
Embodiment 2. FIG.
FIG. 7 is a functional block diagram showing the main configuration of the image reading apparatus according to the second embodiment of the present invention.

画像読み取り装置2は、スキャナ200、画像読み取り部201、原稿複写範囲検出部202、マーカー線検出部203、判断条件入力部204、処理モード切換え部205、抽出ブロック生成部206、抽出条件設定部207、及び画像加工部208を備える。スキャナ200は、任意サイズの原稿のカラー画像を読み取り、読み取ったカラー画像のカラーデジタル画像データを画像読み取り部201に送信する。画像読み取り部201は、このカラーデジタル画像データをライン単位で、原稿のサイズ情報と共に後段の、原稿複写範囲検出部202及び画像加工部208に送信する。スキャナ200と画像読み取り部201は、画像データ送信部に相当する。   The image reading apparatus 2 includes a scanner 200, an image reading unit 201, a document copy range detection unit 202, a marker line detection unit 203, a determination condition input unit 204, a processing mode switching unit 205, an extraction block generation unit 206, and an extraction condition setting unit 207. , And an image processing unit 208. The scanner 200 reads a color image of a document of an arbitrary size and transmits color digital image data of the read color image to the image reading unit 201. The image reading unit 201 transmits the color digital image data in units of lines to the document copy range detection unit 202 and the image processing unit 208 in the subsequent stage together with document size information. The scanner 200 and the image reading unit 201 correspond to an image data transmission unit.

原稿複写範囲検出部202は、読み取り原稿サイズ情報から、読み取ったカラーデジタル画像データの原稿複写範囲252と用紙端余白257を設定し、用紙端余白257の画像データをマーカー線検出部203に送信する。マーカー線検出部203は、この用紙端余白257の画像データをもとに後述するマーカー線221,222を探索し、判断条件入力部204は、マーカー線検出部203に対してマーカー線を検出するための検出判断条件を、ユーザ指示に基づいて入力して設定する。   The document copy range detection unit 202 sets the document copy range 252 and paper edge margin 257 of the read color digital image data from the read document size information, and transmits the image data of the paper edge margin 257 to the marker line detection unit 203. . The marker line detection unit 203 searches for marker lines 221 and 222, which will be described later, based on the image data of the paper edge margin 257, and the determination condition input unit 204 detects a marker line for the marker line detection unit 203. Detection judgment conditions for this are input and set based on a user instruction.

抽出ブロック生成部206は、原稿複写範囲検出部202、マーカー線検出部203と協調して抽出ブロック256(図8)を生成する。抽出条件設定部207は、抽出ブロック生成部206における抽出ブロック256の抽出条件を、入力するユーザ指示に基づいて設定し、処理モード切換え部205は、マーカー線検出部203からの情報に基づいて抽出ブロック生成部206による抽出処理を指示する。   The extraction block generation unit 206 generates an extraction block 256 (FIG. 8) in cooperation with the document copy range detection unit 202 and the marker line detection unit 203. The extraction condition setting unit 207 sets the extraction condition of the extraction block 256 in the extraction block generation unit 206 based on the input user instruction, and the processing mode switching unit 205 extracts based on the information from the marker line detection unit 203. The extraction process by the block generation unit 206 is instructed.

画像加工部208は、画像読み取り部201で得られたカラーデジタル画像データと抽出ブロック生成部206で生成された抽出ブロック情報とから後述するようにカラーデジタル画像データを加工した印刷データを生成し、外部装置のプリンタ210に送信する。印刷手段としてのプリンタ210は、画像加工部208から出力された画像データを所定媒体へ印刷する。   The image processing unit 208 generates print data obtained by processing the color digital image data, as will be described later, from the color digital image data obtained by the image reading unit 201 and the extraction block information generated by the extraction block generation unit 206. Transmit to the printer 210 of the external device. A printer 210 serving as a printing unit prints image data output from the image processing unit 208 on a predetermined medium.

以上の構成において、画像読み取り装置2の動作について以下に説明する。
図8は、スキャナ200で読み取る読み取り原稿260と、スキャナ200の読取り位置との関係、及び画像読み取り装置2による読み取り動作を説明するための動作説明図である。
In the above configuration, the operation of the image reading apparatus 2 will be described below.
FIG. 8 is an operation explanatory diagram for explaining the relationship between the reading document 260 read by the scanner 200 and the reading position of the scanner 200 and the reading operation by the image reading apparatus 2.

読み取り基準位置250は、読み取り時における読み取り原稿260の読み取り開始位置に相当する。便宜上、ここで、この読み取り基準位置250を原点として、スキャナヘッド(CCDセンサなどを用いた画像データ取り込み機構部品)の配列方向と平行にX軸をとり、読み取り原稿260の移動方向である矢印A方向と平行にY軸をとり、読み取りピッチ(例えば、読み取り解像度が300dot/inchの場合には、1/300inch)を単位としたX−Y座標を想定する。   The reading reference position 250 corresponds to the reading start position of the reading document 260 at the time of reading. For the sake of convenience, here, the reading reference position 250 is the origin, the X axis is parallel to the arrangement direction of the scanner head (image data capturing mechanism component using a CCD sensor or the like), and the arrow A that is the moving direction of the reading document 260 An XY coordinate is assumed in which the Y axis is parallel to the direction and the reading pitch (for example, 1/300 inch when the reading resolution is 300 dots / inch) is used as a unit.

ここでは、スキャナヘッドが固定で、読み取り原稿260が矢印A方向に移動する装置を想定し、Y軸のプラス方向を矢印Aと逆方向に設定しているため、読み取り方向はY軸のプラス方向となる。尚、読み取り原稿260が固定でスキャナヘッドがY軸のプラス方向に移動する構成を想定しても良い。   Here, assuming that the scanner head is fixed and the read original 260 moves in the direction of arrow A, the positive direction of the Y axis is set in the direction opposite to that of arrow A, so the reading direction is the positive direction of the Y axis. It becomes. It may be assumed that the reading document 260 is fixed and the scanner head moves in the positive direction of the Y axis.

ここでは簡単のため、読み取り基準位置250を読み取り原稿260の端部に対応する位置に想定し、X軸方向の最大読み取り座標位置xm及びY軸方向の最大読み取り座標位置ymが、それぞれ読み取り原稿260の長さ及び幅と一致するように想定する。従って、ここでは、読み取り基準位置250(原点)及び座標位置xm、ymで定まる矩形領域、即ち読み取り原稿260の全領域の画像がスキャナ200によって読み込まれる。   Here, for the sake of simplicity, it is assumed that the reading reference position 250 is a position corresponding to the end of the reading document 260, and the maximum reading coordinate position xm in the X-axis direction and the maximum reading coordinate position ym in the Y-axis direction are the reading document 260, respectively. Is assumed to match the length and width of Therefore, here, the scanner 200 reads an image of the rectangular area determined by the reading reference position 250 (origin) and the coordinate positions xm and ym, that is, the entire area of the reading document 260.

後述するように、画像読み取り装置2が、読み取り原稿260の各オブジェクト(文字、図形、写真データなどのデータ)が存在する位置を認識する場合、すべてこのX−Y座標に基づいて位置を認識する。   As will be described later, when the image reading apparatus 2 recognizes a position where each object (data such as characters, graphics, and photographic data) of the read original 260 exists, the position is recognized based on the XY coordinates. .

マーカー線221、222は、ユーザが、抽出したい画像領域である後述する抽出ブロック256の位置を指定するために引く特定色の線である。マーカー線検出部203は、後述するように、ユーザによって選択設定された色及び太さに基づいてマーカー線221、222を検出する。従って、マーカー線221、222の色材の種類、線幅は、実施の形態1で説明した連続線検出部102(図1)で検出される連続線55と同様に、マーカー線検出部203で正しく検出できるものを予め選定しておく。   The marker lines 221 and 222 are lines of a specific color that the user draws in order to specify the position of an extraction block 256 described later, which is an image area to be extracted. As will be described later, the marker line detection unit 203 detects the marker lines 221 and 222 based on the color and thickness selected and set by the user. Therefore, the color material types and line widths of the marker lines 221 and 222 are determined by the marker line detection unit 203 in the same manner as the continuous line 55 detected by the continuous line detection unit 102 (FIG. 1) described in the first embodiment. Select one that can be detected correctly.

マーカー線221、222は、常に原稿複写範囲252の外側の用紙端余白257に配置される。原稿複写範囲252は、用紙サイズ毎に設定する、用紙端から内側p(mm)の幅に設けた用紙端余白257の内側領域に相当する。原稿複写範囲252の画像は、画像データとして読み取られ、その画像データは、最終的に印刷の対象となりえるデータとして処理されるが、用紙端余白257の画像は、読み取り時には画像データとして読み取られるものの、最終的に印刷されない。   The marker lines 221 and 222 are always arranged in the paper edge margin 257 outside the document copy range 252. The document copy range 252 corresponds to an inner area of a paper edge margin 257 provided for each paper size and provided with a width p (mm) inside from the paper edge. The image in the document copy range 252 is read as image data, and the image data is processed as data that can be finally printed, but the image on the paper edge margin 257 is read as image data at the time of reading. , Finally not printed.

抽出ブロック256は、ユーザが抽出したい矩形画像領域であり、読み取り原稿260の用紙端余白257の、X軸方向に配置されるマーカー線221及びY軸方向に配置されるマーカー線222の各始点と終点によって定まる。即ち、抽出ブロック256は、マーカー線221によって定まるX座標軸の領域と、マーカー線222によって定まるY座標軸の領域とが交差する領域に相当する。   The extraction block 256 is a rectangular image area that the user wants to extract, and the start point of the marker line 221 arranged in the X-axis direction and the marker line 222 arranged in the Y-axis direction of the paper edge margin 257 of the read original 260. It depends on the end point. That is, the extraction block 256 corresponds to a region where an X coordinate axis region defined by the marker line 221 and a Y coordinate axis region defined by the marker line 222 intersect.

従って、マーカー線221のX座標の始点座標値をxm、終点座標値をxnとし、マーカー線222のY座標の始点座標値をym、終点座標値をynとしたとき、抽出ブロック256の始点256a及び終点256bの各座標は座標(xm、ym)及び座標(xn、yn)となるが、この抽出ブロック256は、ユーザの目に見える形で読み取り原稿260上に存在するものではない。以後、X軸に沿って延在するマーカー線221をX座標マーカー線と称し、Y軸に沿って延在するマーカー線222をY座標マーカー線と称す場合がある。   Therefore, when the start point coordinate value of the X coordinate of the marker line 221 is xm, the end point coordinate value is xn, the start point coordinate value of the Y coordinate of the marker line 222 is ym, and the end point coordinate value is yn, the start point 256a of the extraction block 256 is obtained. The coordinates of the end point 256b are the coordinates (xm, ym) and the coordinates (xn, yn), but the extraction block 256 does not exist on the read document 260 in a form visible to the user. Hereinafter, the marker line 221 extending along the X axis may be referred to as an X coordinate marker line, and the marker line 222 extending along the Y axis may be referred to as a Y coordinate marker line.

ユーザは、特定領域の抽出を行いたい場合、抽出したい特定領域に対応する抽出ブロック256を特定するマーカー線221,222を用紙端余白257にマーキングした読み取り原稿260を事前に準備し、スキャナ200で読み取らせる。この時のスキャナ200による読み取りは、前記した実施の形態1で説明したスキャナ100(図1)と同様に行われるものとし、ここでの説明は省略する。画像読み取り部201は、受信したカラーデジタル画像データを1ラインずつ、原稿複写範囲設定部202及び後述の画像加工部208へ、原稿のサイズ情報と一緒に送出する。   When the user wants to extract a specific area, the user prepares a read original 260 in which the marker lines 221 and 222 for specifying the extraction block 256 corresponding to the specific area to be extracted are marked on the paper edge margin 257 in advance. Let me read. Reading by the scanner 200 at this time is performed in the same manner as the scanner 100 (FIG. 1) described in the first embodiment, and description thereof is omitted here. The image reading unit 201 sends the received color digital image data line by line to the document copy range setting unit 202 and an image processing unit 208 described later together with document size information.

原稿複写範囲検出部202は、画像読み取り部201から送られてきたライン毎の画素データと原稿サイズ情報から、用紙端余白部257の画素データと原稿複写範囲252内の画素データとを分離し、抽出した用紙端余白257の画素データのみをマーカー線検出部203に送出する。従って、原稿複写範囲252を含まないY座標の領域W1及びW3にある各ラインの画素データは、X座標の全領域の画素データが送出されるが、原稿複写範囲252を含むY座標の領域W2にある各ラインでは、原稿複写範囲252に相当するX座標のデータが省かれ、2つ用紙端余白部に相当する画素データのみが送出される。   The document copy range detection unit 202 separates the pixel data in the margin margin portion 257 and the pixel data in the document copy range 252 from the pixel data for each line and the document size information sent from the image reading unit 201. Only the pixel data of the extracted paper edge margin 257 is sent to the marker line detection unit 203. Accordingly, the pixel data of each line in the Y coordinate areas W1 and W3 that do not include the document copy range 252 is transmitted as the pixel data of the entire X coordinate area, but the Y coordinate area W2 that includes the document copy range 252. In each line, X-coordinate data corresponding to the original copy range 252 is omitted, and only pixel data corresponding to two margins on the paper edge is sent out.

マーカー線検出部203は、送られてきた用紙端余白画素データの分析処理を行って、原稿複写範囲252を含まないY座標の領域W1及びW3にあるラインの画素データから、この領域に形成されるX座標マーカー線221の有無を判断する。X座標マーカー線221の構成は実施の形態1で説明した連続線71(図2)と同じであるため、X座標マーカー線221の分析処理自体は実施の形態1で詳細に説明した連続線検出部102の分析処理と同じ方法が適用可能である。   The marker line detection unit 203 analyzes the received paper edge margin pixel data, and is formed in this area from pixel data of lines in the Y coordinate areas W1 and W3 that do not include the document copy range 252. The presence or absence of the X coordinate marker line 221 is determined. Since the configuration of the X coordinate marker line 221 is the same as the continuous line 71 (FIG. 2) described in the first embodiment, the analysis process itself of the X coordinate marker line 221 is the continuous line detection described in detail in the first embodiment. The same method as the analysis processing of the unit 102 can be applied.

即ち、マーカー線検出部203では、ライン毎に、各画素の画素値がマーカー線として予め規定されている特定色成分相当の値か否かを判定し、特定色成分相当であると判断され画素のX座標値を一時保存する。1ライン分の画素値の分析が終了した段階で、一時保存されていたX座標値xのうち連続するものがあった場合、その始点座標値xa及び終点座標値xbと、該当ラインのY座標値yを1組のデータ対としてメモリに保存する。   That is, the marker line detection unit 203 determines, for each line, whether or not the pixel value of each pixel is a value corresponding to a specific color component defined in advance as a marker line. The X coordinate value of is temporarily saved. At the stage where the analysis of pixel values for one line is completed, if there are consecutive X coordinate values x temporarily stored, the start point coordinate value xa and end point coordinate value xb, and the Y coordinate of the corresponding line The value y is stored in memory as a set of data pairs.

以上の処理をY座標の領域W1及びW3の全ラインについて実行した後、メモリに保存された各データ対から、X座標の始点座標値xaと終点座標値xbが一致するデータ対であって、かつY座標値yがya〜(ya+n)までnだけ連続するデータ対が存在するか否かを判断する。即ち、ここでは、線の色がマーカー線として予め設定した特定色であって、Y座標の位置座標値yaからライン数n分の線幅を有し、更にその長さが始点座標値xa〜終点座標値xbまでの長さを有するX座標マーカー線221の存在が判定される。ここでマーカー線の線幅に相当するn(y方向の連続性しきい値)、及び連続線の特定色は、後述する判断条件入力部204から設定されるものを使う。   After the above processing is executed for all the lines in the Y coordinate areas W1 and W3, a data pair in which the start coordinate value xa and the end coordinate value xb of the X coordinate match from each data pair stored in the memory, In addition, it is determined whether or not there exists a data pair in which the Y coordinate value y continues for n from ya to (ya + n). That is, here, the color of the line is a specific color set in advance as a marker line, has a line width corresponding to the number n of lines from the position coordinate value ya of the Y coordinate, and the length is the start point coordinate value xa˜ The presence of an X coordinate marker line 221 having a length up to the end point coordinate value xb is determined. Here, n (continuity threshold value in the y direction) corresponding to the line width of the marker line and the specific color of the continuous line are set from the determination condition input unit 204 described later.

マーカー線検出部203は、以上のようにして検出したX座標マーカー線221のマーカー線情報として、Y座標の位置座標値ya、X座標の始点座標値xa及び終点座標xbの3つの座標値情報を抽出ブロック生成部206及び処理モード切替え部205に送出し、その後、次の読み取り原稿260のX座標マーカー線検出に備え、すでにメモリに保存しているマーカー線に関する保存情報を消去する。もし、X座標マーカー線221が検出されなかった場合、Y座標の領域W1及びW3にあるラインにはX座標マーカー線221がないことを、処理モード切替え部205に通知する。   The marker line detection unit 203 has three pieces of coordinate value information of the Y coordinate position coordinate value ya, the X coordinate start point coordinate value xa, and the end point coordinate xb as the marker line information of the X coordinate marker line 221 detected as described above. Is sent to the extraction block generation unit 206 and the processing mode switching unit 205, and then the stored information regarding the marker lines already stored in the memory is deleted in preparation for the X coordinate marker line detection of the next read original 260. If the X coordinate marker line 221 is not detected, the processing mode switching unit 205 is notified that there is no X coordinate marker line 221 in the lines in the Y coordinate areas W1 and W3.

判断条件入力部204は、マーカー線検出条件を設定するため、設定項目を表示し、ユーザが選択した内容を入力するインターフェースを有する設定画面をスキャナLCDなどの表示デバイスに表示すると共に、適宜ユーザによる特定条件値の入力手段を提供する。図9に、判断条件入力部204による表示画面例を示す。ここで示す例は、マーカー線と判断するための線幅(太さ)、及び連続線と判断するための特定色を指定するためのユーザインターフェース例であり、ユーザによって、マーカー線221、222の線幅の連続性しきい値N(mm)を任意に指定/変更し、更にマーカー線221、222の特定色を選択することができる。   The determination condition input unit 204 displays setting items in order to set marker line detection conditions, displays a setting screen having an interface for inputting contents selected by the user on a display device such as a scanner LCD, and appropriately by the user. A means for inputting a specific condition value is provided. FIG. 9 shows an example of a display screen by the judgment condition input unit 204. The example shown here is an example of a user interface for specifying a line width (thickness) for determining a marker line and a specific color for determining a continuous line. The continuity threshold value N (mm) of the line width can be arbitrarily designated / changed, and a specific color of the marker lines 221 and 222 can be selected.

抽出ブロック生成部206は、マーカー線検出部203から送られたX座標マーカー線221のマーカー線情報、即ち位置座標値ya、始点座標値xa及び終点座標xbの3つの座標値情報を得て、抽出ブロック256の始点座標値256a及び終点座標256bの各X座標xm(=xa)及びxn(=xb)を認識すると共に、原稿複写範囲検出部202から送出される用紙端余白画素データを入信して、原稿複写範囲252を含むY座標の領域W2にあるラインの画素データから、この領域に形成されるY座標マーカー線222の有無を判断する。   The extraction block generation unit 206 obtains the marker line information of the X coordinate marker line 221 sent from the marker line detection unit 203, that is, the three coordinate value information of the position coordinate value ya, the start point coordinate value xa, and the end point coordinate xb, The X coordinate xm (= xa) and xn (= xb) of the start point coordinate value 256a and end point coordinate 256b of the extraction block 256 are recognized, and the paper edge margin pixel data sent from the document copy range detection unit 202 is received. The presence or absence of the Y coordinate marker line 222 formed in this area is determined from the pixel data of the line in the Y coordinate area W2 including the document copy range 252.

Y座標マーカー線222の検出は、先にX座標の画素並びからX座標マーカー線221を検出したのと同じ検出条件、方法をY座標方向の画素並びに適用することでなされる。従ってY座標マーカー線222の線幅もX座標マーカー線221と同じn(pix)である場合に検出されるため、Y座標マーカー線222もX座標マーカー線221と同じ線幅で描く必要がある。   The detection of the Y coordinate marker line 222 is performed by applying the same detection conditions and method as the method of detecting the X coordinate marker line 221 from the X coordinate pixel array previously and the pixels in the Y coordinate direction. Therefore, since the line width of the Y coordinate marker line 222 is detected when the same n (pix) as the X coordinate marker line 221 is detected, it is necessary to draw the Y coordinate marker line 222 with the same line width as the X coordinate marker line 221. .

抽出ブロック生成部206は、Y座標マーカー線222の始点座標値ya及び終点座標ybを検出すると、抽出ブロック256の始点座標値256a及び終点座標256bの各Y座標ym(=ya)及びyn(=yb)を認識し、得られた抽出ブロック256の位置・範囲情報(X−Y座標値情報)、即ち抽出ブロック256の、始点256aの座標(xm、ym)及び終点256bの座標(xn、yn)、抽出条件設定部207で設定された抽出カラー指定及び抽出モード情報を、画像加工部208に送出する。   When the extraction block generation unit 206 detects the start point coordinate value ya and the end point coordinate yb of the Y coordinate marker line 222, each of the Y coordinates ym (= ya) and yn (=) of the start point coordinate value 256a and the end point coordinate 256b of the extraction block 256 is detected. yb) is recognized, and the position / range information (XY coordinate value information) of the extraction block 256 obtained, that is, the coordinates (xm, ym) of the start point 256a and the coordinates (xn, yn) of the end point 256b of the extraction block 256. ), The extraction color designation and extraction mode information set by the extraction condition setting unit 207 are sent to the image processing unit 208.

抽出条件設定部207は、各種抽出条件を設定するため、設定項目を表示し、ユーザが選択した内容を入力するインターフェースを有する設定画面をスキャナLEDなどの表示デバイスに表示すると共に、適宜ユーザによる特定条件値の入力手段を提供する。図10に抽出条件設定部207による表示画面例を示す。   In order to set various extraction conditions, the extraction condition setting unit 207 displays setting items, displays a setting screen having an interface for inputting contents selected by the user on a display device such as a scanner LED, and is appropriately specified by the user. A condition value input means is provided. FIG. 10 shows a display screen example by the extraction condition setting unit 207.

ここでは、印刷時に該当抽出範囲のみ残す「切り出し」モードとするか或いは該当抽出範囲のみ消去する「マスク」モードとするかの抽出モード、及び抽出範囲内の情報をカラーで取得するかモノクロで取得するかの抽出カラーが、ユーザによって任意に指定/変更できる。本ユーザインターフェースによる各種抽出条件の入力タイミングは、該当原稿のスキャン開始前に適宜表示し設定するものである。   Here, the extraction mode, which is the “cutout” mode in which only the relevant extraction range is left during printing or the “mask” mode in which only the relevant extraction range is erased, and the information in the extraction range is obtained in color or in monochrome. The extraction color of whether or not can be designated / changed arbitrarily by the user. The input timing of various extraction conditions by this user interface is appropriately displayed and set before the scanning of the corresponding document is started.

処理モード切替え部205は、マーカー線検出部203より送られたマーカー線221のマーカー線情報を内部メモリに保存し、初めてマーカー線221の検出が通知されたとき、抽出ブロック生成部206に対して、上記した抽出処理開始を指示する。これにより、抽出ブロック生成部206は、マーカー線221が検出された後に、抽出処理を始めることができるため、抽出ブロック生成部206の不必要な信号処理動作が行われるのを防ぎ、結果として全体の信号処理速度をアップすることができる。   The processing mode switching unit 205 stores the marker line information of the marker line 221 sent from the marker line detection unit 203 in the internal memory, and when the detection of the marker line 221 is notified for the first time, to the extraction block generation unit 206. The above-described extraction process start is instructed. As a result, the extraction block generation unit 206 can start the extraction process after the marker line 221 is detected, thereby preventing unnecessary signal processing operations of the extraction block generation unit 206 from being performed, and as a result The signal processing speed can be increased.

画像加工部208は、抽出ブロック生成部206から得られた抽出ブロック256の位置・範囲情報(X−Y座標値情報)、抽出モード、抽出カラー指定情報をもとに画像読み取り部201から伝送されたカラーデジタル画像データから必要な部分の画像データのみを切出す。   The image processing unit 208 is transmitted from the image reading unit 201 based on the position / range information (XY coordinate value information), the extraction mode, and the extracted color designation information of the extraction block 256 obtained from the extraction block generation unit 206. Only the necessary image data is cut out from the color digital image data.

抽出モードが「切り出し」モードであった場合、抽出ブロック256の範囲内の画像データのみを、プリンタ208へ出力するデータを一時保存する出力ページメモリに書き出す。このとき抽出カラー指定がモノクロであった場合、更に抽出画像中のグレー成分(RGBデータの場合、例えば、R=G=Bがグレー成分として検出可能)のみを選択的に抽出する。一方、抽出モードが「マスク」であった場合、抽出ブロック256の範囲内の画像データを消去して出力ページメモリに書き出す。このとき抽出カラー指定がモノクロであった場合、更に抽出画像中のグレー成分のみを出力ページメモリに残す。   When the extraction mode is the “cutout” mode, only the image data within the range of the extraction block 256 is written in the output page memory that temporarily stores the data to be output to the printer 208. At this time, when the extraction color designation is monochrome, only the gray component in the extracted image (in the case of RGB data, for example, R = G = B can be detected as a gray component) is selectively extracted. On the other hand, when the extraction mode is “mask”, the image data in the range of the extraction block 256 is erased and written to the output page memory. At this time, if the extraction color designation is monochrome, only the gray component in the extracted image is left in the output page memory.

以上のようにして、1頁分の全ての画像データに対して上記の画像抽出処理を行った後、得られた画像データをプリンタ210に送出する。プリンタ210は、伝送された画像データを別途印刷設定として適宜指定された印刷条件に従って所定の印刷用紙へ印刷する。   As described above, after performing the above-described image extraction processing on all image data for one page, the obtained image data is sent to the printer 210. The printer 210 prints the transmitted image data on a predetermined printing sheet according to printing conditions appropriately designated as separate print settings.

図11は、この時画像加工部208で出力ページメモリに書き出され、プリンタ210によって印刷される印刷画像例を示す。同図(a)は、画像読み取り装置2が読み取る読み取り原稿260の画像であり、この原稿に図8で説明した各マーカー線221,222で抽出ブロック256を指定し、抽出モードを「切り出し」モードとして画像抽出し、印刷したときの印刷画像を同図(b)に示し、抽出モードを「マスク」モードとして画像抽出し、印刷した時の印刷画像を同図(c)に示す。   FIG. 11 shows an example of a print image that is written in the output page memory by the image processing unit 208 and printed by the printer 210 at this time. FIG. 9A shows an image of a read original 260 read by the image reading apparatus 2. The extraction block 256 is designated by the marker lines 221 and 222 described in FIG. (B) shows the print image when the image is extracted and printed, and the print image when the image is extracted with the extraction mode set to the “mask” mode and printed is shown in FIG.

尚、本実施の形態では、図8に示すように、抽出ブロック256を1つ設定する例を示したが、これに限定されるものではなく、X座標マーカー線221、Y座標マーカー線22で指定する領域を適宜設定することによって、複数設定できることは勿論である。また本実施の形態では、読み取り基準位置250に近い側の用紙端余白257にX座標マーカー線221、Y座標マーカー線222を設けた例を示したが、図8にX座標マーカー線223、Y座標マーカー線224として示すように、マーカー線を読み取り基準位置250から遠い側の用紙端余白257に設けることも可能である。   In the present embodiment, as shown in FIG. 8, an example in which one extraction block 256 is set is shown. However, the present invention is not limited to this, and the X coordinate marker line 221 and the Y coordinate marker line 22 are used. Of course, a plurality of areas can be set by appropriately setting the designated area. In this embodiment, an example in which the X-coordinate marker line 221 and the Y-coordinate marker line 222 are provided in the paper edge margin 257 on the side close to the reading reference position 250 is shown. However, FIG. As indicated by the coordinate marker line 224, the marker line can be provided in the paper end margin 257 far from the reading reference position 250.

以上のように、本実施の形態の読み取り装置によれば、読み込み原稿の読み取り範囲を閉ループでマーキングすることなく、直線状のマーキング線をマーキングするだけで、読み込み範囲を指定できるため、マーキング作業が単純となり、特に多くの原稿を処理したい場合などには作業効率を向上することが可能となる。更にマーキング線を原稿複写範囲外に描くことができるため、読み取り原稿の原稿複写範囲内の画像状態がマーキングにより劣化するのを防止できる。   As described above, according to the reading apparatus of the present embodiment, it is possible to specify a reading range only by marking a linear marking line without marking a reading range of a read original in a closed loop. This simplifies operation efficiency, especially when a large number of documents are to be processed. Further, since the marking line can be drawn outside the document copy range, it is possible to prevent the image state within the document copy range of the read document from being deteriorated by the marking.

前記した各実施の形態では、画像読み取り装置として記載したが、画像読み取り装置と出力装置を組合せた印刷システム、ファクシミリやデータ出力装置との組合せにも適用可能である。   In each of the above-described embodiments, the image reading apparatus is described. However, the present invention can be applied to a combination of a printing system, a facsimile, and a data output apparatus in which the image reading apparatus and the output apparatus are combined.

1 画像読み取り装置、 2 画像読み取り装置、 50 読み取り基準位置、 55 連続線、 56 抽出ブロック、 60 読み取り原稿、 65 補助線、 71 始点、 72 終点、 100 スキャナ、 101 画像読み取り部、 102 連続線検出部、 103 補助線判断部、 104 判断条件入力部、 105 抽出ブロック生成部、 106 抽出条件設定部、 107 画像加工部、 110 プリンタ、 200 スキャナ、 201 画像読み取り部、 202 原稿複写範囲検出部、 203 マーカー線検出部、 204 判断条件入力部、 205 処理モード切換え部、 206 抽出ブロック生成部、 207 抽出条件設定部、 208 画像加工部、 210 プリンタ、 221、222 マーカー線、 250 読み取り基準位置、 252 原稿複写範囲、 256 抽出ブロック、 256a 始点、 256b 終点、 257 用紙端余白、 260 読み取り原稿。   1 image reading device, 2 image reading device, 50 reading reference position, 55 continuous line, 56 extraction block, 60 reading original, 65 auxiliary line, 71 start point, 72 end point, 100 scanner, 101 image reading unit, 102 continuous line detection unit , 103 Auxiliary line determination unit, 104 Judgment condition input unit, 105 Extraction block generation unit, 106 Extraction condition setting unit, 107 Image processing unit, 110 Printer, 200 Scanner, 201 Image reading unit, 202 Document copy range detection unit, 203 Marker Line detection unit, 204 judgment condition input unit, 205 processing mode switching unit, 206 extraction block generation unit, 207 extraction condition setting unit, 208 image processing unit, 210 printer, 221, 222 marker line, 250 reading reference position 252 Document copy range, 256 extraction block, 256a start point, 256b end point, 257 paper edge margin, 260 reading document.

Claims (14)

読み取り原稿に記録された画像を読み取る画像読み取り装置において、
前記読み取り原稿の画像形成面の所定の矩形領域の画像を読み込んで、読み込んだ画像の画像データを送信する画像データ送信部と、
前記画像データから、前記矩形領域の一方向に延在する連続線を検出する連続線検出部と、
前記連続線に隣接し、前記連続線の長さと該連続線に直交する方向の抽出幅によって定まる矩形状の抽出ブロックを生成する抽出ブロック生成部と、
前記画像データから前記抽出ブロックの範囲内の画像を抽出して前記画像データを加工処理し、印刷するための印刷データを生成する画像加工部と
を有することを特徴とする画像読み取り装置。
In an image reading apparatus that reads an image recorded on a read original,
An image data transmission unit that reads an image of a predetermined rectangular area on the image forming surface of the read original and transmits image data of the read image;
From the image data, a continuous line detection unit that detects a continuous line extending in one direction of the rectangular region;
An extraction block generation unit that generates a rectangular extraction block that is adjacent to the continuous line and is determined by the length of the continuous line and the extraction width in a direction orthogonal to the continuous line;
An image reading apparatus comprising: an image processing unit that extracts an image within the range of the extraction block from the image data, processes the image data, and generates print data for printing.
ユーザによって、前記連続線検出部が検出する連続線の幅及び/又は色を定めるための判定条件入力部を備えたことを特徴とする請求項1記載の画像読み取り装置。   The image reading apparatus according to claim 1, further comprising a determination condition input unit for determining a width and / or color of a continuous line detected by the continuous line detection unit by a user. 前記連続線の端部から該連続線に直交する方向に延在する補助線を検出する補助線判断部を有し、該補助線判断部が検出した前記補助線の長さを前記抽出幅とすることを特徴とする請求項1又は2記載の画像読み取り装置。   An auxiliary line determination unit that detects an auxiliary line extending in a direction orthogonal to the continuous line from an end of the continuous line, and the length of the auxiliary line detected by the auxiliary line determination unit is defined as the extraction width The image reading apparatus according to claim 1, wherein the image reading apparatus is an image reading apparatus. ユーザによって、前記抽出幅を定めるための抽出条件設定部を備えたことを特徴とする請求項1又は2記載の画像読み取り装置。   The image reading apparatus according to claim 1, further comprising an extraction condition setting unit for determining the extraction width by a user. ユーザによって前記抽出幅を定めるための数値を入力する入力部と、前記補助線判断部で検出する補助線の長さを前記抽出ブロックの前記抽出幅とするか、前記入力部に入力する数値を前記抽出ブロックの前記抽出幅とするかを選択する選択部とを有する抽出条件設定部を備えたことを特徴とする請求項3記載の画像読み取り装置。   An input unit for inputting a numerical value for determining the extraction width by the user, and the length of the auxiliary line detected by the auxiliary line determination unit is set as the extraction width of the extraction block, or a numerical value input to the input unit The image reading apparatus according to claim 3, further comprising an extraction condition setting unit including a selection unit that selects whether to use the extraction width of the extraction block. 文字サイズ認識処理部を備え、前記抽出幅を前記連続線に隣接する一行の文字が含まれる幅に設定したことを特徴とする請求項1又は2記載の画像読み取り装置。   The image reading apparatus according to claim 1, further comprising a character size recognition processing unit, wherein the extraction width is set to a width including a line of characters adjacent to the continuous line. 前記抽出条件設定部は、前記抽出ブロック内の画像データを前記印刷データとするか、前記抽出ブロック以外の画像データを前記印刷データとするかを選択する抽出モード選択部を有することを特徴とする請求項4又は5記載の画像読み取り装置。   The extraction condition setting unit includes an extraction mode selection unit that selects whether image data in the extraction block is the print data or image data other than the extraction block is the print data. The image reading apparatus according to claim 4 or 5. 前記抽出条件設定部は、前記抽出ブロックの画像データをカラーで処理するか、モノクロで処理するかを選択する色選択部を有することを特徴とする請求項4,5,7の何れか一項に記載の画像読み取り装置。   The said extraction condition setting part has a color selection part which selects whether the image data of the said extraction block is processed in a color, or a monochrome process, The any one of Claim 4, 5, 7 characterized by the above-mentioned. The image reading apparatus described in 1. 読み取り原稿に記録された画像を読み取る画像読み取り装置において、
前記読み取り原稿の画像形成面の所定の矩形領域の画像を読み込んで、読み込んだ画像の画像データを送信する画像データ送信部と、
前記所定の矩形領域内で、用紙端余白領域と該用紙端余白領域に囲まれた原稿複写領域とを区別し、前記画像データから、前記用紙端余白領域の画像データを分離して送信する原稿複写範囲検出部と、
前記用紙端余白領域の画像データから、前記矩形領域の一方向に延在する第1のマーカー線を検出するマーカー線検出部と、
前記用紙端余白領域の画像データから、前記第1のマーカー線と直交する方向に延在する第2のマーカー線を検出し、前記第1のマーカー線によって定まる、前記第1のマーカー線と平行な座標軸の領域と、前記第2のマーカー線によって定まる、前記第2のマーカー線と平行な座標軸の領域とが交差する領域に相当する抽出ブロックを生成する抽出ブロック生成部と、
前記画像データから前記抽出ブロックの範囲内の画像を抽出して前記画像データを加工処理し、印刷するための印刷データを生成する画像加工部と
を有することを特徴とする画像読み取り装置。
In an image reading apparatus that reads an image recorded on a read original,
An image data transmission unit that reads an image of a predetermined rectangular area on the image forming surface of the read original and transmits image data of the read image;
A document that distinguishes between a paper edge margin area and a document copy area surrounded by the paper edge margin area within the predetermined rectangular area, and separates and transmits the image data of the paper edge margin area from the image data. A copy range detector;
A marker line detector for detecting a first marker line extending in one direction of the rectangular area from the image data of the paper margin area;
A second marker line extending in a direction orthogonal to the first marker line is detected from the image data of the paper margin area, and is parallel to the first marker line determined by the first marker line. An extraction block generating unit that generates an extraction block corresponding to a region defined by the second marker line and an area of the coordinate axis parallel to the second marker line defined by the second marker line;
An image reading apparatus comprising: an image processing unit that extracts an image within the range of the extraction block from the image data, processes the image data, and generates print data for printing.
前記マーカー線検出部によって前記第1のマーカー線が検出されたとき、前記抽出ブロック生成部による抽出ブロックの生成を指示する処理モード切換え部を備えたことを特徴とする請求項9記載の画像読み取り装置。   The image reading apparatus according to claim 9, further comprising: a processing mode switching unit that instructs generation of an extraction block by the extraction block generation unit when the first marker line is detected by the marker line detection unit. apparatus. ユーザによって、前記マーカー線検出部が検出する前記第1のマーカー線の幅及び/又は色を定めるための判定条件入力部を備えたことを特徴とする請求項9又は10記載の画像読み取り装置。   11. The image reading apparatus according to claim 9, further comprising a determination condition input unit for determining a width and / or color of the first marker line detected by the marker line detection unit by a user. 前記抽出ブロックの画像データをカラーで処理するか、モノクロで処理するかを選択する色選択部を有する抽出条件設定部を備えたことを特徴とする9乃至11の何れか一項に記載の画像読み取り装置。   The image according to any one of claims 9 to 11, further comprising an extraction condition setting unit having a color selection unit that selects whether the image data of the extraction block is processed in color or monochrome. Reading device. 前記抽出条件設定部は、前記抽出ブロック内の画像データを前記印刷データとするか、前記抽出ブロック以外の画像データを前記印刷データとするかを選択する抽出モード選択部を有することを特徴とする請求項12記載の画像読み取り装置。   The extraction condition setting unit includes an extraction mode selection unit that selects whether image data in the extraction block is the print data or image data other than the extraction block is the print data. The image reading apparatus according to claim 12. 請求項1乃至13の何れか一項に記載の画像読み取り装置と、前記加工部で生成された印刷データを記録媒体に印刷するプリンタとを有する印刷システム。   14. A printing system comprising: the image reading device according to claim 1; and a printer that prints print data generated by the processing unit on a recording medium.
JP2010071752A 2010-03-26 2010-03-26 Image reading apparatus and printing system employing the same Withdrawn JP2011205473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010071752A JP2011205473A (en) 2010-03-26 2010-03-26 Image reading apparatus and printing system employing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010071752A JP2011205473A (en) 2010-03-26 2010-03-26 Image reading apparatus and printing system employing the same

Publications (1)

Publication Number Publication Date
JP2011205473A true JP2011205473A (en) 2011-10-13

Family

ID=44881619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010071752A Withdrawn JP2011205473A (en) 2010-03-26 2010-03-26 Image reading apparatus and printing system employing the same

Country Status (1)

Country Link
JP (1) JP2011205473A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102012017748A1 (en) 2011-09-21 2013-03-21 Hitachi Automotive Systems, Ltd. Sealing arrangement for an electronic control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102012017748A1 (en) 2011-09-21 2013-03-21 Hitachi Automotive Systems, Ltd. Sealing arrangement for an electronic control device

Similar Documents

Publication Publication Date Title
US7581800B2 (en) System for scanning recycled paper before printing
JP6119689B2 (en) Electronic document generation system, electronic document generation apparatus and program
JP2006238289A (en) Method of magnifying display data
JP6066108B2 (en) Electronic document generation system and program
US8970860B2 (en) Image processing device that displays process sequence, display device and non-transitory computer readable recording medium
JP4875723B2 (en) Image forming apparatus
US8493629B2 (en) Image processing apparatus, method, and computer program
US9858513B2 (en) Document file output apparatus, document file output method, and computer readable medium
US8660357B2 (en) Image processing apparatus, method, and computer program
EP3438931B1 (en) Image processing apparatus
US20200021711A1 (en) Image processing apparatus
US10554863B2 (en) Image forming apparatus with an improved capability to edited selectable detected areas
US20190196763A1 (en) Image processing apparatus and program
JP2011205473A (en) Image reading apparatus and printing system employing the same
JP6365894B2 (en) Image reading device
JP2015123598A (en) Image formation device, control method for image formation, and program
JP2011166591A (en) Image forming apparatus and image forming program
JP2019220906A (en) Image processing system, print instruction device, image processing device, and program
JP2007194713A (en) Image processing apparatus, system, and method, and program
JPH11224259A (en) Processor and method for image processing and storage medium
JP6399000B2 (en) Image processing apparatus and image creation program
JP2999961B2 (en) Image communication device
CN115208994A (en) Document processing apparatus and image processing method thereof
US9467577B2 (en) Image processing device and image forming apparatus
JP4936472B2 (en) Image processing device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130604