[go: up one dir, main page]

JPH08115022A - Image processor - Google Patents

Image processor

Info

Publication number
JPH08115022A
JPH08115022A JP6275947A JP27594794A JPH08115022A JP H08115022 A JPH08115022 A JP H08115022A JP 6275947 A JP6275947 A JP 6275947A JP 27594794 A JP27594794 A JP 27594794A JP H08115022 A JPH08115022 A JP H08115022A
Authority
JP
Japan
Prior art keywords
circle
image
midpoint
pixel
middle point
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
JP6275947A
Other languages
Japanese (ja)
Inventor
Yutaka Nakamura
豊 中村
Atsushi Kasao
敦司 笠尾
Ryosuke Toho
良介 東方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP6275947A priority Critical patent/JPH08115022A/en
Publication of JPH08115022A publication Critical patent/JPH08115022A/en
Pending legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)
  • Credit Cards Or The Like (AREA)
  • Combination Of More Than One Step In Electrophotography (AREA)
  • Cleaning In Electrography (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE: To accurately detect image data even when noise is included in the image data. CONSTITUTION: An original being an object is converted into plural image signals by a sensor 1 and processed to be fitted by every image component by a specified image processor 2. After a threshold processor 3 performs the threshold processing of the image signal processed to be fitted based on one or plural thresholds, the on/off of a picture element is decided by a picture element extraction processor 4. A middle point extraction processor 5 obtains a middle point between two black picture elements in a main scanning direction, detects the coupling of the middle point position in a subscanning direction and calculates a distance from the picture element to the middle point position. A circle extraction processor 6 discriminates a specified circle while accumulating the results by the middle point extraction processor 5 in the subscanning direction. Thus, the circle image is surely detected with high accuracy and high speed processing is realized because real time processing can be possible.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は画像処理防止用原稿、特
に紙幣、有価証券等のカラー原稿を忠実に複写する事を
防ぐために特殊な印刷をした原稿の悪用画像処理を防ぐ
ための画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing prevention document, particularly an image processing for preventing image misuse of a document specially printed in order to prevent faithful copying of color documents such as banknotes and securities. Regarding the device.

【0002】[0002]

【従来の技術】近年、カラー複写機の性能の向上と共
に、紙幣あるいは株券、債券等の有価証券、定期券、催
しものの入場券、金券等の複写を防止する機能を有する
複写機の開発の必要性が高くなっている。従来の複写機
の複写防止機能に関する技術としては、大きく分けて、
原稿側に正常な複写を防止する機能を付与する技術と画
像読取/検出装置にて複写禁止原稿を検知し正常に複写
動作させない機能を付与する技術に分けられる。
2. Description of the Related Art In recent years, along with the improvement of the performance of color copiers, it is necessary to develop a copier having a function of preventing the copying of securities such as banknotes, stock certificates, bonds, commuter passes, admission tickets for entertainments, and cash vouchers. The nature is high. The technology related to the copy protection function of conventional copiers is roughly divided into
It can be divided into a technique of giving a function of preventing a normal copy on the original side and a technique of giving a function of detecting a copy-inhibited original by an image reading / detecting device and preventing a normal copying operation.

【0003】前者の原稿側に正常な複写を防止する機能
としては、たとえば、原稿に金属粉を混入させて、原稿
画像面照射ランプの金属粉による反射で原稿画像以外の
金属粉に基づく複写画像を形成させるもの、原稿記録画
像のバックグラウンドパターンと複写時に網点をかける
事で生じるモアレとかホログラフィーを利用して加工し
たものあるいはインクに複写で鮮明な画像形成ができな
い蛍光色を利用したもの、セレン感光体を用いる複写機
で再現しにくい青色インキを利用させるもの等の技術が
知られている。
As the former function of preventing normal copying on the original side, for example, a metal powder is mixed into the original, and a copy image based on the metal powder other than the original image is reflected by the metal powder of the original image surface irradiation lamp. Which is formed by using a background pattern of an original recorded image and a moire generated by applying halftone dots at the time of copying or processed by using holography, or by using a fluorescent color that cannot form a clear image on the ink by copying, Techniques such as those that use blue ink that is difficult to reproduce in a copying machine that uses a selenium photoreceptor are known.

【0004】また、後者の画像読取/検出装置にて複写
禁止原稿を検知し、正常に複写動作させない機能を付与
する技術は原稿の読み取りデータとメモリ内の基本デー
タを比較して、複写をして良い原稿かどうかを判断し
て、複写を禁止する、出力用紙を未定着にする、用紙の
出力状態を正常時とは変える等の処理をする方法が知ら
れている。
In the latter technique, in which the image reading / detecting device detects a copy-inhibited document and imparts a function of preventing a normal copying operation, the read data of the document is compared with the basic data in the memory to perform copying. There is known a method of judging whether the original is a good original or not, and prohibiting copying, fixing the output sheet to unfixed, and changing the output state of the sheet from the normal state.

【0005】これら従来のいずれの原稿の悪用複写防止
技術も一長一短があり、また、画像読取/検出装置側の
正常な複写防止機能は特定の原稿の基本データを記憶す
る膨大な容量を持つメモリと読み取り原稿画像との比較
判断のための手段等が必要であり、コストが高くなると
いう問題があった。このような問題点を解決するための
技術が、特開平4−296323号に提案されている。
即ち、各々の円の太さ、各々の円の線の間隔または各々
の円の直径の少なくともいずれかを特定した複数の同心
円状コードからなる円形画像を原稿面に印刷し、この同
心円状コードを画像処理装置で認識することにより悪用
画像処理を防止するようにしたものである。
There are advantages and disadvantages in any of these conventional techniques for preventing unauthorized copying of originals, and the normal copy-preventing function on the image reading / detecting device side is a memory having a huge capacity for storing basic data of a specific original. There is a problem in that cost is increased because a means or the like for comparison and determination with the read document image is required. A technique for solving such a problem is proposed in Japanese Patent Laid-Open No. 4-296323.
That is, a circular image composed of a plurality of concentric circular codes specifying at least one of the thickness of each circle, the interval between the lines of each circle, and the diameter of each circle is printed on the original surface, and the concentric codes are printed. The image processing apparatus is designed to prevent the abused image processing by recognizing it.

【0006】[0006]

【発明が解決しようとする課題】ところで、従来の悪用
画像処理を防止するための円形画像は、原稿をどのよう
な角度においても認識できるという点に着目したもので
ある。円を検出する際、主走査ライン上の画像データの
みを参照する。しかし、原稿から入力された画像データ
にはノイズが含まれており、従来技術ではこのノイズが
悪影響をおよぼし円検出の精度を下げていた。本発明の
目的は、画像データにノイズが含まれていても正確に検
出を行うことができる画像処理装置を提供することであ
る。
By the way, the conventional circular image for preventing the abusive image processing focuses on the fact that the original can be recognized at any angle. When detecting a circle, only the image data on the main scanning line is referred to. However, the image data input from the manuscript contains noise, and in the prior art, this noise adversely affected the accuracy of circle detection. An object of the present invention is to provide an image processing device that can accurately detect image data even if it contains noise.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
め、請求項1に記載された本発明は画素単位で読込んだ
原稿画像に対して画像処理を行い出力する画像処理装置
において、主走査方向における画素同士の中点位置を算
出する位置算出手段と、前記画素から中点位置までの距
離を算出する距離算出手段と、副走査方向における前記
中点位置の連結性を検出する連結性検出手段と、前記中
点位置の連結性および前記画素から中点位置までの距離
を基に円抽出を行う円抽出手段とを備えた構成にある。
In order to achieve the above object, the present invention according to claim 1 is mainly provided in an image processing apparatus for performing image processing on an original image read in pixel units and outputting the image. Position calculating means for calculating the midpoint position between pixels in the scanning direction, distance calculating means for calculating the distance from the pixel to the midpoint position, and connectivity for detecting connectivity of the midpoint position in the sub-scanning direction. The configuration includes a detection unit and a circle extraction unit that performs circle extraction based on the connectivity of the midpoint position and the distance from the pixel to the midpoint position.

【0008】[0008]

【作用】上記の構成によると、主走査方向の画素同士の
中点位置と該画素から中点位置までの距離と副走査方向
の中点位置の連結性を求めて円抽出のための情報とする
ことにより、円画像を高い精度で確実に検出することが
できる。またリアルタイム処理が可能なため、高速処理
ができる。
According to the above construction, the information for extracting the circle is obtained by obtaining the connectivity between the midpoint position of the pixels in the main scanning direction, the distance from the pixel to the midpoint position, and the midpoint position in the sub scanning direction. By doing so, it is possible to reliably detect the circle image with high accuracy. Moreover, since real-time processing is possible, high-speed processing can be performed.

【0009】[0009]

【実施例】以下に、本発明の実施例を図面を用いて説明
する。図1は画像処理装置のシステム全体の構成を示
す。対象となる原稿はセンサ1により複数の画像信号に
変換される。それぞれの画像信号は特定画像処理装置2
により、各画像成分に適合した処理が行われ、しきい値
処理装置3に入力される。しきい値処理装置3は1つな
いしは複数のしきい値を基にしきい値処理を行う。画素
抽出処理装置4はしきい値処理装置3の結果から画素の
ON/OFFを判定する。中点抽出処理装置5は主走査
方向に対して2つの黒画素間の中点を求めると共に、副
走査方向における前記中点位置の連結性を検出しかつ前
記画素から中点位置までの距離を算出する。円抽出処理
装置6は中点抽出処理装置5の結果を副走査方向に対し
て累積しながら、特定の円を識別する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows the overall configuration of the image processing apparatus system. The target document is converted into a plurality of image signals by the sensor 1. Each image signal is a specific image processing device 2
By this, processing suitable for each image component is performed and input to the threshold processing device 3. The threshold processing device 3 performs threshold processing based on one or a plurality of thresholds. The pixel extraction processing device 4 determines ON / OFF of the pixel from the result of the threshold processing device 3. The midpoint extraction processing device 5 finds the midpoint between two black pixels in the main scanning direction, detects the connectivity of the midpoint positions in the sub-scanning direction, and determines the distance from the pixel to the midpoint position. calculate. The circle extraction processing device 6 identifies a specific circle while accumulating the results of the midpoint extraction processing device 5 in the sub-scanning direction.

【0010】次に、上記各処理に関して詳細に説明す
る。図2に入力処理の構成を示す。原稿はセンサ1で読
込まれ、複数の画像成分として処理される。ここではR
GBの3成分の場合に関して説明する。一般的に入力画
像には光学系からくるボケなどがあるため、階調補正/
画像強調等が行われる。本処理においては画像の再現よ
りも、特徴的な画素の抽出が目的となるため、特定色に
特化した画像処理が有効となる。例えば、特定画像処理
装置2ではR成分はぼかしを行い、G成分は画像強調、
B成分はスルーの処理を行う等である。
Next, each of the above processes will be described in detail. FIG. 2 shows the configuration of the input process. The document is read by the sensor 1 and processed as a plurality of image components. Where R
The case of three components of GB will be described. Generally, the input image has blurring from the optical system.
Image enhancement is performed. In this process, the purpose is to extract characteristic pixels rather than to reproduce an image, so image processing specialized for a specific color is effective. For example, in the specific image processing device 2, the R component is blurred, the G component is image enhanced,
The B component is used for through processing.

【0011】特定画像処理装置2により処理されたデー
タは、それぞれしきい値処理装置3によってしきい値処
理される。しきい値処理装置3は1つあるいは複数のし
きい値で処理を行う。一般的なしきい値処理ではしきい
値THr,THg,THbにより THr<Dr THg<Dg THb<Db の場合にそれぞれ出力信号をONとする。また、色成分
を規定することにより、しきい値をそれぞれ2つ設けて THr1<Dr<THr2 THg1<Dg<THg2 THb1<Db<THb2 の場合に出力信号をONとすることもできる。
The data processed by the specific image processing apparatus 2 is threshold-processed by the threshold processing apparatus 3, respectively. The threshold value processing device 3 performs processing with one or a plurality of threshold values. In general threshold value processing, the output signals are turned ON when THr <Dr THg <Dg THb <Db by threshold values THr, THg, and THb. Further, by defining the color components, it is possible to provide two threshold values and to turn on the output signal when THr1 <Dr <THr2 THg1 <Dg <THg2 THb1 <Db <THb2.

【0012】さらに複数のしきい値を利用して THr1<Dr<THr2 THr3<Dr<THr4 THg1<Dg<THg2 THg3<Dg<THg4 THb1<Db<THb2 THb3<Db<THb4 のように段階を設けたしきい値処理を行うこともでき
る。
Further, a plurality of thresholds are used to provide steps such as THr1 <Dr <THr2 THr3 <Dr <THr4 THg1 <Dg <THg2 THg3 <Dg <THg4 THb1 <Db <THb2 THb3 <Db <THb4. Thresholding can also be performed.

【0013】この実施例ではセンサからの出力をR,
G,Bとして説明したが、信号自体は単一(例えばG成
分のみ)でも複数でも同じような構成で実現する事がで
きる。また、信号もR,G,Bに限らず、輝度信号L、
a、bのような信号でも同様な効果が得られる。
In this embodiment, the output from the sensor is R,
Although described as G and B, a single signal (for example, only the G component) or a plurality of signals can be realized with a similar configuration. Further, the signals are not limited to R, G, B, but the luminance signals L,
Similar effects can be obtained with signals such as a and b.

【0014】しきい値処理された信号は画素抽出処理装
置4に送られ、それぞれの信号成分のしきい値処理装置
3からのデータをもとに画素抽出を行う。画素抽出処理
装置4は一般的にはしきい値処理の結果の信号out=
Ro&Go&Boで出力されるが、色を規定することに
より out=Ro|Go|Bo out=Ro|(Go&Bo) out=Ro&Go&Bo のような操作で特定色のみを抽出することができる。ま
た論理演算ではなく、算術演算を行う事により、データ
の確からしさを持たせることもできる。
The threshold-processed signal is sent to the pixel extraction processing device 4, and pixels are extracted based on the data from the threshold processing device 3 of each signal component. The pixel extraction processing device 4 generally outputs the signal out =
It is output as Ro & Go & Bo, but by specifying a color, it is possible to extract only a specific color by an operation such as out = Ro | Go | Bo out = Ro | (Go & Bo) out = Ro & Go & Bo. Further, it is possible to give certainty of data by performing arithmetic operation instead of logical operation.

【0015】図2はそれぞれの画像信号に対して1つず
つのしきい値処理装置を有した場合であるが、図3に示
すように複数のしきい値処理装置、画素抽出処理装置を
備えた場合も考えられる。図3に示す構成ではそれぞれ
の色ごとに画素抽出が実施できるため、色をまだらにし
た場合でも正確に抽出することができる。
FIG. 2 shows a case in which one threshold processing device is provided for each image signal, but as shown in FIG. 3, a plurality of threshold processing devices and pixel extraction processing devices are provided. It is also possible. In the configuration shown in FIG. 3, since pixel extraction can be performed for each color, accurate extraction is possible even when the colors are mottled.

【0016】図4を用いて円抽出の概念を説明する。円
は原稿がどのように置かれようと主走査方向に対する特
徴は変わらない。ここでは、主走査方向にスキャンしな
がら、円の内枠(黒画素)を抽出し、黒画素間の中点を
求める場合を想定する。これを副走査方向に対して連続
して処理すると円では中点が副走査方向に対して一直線
となり、その長さは主走査方向の長さの最大値(直径)
と等しくなる。これらの特徴を利用して円を抽出する。
The concept of circle extraction will be described with reference to FIG. The characteristics of the circle in the main scanning direction do not change regardless of how the original is placed. Here, it is assumed that the inner frame (black pixel) of the circle is extracted while scanning in the main scanning direction to obtain the midpoint between the black pixels. When this is continuously processed in the sub-scanning direction, the middle point becomes a straight line in the sub-scanning direction in the circle, and its length is the maximum length (diameter) in the main scanning direction.
Becomes equal to A circle is extracted using these features.

【0017】次に中点の抽出手法、および副走査方向へ
の中点の連続性の検出を主とした円の抽出手法について
説明する。図5は中点検出方法の説明図である。図示の
ものは一般的な例であり、主走査方向に4つの黒画素塊
があった場合、それぞれL1,L2,L3が計測され、
同時に中点情報も計測される。図6を用いて中点検出の
基本となる手法を説明する。円の内枠として、黒画素か
ら白画素になる点を検出し(S1)、それを開始点とす
る。開始点の検出とともにカウンタをONにする(S
2)。そして終了点となる白画素から黒画素になる画素
を検出し(S3)、当該画素までをカウントする(S
4)。カウンタ出力後にカウンタをリセットする(S
5)。中点はカウント値の半分となるため、2進カウン
タを加えることにより中点の位置も即座に求めることが
できる。この構成は対象となる画像にノイズが存在しな
い場合に有効な方式である。
Next, the method of extracting the middle point and the method of extracting the circle mainly for detecting the continuity of the middle points in the sub-scanning direction will be described. FIG. 5 is an explanatory diagram of the midpoint detection method. The one shown in the figure is a general example, and when there are four black pixel blocks in the main scanning direction, L1, L2 and L3 are respectively measured,
At the same time, the midpoint information is measured. A basic method for midpoint detection will be described with reference to FIG. A point from a black pixel to a white pixel is detected as the inner frame of the circle (S1), and it is set as a starting point. When the start point is detected, the counter is turned on (S
2). Then, a pixel that becomes a black pixel from a white pixel that is an end point is detected (S3), and the pixels up to the pixel are counted (S3).
4). Reset the counter after outputting the counter (S
5). Since the midpoint becomes half of the count value, the position of the midpoint can be immediately obtained by adding a binary counter. This configuration is an effective method when there is no noise in the target image.

【0018】一方、ノイズを考慮した場合について説明
する。図7は円内にノイズが存在した場合を示す。円を
横切る長さは実際はL3であるが、ノイズが存在するた
め、L1とL2に分断されてしまい、円の正確な中点が
抽出できなくなる。しかし、ノイズに対処するために主
走査方向に対するすべての黒画素間の中点を求めると、
図8に示すように中点が増えることによりリアルタイム
処理が難しくなる。また、中点処理のためのハードウエ
アコストも上がってしまい、円抽出において実現性/性
能等に影響を及ぼしてしまう。このようにノイズがある
場合に中点を正確に抽出するという課題を、主走査方向
のみの処理で解決する事は難しいが、円の副走査方向に
対する特徴を併用することにより対応が可能となる。
On the other hand, the case where noise is taken into consideration will be described. FIG. 7 shows the case where noise is present in the circle. The length across the circle is actually L3, but because of the presence of noise, it is divided into L1 and L2, and the accurate midpoint of the circle cannot be extracted. However, to find the midpoint between all black pixels in the main scan direction to deal with noise,
As shown in FIG. 8, the increase in the number of midpoints makes real-time processing difficult. Further, the hardware cost for the midpoint processing also rises, which affects the feasibility / performance in the circle extraction. Although it is difficult to solve the problem of accurately extracting the midpoint when there is noise, it is possible to solve it by using the feature of the circle in the sub-scanning direction together, although it is difficult to solve it by processing only in the main scanning direction. .

【0019】次に中点処理の手法を説明する。図9は
円、3角形、4角形に対してラスタ方向に走査した場合
の距離th1〜th5のそれぞれ中点の様子を示したも
のである。この場合はすべてが一直線となってしまい、
これだけで円と識別すると誤認が生じる。ここで、中点
を抽出する前に、1つ前のラインの中点の距離情報を利
用する。円の場合、最初の距離は0近傍である副走査方
向に進むに従って、徐々に増加していくある一定の値
(直径)を境に今度は徐々に減っていく最後は0近傍と
なるのような特性を示す。一方、3角形の場合は徐々に
増加するだけであり、4角形は一定値を示すだけであ
る。3角形、4角形はこのような位置で入力されるとは
限らないので、実際はもっと複雑な様子を示す。それに
対して円はどのような位置関係でも同じ特性を示すた
め、この特性を利用しながら中点を求める。従って、円
では対象となる点を限定しながら処理を行うことができ
る。その場合のブロック図を図10に示す。なお、開始
点、終了点、および中点の検出は図6と同様である。
Next, the method of midpoint processing will be described. FIG. 9 shows the state of the middle points of the distances th1 to th5 when scanning is performed in the raster direction with respect to a circle, a triangle, and a rectangle. In this case everything is in a straight line,
If it is distinguished from a circle only by this, misidentification will occur. Here, before extracting the midpoint, the distance information of the midpoint of the previous line is used. In the case of a circle, the initial distance gradually decreases as it progresses in the sub-scanning direction, which is close to 0, and then gradually decreases at a certain value (diameter). Shows the characteristic. On the other hand, in the case of the triangle, it increases only gradually, and in the case of the quadrangle, it only shows a constant value. Triangles and quadrilaterals are not always input at such positions, and thus actually show a more complicated appearance. On the other hand, the circle has the same characteristic regardless of the positional relationship, and therefore the midpoint is obtained using this characteristic. Therefore, it is possible to perform processing while limiting the target points in the circle. A block diagram in that case is shown in FIG. The detection of the start point, end point, and midpoint is the same as in FIG.

【0020】円を走査して画素を抽出し(S10)、開
始点を検出し(S11)、当該開始点を記憶する(S1
2)。同様に終了点を検出し(S13)、記憶する(S
14)。記憶した開始点と終了点から中点を検出し(S
15)、この中点画素と1ライン前の近傍中点画素との
距離を比較する(S16)。比較結果から円の特徴を判
断し(S17)、円の特徴があるときは検出した中点を
記憶し(S18)、円の特徴が無いときは検出した中点
を無効とする記憶を行う(S19)。そしてステップ1
1に戻り、次走査によるデータを処理する。
The circle is scanned to extract pixels (S10), the starting point is detected (S11), and the starting point is stored (S1).
2). Similarly, the end point is detected (S13) and stored (S13).
14). The middle point is detected from the stored start point and end point (S
15) Then, the distance between this midpoint pixel and the neighboring midpoint pixel one line before is compared (S16). The feature of the circle is determined from the comparison result (S17), the detected midpoint is stored when the feature of the circle is present (S18), and the detected midpoint is invalidated when there is no feature of the circle (S18). S19). And step 1
Returning to 1, the data of the next scan is processed.

【0021】これまでの処理は円全体に対して処理を行
っていたが、図11(a)に示すように円の一部領域の
みでも構わない。また、図11(b)に示すように副走
査方向をとびとびにしても差し支えない。以上、副走査
方向の情報を利用した中点検出方式を説明したが、上記
のような処理を行うと、処理結果は図12に示すように
中点が一直線となる。この条件に加えて、直線の長さが
円の直径と等しいかどうかを判別することで、円である
か否かを判定することができる。
Although the processing up to this point has been performed on the entire circle, it is also possible to process only a partial area of the circle as shown in FIG. 11 (a). Further, as shown in FIG. 11B, the sub-scanning direction may be separated. The midpoint detection method using the information in the sub-scanning direction has been described above. However, when the above-mentioned processing is performed, the midpoint becomes a straight line as shown in FIG. In addition to this condition, it can be determined whether or not it is a circle by determining whether or not the length of the straight line is equal to the diameter of the circle.

【0022】ここでは円抽出方法の一実施例として、1
ライン分のメモリで実現する場合について説明する。図
13に処理の概念を示す。図14にフローを示す。な
お、中点の抽出手法に関してはこれまで説明した手法を
用い、ここでは中点として検出された画素に着目する。
着目画素が黒で、前ラインの同一画素(近傍)も黒画素
の場合は加算(+1)を行う。この処理により、メモリ
には縦方向の直線の長さが記憶される。着目画素が白で
前ラインの同一画素(近傍)が黒画素の場合は、これま
でのメモリ値を調べ、予め記憶している直径の長さに近
い場合は円候補として判定する。そうでない場合はメモ
リの値をクリアする。以上の処理で円候補を判定する事
ができる。図示の例では中点の画素数が“46”である
ことを示している。
Here, as an example of the circle extraction method, 1
Description will be made regarding a case where it is realized by a memory for lines. FIG. 13 shows the concept of processing. FIG. 14 shows the flow. It should be noted that the method described so far is used as the method of extracting the midpoint, and the pixel detected as the midpoint is focused here.
When the pixel of interest is black and the same pixel (neighborhood) on the previous line is also a black pixel, addition (+1) is performed. By this processing, the length of the vertical straight line is stored in the memory. When the pixel of interest is white and the same pixel (neighborhood) on the previous line is a black pixel, the memory value up to this point is checked, and if it is close to the length of the diameter stored in advance, it is determined as a circle candidate. Otherwise, clear the value in memory. With the above processing, the circle candidate can be determined. The illustrated example shows that the number of pixels at the midpoint is "46".

【0023】図14において、あるライン走査で中点の
画素を検出すると(S20)、検出した画素が白画素の
ときは前ラインの同一画素が黒であるかを判別し(S2
1)、同じように白のときは次の画素を検出するためス
テップ20に戻る。一方、前ラインの同一画素が黒のと
きは中点長としきい値が等しいかを判断し(S22)、
等しくないときはステップ20に戻る。また中点長がし
きい値に等しいときは円候補として、円候補信号を出力
し(S23)、次の画素検出を行う。始めに戻って、ス
テップ20で黒画素が検出されると、前ラインの同一画
素が黒であるかを判別する(S24)。この判別結果か
ら、前ラインの同一画素が黒のときは画素数を加算し
(S25)、また白のときは画素数を“1”にし(S2
6)としてステップ20に戻る。
In FIG. 14, when the pixel at the middle point is detected in a certain line scan (S20), if the detected pixel is a white pixel, it is determined whether the same pixel in the previous line is black (S2).
1) Similarly, when it is white, the process returns to step 20 to detect the next pixel. On the other hand, when the same pixel on the previous line is black, it is determined whether the midpoint length is equal to the threshold value (S22),
If they are not equal, the process returns to step 20. When the midpoint length is equal to the threshold value, a circle candidate signal is output as a circle candidate (S23), and the next pixel is detected. Returning to the beginning, when a black pixel is detected in step 20, it is determined whether the same pixel on the previous line is black (S24). From this determination result, when the same pixel on the previous line is black, the number of pixels is added (S25), and when it is white, the number of pixels is set to "1" (S2).
6) Return to step 20.

【0024】応用例1:識別対象に複数の円がある場合 図15に示すように、原稿に複数の円がある場合の抽出
手法について説明する。複数の情報を利用して複写禁止
原稿かどうかを判定するため、信頼性が向上する。ま
た、複数の円の配置関係、大きさを求める事により、情
報を持たせる事も可能となる。図16において、円の識
別は上記実施例で述べた手段(円検出処理装置)を用い
る。円検出処理装置10は円の情報、例えば中心の位
置、直径等を検出し、その円の情報をを複数円検出処理
装置11に送る。複数円検出処理装置は円の情報をもと
に、円の配置関係/大きさ/個数などを総合的に判断
し、その配置関係が複写禁止のものと判定された場合に
はその結果を出力する。
Application Example 1: When there are a plurality of circles as an object to be identified As shown in FIG. 15, an extraction method when a document has a plurality of circles will be described. Reliability is improved because it is determined whether or not the copy is a prohibited document using a plurality of pieces of information. It is also possible to have information by determining the arrangement relationship and size of a plurality of circles. In FIG. 16, the means (circle detection processing device) described in the above embodiment is used to identify the circle. The circle detection processing device 10 detects the information of the circle, for example, the position of the center, the diameter, etc., and sends the information of the circle to the multiple circle detection processing device 11. The multi-circle detection processing device comprehensively judges the layout relationship / size / number of circles based on the circle information, and outputs the result when the layout relationship is determined to be copy prohibited. To do.

【0025】応用例2:円の構成する線の一部に特定の
色を付けた場合 図17に示すように、円に特定色を付加する事により、
情報が増えるため、円抽出の信頼性が向上する。また、
同時に原稿の傾きも検出できるメリットもある。円抽出
処理装置の基本手法は本実施例を用いる。図18におい
て、センサ1から出力された画像信号は特定色検出処理
装置7に送られ、予め記憶された色と比較を行い、特定
色とマッチした場合はその信号を円抽出処理装置6に送
る。特定色と判定された画素が円の中点を求めるための
両端の画素のいずれかとマッチした場合は、特定色の現
れた位置を記憶する。抽出すべき円には予め特定色が付
加されているため、中点情報により、円と判定され、さ
らに特定色が付加されていたと判定された場合にのみ、
この円は抽出すべき円であると判定する。円抽出処理装
置6により、円と判定された場合は、円の中心の位置お
よび特定色の情報を出力する。特定色の情報としては
色、絶対位置、相対位置、中心からの角度等の組合わせ
が考えられる。 応用例3:円の構成する線に特定の色を付けた場合 図19に示すように、円を構成する線に特定の色を配色
する。配色は各色のヒストグラムに分解した場合に意味
を持つものであり、その規則を守るかぎり、どのような
配色にするかには自由度がある。情報が増えるため、円
抽出の信頼性が向上する。
Application Example 2: Case where Part of Line Constituting Circle Is Colored By adding a specific color to the circle as shown in FIG.
Since more information is available, the reliability of circle extraction is improved. Also,
At the same time, there is an advantage that the inclination of the original can be detected. This embodiment is used as the basic method of the circle extraction processing device. In FIG. 18, the image signal output from the sensor 1 is sent to the specific color detection processing device 7, is compared with the color stored in advance, and when it matches the specific color, the signal is sent to the circle extraction processing device 6. . If the pixel determined to be the specific color matches any of the pixels at both ends for obtaining the midpoint of the circle, the position where the specific color appears is stored. Since the specific color is added to the circle to be extracted in advance, it is determined by the midpoint information that it is a circle, and only when it is determined that the specific color has been added,
It is determined that this circle is a circle to be extracted. When the circle extraction processing device 6 determines that the circle is a circle, the information on the position of the center of the circle and the specific color is output. A combination of a color, an absolute position, a relative position, an angle from the center, and the like can be considered as the specific color information. Application Example 3: When a line forming a circle is given a specific color As shown in FIG. 19, a line forming a circle is given a specific color. The color scheme has a meaning when it is decomposed into histograms of each color, and as long as the rules are observed, there is a degree of freedom in which color scheme is used. Since more information is available, the reliability of circle extraction is improved.

【0026】円抽出の基本手法は本実施例を用いる。た
だし、ヒストグラム算出のために、図20において、副
走査方向に円の直径程度バッファメモリ(ラインメモ
リ)12が必要となる。円検出処理装置10により円候
補と抽出された場合は、ヒストグラム算出処理装置13
でその円の2値画像をマスク画像として当該領域のヒス
トグラムを算出する。ヒストグラムの分布状態は判定処
理装置14に送られ予め記憶されたパターンと一致した
場合はその円が特定画像の円であると判定する。円検出
された場合は、円の各色のヒストグラムを調べ、予め記
憶されているものと同一の場合にのみ、所定の円である
と判定する。識別が2段階になるため、誤認を少なくす
る事ができる。また複数のヒストグラム情報を記憶する
事により、他の情報を埋め込む事も可能となる。この説
明ではRGB空間でのヒストグラムを求めたが、他の色
空間を利用しても差し支えない。
The present embodiment is used as the basic method of circle extraction. However, in order to calculate the histogram, a buffer memory (line memory) 12 is required in the sub-scanning direction in FIG. If the circle detection processing device 10 extracts a circle candidate, the histogram calculation processing device 13
Then, the histogram of the area is calculated using the binary image of the circle as a mask image. When the distribution state of the histogram matches the pattern sent to the determination processing device 14 and stored in advance, the circle is determined to be the circle of the specific image. When a circle is detected, the histogram of each color of the circle is examined, and only when it is the same as that stored in advance, it is determined that the circle is a predetermined circle. Since there are two levels of identification, it is possible to reduce false positives. Further, by storing a plurality of pieces of histogram information, it is possible to embed other information. In this description, the histogram in the RGB space is obtained, but other color spaces may be used.

【0027】[0027]

【発明の効果】上述のとおり、本発明によれば、主走査
ライン上の画像データのみならずそれから算出される画
素間中点位置の副走査方向連結性も参照するので、画像
データにノイズが含まれていても正確に円の検出を行う
事が可能となる。
As described above, according to the present invention, not only the image data on the main scanning line but also the connectivity in the sub-scanning direction of the midpoint position between pixels calculated from the image data is referred to. Even if it is included, it is possible to accurately detect the circle.

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

【図1】 全体の構成を示す図である。FIG. 1 is a diagram showing an overall configuration.

【図2】 入力処理の詳細な構成を示す図である。FIG. 2 is a diagram showing a detailed configuration of input processing.

【図3】 画素抽出処理の構成を示す図である。FIG. 3 is a diagram showing a configuration of pixel extraction processing.

【図4】 円検出の概念を示す図である。FIG. 4 is a diagram showing a concept of circle detection.

【図5】 中点の検出手法を説明する図である。FIG. 5 is a diagram illustrating a method of detecting a midpoint.

【図6】 中点検出のブロック図である。FIG. 6 is a block diagram of midpoint detection.

【図7】 ノイズが存在した場合の中点検出を説明する
図である。
FIG. 7 is a diagram illustrating midpoint detection in the presence of noise.

【図8】 ノイズが存在した場合の中点検出の結果を示
す図である。
FIG. 8 is a diagram showing a result of midpoint detection in the presence of noise.

【図9】 円の中点の特性を示す図である。FIG. 9 is a diagram showing characteristics of a middle point of a circle.

【図10】 副走査方向の情報を利用した中点検出手法
の構成を示す図である。
FIG. 10 is a diagram showing a configuration of a midpoint detection method using information in the sub-scanning direction.

【図11】 中点検出の他の手法を説明する図である。FIG. 11 is a diagram illustrating another method of detecting the midpoint.

【図12】 円検出の概念を説明する図である。FIG. 12 is a diagram illustrating the concept of circle detection.

【図13】 円検出を説明する図である。FIG. 13 is a diagram illustrating circle detection.

【図14】 円検出の処理を示す図である。FIG. 14 is a diagram showing a circle detection process.

【図15】 複数の円がある場合を説明する図である。FIG. 15 is a diagram illustrating a case where there are a plurality of circles.

【図16】 複数の円がある場合の円検出の構成を示す
図である。
FIG. 16 is a diagram showing a configuration of circle detection when there are a plurality of circles.

【図17】 円の一部に特定色が付いた場合を説明する
図である。
FIG. 17 is a diagram illustrating a case where a part of a circle has a specific color.

【図18】 円の一部に特定色が付いた場合の円抽出の
構成を示す図である。
FIG. 18 is a diagram showing a configuration of circle extraction in the case where a part of a circle has a specific color.

【図19】 円に特定ヒストグラムで配色した場合を説
明する図である。
FIG. 19 is a diagram illustrating a case where a circle is colored with a specific histogram.

【図20】 円に特定ヒストグラムで配色した場合の円
検出の構成を示す図である。
FIG. 20 is a diagram showing a configuration of circle detection when a circle is colored with a specific histogram.

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

1…センサ、2…特定画像処理装置、3…しきい値処理
装置、4…画素抽出処理装置、5…中点抽出処理装置、
6…円抽出処理装置、7…特定色検出処理装置、10…
円検出処理装置、11…複数円検出処理装置、12…ラ
インメモリ、13…ヒストグラム算出処理装置、14…
判定処理装置
1 ... Sensor, 2 ... Specific image processing device, 3 ... Threshold processing device, 4 ... Pixel extraction processing device, 5 ... Midpoint extraction processing device,
6 ... Circle extraction processing device, 7 ... Specific color detection processing device, 10 ...
Circle detection processing device, 11 ... Plural circle detection processing device, 12 ... Line memory, 13 ... Histogram calculation processing device, 14 ...
Judgment processing device

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 7/00 // H04N 1/387 1/40 H04N 1/40 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06T 7/00 // H04N 1/387 1/40 H04N 1/40 Z

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 画素単位で読込んだ原稿画像に対して画
像処理を行い出力する画像処理装置において、 主走査方向における画素同士の中点位置を算出する位置
算出手段と、 前記画素から中点位置までの距離を算出する距離算出手
段と、 副走査方向における前記中点位置の連結性を検出する連
結性検出手段と、 前記中点位置の連結性および前記画素から中点位置まで
の距離を基に円抽出を行う円抽出手段とを備えているこ
とを特徴とする画像処理装置。
1. An image processing apparatus for performing image processing on an original image read in pixel units and outputting the original image, and a position calculating means for calculating a midpoint position between pixels in a main scanning direction; Distance calculating means for calculating the distance to the position, connectivity detecting means for detecting the connectivity of the midpoint position in the sub-scanning direction, connectivity of the midpoint position and the distance from the pixel to the midpoint position An image processing apparatus, comprising: a circle extracting unit that extracts a circle based on the circle.
JP6275947A 1994-10-14 1994-10-14 Image processor Pending JPH08115022A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6275947A JPH08115022A (en) 1994-10-14 1994-10-14 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6275947A JPH08115022A (en) 1994-10-14 1994-10-14 Image processor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007032133A Division JP4187043B2 (en) 2007-02-13 2007-02-13 Image processing device

Publications (1)

Publication Number Publication Date
JPH08115022A true JPH08115022A (en) 1996-05-07

Family

ID=17562647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6275947A Pending JPH08115022A (en) 1994-10-14 1994-10-14 Image processor

Country Status (1)

Country Link
JP (1) JPH08115022A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6307963B1 (en) 1997-06-02 2001-10-23 Matsushita Electric Industrial Co., Ltd. Image detection method, image detection apparatus, image processing method, image processing apparatus, and medium
EP1156444A1 (en) * 2000-05-19 2001-11-21 Ricoh Company, Ltd. Detection of circular pattern in digital image
CN106023215A (en) * 2016-05-24 2016-10-12 北京农业智能装备技术研究中心 Method and system for distinguishing field crops from background

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6307963B1 (en) 1997-06-02 2001-10-23 Matsushita Electric Industrial Co., Ltd. Image detection method, image detection apparatus, image processing method, image processing apparatus, and medium
EP1156444A1 (en) * 2000-05-19 2001-11-21 Ricoh Company, Ltd. Detection of circular pattern in digital image
US6862370B2 (en) * 2000-05-19 2005-03-01 Ricoh Company, Ltd. Image detecting method, image detecting system, program, and recording medium for image detection
CN106023215A (en) * 2016-05-24 2016-10-12 北京农业智能装备技术研究中心 Method and system for distinguishing field crops from background

Similar Documents

Publication Publication Date Title
JP3743494B2 (en) Image processing method and apparatus, and copier, scanner and printer equipped with the same
US6343204B1 (en) Detection and deterrence of counterfeiting of documents with tokens characteristic color and spacing
US5845008A (en) Image processing device and method for identifying an input image, and copier scanner and printer including same
EP0932115B1 (en) Apparatus and method for pattern recognition
EP0800123B1 (en) Image recognition method and device and copier and scanner employing same
US6731784B2 (en) Detection and deterrence of counterfeiting of documents with a seal having characteristic color, size, shape and radial density profile
JPS60229572A (en) Picture processor
US6952484B1 (en) Method and apparatus for mark detection
JP3427554B2 (en) Image processing apparatus and method
JP2893080B2 (en) Image processing method and apparatus, and copier, scanner, and printer using the same
JPH08115022A (en) Image processor
JP2899736B2 (en) Image processing apparatus and copying machine using the same
JPH08115021A (en) Color image processor
JP4187043B2 (en) Image processing device
JPH0851538A (en) Image processing device
JPH11110545A (en) Image recognition device
JPH09120456A (en) Method and device for image processing, and copying machine, printer, and scanner using same
JP2507948B2 (en) Image area identification device
JP2001331837A (en) Method and device for discriminating coin
JP3178456B2 (en) Image processing apparatus and image processing method
AU750558B2 (en) Method and apparatus for mark detection
JP4218179B2 (en) Pattern detection apparatus and method
JP3512290B2 (en) Image processing device
JPH11232463A (en) Picture recognizing device and method therefor
JPH07264397A (en) Image processing device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040414

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070213