JP4187043B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP4187043B2
JP4187043B2 JP2007032133A JP2007032133A JP4187043B2 JP 4187043 B2 JP4187043 B2 JP 4187043B2 JP 2007032133 A JP2007032133 A JP 2007032133A JP 2007032133 A JP2007032133 A JP 2007032133A JP 4187043 B2 JP4187043 B2 JP 4187043B2
Authority
JP
Japan
Prior art keywords
circle
midpoint
pixel
image
processing device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007032133A
Other languages
Japanese (ja)
Other versions
JP2007172642A (en
Inventor
豊 中村
敦司 笠尾
良介 東方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2007032133A priority Critical patent/JP4187043B2/en
Publication of JP2007172642A publication Critical patent/JP2007172642A/en
Application granted granted Critical
Publication of JP4187043B2 publication Critical patent/JP4187043B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

近年、カラー複写機の性能の向上と共に、紙幣あるいは株券、債券等の有価証券、定期券、催しものの入場券、金券等の複写を防止する機能を有する複写機の開発の必要性が高くなっている。従来の複写機の複写防止機能に関する技術としては、大きく分けて、原稿側に正常な複写を防止する機能を付与する技術と画像読取/検出装置にて複写禁止原稿を検知し正常に複写動作させない機能を付与する技術に分けられる。   In recent years, with the improvement of the performance of color copiers, the need to develop copiers that have the function of preventing the copying of banknotes, stock certificates, securities such as bonds, commuter passes, admission tickets for events, and vouchers has increased. Yes. The technology related to the copy prevention function of the conventional copying machine can be broadly divided into a technology for providing a function for preventing a normal copy on the original side and a copy-prohibited original by an image reading / detecting device, and a normal copy operation is not performed. It can be divided into technologies that add functions.

前者の原稿側に正常な複写を防止する機能としては、たとえば、原稿に金属粉を混入させて、原稿画像面照射ランプの金属粉による反射で原稿画像以外の金属粉に基づく複写画像を形成させるもの、原稿記録画像のバックグラウンドパターンと複写時に網点をかける事で生じるモアレとかホログラフィーを利用して加工したものあるいはインクに複写で鮮明な画像形成ができない蛍光色を利用したもの、セレン感光体を用いる複写機で再現しにくい青色インキを利用させるもの等の技術が知られている。
また、後者の画像読取/検出装置にて複写禁止原稿を検知し、正常に複写動作させない機能を付与する技術は原稿の読み取りデータとメモリ内の基本データを比較して、複写をして良い原稿かどうかを判断して、複写を禁止する、出力用紙を未定着にする、用紙の出力状態を正常時とは変える等の処理をする方法が知られている。
As a function for preventing normal copying on the former document side, for example, metal powder is mixed in the document, and a copy image based on metal powder other than the document image is formed by reflection of the metal image of the document image surface irradiation lamp. Selenium photoconductor Techniques such as one that uses blue ink that is difficult to reproduce in a copier using the printer are known.
In addition, the technology for detecting a copy-prohibited original by the latter image reading / detecting device and providing a function for preventing the normal copying operation compares the read data of the original with the basic data in the memory, and can be copied. There are known methods for determining whether or not to perform copying, prohibiting copying, unfixing the output paper, changing the output state of the paper from normal.

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

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

上記の目的を達成するため、請求項1に記載された本発明は 画素単位で読込んだ原稿画像に対して画像処理を行い出力する画像処理装置において、主走査方向における画素同士の中点位置を算出する位置算出手段と、前記画素から中点位置までの距離を算出する距離算出手段と、副走査方向における前記中点位置の画素と1ライン前の中点位置の画素との距離を累積し前記中点位置を結ぶ直線の長さを検出する手段と、前記直線の長さが円の直径と等しいかどうかを判別すると共に、該判別結果および前記画素から中点位置までの距離を基に円抽出を行う円抽出手段とを備えた構成にある。
上記の構成によると、主走査方向の画素同士の中点位置と該画素から中点位置までの距離と副走査方向の中点位置の画素と1ライン前の中点位置の画素との距離を累積し中点位置を結ぶ直線の長さを求めて円抽出のための情報とすることにより、円画像を高い精度で確実に検出することができる。またリアルタイム処理が可能なため、高速処理ができる。
In order to achieve the above object, the present invention described in claim 1 is an image processing apparatus that performs image processing on a document image read in units of pixels and outputs the original image. The position calculation means for calculating the distance, the distance calculation means for calculating the distance from the pixel to the midpoint position, and the distance between the pixel at the midpoint position and the pixel at the midpoint position one line before in the sub-scanning direction is accumulated. A means for detecting a length of a straight line connecting the midpoint positions, whether the length of the straight line is equal to a diameter of a circle, and determining a result of the discrimination and a distance from the pixel to the midpoint position. And a circle extraction means for performing circle extraction.
According to the above configuration, the midpoint position between the pixels in the main scanning direction, the distance from the pixel to the midpoint position, the distance between the pixel at the midpoint position in the sub-scanning direction and the pixel at the midpoint position one line before is calculated. A circle image can be reliably detected with high accuracy by obtaining the length of a straight line that accumulates and connects the midpoint positions and uses it as information for circle extraction. Since real-time processing is possible, high-speed processing is possible.

本発明によれば、主走査ライン上の画像データのみならずそれから算出される副走査方向における中点位置の画素と1ライン前の中点位置の画素との距離を累積した中点位置を結ぶ直線の長さも参照するので、画像データにノイズが含まれていても正確に円の検出を行う事が可能となる。 According to the present invention, not only the image data on the main scan line but also the midpoint position obtained by accumulating the distance between the midpoint position pixel calculated in the sub-scan direction and the midpoint position pixel one line before is connected. Since the length of the straight line is also referred to, it is possible to accurately detect the circle even if the image data includes noise.

以下に、本発明の実施例を図面を用いて説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は画像処理装置のシステム全体の構成を示す。対象となる原稿はセンサ1により複数の画像信号に変換される。それぞれの画像信号は特定画像処理装置2により、各画像成分に適合した処理が行われ、しきい値処理装置3に入力される。しきい値処理装置3は1つないしは複数のしきい値を基にしきい値処理を行う。画素抽出処理装置4はしきい値処理装置3の結果から画素のON/OFFを判定する。中点抽出処理装置5は主走査方向に対して2つの黒画素間の中点を求めると共に、副走査方向における前記中点位置の連結性を検出しかつ前記画素から中点位置までの距離を算出する。円抽出処理装置6は中点抽出処理装置5の結果を副走査方向に対して累積しながら、特定の円を識別する。   FIG. 1 shows the configuration of the entire system of the image processing apparatus. The target document is converted into a plurality of image signals by the sensor 1. Each image signal is processed by the specific image processing device 2 in accordance with each image component 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 obtains a midpoint between two black pixels in the main scanning direction, detects connectivity of the midpoint position 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.

次に、上記各処理に関して詳細に説明する。図2に入力処理の構成を示す。原稿はセンサ1で読込まれ、複数の画像成分として処理される。ここではRGBの3成分の場合に関して説明する。一般的に入力画像には光学系からくるボケなどがあるため、階調補正/画像強調等が行われる。本処理においては画像の再現よりも、特徴的な画素の抽出が目的となるため、特定色に特化した画像処理が有効となる。例えば、特定画像処理装置2ではR成分はぼかしを行い、G成分は画像強調、B成分はスルーの処理を行う等である。   Next, 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. Here, the case of RGB three components will be described. In general, since an input image has a blur or the like coming from an optical system, gradation correction / image enhancement is performed. Since the purpose of this process is to extract characteristic pixels rather than image reproduction, image processing specialized for a specific color is effective. For example, in the specific image processing apparatus 2, the R component performs blurring, the G component performs image enhancement, the B component performs through processing, and the like.

特定画像処理装置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 device 2 is subjected to threshold processing by the threshold processing device 3, respectively. The threshold processing device 3 performs processing with one or a plurality of thresholds. In general threshold processing, THr <Dr THg <Dg THb <Db according to threshold values THr, THg, THb.
In each case, the output signal is turned ON. In addition, by defining the color components, two threshold values are provided, and THr1 <Dr <THr2 THg1 <Dg <THg2
THb1 <Db <THb2
In this case, the output signal can be turned ON.

さらに複数のしきい値を利用して
THr1<Dr<THr2 THr3<Dr<THr4
THg1<Dg<THg2 THg3<Dg<THg4
THb1<Db<THb2 THb3<Db<THb4
のように段階を設けたしきい値処理を行うこともできる。
Furthermore, THr1 <Dr <THr2 THr3 <Dr <THr4 using a plurality of threshold values
THg1 <Dg <THg2 THg3 <Dg <THg4
THb1 <Db <THb2 THb3 <Db <THb4
It is also possible to perform threshold processing with steps as described above.

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

しきい値処理された信号は画素抽出処理装置4に送られ、それぞれの信号成分のしきい値処理装置3からのデータをもとに画素抽出を行う。画素抽出処理装置4は一般的にはしきい値処理の結果の信号out=Ro&Go&Boで出力されるが、色を規定することにより
out=Ro|Go|Bo out=Ro|(Go&Bo)
out=Ro&Go&Bo
のような操作で特定色のみを抽出することができる。また論理演算ではなく、算術演算を行う事により、データの確からしさを持たせることもできる。
The signal subjected to the threshold processing is sent to the pixel extraction processing device 4, and pixel extraction is performed based on the data from the threshold processing device 3 of each signal component. The pixel extraction processing device 4 is generally output as a signal out = Ro & Go & Bo as a result of threshold processing, but by defining the color, out = Ro | Go | Bo out = Ro | (Go & Bo)
out = Ro & Go & Bo
Only a specific color can be extracted by the operation as described above. In addition, the accuracy of data can be given by performing arithmetic operations instead of logical operations.

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

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

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

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

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

円を走査して画素を抽出し(S10)、開始点を検出し(S11)、当該開始点を記憶する(S12)。同様に終了点を検出し(S13)、記憶する(S14)。記憶した開始点と終了点から中点を検出し(S15)、この中点画素と1ライン前の近傍中点画素との距離を比較する(S16)。比較結果から円の特徴を判断し(S17)、円の特徴があるときは検出した中点を記憶し(S18)、円の特徴が無いときは検出した中点を無効とする記憶を行う(S19)。そしてステップ11に戻り、次走査によるデータを処理する。   The circle is scanned to extract pixels (S10), the start point is detected (S11), and the start point is stored (S12). Similarly, the end point is detected (S13) and stored (S14). A midpoint is detected from the stored start and end points (S15), and the distance between this midpoint pixel and the neighboring midpoint pixel one line before is compared (S16). The feature of the circle is judged from the comparison result (S17). If there is a circle feature, the detected midpoint is stored (S18), and if there is no circle feature, the detected midpoint is stored as invalid ( S19). Then, the process returns to step 11 to process the data by the next scan.

これまでの処理は円全体に対して処理を行っていたが、図11(a)に示すように円の一部領域のみでも構わない。また、図11(b)に示すように副走査方向をとびとびにしても差し支えない。
以上、副走査方向の情報を利用した中点検出方式を説明したが、上記のような処理を行うと、処理結果は図12に示すように中点が一直線となる。この条件に加えて、直線の長さが円の直径と等しいかどうかを判別することで、円であるか否かを判定することができる。
The processing so far has been performed on the entire circle, but only a partial region of the circle may be used as shown in FIG. Further, as shown in FIG. 11B, the sub-scanning direction may be skipped.
As described above, the midpoint detection method using the information in the sub-scanning direction has been described. However, when the above processing is performed, the midpoint is 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.

ここでは円抽出方法の一実施例として、1ライン分のメモリで実現する場合について説明する。図13に処理の概念を示す。図14にフローを示す。なお、中点の抽出手法に関してはこれまで説明した手法を用い、ここでは中点として検出された画素に着目する。着目画素が黒で、前ラインの同一画素(近傍)も黒画素の場合は加算(+1)を行う。この処理により、メモリには縦方向の直線の長さが記憶される。着目画素が白で前ラインの同一画素(近傍)が黒画素の場合は、これまでのメモリ値を調べ、予め記憶している直径の長さに近い場合は円候補として判定する。そうでない場合はメモリの値をクリアする。以上の処理で円候補を判定する事ができる。図示の例では中点の画素数が“46”であることを示している。   Here, the case where it implement | achieves with the memory for 1 line is demonstrated as one Example of the circle extraction method. FIG. 13 shows the concept of processing. FIG. 14 shows the flow. Note that the method described so far is used as the midpoint extraction method, and here, attention is paid to the pixel detected as the midpoint. When the target pixel is black and the same pixel (neighboring) in the previous line is also a black pixel, addition (+1) is performed. With this processing, the length of the straight line in the vertical direction is stored in the memory. When the pixel of interest is white and the same pixel (neighboring) in the previous line is a black pixel, the memory value so far is examined, and when it is close to the length of the diameter stored in advance, it is determined as a circle candidate. If not, clear the memory value. Circle candidates can be determined by the above processing. In the illustrated example, the number of pixels at the midpoint is “46”.

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

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

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

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

全体の構成を示す図である。It is a figure which shows the whole structure. 入力処理の詳細な構成を示す図である。It is a figure which shows the detailed structure of an input process. 画素抽出処理の構成を示す図である。It is a figure which shows the structure of a pixel extraction process. 円検出の概念を示す図である。It is a figure which shows the concept of a circle detection. 中点の検出手法を説明する図である。It is a figure explaining the detection method of a midpoint. 中点検出のブロック図である。It is a block diagram of a midpoint detection. ノイズが存在した場合の中点検出を説明する図である。It is a figure explaining the midpoint detection in case noise exists. ノイズが存在した場合の中点検出の結果を示す図である。It is a figure which shows the result of the midpoint detection when noise exists. 円の中点の特性を示す図である。It is a figure which shows the characteristic of the midpoint of a circle. 副走査方向の情報を利用した中点検出手法の構成を示す図である。It is a figure which shows the structure of the midpoint detection method using the information of a subscanning direction. 中点検出の他の手法を説明する図である。It is a figure explaining the other method of a midpoint detection. 円検出の概念を説明する図である。It is a figure explaining the concept of circle detection. 円検出を説明する図である。It is a figure explaining circle detection. 円検出の処理を示す図である。It is a figure which shows the process of a circle detection. 複数の円がある場合を説明する図である。It is a figure explaining the case where there are a plurality of circles. 複数の円がある場合の円検出の構成を示す図である。It is a figure which shows the structure of a circle detection in case there exist a some circle. 円の一部に特定色が付いた場合を説明する図である。It is a figure explaining the case where a specific color is attached to a part of a circle. 円の一部に特定色が付いた場合の円抽出の構成を示す図である。It is a figure which shows the structure of the circle extraction when a specific color is attached to a part of the circle. 円に特定ヒストグラムで配色した場合を説明する図である。It is a figure explaining the case where a circle is colored with a specific histogram. 円に特定ヒストグラムで配色した場合の円検出の構成を示す図である。It is a figure which shows the structure of the circle | round | yen detection at the time of coloring with a specific histogram to a circle | round | yen.

符号の説明Explanation of symbols

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

Claims (1)

画素単位で読込んだ原稿画像に対して画像処理を行い出力する画像処理装置において、
主走査方向における画素同士の中点位置を算出する位置算出手段と、
前記画素から中点位置までの距離を算出する距離算出手段と、
副走査方向における前記中点位置の画素と1ライン前の中点位置の画素との距離を累積し前記中点位置を結ぶ直線の長さを検出する手段と、
前記直線の長さが円の直径と等しいかどうかを判別すると共に、該判別結果および前記画素から中点位置までの距離を基に円抽出を行う円抽出手段と、
を備えていることを特徴とする画像処理装置。
In an image processing apparatus that performs image processing and outputs a document image read in pixel units,
Position calculating means for calculating the midpoint position of the pixels in the main scanning direction;
Distance calculating means for calculating the distance from the pixel to the midpoint position;
Means for accumulating a distance between a pixel at the midpoint position in the sub-scanning direction and a pixel at the midpoint position one line before, and detecting a length of a straight line connecting the midpoint positions ;
A circle extracting means for determining whether or not the length of the straight line is equal to the diameter of the circle, and performing a circle extraction based on the determination result and the distance from the pixel to the midpoint position;
An image processing apparatus comprising:
JP2007032133A 2007-02-13 2007-02-13 Image processing device Expired - Fee Related JP4187043B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2007172642A JP2007172642A (en) 2007-07-05
JP4187043B2 true JP4187043B2 (en) 2008-11-26

Family

ID=38299029

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP4187043B2 (en)

Also Published As

Publication number Publication date
JP2007172642A (en) 2007-07-05

Similar Documents

Publication Publication Date Title
US6115494A (en) Image processing method and device and scanner and printer equipped with same
US6343204B1 (en) Detection and deterrence of counterfeiting of documents with tokens characteristic color and spacing
US6272245B1 (en) Apparatus and method for pattern recognition
JPH09274660A (en) Method, device for recognizing image, copy machine mounting the same and scanner
US7885450B2 (en) Method for characterizing texture of areas within an image corresponding to monetary banknotes
US7706592B2 (en) Method for detecting a boundary of a monetary banknote within an image
US20070041628A1 (en) Detection of document security marks using run profiles
JPH05244414A (en) Picture processor
US20060279767A1 (en) Method and apparatus for detecting specific pattern and copying machine including the same
JP4187043B2 (en) Image processing device
US7844098B2 (en) Method for performing color analysis operation on image corresponding to monetary banknote
JPH08115021A (en) Color image processor
JPH08115022A (en) Image processor
JP4743065B2 (en) Image recognition apparatus, copying apparatus, and image recognition method
US7379210B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JPH06251128A (en) Image processor and copying machine using its processor
JP2006178841A (en) Paper sheet authenticity discriminating system
JPH09120456A (en) Method and device for image processing, and copying machine, printer, and scanner using same
JP2000324338A (en) Original kind recognition device
JP2003289437A (en) Image processor and method
JP2004056181A (en) Image processor
JP2507948B2 (en) Image area identification device
JP5143638B2 (en) Image processing method, image processing apparatus, image forming apparatus, program, and recording medium
JP2011061455A (en) Image processor, image forming apparatus, computer program, recording medium, and image processing method
JPH0670152A (en) Image processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080214

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080819

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080901

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110919

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120919

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130919

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees