JPH04207263A - mark detection device - Google Patents

mark detection device

Info

Publication number
JPH04207263A
JPH04207263A JP2325636A JP32563690A JPH04207263A JP H04207263 A JPH04207263 A JP H04207263A JP 2325636 A JP2325636 A JP 2325636A JP 32563690 A JP32563690 A JP 32563690A JP H04207263 A JPH04207263 A JP H04207263A
Authority
JP
Japan
Prior art keywords
mark
signal
area
detecting
detection
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.)
Pending
Application number
JP2325636A
Other languages
Japanese (ja)
Inventor
Tomio Sasaki
富雄 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2325636A priority Critical patent/JPH04207263A/en
Publication of JPH04207263A publication Critical patent/JPH04207263A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To detect the markers in the part shaded by markers by detecting a 1st mark area by synthesis with the 2nd mark area detection signals existing in the 1st mark area. CONSTITUTION:The mark assigned on an original via a CCD, etc., is detected by optical scanning and is processed in the mark area detections section constituted of the 1st mark area detecting section and the 2nd mark area detecting section. The 1st mark area is detected with good accuracy by the synthesis of the detection signals by the 1st mark outer and inner position detecting sections 151, 160, the 1st mark outer, inner and inner area detecting sections 152, 161 and the detection signals by the 2nd mark outer and inner area detecting sections 155, 164 of the 2nd mark existing on the inner side of the 1st mark by the 2nd mark area detecting section in the 1st mark area detecting section. The marks are detected without erroneous detection of double circular marks, etc., even if the marks exists in recessed parts when the marks are recessed.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明はマーク検出装置に係り、特に各種の画像処理の
ために原稿の所望領域に付されたマークを検出するマー
ク検出装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a mark detection device, and more particularly to a mark detection device that detects a mark attached to a desired area of a document for various image processing purposes.

[従来の技術] 複写機やファクシミリ装置など各種の画像形成装置にお
いて、原稿に特殊マークを付することにより、オペレー
タの手間を省いて画像の編集を行ったり、或は画像の読
み取りを正確に行う技術が開発され1例えば特開昭64
−19871号公報や特開平1−170163号公報に
開示されている。
[Prior Art] In various image forming devices such as copying machines and facsimile machines, by attaching special marks to documents, it is possible to edit images or read images accurately without requiring the operator's effort. The technology was developed 1 for example in JP-A-64
This method is disclosed in Japanese Patent Application Laid-open No. 19871 and Japanese Patent Application Laid-open No. 1-170163.

この種の技術に伴って原稿に付されたマークを検出する
ことが行われているが、従来のマークの検出では、マー
クの濃度とマーク幅を検出してマークとして認識する予
め設定した一定の範囲にあるかどうかを判定している。
This type of technology is used to detect marks placed on documents, but in conventional mark detection, the density and width of the mark are detected, and a preset constant value is detected to be recognized as a mark. Determining whether it is within the range.

そして、この種のものは、マーク幅の検出が原稿の等倍
を想定して行われていた。
In this type of apparatus, the mark width is detected assuming that the document is the same size as the original.

第35図(a)(b)は従来のマーク検出動作の説明図
であり、同図(a)に示すように倍率1でマークの検出
基準幅Wsを設定しておいても、倍率1/2ではマーク
幅が縮小されて、マークとして検出てきないこともある
。また、濃度がマーク濃度と同一でも、同図(b)に示
すように、幅が狭くてマークとして検出されない線情報
でも、倍率×2ではマークとして検出されてしまう。
FIGS. 35(a) and 35(b) are explanatory diagrams of the conventional mark detection operation, and even if the mark detection reference width Ws is set at a magnification of 1 as shown in FIG. 35(a), the magnification is 1/ 2, the mark width is reduced and may not be detected as a mark. Furthermore, even if the density is the same as the mark density, even line information that is too narrow to be detected as a mark will be detected as a mark at a magnification of 2, as shown in FIG. 2B.

[発明が解決しようとする課題] ところで、従来のマークエリア検出では、走査ラインに
刻するマーカー内にあるマークの検出ができなかった。
[Problems to be Solved by the Invention] By the way, in conventional mark area detection, it has not been possible to detect marks within the markers engraved on the scanning line.

例えば、第37図に示すように、y、 xl、 x2方
向のいずれからもマーカーの影になって見えない部分(
斜線で示す)はマーカーエリアとみなされる。したがっ
て、副走査側に凹部があり、凹部内にある画像情報のマ
ーク内消去、マーカー外消去等の編集で画像情報が消え
たり、画像情報が残るという不具合があった。
For example, as shown in Fig. 37, there is a part (
(shown with diagonal lines) is considered a marker area. Therefore, there is a concave portion on the sub-scanning side, and there is a problem that the image information in the concave portion may disappear or remain when editing, such as erasing inside the mark or deleting outside the marker.

また、第38図に示すように、y、 xl、 x2方向
のいずれからもマーカーの影になって見えない部分(斜
線で示す)はマーカーエリアとみなされる。
Furthermore, as shown in FIG. 38, the area (indicated by diagonal lines) that cannot be seen due to the shadow of the marker from any of the y, xl, and x2 directions is regarded as the marker area.

また、第39図に示すように、マーカー内にあるマーカ
ー間工が検出できないので、複雑なマーカー編集ができ
なかった。
Further, as shown in FIG. 39, since the marker spacing within the marker cannot be detected, complex marker editing cannot be performed.

本発明は上記従来技術の課題に鑑み、これを解決すべく
なされたものであり、その目的は、マーカーによって影
となった部分におけるマーカーの検出を行なうことがで
き、複雑なマークエリア編集が可能となるマーク検出装
置を提供することにある。
The present invention has been made in view of the above-mentioned problems of the prior art, and is intended to solve the problems.The purpose of the present invention is to enable detection of markers in areas shaded by markers, and to enable complex mark area editing. The object of the present invention is to provide a mark detection device that provides the following.

[課題を解決するための手段] 上記目的を達成するために、本発明は、原稿画像を読取
り画像情報を発生する読取手段と、原稿の所望領域をマ
ークにより指定する指定手段と、指定されたマーク読取
信号を発生する第1の信号発生手段と、マークの内側の
エリアを検出する第2の検出手段と、該第2の検出手段
により得られたマークの内側のエリア内にあるマークを
検出し、信号を発生する第2の信号発生手段と、該第2
の信号発生手段より得られた信号により主走査方向にマ
ークの外側のエリアを検出する第3の検出手段と、マー
クの内側のエリアを検出する第4検出手段と、前記第2
の検出手段より得られたマークの内側信号と第3の検出
手段より得られたマークの外側信号とを合成する第2の
合成手段と、前記第1の信号発生手段より得られたマー
ク読取信号と前記第2の合成手段により得られた合成信
号により主走査方向にマークの外側のエリアを検出する
第1の検出手段と、前記第1の検出手段より得られたマ
ークの外側信号と第4の検出手段より得られたマークの
内側の信号を合成する第1の合成手段を備えた構成にし
てあり、また、本発明は、原稿画像を読取り画像情報を
発生する手段と、原稿の所望領域をマークによって指定
する指定手段と、前記指定手段により指定されたマーク
エリアの読取信号を発生する第1の信号発生手段と検出
された位置情報を記憶する第1の記憶手段と第1の記憶
手段の読出し書込みを制御する制御手段と前記第1の記
憶手段により読出された位置情報により信号を発生する
第2の信号発生手段と前記第1の信号発生手段よりマー
クの外側の先端位置を検出する第2の検出手段、該第2
の検出手段及び第2の信号発生手段より得られた信号で
、マークの外側エリア信号を発生する第3の信号発生手
段と前記第1の信号発生手段によりマークの内側の後端
の位置情報を検出する第3の検出手段と第3の検出され
た位置情報を記憶する第2の記憶手段と第2の記憶手段
の読出し、書込みを制御する制御手段と第2の記憶手段
より読出された位置情報により信号を発生する第4の信
号発生手段と前記第1の信号発生手段によりマークの内
側の先端位置情報を検出する第4の検出手段と、前記第
4の検出手段及び第4の信号発生手段により得られた信
号で、マークの内側エリア信号を発生する第5の信号発
生手段を有する構成にしである。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a reading means for reading an original image and generating image information, a specifying means for specifying a desired area of the original by a mark, and a designated area. a first signal generating means for generating a mark reading signal; a second detecting means for detecting an area inside the mark; and detecting a mark within the area inside the mark obtained by the second detecting means. a second signal generating means for generating a signal;
a third detection means for detecting an area outside the mark in the main scanning direction using a signal obtained from the signal generation means; a fourth detection means for detecting an area inside the mark;
a second synthesizing means for synthesizing the mark inner signal obtained from the detection means and the mark outer signal obtained from the third detection means; and a mark reading signal obtained from the first signal generating means. and a first detection means for detecting an area outside the mark in the main scanning direction using the composite signal obtained by the second composition means; The present invention is configured to include a first synthesizing means for synthesizing the signals inside the mark obtained from the detecting means of the document. a first signal generating means for generating a reading signal of the mark area designated by the specifying means, a first storage means for storing the detected position information, and a first storage means for storing the detected position information. a control means for controlling reading and writing of the mark; a second signal generation means for generating a signal based on the position information read by the first storage means; and a position of the outer tip of the mark is detected by the first signal generation means. a second detection means, the second detection means;
A third signal generating means generates an outside area signal of the mark using the signals obtained from the detecting means and the second signal generating means, and the first signal generating means generates positional information of the inner rear edge of the mark. A third detection means for detecting, a second storage means for storing the third detected position information, a control means for controlling reading and writing of the second storage means, and a position read from the second storage means. a fourth signal generating means for generating a signal based on the information; a fourth detecting means for detecting the inner tip position information of the mark by the first signal generating means; the fourth detecting means and the fourth signal generating means; The present invention further includes a fifth signal generating means for generating an inner area signal of the mark using the signal obtained by the means.

[作用コ 上記手段により、マークエリア検出において、第1のマ
ークエリアの検出を第1のマークエリア内にある第2の
マークエリア検出信号との合成信号により行なうことか
ら、 1、副走査側にマークが凹状態となっている場合でも、
正しくマークエリアを検出できる。そのため、マーカー
内消去モード時凹部内にある文字情報を消すこともなく
マーカー外消去モード時凹部にある文字情報が残るとい
うこともなくなる。
[Operation] By using the above means, in mark area detection, the detection of the first mark area is performed using a composite signal with the second mark area detection signal within the first mark area. 1. On the sub-scanning side. Even if the mark is concave,
The marked area can be detected correctly. Therefore, the character information in the recessed part is not erased in the inside-marker erasing mode, and the character information in the recessed part does not remain in the outside-marker erasing mode.

2、さらに、凹部内に、さらに、マークが存在しても、
凹部のマークエリアと凹部内のマークエリアの両方のエ
リアを正しく検出できる。
2. Furthermore, even if there is a mark inside the recess,
Both the mark area of the recess and the mark area inside the recess can be detected correctly.

3、多重回のマークがあっても各々のマークを検出でき
るため、マーカー内消去の場合内側の線情報を取出した
りマーカー外消去の場合、外側の線情報を取出す事も可
能であり複雑なマークエリア編集が可能となる。
3. Even if there are multiple marks, each mark can be detected, so it is possible to extract the inner line information when erasing inside the marker, and the outer line information when erasing outside the marker, making it possible to detect complex marks. Area editing becomes possible.

また、上記手段により、第1マークエリアの内側エリア
を検出することから、第1マークエリア内の第2のマー
クエリアを検出できる。そのため、マークエリア編集に
おいて、上記作用と同様の作用が可能となる。
Further, since the above means detects the inner area of the first mark area, it is possible to detect the second mark area within the first mark area. Therefore, in mark area editing, the same effect as described above is possible.

[実施例コ 以下、本発明の実施例を図面を参照して説明する。[Example code] Embodiments of the present invention will be described below with reference to the drawings.

先ず、本発明の実施例が適用される画像処理装置につい
て説明する。
First, an image processing apparatus to which an embodiment of the present invention is applied will be described.

第2図は画像処理装置における原稿、結合レンズ及びC
CDラインセンサの21を示す図であり、第3図は本発
明の実施例に係るマーク検出装置が適用される画像処理
装置の構成を示すブロック図である。
Figure 2 shows the document, combination lens, and C in the image processing device.
3 is a diagram showing a CD line sensor 21, and FIG. 3 is a block diagram showing the configuration of an image processing device to which a mark detection device according to an embodiment of the present invention is applied.

第3図において、4はスキャナ部で、このスキャナ部4
は、第2図に示すように、原稿1の読取りラインQの画
像が、結合レンズ2を介してCCDラインセンサ3に結
像されており、原稿1と、CCDラインセンサ3のY方
向の相対位=を機械的にずらして読取りラインを更新し
ながら(副走査)、各ラインを入方向に左から右に40
0dpi(=16画素/「)の密度で読取る(主走査)
In FIG. 3, 4 is a scanner section, and this scanner section 4
As shown in FIG. 2, an image of the reading line Q of the original 1 is focused on the CCD line sensor 3 via the coupling lens 2, and the relative position between the original 1 and the CCD line sensor 3 in the Y direction is While updating the reading line by mechanically shifting the position = (sub-scanning), each line is moved from left to right in the input direction by 40
Read at a density of 0 dpi (=16 pixels/'') (main scan)
.

読取った信号は各画素の濃度に対応した振幅を持つアナ
ログ信号となる。Sはビデオ処理回路であり、読取り信
号f1をA/D変換し、それに地肌除去処理、シニーデ
ング補正処理およびMTF補正処理等を施して8ビツト
(256階調)の画像データf2(数値が高い程濃度が
濃い)を生成する回路である。6はデータ処理コントロ
ール部で、このデータ処理コントロール部6は読取りデ
ータを黒画素を゛′1″′=Hレベル、白画素を110
11゜Lレベルとして、2値化し、それに指定領域の抽
出(トリミング)、消去(マスキング)等を行なって、
書出しデータf3を生成するものである。
The read signal becomes an analog signal having an amplitude corresponding to the density of each pixel. S is a video processing circuit which A/D converts the read signal f1, performs background removal processing, shininess correction processing, MTF correction processing, etc. to produce 8-bit (256 gradation) image data f2 (the higher the value, the higher the This is a circuit that generates high-density). Reference numeral 6 denotes a data processing control unit, and this data processing control unit 6 reads the data and sets the black pixel to ``1'' = H level and the white pixel to 110.
It is binarized as 11°L level, and the designated area is extracted (trimmed), erased (masked), etc.
This is to generate write data f3.

8はレーザビームをA○変調(1:記録、O:非記録)
し7て記録紙にプリントアウトするレーザプリンタであ
る。
8 modulates the laser beam with A○ (1: recording, O: non-recording)
This is a laser printer that prints out images on recording paper.

上記画像処理装置において、これら構成各部を制御する
制御装置ならび、スキャナ部4、ビデオ処理回路5及び
レーザビームプリンタ8については、公知技術であり、
本発明の特徴に直接関係しないので、詳細な説明を省略
する2 デ一タ処理コントロール部6は、原稿lに記入した所定
濃度範囲のマーク、または、該マークで囲まれたエリア
を検出し、これに基づいて、原稿にトリミング、マスキ
ング等を施すものである。
In the above image processing device, the control device for controlling each of these components, the scanner section 4, the video processing circuit 5, and the laser beam printer 8 are known technologies.
2. The data processing control unit 6 detects a mark in a predetermined density range written on the document l or an area surrounded by the mark, and Based on this, trimming, masking, etc. are performed on the original.

本実施例では、所定濃度範囲のマークとして、カラーフ
ェルトペンによるマーク(以下、カラーマークという)
を想定する。これは、カラーフェルトペンには種々の濃
度のものがすでに周方、され、これにより、所定濃度範
囲のマーキングが容易になり、実用上有利であるためで
ある。
In this embodiment, a mark using a color felt pen (hereinafter referred to as a color mark) is used as a mark for a predetermined density range.
Assume that This is because color felt-tip pens are already available in various densities, and this makes it easy to mark a predetermined density range, which is advantageous in practice.

第1図は実施例の要部の構成を示すブロック図、第4図
は画像濃度情報の特性図、第5図は実施例のマークレベ
ル検出部の回路図、第6図はマークへのノイズの重畳の
説明図、第7図は実施例のマークノイズ除去部の回路図
である。
Fig. 1 is a block diagram showing the configuration of the main parts of the embodiment, Fig. 4 is a characteristic diagram of image density information, Fig. 5 is a circuit diagram of the mark level detection section of the embodiment, and Fig. 6 is noise on marks. FIG. 7 is a circuit diagram of the mark noise removal section of the embodiment.

第1図で50は、マーク濃度レベル検出部で、マークが
一定濃度である特徴を利用してマークを抽出するもので
あり、第4図に示すようにマーク上限スレツシュレベル
TH2と下限スレッシュレベルTHIの内にある画像を
マークの第1候補とする。つまり、画像の地肌は通常濃
度的に白側であり1文字等の線情報は、濃度的に黒側で
あり。
In FIG. 1, reference numeral 50 denotes a mark density level detection unit, which extracts marks by utilizing the characteristic that the marks have a constant density.As shown in FIG. The image within THI is set as the first candidate for the mark. In other words, the background of an image is usually on the white side in terms of density, and line information such as a single character is on the black side in terms of density.

マークは、中間濃度部分に存在することにより上記の判
定法が用いられている。
The above determination method is used because the mark exists in the intermediate density area.

第5図に示す実施例のマークレベル検出部では、マーク
上限スレッシュレベルTH2と入力画像とをコンパレー
タ52で比較し、スレッシュレベルTH2より入力画像
濃度が小さい場合は該入力画像はマーク又は地肌である
と判断し、マーク下限スレッシュレベルTHIと、該入
力画像とをコンパレータ51で比較しスレッシュレベル
THIより、該入力画像の濃度が大きい場合は、該入力
画像はマーク又は、文字であると判断し、これらの判断
に基づいてAND回路53によりマーク信号が取り呂せ
ることとなる。
In the mark level detection section of the embodiment shown in FIG. 5, a comparator 52 compares the mark upper limit threshold level TH2 and the input image, and if the input image density is lower than the threshold level TH2, the input image is a mark or background. The mark lower limit threshold level THI is compared with the input image by a comparator 51, and if the density of the input image is greater than the threshold level THI, the input image is determined to be a mark or a character, Based on these judgments, the AND circuit 53 determines the mark signal.

しかるに、文字等で薄い濃度の情報もあり、エムが例え
ばマーク濃度と同様の濃度である場合にはこのマークレ
ベル検出部50では、マークとしてみなされるため、後
述するようにして誤検出を防止する。又、このレベル検
出部50ではマーク下限スレッシュレベルと、入力デー
タが入力されるコンパレータ51の出力すを後述するマ
ーク連結部で使用するため、出力している。
However, there is also information with a light density such as letters, and if the M has a density similar to that of a mark, the mark level detection unit 50 treats it as a mark, so erroneous detection is prevented as described below. . The level detection section 50 also outputs the mark lower limit threshold level and the output of a comparator 51 to which input data is input, for use in a mark connection section to be described later.

第1図で60は、マークノイズ除去部であり、このマー
クノイズ除去部60は上述のマークレベル検出部50よ
り得られる信号aによって画像のノイズを除去する機能
を有している。
In FIG. 1, 60 is a mark noise removal section, and this mark noise removal section 60 has a function of removing image noise using the signal a obtained from the above-mentioned mark level detection section 50.

一般にマーカーペン等でマーク指定を行なう時には、マ
ーク濃度が均一に塗られても所々にノイズが発生するこ
とがある。このノイズは、原稿によって差はあるが濃度
的に白くなって濃度が低下する場合と黒くなって濃度が
高くなる場合があり、このノイズにより、マーク信号が
分断されてしまう。
Generally, when specifying a mark with a marker pen or the like, noise may occur here and there even if the mark density is uniform. Although this noise varies depending on the document, there are cases where the density becomes white and the density decreases, and cases where the density becomes black and the density increases, and the mark signal is divided by this noise.

この状態を示したものが第6図であり、同図に示すよう
にマークレベル検出後の信号aが、白ノイズ、黒ノイズ
により分断されているので、マークに重畳するノイズ信
号を除去する事が必要となる。第7図に示したのは、1
pixelノイズの除去に用いられるマークノイズ除去
部であり、3X3のマトリクスにおいて中心部(図では
C)の周辺(図ではX)が、マークレベルであれば、○
のマークレベルの如何にかかわらず、○をマークレベル
とし、×のうち1つでもマークレベルでないものがある
と○を画像の信号aのままとすることで1pixelの
ノイズを取るようにしている。
This state is shown in Figure 6. As shown in the figure, the signal a after detecting the mark level is divided by white noise and black noise, so it is necessary to remove the noise signal superimposed on the mark. Is required. Figure 7 shows 1
This is a mark noise removal unit used to remove pixel noise.If the periphery (X in the figure) of the center (C in the figure) in a 3×3 matrix is at the mark level, ○
Regardless of the mark level, ○ is set as the mark level, and if even one of the × is not at the mark level, ○ is left as the image signal a, thereby removing 1 pixel of noise.

そのため、まr3×3のマトリクス内の画像を同一時間
軸上にそろえるためメモリ61を使い、副走査方向に3
Ωineのデータをそろえる。このメモリ61は第7図
では、FIFO(ファーストインファスト0UT)メモ
リを使用している。
Therefore, in order to align the images in a 3×3 matrix on the same time axis, the memory 61 is used to
Gather the Ωine data. In FIG. 7, this memory 61 uses a FIFO (first-in-fast 0UT) memory.

FIF○メモリは、公知のため説明しない。FIFOの
メモリ61によって3Ωineのデータをフリップフロ
ップ(以下F/Fと略称する)62.63で、主走査方
向にラッチし、同一時間軸上に3×3のマトリクス内の
信号aのデータをそろえる。
Since the FIF○ memory is well known, it will not be explained. The data of 3Ωine is latched by the FIFO memory 61 in the main scanning direction by flip-flops (hereinafter referred to as F/F) 62 and 63, and the data of the signal a in the 3×3 matrix is aligned on the same time axis. .

この後に、×のみの信号をAND回路64に入力しその
信号がHであれば×がすべてマークレベルであると判定
し、セレクタ65で、A人力のH信号を選択することに
よりマークレベルとし、Xが1でもマークレベルでない
時はAND回路64の出力がLどなる為セレクタ65は
、L信号を選択出力することとなる。
After this, the signal of only the × is input to the AND circuit 64, and if the signal is H, it is determined that all the × are at the mark level, and the selector 65 selects the H signal of A manually to set it to the mark level, Even if X is 1, when it is not at the mark level, the output of the AND circuit 64 becomes L, so the selector 65 selects and outputs the L signal.

ここで、1pixelのノイズを除去するようにしたの
は、実施例ではノイズの発生で、最も多いのが、1pi
xelノイズであるためであり、ノイズの発生頻度によ
っては、2piχe1,3pixelと、ノイズエリア
を広げてもよい。さらに、ハード化の簡便化のために、
主走査方向のみ或は副走査方向のみのノイズ除去を行な
うこともできる。また、ノイズの発生確率の低いシステ
ムでは、このマークノイズ除去部を除いた構成とするこ
とも可能である。
Here, the reason why 1 pixel noise is removed is because noise occurs in the example, and the most common one is 1 pixel noise.
This is because the noise is xel noise, and depending on the frequency of noise occurrence, the noise area may be expanded to 2pixel or 3pixel. Furthermore, in order to simplify the hardware,
It is also possible to remove noise only in the main scanning direction or only in the sub-scanning direction. Furthermore, in a system where the probability of noise occurrence is low, it is possible to have a configuration in which this mark noise removal section is not included.

第8図は実施例のブロック化回路部の回路図、第9図は
実施例のブロック化回路部の動作を示すタイミングチャ
ート、第10図は実施例のマーク幅検出部の構成を示す
ブロック図である。
FIG. 8 is a circuit diagram of the blocking circuit section of the embodiment, FIG. 9 is a timing chart showing the operation of the blocking circuit section of the embodiment, and FIG. 10 is a block diagram showing the configuration of the mark width detection section of the embodiment. It is.

上述の第1図のブロック化回路部70はマークノイズ除
去部60の出力信号Cを2X2にブロック化する機能を
有している。このブロック化回路部7oでは、マーカー
ペンでマークした領域以外のマーク濃度部分と検出した
領域との紙検出の防止が図られる。例えば、原稿に小さ
な汚れ等があった場合このブロック化回路70でのブロ
ック化によってこの汚れのレベルがマーク濃度レベルに
あってもマークとは判定されない。さらに、このブロッ
ク化によって実施例では、主走査方向へ2、副走査方向
へ2の2×2のブロックを1つの単位として、処理する
ため処理情報量として1/4となりハード構成の簡略化
、及びコスト低減も図られる。
The blocking circuit section 70 shown in FIG. 1 described above has a function of blocking the output signal C of the mark noise removing section 60 into 2×2 blocks. This blocking circuit section 7o prevents the paper from detecting a mark density portion other than the area marked with the marker pen and the detected area. For example, if there is a small stain on the document, the blocking circuit 70 divides the document into blocks so that the stain is not determined to be a mark even if the level of the stain is at the mark density level. Furthermore, in this embodiment, by forming blocks, the amount of information to be processed is reduced to 1/4, since 2×2 blocks (2 in the main scanning direction and 2 in the sub-scanning direction) are processed as one unit, which simplifies the hardware configuration. And cost reduction is also achieved.

第8図において71.72はFIFOのメモリでありメ
モリ71によって、2Ωinsのデータを同一時間軸上
にそろえ、メモリ72によって2flineずつ2Qi
neステツプで同一2Qineデータを出力させている
。この制御は、ライン有効読取幅信号LGATEをメモ
リ71のリード/ライト端子に入力させ、このライン有
効読取111i侶号LGATEを2分周した信号をメモ
リ72のFIFOのライト端子に入力し、リード端子に
はライン有効読取幅信号GATEを入力させるようにす
ることで実現できる。
In FIG. 8, 71 and 72 are FIFO memories, and the memory 71 aligns the data of 2Ωins on the same time axis, and the memory 72 aligns the data of 2Qi by 2flines.
The same 2Qine data is output in the ne step. This control inputs the line effective reading width signal LGATE to the read/write terminal of the memory 71, inputs the signal obtained by dividing this line effective reading signal LGATE by two to the FIFO write terminal of the memory 72, and inputs the signal to the read terminal of the FIFO of the memory 72. This can be realized by inputting the line effective reading width signal GATE.

第9図のタイミングチャートに示すように、ライン有効
読取幅信号LGATEに同期して、信号Cの入力データ
がFIF○メモリ71に入力され、メモリ71の出力端
子からは前ラインのデータが出力され、この212in
sを、FIFOのメモリ72に書き込む信号を分周器7
3の出力で制御することでメモリ72からの出力は2F
!insステツプで出力される。又同様にしてメモリ7
2の出力端子に得られた信号をF/F74で1画素遅延
し、遅延された画素と、現画素とを172分周器77の
出力信号でF/F 75によりランチすることで第8図
に示す2X2ブロツクが実現される。
As shown in the timing chart of FIG. 9, the input data of the signal C is input to the FIF○ memory 71 in synchronization with the line effective reading width signal LGATE, and the data of the previous line is output from the output terminal of the memory 71. , this 212in.
The frequency divider 7 sends a signal to write s to the FIFO memory 72.
By controlling with the output of 3, the output from the memory 72 is 2F.
! Output at the ins step. Similarly, memory 7
The signal obtained at the output terminal of 2 is delayed by one pixel by F/F 74, and the delayed pixel and the current pixel are launched by F/F 75 using the output signal of 172 frequency divider 77. A 2×2 block shown in FIG.

この2×2ブロツク内の画素X工+ X21 x3. 
X4がすべてマーク信号であればマーク信号とする処理
が、AND回路76で行われ、画素X□〜X、の1つで
もマーク信号でなければマークと判定しないことにより
/hエリアのマーク外領域における部分をマークエリア
と検出する誤検出を低減できる。
Pixel X in this 2×2 block + X21 x3.
If all of the pixels X4 are mark signals, the AND circuit 76 performs processing to treat them as mark signals, and if even one of the pixels X□ to It is possible to reduce erroneous detections in which a portion of the area is detected as a mark area.

又、ここで、2X2ブロツクとせず、主走査方向のみの
ブロック又は副走査のみのブロックで判定することも可
能であり、さらにマトリクスサイズを大きくとって判定
するようにしてもよい。これにより、マトリクス領域外
のマーク誤検出を防ぐことが可能となりさらに、後述す
るハード構成も簡単化される。
Further, instead of using 2×2 blocks, it is also possible to perform the determination using blocks only in the main scanning direction or blocks only in the sub-scanning direction, and it is also possible to make the determination by increasing the matrix size. This makes it possible to prevent erroneous detection of marks outside the matrix area, and also simplifies the hardware configuration, which will be described later.

第1図のマーク幅検出部80は、マーク幅がある一定幅
以上あるか否かの検出を行うものである。
The mark width detection section 80 in FIG. 1 detects whether the mark width is greater than or equal to a certain width.

この検出はマークはかならずある一定幅以上の輻をもっ
ていることに基づいて行われるものであり、実施例では
、12pixelX12Mineのエリアを対象として
いる。即ち実施例では12pixelX12Qineの
エリアにおいである確率以上マーク信号dが存在してい
ればマーク領域とみなすことにしている。ここで、ある
確率としたのは、前述のマークノイズ除去部60ではカ
ットされない少し大きい白又は黒ノイズが存在してもマ
ーク領域とするためでもある。さらに、このマークの幅
を通常の文字/線画の幅よりも大きいものとすることで
、薄い文字/線等、マーク濃度と等しい濃度レベルでマ
ーク信号候補となった部分ても、このマーク幅を大きく
することでマークとは判定せず誤検出を防止できる。
This detection is performed based on the fact that the mark always has convergence of a certain width or more, and in this embodiment, an area of 12 pixels x 12 mines is targeted. That is, in the embodiment, if the mark signal d exists with a certain probability or more in an area of 12 pixels x 12 Qine, it is regarded as a marked area. Here, the reason why a certain probability is set is that even if there is a slightly large white or black noise that is not cut by the mark noise removal section 60 described above, it is considered to be a mark area. Furthermore, by making the width of this mark larger than the width of normal characters/line drawings, the width of this mark can be reduced even in parts such as thin characters/lines that are mark signal candidates at the same density level as the mark density. By increasing the size, it is not determined that it is a mark, and false detection can be prevented.

第10図においてメモリ81はFIFOのメモリであり
入力信号となる2Qineステツプデータの信号dを、
6回副走査方向に遅延したデータ、つまり、12Qin
eのデータを同一時間軸上にそろえ、演算回路82て、
AND演算及びOR演算を行って12Rineの同一画
素番目で、5/6の確率になるように演算する。つまり
6X:1ineステツプのデータの同一画素番目で5ス
テツプがマーク信号dであればマーク信号として出力す
る。
In FIG. 10, the memory 81 is a FIFO memory and receives the 2Qine step data signal d as an input signal.
Data delayed 6 times in the sub-scanning direction, that is, 12 Qin
The data of e are aligned on the same time axis, and the arithmetic circuit 82
An AND operation and an OR operation are performed to calculate a probability of 5/6 for the same pixel in 12Rines. In other words, if the 5th step at the same pixel of data of 6X:1ine steps is mark signal d, it is output as a mark signal.

この時5ステツプの、組合わせが6通りあり、5人力の
AND演算が5回行われその各々のAND出力の総和を
OR演算することで5/6の確率を実現する。
At this time, there are 6 combinations of 5 steps, and the 5-person AND operation is performed 5 times, and the sum of the AND outputs is ORed to realize a probability of 5/6.

この副走査方向の5/6の確率信号をシフトレジスタ8
3で、主走査方向に6タロツク(l/2分周クロック)
遅延させ、遅延さ九た6クロツクに対応するマーク信号
で副走査と同様にAND演算及びOR演算を行なう演算
回路84によって、主走査方向で576確率となるよう
に演算している。このような演算により主走査副走査、
12JineX12pixelごとに、5X6以上の確
率でマーク信号が入力された場合にマーク幅信号eを出
力することになる。
This 5/6 probability signal in the sub-scanning direction is transferred to the shift register 8.
3, 6 tarokks in the main scanning direction (l/2 frequency division clock)
The arithmetic circuit 84 performs an AND operation and an OR operation on the mark signals corresponding to the delayed 9 clocks in the same manner as in the sub-scanning, so that the probabilities are 576 in the main-scanning direction. Through such calculations, main scanning, sub-scanning,
For each 12JineX12 pixels, if a mark signal is input with a probability of 5x6 or more, a mark width signal e is output.

このマーク幅検出における幅の大きさは、システムによ
りそのシステムに適合した値に設定するよう可変となっ
ており、上記確率もシステムにより、可変設定できるよ
うになっている。さらに、複数の異なる確率検出基準を
もつ事で、最初に検出するマーク幅検出は厳しくし、−
度マーク検出したならば、次にくるマーク幅検出の確率
を下げるようにして検出率の向上を図る事も可能である
The size of the width in mark width detection is variable depending on the system so as to be set to a value suitable for the system, and the above probability can also be set variably depending on the system. Furthermore, by having multiple different probability detection criteria, the first mark width detection is made stricter, and -
Once a mark has been detected, it is possible to improve the detection rate by lowering the probability of detecting the next mark width.

一般にディジタル複写機においては、変倍機能を偏えて
いるので、実施例では変倍設定条件下でも誤りなくマー
ク検出を行うことが必要である。
In general, digital copying machines have variable magnification functions, so in the embodiment, it is necessary to detect marks without error even under variable magnification settings.

この変倍において副走査変倍は、上述のごとく原稿と、
CCDとの相対位置を機械的に変化させ縮小から拡大ま
での変倍の設定が行われ、主走査変倍は、電気的に、縮
小時は画素の間引き拡大時は、画素の補間を行い変倍処
理が行われる。ここで電気的主走査変倍及び、原稿とC
CDの相対位=速度を変える方式は公知技術を、用いれ
ば実現するものであり、特に説明は行わない。
In this magnification change, the sub-scanning magnification changes between the original and
Setting of magnification from reduction to enlargement is performed by mechanically changing the relative position with the CCD, and main scanning magnification is electrically changed by thinning pixels during reduction and interpolating pixels when enlarging. Double processing is performed. Here, electrical main scanning magnification change and original and C
The method of changing the relative position = speed of a CD can be realized by using a known technique, and will not be specifically explained.

第32図(a)(b)は実施例に適用される主走査変倍
部の配置を示すブロック図、第33図は実施例の要部の
構成を示すブロック図、第35図は従来のマーク検出動
作の説明図である。
32(a) and 32(b) are block diagrams showing the arrangement of the main scanning magnification unit applied to the embodiment, FIG. 33 is a block diagram showing the configuration of the main part of the embodiment, and FIG. FIG. 3 is an explanatory diagram of mark detection operation.

ここで、問題となるのが、マークエリア検出部と変倍と
の関係である。つまり、副走査画像は変倍に応じ、入力
画像が副走査方向に変倍された画像である。しかし、主
走査変倍は第32図(a)に示すように、マークエリア
検出部401でのマークエリア検出後に主走査変倍部4
03で変倍したり、同図(b)に示すように、主走査変
倍部405で主走査変倍後にマークエリア検出部406
でマ−クエリア検出をする方式が考えられる。
Here, the problem is the relationship between the mark area detection section and variable magnification. In other words, the sub-scanning image is an image obtained by scaling the input image in the sub-scanning direction according to the scaling. However, as shown in FIG.
03, or as shown in FIG.
One possible method is to detect the marked area.

ここで、第20図(a)で示す方式が本発明の特徴の1
つであり、上述のごとく、主走査変倍前に、マークエリ
ア検出を行なう方式である。主走査変倍前に、マークエ
リア検出を行う事によって後述するマーク幅検出が、副
走査方向のみで倍率に対応して行われる。従って倍率に
応じた幅検出が複数可能な構成とする事により比較的簡
単な構成で誤検出のない、マーク幅検出ができる。
Here, the method shown in FIG. 20(a) is one of the features of the present invention.
As mentioned above, this is a method in which mark area detection is performed before main scanning magnification change. By performing mark area detection before main scanning magnification change, mark width detection, which will be described later, is performed only in the sub-scanning direction in accordance with the magnification. Therefore, by adopting a configuration that allows multiple width detections depending on the magnification, it is possible to detect mark widths with a relatively simple configuration and without erroneous detection.

この誤検出とは、例えば第35図に示すように同図(a
)では、マークを十分な太さでマーキングする時縮小モ
ードでは、マークの幅が狭くなる為従来のマーク幅検出
では等倍に対応したマーク幅検出を行う為に検出不能と
なって誤検出を生じる。
This false detection means, for example, as shown in FIG.
), when marking a mark with sufficient thickness in the reduction mode, the mark width becomes narrower, so conventional mark width detection detects the mark width corresponding to the same size, making it impossible to detect and causing false detection. arise.

その為、従来は縮小モードではマークを記入する際によ
り太くマーキングする必要があった。さらに、第35図
(b)ではマークではなくマーク濃度と同様の濃度をも
つ線情報(例えば、薄い鉛筆情報)があった場合、等倍
では線幅が狭い為、誤検出しなかったものが拡大するこ
とにより、線幅が、前述のマーク幅検出に適合する幅と
なることがあり、ム検畠を行なうことがあった。
For this reason, conventionally, when marking a mark in the reduced mode, it was necessary to mark it thicker. Furthermore, in Fig. 35(b), if there is line information (for example, thin pencil information) that is not a mark but has a density similar to the mark density, the line width is narrow at the same magnification, so there are cases where it is not detected incorrectly. By enlarging the line width, the line width may become suitable for the above-mentioned mark width detection, and a bar inspection may be performed.

本発明は、上記欠点を改良するものであり、第32図の
(a)の場合は主走査変倍前に、同図(b)の場合は、
主走査変倍後にマークエリア検出を行なった場合を示し
、このマークエリア検出内のマーク幅検出において第3
3図に示すように倍率に応じた複数のマーク幅の幅検出
を行うマーク幅検出部を設けることで上記欠点を改良し
ている。
The present invention aims to improve the above-mentioned drawbacks, and in the case of FIG. 32(a), the
This shows a case where mark area detection is performed after main scanning magnification change, and in mark width detection within this mark area detection, the third
As shown in FIG. 3, the above drawbacks are improved by providing a mark width detection section that detects the widths of a plurality of mark widths according to the magnification.

第33図で入力信号dは濃度検出の結果マーク濃度に対
応すると判定された信号であり、実施例では第10図に
示すマーク幅検出部に、倍率が×1の場合に12Qin
eX12pixelのブロック内で576の確率でマー
ク濃度の画素が存在することでマーク判定をする第33
図に示すマーク幅検出回路410を具備している。また
実施例では縮小モード(倍率x O,5)の場合に61
2ineX6pixelのブロック内で2/3の確率で
マーク濃度の画素が存在することでマーク判定をする第
33図に示すマーク幅検出回路409及び拡大モード(
倍率x2)の場合に、24ρ1neX24pixelの
ブロック内で所定の確率でマーク濃度の画素が存在する
ことでマーク判定をする第33図に示すマーク幅検出回
路411をもマーク幅検出部に具備している。
The input signal d in FIG. 33 is a signal determined to correspond to the mark density as a result of density detection.
The 33rd method makes a mark determination based on the presence of a pixel with a mark density in a block of eX12 pixels with a probability of 576.
A mark width detection circuit 410 shown in the figure is provided. In addition, in the embodiment, in the case of reduction mode (magnification x O, 5), 61
The mark width detection circuit 409 shown in FIG. 33 and the enlargement mode (
The mark width detection section is also equipped with a mark width detection circuit 411 shown in FIG. 33, which makes a mark determination based on the presence of a pixel with a mark density with a predetermined probability in a block of 24ρ1ne x 24 pixels when the magnification is x2). .

また縮小、拡大におけるマーク幅検出では上述の第10
図のメモリ81の出力を演算回路82に入力し倍率に対
応した副走査幅シフトレジスタ83の出力を倍率に対応
した主走査幅とすれば実現される。ここで、各倍率に対
応するマーク幅を出力するために第33図に示すセレク
タ412を具備させ、図示しないCPUからの制御信号
で各倍率に対応するマーク幅出力信号を選択させる。又
、本発明の要件の1つである主走査変倍前に、マークエ
リア検出を行なうようにすれば、上述の主走査幅は一定
となり、第10図示に示すシフトレジスタ83は固定と
なる。
In addition, for mark width detection during reduction and enlargement, the 10th
This can be achieved by inputting the output of the memory 81 shown in the figure to the arithmetic circuit 82 and setting the output of the sub-scanning width shift register 83 corresponding to the magnification to the main scanning width corresponding to the magnification. Here, in order to output the mark width corresponding to each magnification, a selector 412 shown in FIG. 33 is provided, and the mark width output signal corresponding to each magnification is selected by a control signal from a CPU (not shown). Furthermore, if mark area detection is performed before main scanning magnification change, which is one of the requirements of the present invention, the above-mentioned main scanning width becomes constant, and the shift register 83 shown in FIG. 10 becomes fixed.

特に、独立変倍つまり主走査倍率と副走査倍率とが違う
倍率の時は、第32図(b)の方式時のマークエリア検
出部406におけるマーク幅検出は主走査、副走査の各
方向で倍率に対応するマーク幅検出部を備える必要があ
る。しかし第32図(a)の方式の時は、副走査方向の
みの倍率に対応するマーク幅検出部のみを備えればよく
、回路的にもより簡単な構成となる。
In particular, when the magnification is independent, that is, the main scanning magnification and the sub-scanning magnification are different, the mark width detection in the mark area detection unit 406 in the method shown in FIG. It is necessary to provide a mark width detection section corresponding to the magnification. However, in the case of the method shown in FIG. 32(a), only a mark width detection section corresponding to the magnification in the sub-scanning direction is required, resulting in a simpler circuit configuration.

第1図で90は第1マーク拡張部であり、この第1マー
ク拡張部90は上述のマーク幅検出部80で得られた信
号が実際のマーク領域よりも一般に狭くなっているので
、得られた信号を実際のマーク領域まで拡張する機能を
有している。第11図(a)〜(c)はマーク変倍の説
明図であり、同図(a)に示す実際のマーク領域R0に
対して、検出されるマーク幅検出信号R□に基づいて算
出されるマーク領域R2は同図(c)に示すように一般
に縮小するので、補正が必要となる。同図(b)はマー
ク幅検出信号R工に基づいて算出されるマーク領域R1
が拡大した場合である。
In FIG. 1, reference numeral 90 denotes a first mark extension section, and this first mark extension section 90 is used because the signal obtained by the above-mentioned mark width detection section 80 is generally narrower than the actual mark area. It has a function to extend the signal to the actual mark area. FIGS. 11(a) to 11(c) are explanatory diagrams of mark magnification change, and the actual mark area R0 shown in FIG. Since the mark area R2 generally shrinks as shown in FIG. 3(c), correction is required. The figure (b) shows the mark area R1 calculated based on the mark width detection signal R.
This is the case when .

注目画素がマーク幅検出信号であり、一定範囲内で隣接
画素が連続してマークノイズ除去信号又はマーク濃度検
出信号であれば連続されたマ゛−りノイズ除去信号又は
マーク濃度検出信号領域とマーク幅検出信号領域とをマ
ーク拡張領域とするというアルゴリズムに対し、マーク
濃度、マーク幅検出を行なった後、マーク幅検出信号を
単純に拡張したのではマーク領域に誤差が生しるという
欠点を有している。つまり、第11図に示すように、マ
ーク幅検出信号を単純に拡大すると、実際のマーク領域
より拡大されたり、実際のマーク領域より縮小されたり
する事があり、誤差を生じる。例えば、実際のマーク領
域より拡大された場合は、マーク領域に近接して文字等
の情報があった場合、その情報までもマーク領域として
見なし、残るべき情報が欠落したりあるいは、消したい
情報が残るという不具合を生じる。またマーク領域が狭
くなった場合にはマーク自体が画像に現れたりするとい
う不具合を生じる。
If the pixel of interest is a mark width detection signal, and adjacent pixels within a certain range are consecutive mark noise removal signals or mark density detection signals, the continuous minor noise removal signal or mark density detection signal area and mark In contrast to the algorithm that uses the width detection signal area as the mark expansion area, if the mark width detection signal is simply expanded after detecting the mark density and mark width, it has the disadvantage that errors will occur in the mark area. are doing. That is, as shown in FIG. 11, if the mark width detection signal is simply expanded, it may become larger than the actual mark area or may be smaller than the actual mark area, resulting in an error. For example, if the mark area is enlarged from the actual mark area, if there is information such as text in the vicinity of the mark area, that information will also be considered as the mark area, and the information that should remain may be missing or the information that you want to erase may be deleted. This causes the problem of remaining. Furthermore, when the mark area becomes narrow, there is a problem that the mark itself appears in the image.

第12図は実施例のマーク拡張部の構成を示すブロック
図、第13図は実施例のマーク拡張ブロックの動作を示
すタイミングチャートである。
FIG. 12 is a block diagram showing the configuration of the mark extension block of the embodiment, and FIG. 13 is a timing chart showing the operation of the mark extension block of the embodiment.

上述のアルゴリズムを実施例では第12図に示すような
マーク拡張部で実現している。第13図において斜線部
分は実際のマーク領域であり、格子部分は上述のマーク
幅検出信号である。タイミングチャートでe、cはそ九
ぞ九マーク幅検出信号で、又マークノイズ除去信号であ
り、実施例では縮小されたマーク幅検出信号をマークノ
イズ除去信号まで拡張すればよいことになる。
In the embodiment, the above-mentioned algorithm is realized by a mark extension unit as shown in FIG. In FIG. 13, the shaded area is the actual mark area, and the grid area is the above-mentioned mark width detection signal. In the timing chart, e and c are mark width detection signals and mark noise removal signals, and in the embodiment, it is sufficient to extend the reduced mark width detection signal to the mark noise removal signal.

また第13図において、点々を施した部分がマーク濃度
範囲であるが幅として狭い例えば、薄い鉛筆の記入情報
であったとすると、タイミングチャートのe、cは同図
に示すような波形になる。
Furthermore, in FIG. 13, if the dotted area is within the mark density range but has a narrow width, for example information written in a thin pencil, then e and c in the timing chart will have waveforms as shown in the same figure.

ここで、第12図のシフトレジスタ91と○R回路92
によりマーク幅検出信号を十分拡張させる。
Here, the shift register 91 and the ○R circuit 92 in FIG.
This allows the mark width detection signal to be sufficiently expanded.

この拡張量は上述のマーク幅検出により狭くなった領域
以上とすることが必要となる。第13図A4に示すよう
に、実施例では第1のマークはマーク幅検出信号を拡張
させた信号より小さく、例外的に第2のマークはマーク
幅検出信号を拡張させた信号より大きい場合を想定した
The amount of expansion needs to be greater than the area narrowed by the mark width detection described above. As shown in FIG. 13A4, in the embodiment, the first mark is smaller than the extended mark width detection signal, and exceptionally, the second mark is larger than the extended mark width detection signal. I assumed.

マークノイズ除去信号が入力するインバータ101の出
力信号とOR回g92の出力信号がNAND回路95に
入力され、第1のマークの後端部の信号A5を取り出す
。さらに第1のマークの先端部信号を作る為マークノイ
ズ除去信号Cとシフトレジスタ102より得られた信号
とをOR回路103に入力し、OR回路103の出力端
子に信号A6をNAND回路104でマーク信号eとN
ANDAND処理で信号A7を得るこの信号A7の立上
りで第1のマーク信号とマーク幅検出信号の領域の合成
出力によって第1のマーク信号とマーク幅検出信号の領
域の合成出力によって第1のマーク信号のある一定シフ
ト量の先端部分を検出できる。
The output signal of the inverter 101 to which the mark noise removal signal is input and the output signal of the OR circuit g92 are input to the NAND circuit 95, and the signal A5 at the rear end of the first mark is taken out. Furthermore, in order to generate the tip end signal of the first mark, the mark noise removal signal C and the signal obtained from the shift register 102 are input to the OR circuit 103, and the signal A6 is sent to the output terminal of the OR circuit 103 to mark the mark using the NAND circuit 104. Signals e and N
A signal A7 is obtained by AND processing.At the rising edge of this signal A7, the first mark signal and the mark width detection signal area are combined and outputted, and the first mark signal and the mark width detection signal area are combined and outputted. It is possible to detect the leading edge of a certain amount of shift.

さらに第1のマーク信号のうち信号A7で得られたシフ
ト量と同じ量だけ後端側もシフトしなければならないの
で、シフトレジスタ99によって遅延量を整合させ信号
A8を得る。信号A7.A8をAND回路100によっ
てAND処理することにより、第1のマークエリアの先
後端の信号が合成される。この信号でバッファ93を制
御して信号がHの期間では信号A4を出力させる。信号
A4がシフトレジスタ94に入力され、このシフトレジ
スタ94も上述の信号A9により制御される。
Furthermore, since the rear end side of the first mark signal must be shifted by the same amount as the shift amount obtained with signal A7, the shift register 99 matches the delay amount to obtain signal A8. Signal A7. By performing AND processing on A8 by the AND circuit 100, signals at the leading and trailing ends of the first mark area are synthesized. This signal controls the buffer 93 to output the signal A4 during the period when the signal is H. Signal A4 is input to shift register 94, which is also controlled by signal A9 described above.

つまり信号A9のHの期間にはかならず上述のマーク幅
検出信号を拡張した信号A4が入力されこれにより第2
のマーク幅検出信号を拡張した信号と第1のマーク幅検
出信号を拡張した信号とを上述のシフトレジスタ99,
102のシフト量分拡張する。
In other words, during the H period of signal A9, signal A4, which is an extension of the mark width detection signal described above, is always input, and this causes the second
The signal obtained by extending the mark width detection signal and the signal obtained by extending the first mark width detection signal are transferred to the shift register 99,
It is expanded by a shift amount of 102.

つまり、第2のマーク領域は全体でマーク幅検出信号+
(シフト量X2)となり前後にマークが拡張された事と
同一となる。よって上述のごとくマーク幅検出信号を実
際のマーク信号より得られるシフト量により実際のマー
ク領域まで拡張する事ができ単純な拡張による不具合を
解決するものである。また副走査側はシフトレジスタを
メモリに置換える事により主走査方向のマーク拡張と同
様の考え方で実施することができるがその説明は省略す
る。
In other words, the entire second mark area receives the mark width detection signal +
(shift amount X2), which is the same as extending the mark forward and backward. Therefore, as described above, the mark width detection signal can be extended to the actual mark area by the shift amount obtained from the actual mark signal, thereby solving the problems caused by simple extension. Furthermore, on the sub-scanning side, by replacing the shift register with a memory, it can be implemented using the same concept as mark extension in the main-scanning direction, but the explanation thereof will be omitted.

第1図で110はマーク連結部であり、実゛2例では文
字や線画上にマークを塗ると、第1のマーク拡張部90
まで処理で跡切れが発生することがあるので、このマー
ク連結部110で跡切れを連結させる。
In FIG. 1, 110 is a mark connecting part, and in the second example, when a mark is painted on characters or line drawings, the first mark extension part 90
Since trace cuts may occur during the processing up to, the mark connection section 110 connects the trace cuts.

第14図はマーク連結処理の説明図、第15図(a)(
b)はマーク跡切れ防止の説明図、第16図は実施例の
マーク連結部の構成を示す回路図、第17図(a)(b
)は実施例のマーク連結部の動作特性図である。
Fig. 14 is an explanatory diagram of mark connection processing, and Fig. 15 (a) (
Fig. 16 is a circuit diagram showing the structure of the mark connecting part of the embodiment, Fig. 17 (a) (b) is an explanatory diagram of preventing mark trace breakage.
) is an operational characteristic diagram of the mark connecting portion of the embodiment.

″アルゴリズム″として、″注目画素がマーク拡張であ
り隣接画素がマーク拡張ではなく隣接画素が黒又はマー
クレベルでありさらに一定幅黒又はマークが連続し一定
幅以内でマーク拡張が再出現する場合一定幅以内のマー
ク拡張でない画素をマーク拡張とする″とする。
As an ``algorithm'', ``if the pixel of interest is a mark extension, the adjacent pixel is not a mark extension, the adjacent pixel is black or the mark level, and furthermore, a certain width of black or marks are continuous and the mark extension reappears within a certain width, it is constant. Pixels within the width that are not mark extensions are mark extensions.''

従来のマークの跡切れの防止は、マーク周辺が白の場合
には、第15図(a)に示すように、実際のマーク範囲
R1より広い範囲R2までマークとすることによって行
っている。このため、マークに隣接した情報までマーク
と判定してしまうことがある。またマーク周辺黒画像が
ある場合には、同図(b)に示すようにこの黒画像に沿
ってマークMが広がるためにエリア精度が悪くなる。
Conventionally, when the periphery of the mark is white, the conventional method of preventing marks from being cut off is done by extending the mark to a range R2, which is wider than the actual mark range R1, as shown in FIG. 15(a). Therefore, even information adjacent to a mark may be determined to be a mark. Furthermore, if there is a black image around the mark, the mark M spreads along this black image as shown in FIG. 10B, resulting in poor area accuracy.

第14図(a)に示すように文字り上にマークMが付さ
れている場合マーク拡張を行うと跡切れKが発生するの
で、実施例では同図(C)に示すように跡切れ部分をマ
ーク連結Nで連結するのである。
As shown in FIG. 14(a), when a mark M is placed on the lettering, if mark expansion is performed, a cutout K will occur, so in this embodiment, the cutout part will be are connected by mark connection N.

この場合上記アルゴリズムを実施例では第16図に示す
構成のマーク連結部で実現している。
In this case, the above-mentioned algorithm is implemented in the embodiment by a mark connecting section having the configuration shown in FIG. 16.

第16図第17図では主走査方向のみを示しているが、
副走査方向については全く同様に考えることができるの
でその説明は省略する。構成上副走査方向は、主走査方
向でのシフトレジスタをメモリ(例えばFIFOメモリ
)に置換えることにより実現される。
Although only the main scanning direction is shown in Figs. 16 and 17,
Since the sub-scanning direction can be considered in exactly the same way, its explanation will be omitted. In terms of configuration, the sub-scanning direction is realized by replacing the shift register in the main-scanning direction with a memory (for example, a FIFO memory).

まず第17図(b)に示すようなマークMと線L1〜L
6(黒跡切れ)が存在する場合について説明する。
First, mark M and lines L1 to L as shown in FIG. 17(b)
The case where 6 (black mark cut) exists will be explained.

ここでは線L1〜L6によってマークMが分断されてい
て線L1〜線L2の間は上述のマーク拡張位置まで線が
とぎれた場合が示されている。これがマーク拡張信号f
として実施例のマーク連結部110に入力されたとする
。又、上述の説明で明らかなように黒又はマークレベル
の信号すがこのマーク連結部110では必要であるがこ
の信号すは第17図(a)のタイミングチャートに示す
ような波形とする。この2つの信号f、bを用いて求め
る波形のマーク拡張によって分断された線L1と線L2
の領域を連結させる。さらに線L3と線L4で分断され
た領域を連結させる。そして線L5はそのまま残し線L
6も残すような波形とすればよいことになる。
Here, a case is shown in which the mark M is divided by lines L1 to L6, and the line is interrupted between lines L1 and L2 to the mark extension position described above. This is the mark extension signal f
It is assumed that the following is input to the mark connection unit 110 of the embodiment. Further, as is clear from the above description, a black or mark level signal is necessary in the mark connecting section 110, and this signal has a waveform as shown in the timing chart of FIG. 17(a). Line L1 and line L2 separated by mark expansion of the waveform obtained using these two signals f and b
Connect the areas of Furthermore, the regions separated by line L3 and line L4 are connected. And leave line L5 as it is and line L
It is sufficient to create a waveform that leaves 6 as well.

つまり、JiL5まで、マークを拡張した場合は情報と
しての線L5がマーク信号となりマスキング等の場合線
L5が分断される。このため本発明では上述の″アルゴ
リズム″に示すように一定幅黒又はマークが連続し一定
幅以内でマーク拡張が再出現すればマーク拡張でないエ
リアをマーク拡張としマーク拡張が再出現しなければマ
ーク領域を連続しない。よって本アルゴリズムによりマ
ークの跡切れが発生した時に跡切れ防止処理を行なうこ
とによっても精度のよいマーク連結が可能となる。
That is, when the mark is extended to JiL5, the line L5 as information becomes a mark signal, and in the case of masking, etc., the line L5 is divided. For this reason, in the present invention, as shown in the above-mentioned "algorithm", if a certain width of black or marks are continuous and a mark extension reappears within a certain width, the area that is not a mark extension is treated as a mark extension, and if the mark extension does not reappear, a mark is marked. Areas are not contiguous. Therefore, it is possible to connect marks with high precision by performing a trace breakage prevention process using this algorithm when a mark trace breakage occurs.

これを実現する為にまずマーク拡′張信号fをF/F1
11でラッチしての出方と信号fの反転信号とのAND
回路112での処理信号と黒又はマークレベルの信号す
とのAND回路113でのAND処理で信号B1を得る
。この信号B1はマーク拡張が黒跡切れによって分断さ
れる先端位置信号となる。次に、黒又はマークレベル信
号すと、マーク拡張信号fのOR回路121のOR処理
によってマークの分断領域子線の領域信号B2が得られ
る。
To realize this, first, mark expansion signal f is input to F/F1.
AND of the output after latching at 11 and the inverted signal of signal f.
The signal B1 is obtained by ANDing the processed signal in the circuit 112 and the black or mark level signal in the AND circuit 113. This signal B1 becomes a tip position signal where the mark extension is divided by the black mark break. Next, when the black or mark level signal is input, an area signal B2 of a subline of the divided area of the mark is obtained by OR processing of the mark extension signal f in the OR circuit 121.

この信号B2をF/F 122でラッチしマーク拡張信
号fとAND回路123でAND処理することによって
マーク拡張領域の分断された信号の後端信号B3(後端
にマーク拡張信号がある場合のみ)が出力される。又上
述のOR回路121で得られたマークの分断領域子線の
領域信号B2の間に上述のマーク拡張の跡切れの先端信
号B1によって線L6をマーク拡張信号の分断された領
域から除外している(本発明の特徴の1つ)。さらに上
述の信号B1からシフトレジスタ124とOR回路]2
5によって一定幅の先端検出信号B5を作り、この信号
B5内(つまり1定幅以内に)上述の後端信号B3があ
るか否かをAND回路126を用いて検知している。こ
の検知で一定幅内に後端信号B3があると判定されると
マーク拡張で分断された領域がある一定幅以内にあると
いうことになる(本発明の特徴の1つ)。
This signal B2 is latched by the F/F 122 and ANDed with the mark extension signal f by the AND circuit 123, resulting in a rear end signal B3 of the divided signal of the mark extension area (only when there is a mark extension signal at the rear end). is output. Also, between the region signal B2 of the mark division area child line obtained by the above-mentioned OR circuit 121, the line L6 is excluded from the divided region of the mark extension signal by the above-mentioned mark extension trailing edge signal B1. (One of the features of the present invention) Furthermore, from the above-mentioned signal B1, the shift register 124 and the OR circuit]2
5 to produce a leading end detection signal B5 having a constant width, and an AND circuit 126 is used to detect whether or not the above-mentioned trailing end signal B3 is present within this signal B5 (that is, within one constant width). If it is determined by this detection that the trailing edge signal B3 is within a certain width, it means that the area divided by mark expansion is within a certain width (one of the features of the present invention).

実施例ではこの信号B6を基にさらに上述の一定幅分だ
け領域をシフトレジスタ127とOR回路128により
拡張している。この時点で現画像信号及び一定幅遅れる
事となり上述の信号B4をシフトレジスタ116で遅延
させさらに信号B7の間に上述の信号B4があるか否か
を判定するために、F/F 117でラッチした信号を
AND回路126の出力信号B6でF/F 118によ
ってラッチさせている。そしてこの信号と上述の遅延整
合されたシフトレジスタ116の出力信号B9とのAN
D回路119によるAND処理により信号BIOを得て
いる。この時点で線L5の領域を削除している(本発明
の特徴の1つ)。
In the embodiment, based on this signal B6, the area is further expanded by the above-mentioned constant width using a shift register 127 and an OR circuit 128. At this point, the current image signal and the signal B4 are delayed by a certain width, so the above-mentioned signal B4 is delayed by the shift register 116, and in order to determine whether or not the above-mentioned signal B4 exists between the signals B7, the F/F 117 latches it. The output signal B6 of the AND circuit 126 is latched by the F/F 118. Then, the AN of this signal and the above-mentioned delay-matched output signal B9 of the shift register 116 is
The signal BIO is obtained by AND processing by the D circuit 119. At this point, the area of line L5 is deleted (one of the features of the present invention).

さらに、もとのマーク拡張信号fと分断された領域信9
とをOR回路120でOR処理することによりマーク連
結信号B]2(g)が得られる。このようにして、マー
ク領域外の線情報は残した状態でマーク領域内である一
定幅以内の黒跡切れによる分断が連結される。マーク領
域と接する線情報は残されるので精度のよいマーク連結
が行なわれる。上述においては主走査方向についてのみ
を示したが副走査方向も同様に考えられることができる
。さらに、斜め方向も同様の考え方で処理することが出
来、この斜め方向の処理を行なうことによってさらに精
度を向上させることができる。
Furthermore, the original mark extension signal f and the separated area signal 9
By performing OR processing with the OR circuit 120, the mark concatenation signal B]2(g) is obtained. In this way, the divisions due to black mark cuts within a certain width within the mark area are connected while leaving the line information outside the mark area. Since the line information in contact with the mark area is left, highly accurate mark connection is performed. Although only the main scanning direction has been described above, the sub-scanning direction can also be considered in the same way. Furthermore, processing in diagonal directions can be performed using the same concept, and by performing processing in this diagonal direction, accuracy can be further improved.

第1図の140は第2のマーク拡張部、150は第1マ
ークエリア検出部、200は第2マークエリア検出部で
あり、りくにこれらの部分について説明する。
In FIG. 1, 140 is a second mark extension section, 150 is a first mark area detection section, and 200 is a second mark area detection section, and these parts will be explained in detail.

第36図(a) 、 (b) 、 (c)は実施例のマ
ーク連結後の画像の説明図、第37図乃至第39図は従
来のマークエリア検出の説明図である。
FIGS. 36(a), 36(b), and 36(c) are explanatory diagrams of images after marks are connected according to the embodiment, and FIGS. 37 to 39 are explanatory diagrams of conventional mark area detection.

実施例において上述のようにして第36図(a)のよう
に文字り上に付されたマークMに対してマーク連結処理
をすると、その画像は同図(b)に示すようになりI!
X画像に対して訳検出部Eが発生する。このため、実施
例においては第1マーク拡張と同一の処理を行なう事に
よって誤検出部Eを取り除き精度のよいマークエリア検
出を行なうようにしている。
In the embodiment, when the mark M placed on the lettering as shown in FIG. 36(a) is subjected to mark connection processing as described above, the image becomes as shown in FIG. 36(b), and I!
A translation detection unit E is generated for the X image. For this reason, in the embodiment, the erroneous detection portion E is removed by performing the same process as the first mark expansion, thereby achieving highly accurate mark area detection.

″アルゴリズム″として″注目画素がマーク幅検出信号
(マーク連結信号)であり一定範囲内で隣接画素が連続
してマークノイズ除去信号又はマーク濃度検出信号であ
れば連続されたマークノイズ除去信号領域又はマーク濃
度検出信号領域とマーク幅検出信号(マーク連続信号)
をマーク拡張領域とする。′とする。
As an ``algorithm'', if the pixel of interest is a mark width detection signal (mark concatenation signal) and adjacent pixels are consecutive mark noise removal signals or mark density detection signals within a certain range, then the continuous mark noise removal signal area or Mark density detection signal area and mark width detection signal (mark continuous signal)
Let be the mark extension area. '.

従来のマークエリア検出では第37図に示すようにX工
、x、、yのいずれの方向からも、マーカーMの影にな
って見えない部分はマーカーエリアと見倣される。また
第38図のような場合も同様でx1x2yのいずれの方
向からもマーカーMの影になって見えない部分はマーカ
ーエリアと児ωされる。さらに第38図に示すように、
マーカーMのマークエリアM1を検出することはできな
かった。
In conventional mark area detection, as shown in FIG. 37, the part that is hidden from view in the shadow of the marker M from any of the X, x, and y directions is assumed to be the marker area. The same applies to the case shown in FIG. 38, and the portion that cannot be seen due to the shadow of the marker M from any direction x1x2y is considered to be the marker area. Furthermore, as shown in Figure 38,
Mark area M1 of marker M could not be detected.

そこで、実施例では第1マークエリア検出部150及び
第2マークエリア検出部200を設けることによりマー
クエリアの検出を精度よく行なうようにしている。
Therefore, in the embodiment, a first mark area detection section 150 and a second mark area detection section 200 are provided to detect mark areas with high accuracy.

第18図は実施例のマークエリア検出部の構成を示すブ
ロック図、第19図は実施例の第17−クニリア検出部
の回路図、第20図は実施例の第2マークエリア検出部
の回路図、第21図乃至第26図は実施例におけるマー
クエリア検出動作のタイミングチャート、第27図(a
)〜(C)は実施例のエリア検出の説明図である。
FIG. 18 is a block diagram showing the configuration of the mark area detection section of the embodiment, FIG. 19 is a circuit diagram of the 17th-kunilia detection section of the embodiment, and FIG. 20 is a circuit diagram of the second mark area detection section of the embodiment. 21 to 26 are timing charts of the mark area detection operation in the embodiment, and FIG. 27 (a
) to (C) are explanatory diagrams of area detection in the embodiment.

アルゴリズムとして″マーカー指定部の外側内側の位置
情報を検出し検出された位置情報により第1のマークエ
リアの外側エリア及び内倒エリアの検出を行なう。この
ようにして得られた内側マークエリア内にある第2のマ
ーク指定部の外側及び内側の位置情報を検出し、検出さ
れた位置情報により第2のマークエリアの外側エリア及
び内側エリアの検出を行なう。第2のマークエリアの外
側エリアと第1のマークエリアの外側エリアの合成出力
を第1のマークエリアの外側及び内側の位;検出にフィ
ードバックさせる”とする。
The algorithm detects positional information on the outside and inside of the marker designated area, and uses the detected positional information to detect the outside area and inverted area of the first mark area. Position information on the outside and inside of a certain second mark designated area is detected, and the outside area and inside area of the second mark area are detected based on the detected position information.The outside area and the inside area of the second mark area are detected. The combined output of the area outside the first mark area is fed back to the detection at the outside and inside of the first mark area.

実施例においては上記のアルゴリズムを第18図に示す
構成のマークエリア検出部により実現している。第18
図のマークエリア検出部において、まず第1マークエリ
ア検出部に上述の第2マーク拡張信号りが入力される。
In the embodiment, the above algorithm is realized by a mark area detection section having the configuration shown in FIG. 18th
In the mark area detection section shown in the figure, first, the above-mentioned second mark expansion signal is input to the first mark area detection section.

この第2マーク拡張信号りに基づき第1のマーク外側位
置検出部151及び第1のマーク内側位置検出部160
での位置検出を行ない、第1の外側及び内側位置検出に
よって得られた信号で第1のマークの外側エリア及び内
側エリアの検出がそれぞれ第1のマーク外側エリア検出
部152及び第1のマーク内側エリア検出部161で行
われる。
Based on this second mark expansion signal, the first mark outer position detecting section 151 and the first mark inner position detecting section 160
The outside area and inside area of the first mark are detected by the first mark outside area detection unit 152 and the first mark inside area, respectively, using the signals obtained by the first outside and inside position detections. This is performed by the area detection section 161.

第1のマークの内側のエリアにある第2のマーク信号を
取り出すために、第1のマーク信号を遅延回路158で
遅延させた信号と第1のマークの内側エリア検出信号と
をA N D回路159でAND処理し、第2のマーク
信号を取り出しこの信号に基づき第2のマーク外側位置
検出部154と第2のマーク内側位置検出部163とで
、外側及び内側も”iK検出を行なう。そして各々の信
号によって第2マーク外側エリア検出部155及び第2
マーク内側エリア検出部164で第2のマークの外側エ
リア及び内側エリアの検出を行ない第1のマークの外側
エリア信号と第2のマークの内側エリア信号とのOR処
理をOR回路165で行って、得られたマスキング信号
と上述の第1マークの外側エリア検出信号とのAND処
理をA N D回路157で行う。このAND回路15
7の出力信号を第1マークの外側位置検出部151及び
第1□マークの内側位置検出部160にフィードバック
し上記第1のマークの外側及び内側の位置検出を行なう
In order to extract the second mark signal located in the area inside the first mark, a signal obtained by delaying the first mark signal by the delay circuit 158 and the inside area detection signal of the first mark are connected to an A N D circuit. 159, the second mark signal is extracted, and based on this signal, the second mark outer position detecting section 154 and the second mark inner position detecting section 163 perform "iK detection on the outer and inner sides as well." Each signal causes the second mark outer area detection unit 155 and the second
The mark inner area detection unit 164 detects the outer area and inner area of the second mark, and the OR circuit 165 performs OR processing of the outer area signal of the first mark and the inner area signal of the second mark. An AND circuit 157 performs AND processing between the obtained masking signal and the above-mentioned first mark outer area detection signal. This AND circuit 15
The output signal No. 7 is fed back to the first mark outer position detecting section 151 and the first □ mark inner position detecting section 160 to detect the outer and inner positions of the first mark.

まず第21図にはマークエリアが副走査方向に広がる場
合が示されている。第2マーク拡張部140より得られ
た信号りは3ライン目の信号f19が第21図に示すよ
うな波形となる。第19図のメモリ(F I F○)1
75より得られた前ライン信号はDaとなり前ラインの
マークの後端信号はDbとなる。F/F 172はセッ
ト/リセットF/Fであり、2ライン目信号Daの先端
エツジでセットされ信号Dbでリセットされて2ライン
目の外側の信号DCが得られる。
First, FIG. 21 shows a case where the mark area expands in the sub-scanning direction. The signal f19 on the third line obtained from the second mark extension section 140 has a waveform as shown in FIG. Memory (F I F○) 1 in Figure 19
The front line signal obtained from 75 is Da, and the rear end signal of the mark on the front line is Db. The F/F 172 is a set/reset F/F, which is set at the leading edge of the second line signal Da and reset at the signal Db to obtain the second line outer signal DC.

この信号と第2マークエリア検出で得られた信号Dnが
1ライン目の外側マークエツジ検出信号となる為信号D
dはAND回路173を通して第1ライン目の外側マー
クエリア信号と等価となる。
This signal and the signal Dn obtained by the second mark area detection become the first line outer mark edge detection signal, so the signal D
d becomes equivalent to the outer mark area signal of the first line through the AND circuit 173.

この信号DdがOR回路174で3ライン目の現ライン
信号の第2マーク拡張信号とOR処理されて信号Deが
得られる。この信号Deはマークが広がる場合には3ラ
イン目の第1外側マークエリア信号となる。この信号D
eがFIFOメモリ175に入力され、その前ライン信
号によってメモリ168及び180のリードデータを出
方させる。
This signal Dd is ORed with the second mark extension signal of the current line signal of the third line in an OR circuit 174 to obtain a signal De. This signal De becomes the first outer mark area signal of the third line when the mark spreads. This signal D
e is input to the FIFO memory 175, and read data from the memories 168 and 180 is output by the previous line signal.

ところで、メモリ]68のライトデータは上述の信号D
eをF/F 170でラッチした信号で現ラインのマー
クf19の後端位置情報を記憶させる。この後端位置は
カウンタ166によって発生される主走査方向の位=を
F/F 167でマークf19の反転エツジでラッチし
た情報となる。よってメモリ168からは前ラインのマ
ーク後端位置情報が出力されカウンタ166より出力さ
れたカウンタ値とコンパレータ169によって比較され
た信号が信号Dbとなり上述のマーク後端信号となる。
By the way, the write data of the memory ]68 is the above-mentioned signal D.
The trailing end position information of the mark f19 on the current line is stored using the signal e latched by the F/F 170. This rear end position is information obtained by latching the position in the main scanning direction generated by the counter 166 by the F/F 167 at the inverted edge of the mark f19. Therefore, the mark trailing edge position information of the previous line is output from the memory 168, and the signal that is compared by the counter value outputted from the counter 166 and the comparator 169 becomes the signal Db, which becomes the above-mentioned mark trailing edge signal.

同様にメモリ180のライトデータは、インバータ17
8によって反転された信号Deであり、カウンタ166
によって出力されたカウンタ値をマークの先端位置情報
として出方する信号となる。よってメモリ180のリー
ドデータは前ライン2のマークの先端位置情報が出力さ
れる。
Similarly, write data in the memory 180 is transferred to the inverter 17.
8 and is the signal De inverted by the counter 166.
The counter value outputted by is a signal that is output as mark tip position information. Therefore, as the read data of the memory 180, the tip position information of the mark on the previous line 2 is output.

この時、信号De(前ライン)の立上りで位置情報が出
力される為カウンタ166の(iはメモリ180より出
力される値より大きくなってしまいコンパレータ181
の出力DfはHとなる。またF/F177は、セット/
リセットF/Fであり信号D aとAN−D回路176
からの信号が同一となる為信号DgはLどなる。この信
号Dgは第1マークエリアの内側のマーク信号となりこ
の時の信号はライン2の内側マーク信号に対応する。さ
らに第20図のAND回路209は上述の入力信号の2
ライン目の信号と2ライン目の第1マークエリアの内側
信号とのAND処理を行って、第1マークエリア内に第
2のマークエリアがあるか否かを判定する。
At this time, since the position information is output at the rising edge of the signal De (previous line), the counter 166 (i) becomes larger than the value output from the memory 180 and the comparator 181
The output Df becomes H. Also, F/F177 is set/
Reset F/F, signal D a and AN-D circuit 176
Since the signals from both are the same, the signal Dg becomes L. This signal Dg becomes an inner mark signal of the first mark area, and the signal at this time corresponds to the inner mark signal of line 2. Furthermore, the AND circuit 209 in FIG.
AND processing is performed on the signal of the line and the inner signal of the first mark area of the second line to determine whether or not there is a second mark area within the first mark area.

第20図の回路構成はほぼ第19図の回路構成と等価で
あり、第20図の回路では第1のマークエリア内にある
第2マークエリアの外側エリア及び内側エリアを検出す
るが、その重複説明は省略する。ここでは第2マークエ
リアはないため信号Di、Djともしとなる。この信号
Di、DjはIQine目の信号となる。又OR回路2
12゜214は後述するマーカー編集のエリア信号を得
るために用いられる。つまりマーカーの外側エリアでは
OR回路214の出力信号DnはF信号となりマーカー
の内側エリアではOR回路212の出力信号DmはE信
号となる。ここで信号Dユ。
The circuit configuration in Figure 20 is almost equivalent to the circuit configuration in Figure 19, and the circuit in Figure 20 detects the outer area and inner area of the second mark area within the first mark area, but the overlap Explanation will be omitted. Here, since there is no second mark area, the signals Di and Dj become signals. These signals Di and Dj become the IQineth signal. Also, OR circuit 2
12° 214 is used to obtain an area signal for marker editing, which will be described later. That is, in the area outside the marker, the output signal Dn of the OR circuit 214 is the F signal, and in the area inside the marker, the output signal Dm of the OR circuit 212 is the E signal. Signal D here.

Djは第2マークエリア侶号で、信号Dkは、第1マー
クエリア内側信号、信号Deは第1マークエリアの外側
信号である(但し1Qins目)。よって信号Dnはマ
ークの外側エリアに対応し、信号Dmはマークの内側エ
リアに対応することとなる。
Dj is the second mark area number, signal Dk is the first mark area inner signal, and signal De is the first mark area outer signal (1Qins). Therefore, the signal Dn corresponds to the area outside the mark, and the signal Dm corresponds to the area inside the mark.

このようにして実施例によると、マーク位置情報に基づ
いてマーク外側エリア及びマーク内側エリアを独立に検
出し、且つ第2マークエリア検出部を設けることにより
、畝検圧なしにマークエリア検出を行い、さらにマーク
エリア内のマーク領域をも検出することができる。
In this way, according to the embodiment, by independently detecting the mark outer area and the mark inner area based on the mark position information, and by providing the second mark area detection section, the mark area can be detected without ridge detection pressure. , it is also possible to detect mark areas within mark areas.

また実施例ではすでに説明したように、第27−クニリ
ア検出で出力される信号を第1エリア検出にフィードバ
ックすることにより副走査側に凹部が存在してもマーク
エリアを高精度で誤差なく検出することができ、後述す
るようにフィードバックの手段によって多重円状のマー
クなども誤りなく検出することができる。
Furthermore, as already explained in the embodiment, by feeding back the signal output from the 27th-kunilia detection to the first area detection, the mark area can be detected with high precision and without error even if there is a recess on the sub-scanning side. As will be described later, multiple circular marks can also be detected without error by means of feedback.

第22図はマークエリアの副走査方向後端部に凹部が存
在する場合の実施例のマークエリア検出動作の説明図で
あり、ライン1〜7の範囲にマークエリアの凹部部分が
示されている。
FIG. 22 is an explanatory diagram of the mark area detection operation in the embodiment when a recess exists at the rear end of the mark area in the sub-scanning direction, and the recessed portion of the mark area is shown in the range of lines 1 to 7. .

現ライン3の信号f19は第1マーク内に第2マークが
存在している状態を示している。第19図のメモリ17
5より出力される信号Daはライン2の状態を示して、
この時第1のマークエリアの外側は、上述のごと< F
/F 172に出力される信号Cとなるこの時点ではフ
ィードバック信号は前ライン1のマーカー外側信号とな
り、信号Ddは2ライン目のマーカー外側信号となる(
マーク幅が狭くなっているため)。また、2ライン目の
第1マークエリアの内側信号も上述のごとく信号Dgと
なる。ここで第1マークエリア内にある第2マークエリ
アの検出を行って信号Dhが得られ、この信号Dhに基
づいて第2マークエリアの外側エリア及び内側エリアを
第2マークエリア検出部200で検出するが、この検出
出力は1ライン目となるため信号Di、Dj共にLどな
るよってOR回路212,214の出力信号は1ライン
目の外側エリア、及び内側エリアを示す信号となる。
The signal f19 of the current line 3 indicates that the second mark exists within the first mark. Memory 17 in Figure 19
The signal Da output from 5 indicates the state of line 2,
At this time, the outside of the first mark area is as described above.
/F 172 At this point, the feedback signal becomes the marker outside signal of the previous line 1, and the signal Dd becomes the marker outside signal of the second line (
(because the mark width is narrower). Furthermore, the inner signal of the first mark area on the second line also becomes the signal Dg as described above. Here, the second mark area within the first mark area is detected to obtain a signal Dh, and based on this signal Dh, the outer area and inner area of the second mark area are detected by the second mark area detection section 200. However, since this detection output is for the first line, both the signals Di and Dj are low, and the output signals of the OR circuits 212 and 214 become signals indicating the outer area and the inner area of the first line.

第23図を参照してライン4の場合のエリア検出につい
て説明する。3ライン目と同様出力信号Dcは、3ライ
ン目の第1マーカ一外側エリア信号であり信号Dgは、
第1マーカ一内側エリア侶号となる。又、信号Djは2
ライン目の第2マーカー外側侶号となり信号Djは、L
どなる。ここで信号Dmは第1マークエリアの内側のみ
の信号つまり凹状態にあるマークエリアの内側のみの信
号が出力される。又外側エリア信号は第1マークエリア
の外側となり誤りなくエリア出力が検出される。
Area detection in the case of line 4 will be explained with reference to FIG. Similar to the third line, the output signal Dc is an area signal just outside the first marker on the third line, and the signal Dg is
The first marker is the inner area. Also, the signal Dj is 2
The signal Dj is L, which is the second marker outside the line.
bawl. Here, the signal Dm is a signal only inside the first mark area, that is, a signal only inside the mark area in a concave state. Further, the outer area signal is outside the first mark area, and the area output is detected without error.

第24図を参照して5ライン目を説明する。上述と同様
に信号DCは4ライン目の第1マーカー外側侶号、信号
Dgは4ライン目の第1のマーカー内側信号、信号D1
は3ライン目の第1マーカー外側信号、信号Djは3ラ
イン目の第1マーカ−内側信号であり信号DJはLとな
る。また信号Dmは3ライン目のマーカー内側エリア信
号であり、信号Dnは3ライン目のマーカー外側エリア
に対応し、第1マークエリア外側の3ライン目の信号と
同じになる。
The fifth line will be explained with reference to FIG. Similarly to the above, the signal DC is the outer signal of the first marker on the 4th line, the signal Dg is the inner signal of the first marker on the 4th line, and the signal D1
is a signal outside the first marker on the third line, signal Dj is a signal inside the first marker on the third line, and the signal DJ becomes L. Further, the signal Dm is a marker inner area signal of the third line, and the signal Dn corresponds to the marker outer area of the third line, and is the same as the signal of the third line outside the first mark area.

第25図を参照して6ライン目の動作を説明する。上述
のように信号DCは5ライン目の第1マーカー外側侶号
であり、信号Dgは5ライン目の第1マーカー内側信号
である。ここで第2マークエリア検出部200をみると
信号Djが4ライン目の第2マーカ一外側エリア信号と
なり、信号Djが4ライン目の第2マーカ一内側エリア
信号となり4ライン目ではじめて信号DJが出力される
The operation on the 6th line will be explained with reference to FIG. As described above, the signal DC is the outer signal of the first marker on the 5th line, and the signal Dg is the inner signal of the first marker on the 5th line. Looking at the second mark area detection unit 200, the signal Dj becomes the second marker-outside area signal on the 4th line, and the signal Dj becomes the second marker-inside area signal on the 4th line. is output.

この信号Djにより信号Dnは4ライン目のマークの外
側信号として出力されることになり、副走査方向に凹状
のマークエリアが存在してもマークエリアの検出は誤り
なく行われる。もちろん信号Dmは、上述と同様4ライ
ン目のマークの内側信号である。また信号Dnを第1マ
ークエリア検出部150のAND回路173にフィード
バックする事により信号Dd、Deは第25図に示す波
形となりこの時メモリ168に書込まれるデータは上述
とは異なるものとなる。即ち上述では第1マークエリア
の後端外側つまり第25図の340の位置情報を書込む
はずがここでは234と340の2つの位置情報を書込
む事となる。つまり、ここで、第1マークエリアが2つ
存在したことと同じになる。
This signal Dj causes the signal Dn to be output as a signal outside the fourth line mark, and even if a concave mark area exists in the sub-scanning direction, the mark area can be detected without error. Of course, the signal Dm is a signal inside the mark on the fourth line, as described above. Further, by feeding back the signal Dn to the AND circuit 173 of the first mark area detection section 150, the signals Dd and De have the waveform shown in FIG. 25, and the data written to the memory 168 at this time is different from that described above. That is, in the above description, the position information on the outside of the rear end of the first mark area, ie, the position information at 340 in FIG. 25, is supposed to be written, but here, two position information, 234 and 340, are written. In other words, this is equivalent to the existence of two first mark areas.

同様にしてメモリ180に書込まれるデータは。Data written to memory 180 in the same manner.

上述まででは、第1マークエリアの後端内側、6ライン
目の285の位置情報を書込むはずがここでは、185
と285の2つの位置情報を書込むこととなる。このた
め、第26図の6ライン目のマークの外側信号はDcと
なり、第1マークの外側エリアが二つ存在したことにな
る。又、6ライン目では第1のマークの二つの外側エリ
アに対応する内側エリアはないため信号Dgつまり6ラ
イン目の第1マークの内側エリア信号はLとなる。
Up to the above, position information of 285 on the 6th line inside the rear end of the first mark area should be written, but here, 185
Two pieces of position information, 1 and 285, will be written. Therefore, the signal outside the mark on the 6th line in FIG. 26 becomes Dc, which means that there are two areas outside the first mark. Furthermore, since there is no inner area corresponding to the two outer areas of the first mark on the sixth line, the signal Dg, that is, the inner area signal of the first mark on the sixth line becomes L.

つまりここからは第1マークエリアのみの検出が行なわ
れ第1マークエリア内にあるマークは、存在しないこと
となる。よって上述のごとく副走査方向に凹部があるエ
リアも正しく検出し多重用のマークエリアも正しく検出
することになる。この状態が第27図に示されている。
That is, from this point on, only the first mark area is detected, and no mark exists within the first mark area. Therefore, as described above, areas with recesses in the sub-scanning direction can be detected correctly, and mark areas for multiplexing can also be detected correctly. This state is shown in FIG.

即ち実施例では、上述のようにン一りの外側及び内側の
検出を同時に行っているので、トリミングマスキング等
編集に応してマークの外側を選択するか内側を選択する
かが任意に行われる。そのため、従来のようにマークが
画像に出ることはなく、ノツチを可変できるので文字線
等のかすれも低減することができる。
That is, in the embodiment, as described above, the outside and inside of the mark are detected at the same time, so the outside or inside of the mark can be arbitrarily selected depending on editing such as trimming masking. . Therefore, marks do not appear on the image unlike in the past, and the notch can be varied, reducing blurring of character lines and the like.

次に、実施例において第1マークエリア内に第2マーク
エリアが存在する場合のマークエリアの編集について説
明する。
Next, editing of the mark area when the second mark area exists within the first mark area in the embodiment will be described.

例えば、第1のマークエリアと第2のマークエリアの画
像を出力したい場合(トリミング)、第1のマークエリ
アの外側から第2のマークエリアの内側の信号Fを使用
すると、マーク自体も画像に出ることがあり、この場合
には第1のマークエリアの内側から第2のマークエリア
の外側の信号Eを使う。さらに、第1のマークエリアと
第2のマークエリアの画像を消しその他の領域を画像出
力したい場合(マスキング)、第1のマークエリアの内
側から第2のマークエリアの外側の信号Eを使用すると
、マーク自体も画像に出ることがあり、この場合には第
1のマークエリアの外側から第2のマークエリアの内側
の信号Fを使う。このように、トリミング、マスキング
等の画@編集を使う場合、上記E、F信号を使い別ける
ことでマーク自体を画像に出力させることはなく、よっ
て、自由に画像2値化のための濃度スレッシュレベルを
可変することができるようになり、入力画像情報が薄い
文字等の場合でも、濃く出力することができる。
For example, if you want to output an image of the first mark area and the second mark area (trimming), if you use the signal F from outside the first mark area to inside the second mark area, the mark itself will also be included in the image. In this case, the signal E from inside the first mark area to outside the second mark area is used. Furthermore, if you want to erase the images in the first mark area and the second mark area and output the other areas as images (masking), use the signal E from inside the first mark area to outside the second mark area. , the mark itself may also appear in the image, and in this case, the signal F from outside the first mark area to inside the second mark area is used. In this way, when using image @ editing such as trimming and masking, by using the above E and F signals separately, the mark itself is not output to the image, and therefore the density threshold for image binarization can be freely adjusted. The level can now be varied, so even if the input image information is light, such as text, it can be output darkly.

以上のように、前記実施例によれば、中間調及び中間調
によって囲まれる部分を検出することが可能で、しかも
その形状は矩形に限らず種々可能である。また1枚の原
稿中で中間調で囲まれる部分の数も制限されない。しか
も原稿読取動作に並行して検出するので、例えば、プリ
スキャン等によってあらかしめエリア検出を行なう必要
もない。
As described above, according to the embodiment, it is possible to detect a halftone and a portion surrounded by halftones, and the shape thereof is not limited to a rectangle but can be various. Further, the number of portions surrounded by halftones in one document is not limited. Furthermore, since the detection is performed in parallel with the document reading operation, there is no need to perform preliminary area detection by, for example, prescanning.

つまり、例えば、指定エリアを抽出すると同時にそのエ
リアの画像をコピーすることなどが可能になる。また、
本実施例ではカラーフェルトペンによるマークを対象に
しているが、このマークは特定濃度範囲の漉さであれば
その他は無関係であり、さらには、検出のため特別のセ
ンサー5光源等を必要としない。
That is, for example, it is possible to extract a designated area and simultaneously copy the image of that area. Also,
In this embodiment, a mark made by a color felt tip pen is targeted, but as long as the mark is in a specific density range, other marks are irrelevant, and furthermore, a special sensor 5 light source is not required for detection.

第28図は2値化及び編集回路の詳細ブロック図を示す
。また、第31図はCPUからの編集データに、Ml〜
M3に対応する出力データdの関係を示す。
FIG. 28 shows a detailed block diagram of the binarization and editing circuit. In addition, FIG. 31 shows that the editing data from the CPU is
The relationship between output data d corresponding to M3 is shown.

第28図において、395,396はコンパレータ、3
97,398,306はセレクタ399゜300.30
3はインバー1 301,302゜304.305はA
NDゲート、307はデイザROMである。
In FIG. 28, 395 and 396 are comparators;
97,398,306 is selector 399°300.30
3 is Invar 1 301,302゜304.305 is A
The ND gate 307 is a dither ROM.

まず、入力データgに対して、2値化の方法を説明する
First, a method of binarizing input data g will be explained.

文字出力の場合、CPUからの2値化レベルHと入力デ
ータgとをコンパレータ95で比較し、2値化侶号rを
出力させる。さらに、デイザ法により、疑似中間調出力
として、デイザROM307と、入力データをコンパレ
ータ396にて比較しデイザデータ(中間調データ)J
を出力させ、操作ボードによって文字モードの場合、C
PUからのデータKがOとなりセレクタ397によって
1がL出力となる。
In the case of character output, a comparator 95 compares the binarization level H from the CPU with the input data g, and outputs a binarization level r. Furthermore, by the dither method, the dither ROM 307 and the input data are compared in a comparator 396 as pseudo halftone output, and the dither data (halftone data) J
output, and if the operation board is in character mode, C
The data K from the PU becomes O, and the selector 397 outputs 1 as L.

中間調(写真)モードの場合は、CPUからのデータは
1となりセレクタ397によってJがL出力となる。こ
の時、セレクタ306に対応したCPUのデータM1〜
M3はOとなり、セレクタ306の入力Aに刻応する信
号りが出力されることとなる。
In the case of halftone (photo) mode, the data from the CPU becomes 1, and the selector 397 outputs J to L. At this time, CPU data M1 to corresponding to the selector 306
M3 becomes O, and a signal corresponding to the input A of the selector 306 is output.

また、マーカー編集モード時は、マーカーが、中間調濃
度に対応していることで、入力原稿は、基本的に白/黒
比がはつきりした文字原稿、つまり地肌は、マーカー下
限レベルより白く、文字データはマーカー上限レベルよ
り黒いことが前提となる。
In addition, in marker editing mode, the marker corresponds to halftone density, so the input document is basically a character document with a high white/black ratio, that is, the background is whiter than the lower limit level of the marker. , it is assumed that the character data is blacker than the marker upper limit level.

上記説明のごとく、文字M稿を対象としているため、マ
ーカー編集時、Kは0となる。信号が入ってきて、以下
の各処理を行なうことができる。
As explained above, since the text M manuscript is targeted, K becomes 0 when editing the marker. When a signal comes in, the following processing can be performed.

第29図及び第30図は実施例のマスキング及びトリミ
ング処理の説明図である。
FIGS. 29 and 30 are explanatory diagrams of masking and trimming processing in the embodiment.

(1)マスキング二つまり、マークエリア内の情報を消
去する場合、ANDゲート301で、マークエリア信号
Eをインバータ300で反転させた信号と、2値画像信
号りどの論理積をとり、マークエリア内の情報を消去し
、セレクタ306のB入力に入力され、CPUのコンベ
アM1〜M3で旧;1、M2.M3 ; Oにすること
により、d出力には、マスキングデータが出力される。
(1) Masking 2 In other words, when erasing information in the mark area, an AND gate 301 performs the logical product of the signal obtained by inverting the mark area signal E by the inverter 300 and the binary image signal R. information is erased and input to the B input of the selector 306, and the old;1, M2 . By setting M3; O, masking data is output to the d output.

この出力を第30図(a)に示す。This output is shown in FIG. 30(a).

(2)トリミング;つまり、マークエリア内の情報だけ
抽出する場合、ANDゲート302で、マークエリア侶
OFと、2値画像信号りどの論理積をとり、マークエリ
ア内の情報だけ抽出し、セレクタ306のC入力に入力
させ、CPUのコマンドM1〜M3でM2:1.Ml、
M3;Oにすることにより、d出力には、マスキングデ
ータが出力される。この出力を第30図(b)に示す。
(2) Trimming: In other words, when extracting only the information within the marked area, the AND gate 302 performs the logical product of the marked area OF and the binary image signal, extracts only the information within the marked area, and selects the selector 306 M2:1. Ml,
By setting M3;O, masking data is output to the d output. This output is shown in FIG. 30(b).

(3)マーカー内白黒反転マーカー外画像データ二つま
り画像のデータの内マーカー内情報だけ白黒反転をさせ
、マーカー外は画像データをそのまま出力するモードで
、これは、セレクタ398のセレクト信号の入力マーカ
ーエリア信号Eによって、画像データと、反転データを
選択し、マークエリア信号が発生している時は、反転デ
ータを選択することによって出力する。また、CPUの
コマンドMl〜M3はMl、M2 : 1.M3 : 
OT:ある。
(3) Black and white inversion inside the marker Image data outside the marker 2 In other words, only the information inside the marker of the image data is inverted in black and white, and the image data outside the marker is output as is. Image data and inverted data are selected by area signal E, and when a mark area signal is generated, inverted data is selected and output. Further, the CPU commands M1 to M3 are M1, M2: 1. M3:
OT: Yes.

この出力を第30図(c)に示す。This output is shown in FIG. 30(c).

(4)マーカー外白黒反転マーカー内画像データ二これ
は、(3)のマーカー内白黒反転マーカー外画像データ
で得られた信号をインバータ303で反転させたもので
あり、CPUのコマンドM1〜M3はMl、M2:O,
M3: 1である。この出方を第30図(d)に示す。
(4) Outside marker black and white inverted image data inside marker 2 This is the signal obtained by inverting black and white outside marker image data (inside marker) in (3), which is inverted by the inverter 303, and the CPU commands M1 to M3 are Ml, M2:O,
M3: 1. This way of coming out is shown in FIG. 30(d).

(5)トリミングマーカー内白黒反転:これは、マーク
エリアのみの画像を(2)のトリミング処理と同様にA
NDゲート305により、マーク信号Fと、画像データ
の反転信号の論理積によって、出力するものであり、C
P L−のコマンドM2〜M3は。
(5) Black and white inversion within trimming marker: This is done by converting the image only in the marked area to
The ND gate 305 outputs the AND signal of the mark signal F and the inverted signal of the image data.
The commands M2 and M3 of PL- are.

Ml、M3 : 1.M2 : 0である。コノ出力を
第30図(e)に示す。
Ml, M3: 1. M2: 0. The output is shown in FIG. 30(e).

(6)マスキングマーカー外白黒反転:これは、マーク
エリア外の画像を(1)のマスキング処理と同様にAN
Dゲート304で、マーク信号Eのインバータ300と
、画像データの反転信号の論理積によって出力するもの
であり、CPUのコマンドM1〜N3はMl : O,
M2.M3 : 1である。
(6) Black and white inversion outside the masking marker: This is the same way as the masking process in (1) for the image outside the marked area.
The D gate 304 outputs the mark signal E by the inverter 300 and the inverted image data signal, and the CPU commands M1 to N3 are Ml: O,
M2. M3: 1.

この出力を第30図(f)に示す。This output is shown in FIG. 30(f).

また実施例のマーク編集では第28図に示すように2値
化手段を用いて2値画像に対応してのマークエリア編集
を行っている。一方デイジタルの機器では、多値出力可
能なプリンターが最近開発されている。
Further, in the mark editing of the embodiment, as shown in FIG. 28, a binarization means is used to perform mark area editing corresponding to a binary image. On the other hand, among digital devices, printers capable of multi-value output have recently been developed.

実施例のマークエリア検出では上記2値化にかぎらず多
値出力可能なモードとしても対応することができる。つ
まり、エリア検出までは上述のごとく行ない例えば、3
値出力の場合第28図のコンパレータ395をもう1段
増設し、もう1段の増設したコンパレータ出力をL′ 
とするとセレクタ397からの出力は、文字モード(マ
ークモード)の時にはLとL′の2系統となり第28図
の編集ブロックをもう一回路を設けることにより3値出
力のマーク編集モードを実行することが可能である。こ
の場合多値出力も2値出力と等価に出力レベルに対応す
るスレッシュレベルを可変できるなどの特徴を持たせる
ことができる。
The mark area detection of the embodiment is not limited to the binarization described above, but can also be handled in a mode capable of multi-value output. In other words, the process up to area detection is performed as described above, and for example, 3
In the case of value output, add one more stage of comparator 395 in Fig. 28, and output the added comparator output from L'.
Then, the output from the selector 397 becomes two systems, L and L', in the character mode (mark mode), and by providing another circuit for the editing block shown in FIG. 28, it is possible to execute the mark editing mode with three-value output. is possible. In this case, the multi-level output can also have features such as being able to vary the threshold level corresponding to the output level, equivalent to the binary output.

このように構成された前記実施例にあっては、次のよう
な効果を奏する。
The above-described embodiment configured as described above has the following effects.

(A)マークエリア検出において、第1のマークエリア
の検出を第1のマークエリア内にある第2のマークエリ
ア検圧信号との脅威信号により行なうことから、 (1)副走査側にマークが凹状態となっている場合でも
、正しく、マークエリアを検出できる。そのため、マー
カー内消去モード時凹部内にある文字情報を消すことな
くマーカー消去モード時四部にある文字情報が残るとい
うこともなくなる。
(A) In mark area detection, the detection of the first mark area is performed using the threat signal together with the second mark area pressure detection signal within the first mark area. Even if the mark area is in a concave state, the mark area can be detected correctly. Therefore, there is no possibility that the character information in the concave part is not erased in the marker erase mode and the character information in the fourth part remains in the marker erase mode.

(2)さらに、凹部内にさらに、マークが存在しても、
凹部のマークエリアと凹部内のマークエリアの両方のエ
リアを正しく検出できる。
(2) Furthermore, even if there is a mark inside the recess,
Both the mark area of the recess and the mark area inside the recess can be detected correctly.

(3)第34図(a)に示すような多重円のマークがあ
っても各々のマークを検出できるため、マーカー内消去
の場合内側の線情報を取出したり(第34図(b)Lマ
ーカー外消去の場合、外側の線情報を取出す(第34図
(C乃ことも可能であり、複雑なマークエリア編集が可
能となる。
(3) Even if there are multiple circular marks as shown in Figure 34 (a), each mark can be detected, so when erasing within the marker, the inner line information can be extracted (Figure 34 (b) L marker In the case of outer erasure, it is also possible to extract the outer line information (see FIG. 34 (C), which enables complex mark area editing.

(B)第1マークエリアの内側エリアを検出することか
ら、第1マークエリア内の第2のマークエリアを検出で
きる。そのため、マークエリア編集において、上記(A
)と同様の作用が可能となる。
(B) Since the area inside the first mark area is detected, the second mark area within the first mark area can be detected. Therefore, when editing the mark area, the above (A
) is possible.

[発明の効果コ 以上説明したように、本発明によれば、(1)副走査側
にマークが凹状態となっている場合でも、正しくマーク
エリアを検出できる。そのため、マーカー内消去モード
時凹部内にある文字情報を消すこともなく、マーカー外
消去モード時凹部にある文字情報が残るということもな
くなる。
[Effects of the Invention] As explained above, according to the present invention, (1) even when the mark is concave on the sub-scanning side, the mark area can be detected correctly. Therefore, the character information in the recess is not erased in the inside-marker erase mode, and the character information in the recess does not remain in the outside-marker erase mode.

(2)さらに、凹部内にさらにマークが存在しても、凹
部のマークエリアと凹部内のマークエリアの両方のエリ
アを正しく検出できる。
(2) Furthermore, even if there is another mark inside the recess, both the mark area of the recess and the mark area inside the recess can be detected correctly.

(3)多重円のマークがあっても、各々のマークを検出
できるため、マーカー内消去の場合内側の線情報を取出
したりマーカー外消去の場合、外側の線情報を取出すも
可能であり、複雑なマークエリア編集が可能となる。
(3) Even if there are multiple circle marks, each mark can be detected, so it is possible to extract the inner line information when erasing inside the marker, and extracting the outer line information when erasing outside the marker. Mark area editing becomes possible.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図乃至第36図は本発明の詳細な説明するためのも
ので、第1図は要部の構成を示すブロック図、第2図は
画像処理装置における原稿、結合レンズ及びCCDライ
ンセンサの配=を示す説明図、第3図は画像処理装置の
全体構成概要を示すブロック図、第4図は画像処理装置
の特性図。 第5図はマークレベル検出部の回路図、第6図はマーク
へのノイズの重畳の説明図、第7図はマークノイズ除去
部の回路図、第8図はブロック化回路部の回路図、第9
図はブロック化の動作を示すタイミングチャート、第1
0図はマーク幅検出部の構成を示すブロック図、第11
図(a)〜(c)はマーク変倍の説明図、第12図はマ
ーク拡張部の構成を示すブロック図、第13図はマーク
拡張部の動作を示すタイミングチャート、第14図(a
)〜(c)はマーク連結処理の説明図、第15図(a)
 、 (b)はマーク跡切れ防止の説明図、第16図は
マーク連結部の構成を示す回路図、第17図はマーク連
結部の動作を示すタイミングチャート、第18図はマー
クエリア検圧部の構成を示すブロック図、第19図は第
1マークエリア検出部の回路図、第20図は第2マーク
エリア検出部の回路図、第21図乃至第26図はマーク
エリア検出動作のタイミングチャート、第27図(a)
〜(c)は実施例のエリア検出の説明図、第28図は2
値化及び編集回路のブロック図、第29図及び第30図
はマスキング及びトリミング処理の説明図、第31図は
CPUからの編集データに対応する出力データの説明図
、第32図(a)(b)は主走査変倍部の配=を示すブ
ロック図、第33図は要部の構成を示すブロック図、第
34図(a) (b) (c)は多重内のマークによる
マーカー内消去及びマーカー外消去処理の説明図、第3
5図(a)(b)は比較のために示す従来のマーク検出
動作の説明図、第36図はマーク連結後の画像の説明図
、第37図乃至第39図は従来のマークエリア検出の説
明図である。 50・・・・・・マークレベル検出部、60・・・マー
クノイズ除去部、70・・・・・・ブロック化回路部、
80・・・・・・マーク幅検出部、90・・・・第1マ
ーク拡張部、110・・・・・マーク連結部、140・
・・・第2マーク拡張部、150・・・・・・第1マー
クエリア検出部、200’・・・・・第2マークエリア
検出部。 第2図 第3図 第5図 第7図 第11図 fQ’2 Di    H og=c L hl Di   ’ D、   L Di   ’ 第23図 第24図 第25図 第26図 Dg=CL hL 1   ′°“:)  j5  j:KI第27図 第29図 原稿 (C) (e) 第30図 (b) (d) (f) 第34図 (o)        (b)       (c)第
35図 (b) 合 脈 第37図 第38図 第39図
1 to 36 are for explaining the present invention in detail. FIG. 1 is a block diagram showing the configuration of the main parts, and FIG. 2 is a block diagram showing the configuration of the main part, and FIG. FIG. 3 is a block diagram showing an overview of the overall configuration of the image processing device, and FIG. 4 is a characteristic diagram of the image processing device. FIG. 5 is a circuit diagram of the mark level detection section, FIG. 6 is an explanatory diagram of noise superimposition on marks, FIG. 7 is a circuit diagram of the mark noise removal section, and FIG. 8 is a circuit diagram of the blocking circuit section. 9th
The figure is a timing chart showing the blocking operation.
Figure 11 is a block diagram showing the configuration of the mark width detection section.
Figures (a) to (c) are explanatory diagrams of mark scaling, Figure 12 is a block diagram showing the configuration of the mark extension unit, Figure 13 is a timing chart showing the operation of the mark extension unit, and Figure 14 (a).
) to (c) are explanatory diagrams of mark connection processing, and Fig. 15 (a)
, (b) is an explanatory diagram of preventing mark trace breakage, Fig. 16 is a circuit diagram showing the configuration of the mark connecting part, Fig. 17 is a timing chart showing the operation of the mark connecting part, and Fig. 18 is the mark area pressure detection part. 19 is a circuit diagram of the first mark area detection section, FIG. 20 is a circuit diagram of the second mark area detection section, and FIGS. 21 to 26 are timing charts of mark area detection operation. , Figure 27(a)
~(c) is an explanatory diagram of area detection in the embodiment, and FIG.
A block diagram of the value conversion and editing circuit, FIGS. 29 and 30 are explanatory diagrams of masking and trimming processing, FIG. 31 is an explanatory diagram of output data corresponding to editing data from the CPU, and FIG. 32 (a) ( b) is a block diagram showing the arrangement of the main scanning magnification unit, Fig. 33 is a block diagram showing the configuration of the main parts, and Figs. 34 (a), (b), and (c) are markers erased by marks in multiplexing. and explanatory diagram of outside marker erasure processing, 3rd
5(a) and 5(b) are explanatory diagrams of the conventional mark detection operation shown for comparison, FIG. 36 is an explanatory diagram of the image after mark connection, and FIGS. 37 to 39 are diagrams of the conventional mark area detection. It is an explanatory diagram. 50... mark level detection section, 60... mark noise removal section, 70... blocking circuit section,
80... mark width detection section, 90... first mark extension section, 110... mark connection section, 140...
...Second mark extension section, 150...First mark area detection section, 200'...Second mark area detection section. Figure 2 Figure 3 Figure 5 Figure 7 Figure 11 fQ'2 Di H og=c L hl Di ' D, L Di ' Figure 23 Figure 24 Figure 25 Figure 26 Dg=CL hL 1 ' °“:) j5 j:KI Figure 27 Figure 29 Manuscript (C) (e) Figure 30 (b) (d) (f) Figure 34 (o) (b) (c) Figure 35 (b) ) Conjunction Figure 37 Figure 38 Figure 39

Claims (3)

【特許請求の範囲】[Claims] (1)原稿画像を読取り画像情報を発生する読取手段と
、原稿の所望領域をマークにより指定する指定手段と、
指定されたマーク読取信号を発生する第1の信号発生手
段と、マークの内側のエリアを検出する第2の検出手段
と、該第2の検出手段により得られたマークの内側のエ
リア内にあるマークを検出し、信号を発生する第2の信
号発生手段と、該第2の信号発生手段より得られた信号
により主走査方向にマークの外側のエリアを検出する第
3の検出手段と、マークの内側のエリアを検出する第4
検出手段と、前記第2の検出手段より得られたマークの
内側信号と第3の検出手段より得られたマークの外側信
号とを合成する第2の合成手段と、前記第1の信号発生
手段より得られたマーク読取信号と前記第2の合成手段
により得られた合成信号により主走査方向にマークの外
側のエリアを検出する第1の検出手段と、前記第1の検
出手段より得られたマークの外側信号と第4の検出手段
より得られたマークの内側の信号を合成する第1の合成
手段を備えたことを特徴とするマークエリア検出装置。
(1) a reading device that reads a document image and generates image information; a designation device that specifies a desired area of the document with a mark;
a first signal generating means for generating a designated mark reading signal; a second detecting means for detecting an area inside the mark; and a second detecting means for detecting an area inside the mark obtained by the second detecting means. a second signal generating means for detecting the mark and generating a signal; a third detecting means for detecting an area outside the mark in the main scanning direction using the signal obtained from the second signal generating means; 4th to detect the area inside
a detection means, a second synthesis means for synthesizing an inner mark signal obtained from the second detection means and an outer mark signal obtained from the third detection means, and the first signal generation means. a first detection means for detecting an area outside the mark in the main scanning direction using the mark reading signal obtained from the mark reading signal and a composite signal obtained by the second composition means; A mark area detection device comprising a first synthesis means for synthesizing a signal outside the mark and a signal inside the mark obtained by the fourth detection means.
(2)原稿画像を読取り画像情報を発生する手段と、原
稿の所望領域をマークによつて指定する指定手段と、前
記指定手段により指定されたマークエリアの読取信号を
発生する第1の信号発生手段と、第1の信号発生手段に
よりマークの外側の後端の位置情報を検出する第1の検
出手段と検出された位置情報を記憶する第1の記憶手段
と、第1の記憶手段の読出し書込みを制御する制御手段
と、前記第1の記憶手段により読出された位置情報によ
り信号を発生する第2の信号発生手段と、前記第1の信
号発生手段よりマークの外側の先端位置情報を検出する
第2の検出手段と、該第2の検出手段及び第2の信号発
生手段より得られた信号でマークの外側エリア信号を発
生する第3の信号発生手段と、前記第1の信号発生手段
によりマークの内側の後端の位置情報を検出する第3の
検出手段と、第3の検出された位置情報を記憶する第2
の記憶手段と、第2の記憶手段の読出し書込みを制御す
る制御手段と、第2の記憶手段より読出された位置情報
により信号を発生する第4の信号発生手段と、前記第1
の信号発生手段によりマークの内側の先端位置情報を検
出する第4の検出手段と、該第4の検出手段及び第4の
信号発生手段により得られた信号でマークの内側エリア
信号を発生する第5の信号発生手段を有することを特徴
とするマークエリア検出装置。
(2) means for reading a document image and generating image information; specifying means for specifying a desired area of the document by a mark; and a first signal generation device for generating a reading signal for the mark area specified by the specifying means. means, first detection means for detecting positional information of the outer rear edge of the mark by the first signal generating means, first storage means for storing the detected positional information, and reading of the first storage means. a control means for controlling writing, a second signal generation means for generating a signal based on the position information read by the first storage means, and detecting information on the outer tip position of the mark from the first signal generation means. a third signal generating means for generating an area signal outside the mark using the signals obtained from the second detecting means and the second signal generating means; and the first signal generating means. a third detecting means for detecting positional information of the inner rear end of the mark; and a second detecting means for storing the third detected positional information.
a storage means, a control means for controlling reading and writing of the second storage means, a fourth signal generation means for generating a signal based on the position information read from the second storage means, and a fourth signal generation means for generating a signal based on the position information read from the second storage means;
a fourth detecting means for detecting tip position information inside the mark using the signal generating means; and a fourth detecting means for generating an inner area signal of the mark using the signals obtained by the fourth detecting means and the fourth signal generating means. 5. A mark area detection device characterized in that it has a signal generating means according to No. 5.
(3)前記第1の記憶手段の読出し書込みを制御する第
1の制御手段及び第2の記憶手段の読出し書込みを制御
する第2の制御手段の書込み読出しは、前記第3の信号
発生手段より得られたマークの外側エリア信号と、第1
の主走査マーク信号発生手段を合成する合成手段で得ら
れた信号で制御することを特徴とする請求項(2)記載
のマークエリア検出装置。
(3) Writing and reading of the first control means for controlling reading and writing of the first storage means and the second control means for controlling reading and writing of the second storage means are performed by the third signal generating means. The obtained outer area signal of the mark and the first
3. The mark area detection apparatus according to claim 2, wherein the mark area detection apparatus is controlled by a signal obtained by a combining means that combines the main scanning mark signal generating means.
JP2325636A 1990-11-29 1990-11-29 mark detection device Pending JPH04207263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2325636A JPH04207263A (en) 1990-11-29 1990-11-29 mark detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2325636A JPH04207263A (en) 1990-11-29 1990-11-29 mark detection device

Publications (1)

Publication Number Publication Date
JPH04207263A true JPH04207263A (en) 1992-07-29

Family

ID=18179054

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2325636A Pending JPH04207263A (en) 1990-11-29 1990-11-29 mark detection device

Country Status (1)

Country Link
JP (1) JPH04207263A (en)

Similar Documents

Publication Publication Date Title
US4513442A (en) Method for locating and circumscribing text areas on a master which may contain text, graphics and/or image areas
US4533959A (en) Picture processing apparatus
US5568597A (en) Adapting image data resolution to match resolution of an output device
US5465307A (en) Parallel processing apparatus for recognizing an area marked with a closed loop
US5444543A (en) Method and apparatus for detecting a closed-loop area of an image
US5294996A (en) Image processing apparatus adaptable for use at variable resolution
US5563713A (en) Image processing method and apparatus with adding of a white outline to an outline of a character image
JP2666894B2 (en) Image processing device
JPH06290300A (en) Image area identifying device
JPH04207263A (en) mark detection device
JPH04160868A (en) Mark detector
JPH04207264A (en) mark detection device
JP3179456B2 (en) Image editing device
US6359702B1 (en) Image processing apparatus
US5764812A (en) Image processing apparatus for providing an isolated-dot removing function
JP2874592B2 (en) Image processing device for distinguishing text / photo / dot area
JPH04299471A (en) Mark detection device
JP2859903B2 (en) Image editing device
JPH04299661A (en) mark detection device
JP3295202B2 (en) Image forming device
KR940009713B1 (en) Character recognition method
US5220623A (en) Image processing apparatus which can shift reproduction position of image areas, character train, etc.
JP3348527B2 (en) Marker eraser
JPH0349367A (en) Mark area detection device
JPH0349368A (en) Mark area detector