[go: up one dir, main page]

JPH0446500B2 - - Google Patents

Info

Publication number
JPH0446500B2
JPH0446500B2 JP59157895A JP15789584A JPH0446500B2 JP H0446500 B2 JPH0446500 B2 JP H0446500B2 JP 59157895 A JP59157895 A JP 59157895A JP 15789584 A JP15789584 A JP 15789584A JP H0446500 B2 JPH0446500 B2 JP H0446500B2
Authority
JP
Japan
Prior art keywords
image
unit area
area
black
determined
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 - Lifetime
Application number
JP59157895A
Other languages
Japanese (ja)
Other versions
JPS6135680A (en
Inventor
Masahiko Matsunawa
Yasufumi Emori
Yoshizumi Yasuda
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP15789584A priority Critical patent/JPS6135680A/en
Priority to US06/757,653 priority patent/US4741046A/en
Publication of JPS6135680A publication Critical patent/JPS6135680A/en
Publication of JPH0446500B2 publication Critical patent/JPH0446500B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、画像を線画、網点階調画及び連続階
調画の各領域に分類識別する画像識別方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image identification method for classifying and identifying an image into each area of a line drawing, a halftone image, and a continuous tone image.

(従来の技術) 従来の画像識別方法として、例えば以下の文献
に示す方法が知られている。
(Prior Art) As a conventional image identification method, for example, the method shown in the following document is known.

村尾充洋、坂井利文“文書画像における構造
情報の抽出”昭和55年、情報処理学会第21回全
国大会7H−1 黒瀬守澄、江尻公一、桜井彰“文書画像中の
中間調画像の実時間識別“昭和56年、情報処理
学会第23回全国大会6C−6 牧野寛、赤田往久“濃淡領域を含む文書画像
の2値再生”昭和57年3月、信学論(D)J65−D、
3、pp.307〜314 高橋健一、太田正光“圧縮符号化のための計
算機による画像分類”昭和57年8月、信学論(D)
J65−D、8、pp.1018〜1025 特開昭56−132061号“網点画像信号検出方
式” 上野裕、瀬政孝義“新聞網板における調子再
現”印刷雑誌、昭和58年(Vol.66)1、pp.15
〜23 特開昭56−149674号“画像特性の識別方法” (発明が解決しようとする問題点) これらの従来方法は、線画か連続階調画かの識
別、又は線画か網点階調画かの識別が主体であつ
た。ところで、現実には線画、網点階調画、連続
階調画が混在した画像がほとんどであり、上記3
種類を識別する方法も必要である。本発明者はこ
のような観点から、“画像識別方法の検討”昭和
58年、電子通信学会総合全国大会1167にて上記3
種類を識別する方法を提案した。しかし、この方
法は濃度変化の急激な連続階調画に対して誤識別
し易いという問題点をもつていた。
Mitsuhiro Murao, Toshifumi Sakai “Extraction of structural information from document images” 1980, Information Processing Society of Japan 21st National Conference 7H-1 Morizumi Kurose, Koichi Ejiri, Akira Sakurai “Real time of halftone images in document images Identification “1980, Information Processing Society of Japan 23rd National Conference 6C-6 Hiroshi Makino, Yuku Akada “Binary Reproduction of Document Images Containing Dark and Light Regions” March 1980, Theory of IEICE (D) J65-D ,
3, pp.307-314 Kenichi Takahashi, Masamitsu Ota “Computer-based Image Classification for Compression Coding” August 1980, IEICE Theory (D)
J65-D, 8, pp.1018-1025 JP-A-56-132061 “Halt image signal detection method” Hiroshi Ueno, Takayoshi Semasa “Tone reproduction in newspaper grid” Print magazine, 1982 (Vol.66) )1, pp.15
~23 JP-A-56-149674 “Method for identifying image characteristics” (Problems to be solved by the invention) These conventional methods are used to identify whether a line drawing or a continuous tone image, or whether a line drawing or a halftone image The identification was the main one. By the way, in reality, most images are a mixture of line drawings, halftone gradation drawings, and continuous gradation drawings, and the above three
A way to identify the species is also needed. From this point of view, the present inventor conducted a study on image identification methods in the Showa era.
3 above at the 1167 National Conference of the Institute of Electronics and Communication Engineers in 1958.
We proposed a method for identifying types. However, this method has the problem that it is easy to misidentify continuous tone images with rapid density changes.

本発明は、この問題に鑑みてなされたもでの
で、その目的は、網点階調画、線画、連続階調画
を正確に判別できる画像識別方法を提供すること
にある。
The present invention has been made in view of this problem, and its object is to provide an image identification method that can accurately discriminate between halftone gradation images, line drawings, and continuous tone images.

(問題点を解決するための手段) 上記問題点を解決する本発明は、画像を2値化
する一方、複数の識別単位域に分割し、識別単位
域内の黒画素領域を構成する黒画素数のばらつき
を求め、該ばらつきが小さい場合は当該識別単位
域が網点階調画であると判別すると共に、当該識
別単位域内の背景の割合を求め、該割合が大きい
場合は当該識別単位域が線画であると判別し、前
記判別により網点階調画とも線画とも判別されな
い場合は当該識別単位域が連続階調画であると判
別することを特徴とするものである。
(Means for Solving the Problems) The present invention to solve the above problems binarizes an image, divides it into a plurality of identification unit areas, and calculates the number of black pixels constituting a black pixel area within the identification unit area. If the variation is small, it is determined that the discrimination unit area is a halftone gradation image, and the proportion of the background within the discrimination unit area is determined. If the proportion is large, the discrimination unit area is determined to be a halftone image. The identification unit area is determined to be a line drawing, and if the discrimination unit area is determined to be neither a halftone gradation drawing nor a line drawing, the identification unit area is determined to be a continuous gradation drawing.

(実施例) 以下、図面を用いて本発明方法の一例を具体的
に説明する。
(Example) Hereinafter, an example of the method of the present invention will be specifically explained using the drawings.

ここで述べる方法では、まず画像を複数の識別
単位域(線画、網点階調画、連続階調画の何れで
あるかを判別する最小単位)に分割する。例え
ば、画像が第1図のようにN×M=2000×2500画
素(10dot/mm)であるとき、識別単位域のサイ
ズをk×k=32×32画素にとる。次に画像を2値
化し、各識別単位域について、画素単位に黒画素
領域を求める。ここで、1つの黒画素領域とは、
例えば、上下左右の4方向の少なくとも何れか1
方向において隣接するような黒画素の集合であ
り、1つの黒画素に対してそれに隣接する黒画素
がない場合は単一の黒画素が1つの黒画素領域を
形成する。尚、ここで言う黒画素とは、白黒反転
画像では白画素を指すものとする。第2図イ,ロ
はそれぞれ網点階調画、連続階調画を2値化した
場合の一例を示している(図中の並列縦線(一
対)が黒画素を示している)。網点階調画の場合、
各黒画素領域を構成する黒画素数のばらつきが小
さいが、連続階調画の場合それらのばらつきが大
きいことがわかる。図示しないが、線画の場合も
ばらつきが大きい。この点に注目し、本発明方法
では各識別単位域毎に各黒画素領域を構成する黒
画素数のばらつき(標準偏差等)を求めて、網点
階調画か否かの判別を行つている。尚、黒画素数
のばらつきほどではないが、黒画素領域間の距離
のばらつき(標準偏差等)も網点階調画と連続階
調画によつて異なる。第3図は黒画素領域A1
A2間の距離を求める場合の測距位置の一例を示
すもので、各黒画素領域A1,A2の重心間の距離
を測定することを示している。第4図はこのよう
にして求めた黒画素領域内の黒画素数の標準偏差
と黒画素領域間の距離の標準偏差を前者を縦軸に
とり後者を横軸にとつて示したものである。図
中、黒丸は網点階調画の識別単位域のいくつかに
ついて求めたもの、黒角はその他の識別単位域の
いくつかについて求めたものである。網点階調画
の場合、黒画素数の標準偏差が他のものより小さ
いことがわかるが、この傾向は多くのサンプルを
用いても同様である。そこで、本発明方法では、
この標準偏差の内特に黒画素数の標準偏差が所定
の値より小さいかどうかで、該当識別単位域が網
点階調画か否かを判別している。例えば、黒画素
数の標準偏差が1.0画素以内に入つていれば網点
階調画であると判別する。尚、黒画素領域間の距
離の標準偏差の大小を用いても、この判別を行え
るが、第4図から明らかなように、網点階調画で
ないものでも黒画素領域間の距離の標準偏差が小
さいものが存在するので、黒画素領域間の距離の
標準偏差だけでは正確な判別は行えない。
In the method described here, an image is first divided into a plurality of identification unit areas (minimum units for determining whether it is a line drawing, a halftone gradation image, or a continuous gradation image). For example, when the image is N×M=2000×2500 pixels (10 dots/mm) as shown in FIG. 1, the size of the identification unit area is set to k×k=32×32 pixels. Next, the image is binarized, and a black pixel area is determined pixel by pixel for each identification unit area. Here, one black pixel area is
For example, at least one of four directions: up, down, left, and right.
It is a set of black pixels that are adjacent to each other in the direction, and if there is no black pixel adjacent to one black pixel, a single black pixel forms one black pixel area. Note that the black pixel referred to here refers to a white pixel in a black-and-white inverted image. FIGS. 2A and 2B show an example of binarizing a halftone gradation image and a continuous gradation image, respectively (parallel vertical lines (pair) in the figures indicate black pixels). In the case of halftone gradation painting,
It can be seen that although the variation in the number of black pixels constituting each black pixel area is small, the variation is large in the case of continuous tone images. Although not shown, there are large variations in line drawings as well. Focusing on this point, the method of the present invention determines the variation (standard deviation, etc.) in the number of black pixels constituting each black pixel area for each identification unit area, and determines whether it is a halftone gradation image or not. There is. Although not as great as the variation in the number of black pixels, the variation in the distance between black pixel areas (standard deviation, etc.) also differs between halftone gradation images and continuous gradation images. Figure 3 shows the black pixel area A 1 ,
This shows an example of distance measurement positions when calculating the distance between A 2 and indicates that the distance between the centers of gravity of each black pixel area A 1 and A 2 is measured. FIG. 4 shows the standard deviation of the number of black pixels within the black pixel area and the standard deviation of the distance between the black pixel areas obtained in this manner, with the former taken as the vertical axis and the latter as the horizontal axis. In the figure, the black circles are the results obtained for some of the discrimination unit areas of the halftone gradation image, and the black squares are the results obtained for some of the other discrimination unit areas. In the case of halftone gradation images, it can be seen that the standard deviation of the number of black pixels is smaller than in other cases, and this tendency remains the same even when many samples are used. Therefore, in the method of the present invention,
Whether or not the corresponding identification unit area is a halftone gradation image is determined based on whether or not the standard deviation of the number of black pixels, in particular, is smaller than a predetermined value. For example, if the standard deviation of the number of black pixels is within 1.0 pixels, it is determined that the image is a halftone gradation image. Note that this determination can also be made using the standard deviation of the distance between black pixel areas, but as is clear from Figure 4, the standard deviation of the distance between black pixel areas also Since there are cases where the distance between black pixel areas is small, accurate determination cannot be made only by the standard deviation of the distance between black pixel areas.

次に本発明方法では背景の割合を調べる。この
割合は、識別単位域の大きさが決まつていること
から識別単位域内の白画素数に比例するので、識
別単位域内の白画素の総数若しくは黒画素の総数
を求めることにより容易に算出できる。しかし、
現実に算出せずに、白画素の総数若しくは黒画素
の総数を背景画素の割合を示すデータとして用い
てもよい。第5図はこの背景の割合を示すもの
で、横軸は識別単位域の各サンプルを示すもので
ある。図中、黒丸は連続階調画の識別単位域の場
合であり、黒角は線画の場合である。線画の場
合、背景の割合が多いため、連続階調画と比べる
とその差異は大きい。従つて、網点階調画を除い
て画像に対し、それが線画か否かを判別すること
は容易である。
Next, in the method of the present invention, the proportion of the background is examined. This ratio is proportional to the number of white pixels in the discrimination unit area because the size of the discrimination unit area is fixed, so it can be easily calculated by finding the total number of white pixels or the total number of black pixels in the discrimination unit area. . but,
The total number of white pixels or the total number of black pixels may be used as data indicating the ratio of background pixels without actually calculating it. FIG. 5 shows the proportion of this background, and the horizontal axis shows each sample in the identification unit area. In the figure, the black circles are the identification unit areas of continuous tone drawings, and the black squares are the case of line drawings. In the case of line drawings, since the proportion of the background is large, the difference is large compared to continuous tone drawings. Therefore, it is easy to determine whether an image other than a halftone gradation image is a line drawing or not.

以上の方法により、線画、網点階調画、連続階
調画の識別が行えたことになる。
By the above method, line drawings, halftone gradation drawings, and continuous gradation drawings can be identified.

尚、この識別を行う装置は、例えば、画像デー
タ等の各種データを格納するためのメモリと、各
識別単位域内の該黒画素領域及び黒画素領域の黒
画素数を求める手段と、識別単位域内の黒画素数
のばらつきを求める手段と、該ばらつきが小さい
場合は当該識別単位域が網点階調画であると判別
する第1の判別手段と、識別単位域内の背景の割
合を求める手段と、該割合が大きい場合は当該識
別単位域が線画であると判別する第2の判別手段
と、前記第1及び第2の判別手段により網点階調
画とも線画とも判別されない識別単位域は連続階
調画であると判別する第3の判別手段とにより構
成でき、上記各手段の内、メモリを除いた手段
は、ハードウエア上は、コンピユータにより通常
構成される。
The device that performs this identification includes, for example, a memory for storing various data such as image data, a means for calculating the black pixel area in each identification unit area and the number of black pixels in the black pixel area, and means for determining the variation in the number of black pixels of the area; first discriminating means for determining that the discrimination unit area is a halftone image when the variation is small; and means for determining the proportion of the background within the discrimination unit area. , if the ratio is large, a second discrimination means discriminates that the discrimination unit area is a line drawing, and the discrimination unit area that is not discriminated as either a halftone gradation image or a line drawing by the first and second discrimination means is continuous. and a third discriminating means for discriminating that the image is a gradation image. Among the above-mentioned means, the means other than the memory are usually constituted by a computer in terms of hardware.

ところで、上記説明は画像の全領域にわたつて
判別を行つた場合のものであるが、画像領域が抽
出されている場合には、各画像領域について上記
方法を適用すればよい。このようにすれば識別す
べき領域範囲が狭くなるから、効率的な識別を行
える。
By the way, the above explanation is for the case where the discrimination is performed over the entire area of the image, but if the image area is extracted, the above method may be applied to each image area. In this way, the area range to be identified becomes narrower, so that efficient identification can be performed.

そこで、画像領域を抽出する方法の一例を次に
説明する。第6図はこの抽出方法の一具体例にお
ける手順を示すフローチヤートで、この例では、
まず背景レベル(濃度レベル)を決定し、次に画
像のブロツク化を行い、背景レベルに基づき求め
た閾値で各ブロツク内の画素を2値化し、該2値
化画像データから各ブロツクのテクスチユア解析
を行つて各ブロツクを予め定めたパターンに分類
し、該パターンにより各ブロツク間の接続を調
べ、同種の画像領域を抽出している。尚、背景レ
ベルの決定と画像のブロツク化の順序は、入れ替
えてもよい。
Therefore, an example of a method for extracting an image area will be described next. FIG. 6 is a flowchart showing the steps in a specific example of this extraction method; in this example,
First, the background level (density level) is determined, then the image is divided into blocks, the pixels in each block are binarized using a threshold value determined based on the background level, and the texture analysis of each block is performed from the binarized image data. Each block is classified into a predetermined pattern, and the connections between the blocks are examined using the pattern to extract similar image areas. Note that the order of background level determination and image blocking may be reversed.

次に、上記手順を段階別に詳細に説明する。 Next, the above procedure will be explained in detail step by step.

() 背景レベル決定 短時間に背景レベルを決定するために、画像
エリア上に第7図に示す如くm×m(例えば32
×32)画素のウインドウ(window)を設け、
該ウインドウ内の画像データに基づき第8図の
如き濃度ヒストグラムを作成し、背景レベルを
決定する。第9図はこの背景レベルの決定手順
を示すフローチヤートで、まずウインドウの決
定(位置決定)を行い、該ウインドウに基づき
濃度ヒストグラムを作成し平均値Mと標準偏差
Sを算出する。次に標準偏差Sが所定の閾値T
より小さければ、背景レベルBを M−3S≦B≦M+3S の範囲内の値として選ぶ。通常は、B=M+
3Sとする。一方、標準偏差Sが閾値T以上で
あれば、ウインドウの位置を第7図の横方向若
しくは縦方向に移動して新たなウインドウを決
定し、再度濃度ヒストグラムを作成する。これ
は、S≧Tの場合、地肌を良好にとらえる位置
にウインドウが存在していないからである。
尚、閾値Tの大きさは、地肌をとらえ得る範囲
の大きさであればどのような値であつてもよい
が、ウインドウの決定が最小回数で済むような
大きさであることが好ましい。
() Background level determination In order to determine the background level in a short time, m x m (for example, 32
×32) Create a pixel window,
A density histogram as shown in FIG. 8 is created based on the image data in the window, and the background level is determined. FIG. 9 is a flowchart showing the procedure for determining the background level. First, a window is determined (position determined), a density histogram is created based on the window, and the average value M and standard deviation S are calculated. Next, the standard deviation S is set to a predetermined threshold T
If it is smaller, the background level B is selected as a value within the range of M-3S≦B≦M+3S. Usually, B=M+
3S. On the other hand, if the standard deviation S is equal to or greater than the threshold value T, the window position is moved in the horizontal or vertical direction in FIG. 7 to determine a new window, and the density histogram is created again. This is because when S≧T, the window does not exist at a position where the background can be captured well.
Note that the size of the threshold T may be any value as long as it is within a range that can capture the background, but it is preferably a size that allows the window to be determined a minimum number of times.

() 画像のブロツク化 画像を複数ブロツクに分割する。例えば画像
が第10図のようにN×M=2000×2500画素
(10dot/mm)であるとき、各ブロツクのサイズ
をn×n=32×32にとる。勿論、16×16や64×
64等に選ぶこともできる。
() Blocking an image Divide an image into multiple blocks. For example, when the image is N×M=2000×2500 pixels (10 dots/mm) as shown in FIG. 10, the size of each block is set to n×n=32×32. Of course, 16×16 or 64×
You can also choose 64 etc.

() 各ブロツクのテクスチユア解析 次に前記背景レベルBを閾値として画像デー
タを2値化し、これにより得た2値化画像デー
タを用いて各ブロツクを予め定めたパターンに
分類する。予め用意しておくパターンとして
は、例えば第11図に示す如き16個0〜Gを用
いる。このパターンは0からGに変化するにつ
れて、即ち(0,1)→(2〜5)→(6〜
7)→(8〜B)→(C〜F)→Gに変化する
毎に白黒変化の多いパターンになつている。各
ブロツクの上記パターンへの分類を、例えば第
12図に示すように、2値化画像データを2次
元方向(XY方向)に射影して黒画素(“1”)
の積算数を求め、これらXY方向の2つの積算
数分布から該当パターンを求めるという方法を
用いて行えば、コンピユータ等を用いて容易に
パターン分類を行える。第12図の例では、ブ
ロツクの右下に黒画素が集中しているため、X
方向については右側の積算数が大きく且つY方
向については下側の積算数が大きくなり、又、
パターン8も2次元方向に射影すると同一の傾
向を示すことから、該ブロツクはパターン8に
該当するという結論になる。
() Texture analysis of each block Next, the image data is binarized using the background level B as a threshold, and each block is classified into a predetermined pattern using the binarized image data obtained thereby. As the patterns prepared in advance, for example, 16 patterns 0 to G as shown in FIG. 11 are used. This pattern changes as it changes from 0 to G, i.e. (0,1) → (2~5) → (6~
The pattern has many black and white changes each time it changes from 7) to (8 to B) to (C to F) to G. To classify each block into the above patterns, for example, as shown in FIG.
Pattern classification can be easily performed using a computer or the like by using a method of determining the cumulative number of , and determining the corresponding pattern from the distribution of these two cumulative numbers in the X and Y directions. In the example in Figure 12, black pixels are concentrated at the bottom right of the block, so
In the direction, the cumulative number on the right side is large, and in the Y direction, the cumulative number on the bottom side is large, and
Since pattern 8 also shows the same tendency when projected in the two-dimensional direction, it is concluded that the block corresponds to pattern 8.

() 画像領域の抽出 各ブロツク間の接続は該ブロツク単位で調べ
てもよいし、各ブロツクを例えば縦横にそれぞ
れ2分割(全体で4分割)して調べてもよい。
第13図は後者の方法を示すための単純化した
説明図で、第13図イは画像をブロツク化し、
そこに2値化画像を重ねた図(斜線部分が黒画
素領域)、第13図ロは各ブロツク内に第11
図のパターン番号を付した図、第13図ハが上
述の如く各ブロツクを4分割(例えば、ブロツ
クα→小ブロツクの1,α2,α3,α4)し、得ら
れた各小ブロツクに第11図のパターン番号を
付した図である。第11図の各パターンを4分
割した場合、各パターンがどのパターンに分解
されるか予め知り得るので、第13図ロから第
13図ハを得ることは極めて容易である。尚、
第11図の各パターンを4分割した場合、正確
に第11図のパターンに分解されるように第1
1図の各パターンを選んでもよいが、近似的に
第11図のパターンに分解される程度であつて
も十分である。次に、小ブロツク間の接続を調
べるのであるが、接続関係ありと判断するに
は、例えば隣接する小ブロツクのパターン同士
の接合辺に少なくとも一部分だけでも黒色部分
が両者共あること等を判断基準にしてもよい
し、パターンの全体形状を加味して接続関係の
有無を判断してもよい。何れにせよ、パターン
の接合の組合せは限られているので、各パター
ンがどのような位置関係で隣接した場合に小ブ
ロツクの接続関係が有るかを決めておけば、小
ブロツクの接続の有無の判断は極めて単純であ
る。第13図ニはパターンの接合辺に白色部分
のみしかない場合は小ブロツクの接続関係がな
いとして求めた画像領域を示す図で、図中の同
一番号が付された領域は同種の画像領域であ
る。勿論、該4分割を行わずにブロツク間の接
続を上記方法で調べてもよい。但し、この場合
は領域の境界が粗くなる。この粗さの問題を解
消するためにブロツクの大きさを最初から小さ
くすることも考えられるが、このようにすると
前記テクスチユア解析に多大な時間を要するこ
とになる。
() Extraction of image region The connection between each block may be examined in units of blocks, or each block may be divided into two vertically and horizontally (four divisions in total) and examined.
Figure 13 is a simplified explanatory diagram to show the latter method.
Figure 13 (b) shows the binarized image superimposed on it (the shaded area is the black pixel area).
Figure 13 (c) with the pattern numbers in the figure shows how each block is divided into four as described above (for example, block α → small blocks 1 , α 2 , α 3 , α 4 ), and each of the obtained small blocks is divided into four. FIG. 12 is a diagram in which the pattern numbers of FIG. 11 are assigned. When each pattern in FIG. 11 is divided into four, it is possible to know in advance which patterns each pattern will be decomposed into, so it is extremely easy to obtain FIG. 13(b) to FIG. 13(c). still,
When each pattern in Figure 11 is divided into four, the first
Although each pattern in FIG. 1 may be selected, it is sufficient that the patterns can be approximately decomposed into the patterns in FIG. 11. Next, the connections between the small blocks are examined, and in order to determine that there is a connection relationship, for example, the criteria for determining whether there is a connection relationship is that there is at least a black part on the joining edge of patterns of adjacent small blocks. Alternatively, the presence or absence of a connection relationship may be determined by taking into consideration the overall shape of the pattern. In any case, since the combinations of pattern connections are limited, it is possible to determine whether or not small blocks are connected by determining in what positional relationship each pattern should be adjacent to each other to determine if small blocks are connected. The decision is quite simple. Figure 13 D is a diagram showing an image area obtained by assuming that there is no connection relationship between small blocks when there is only a white part on the joint side of the pattern. Areas with the same number in the figure are image areas of the same type. be. Of course, the connections between blocks may be checked using the above method without performing the four-division process. However, in this case, the boundaries of the regions become rough. In order to solve this problem of roughness, it is conceivable to reduce the size of the block from the beginning, but this would require a considerable amount of time for the texture analysis.

上記の結果、画像領域が抽出されたことにな
る。第14図乃至第16図は領域抽出のより具体
的な説明図で、第14図はオリジナル画像を示す
図、第15図はパターン分類画像を示す図、第1
6図は領域抽出画像を示す図である。尚、第14
図中の1及び2で示した領域は文字で埋められて
おり、3及び4で示した領域は連続階調画となつ
ている。第15図に示される如く、画像抽出は良
好になされるが、第15図にはオリジナル画像の
汚れ等により弧立領域(ブロツク)が生じ、これ
が第16図中に独自の画像領域を形成している。
このノイズを防ぐためには、弧立ブロツクは周囲
のブロツクと同一の画像領域とみなす処理を施せ
ばよい。
As a result of the above, the image area has been extracted. Figures 14 to 16 are more specific explanatory diagrams of area extraction, with Figure 14 showing the original image, Figure 15 showing the pattern classification image, and Figure 1
FIG. 6 is a diagram showing a region extracted image. Furthermore, the 14th
The areas indicated by 1 and 2 in the figure are filled with characters, and the areas indicated by 3 and 4 are continuous tone images. As shown in FIG. 15, the image extraction is successful, but in FIG. 15, there is a raised area (block) due to dirt etc. in the original image, and this creates a unique image area in FIG. 16. ing.
In order to prevent this noise, processing may be performed to treat the raised block as being in the same image area as the surrounding blocks.

上述の如くして画像領域を抽出後に、各抽出画
像領域に前記識別方法を適用すれば、効率の良い
画像識別を行える。
After extracting image regions as described above, by applying the above-described identification method to each extracted image region, efficient image identification can be performed.

(発明の効果) 以上説明したように、本発明方法では黒画素数
のばらつきに基づき網点階調画を判別し、背景の
割合により線画を判別し、残りを連続階調画と判
別するので、網点階調画、線画、連続階調画を正
確に判別できる。
(Effects of the Invention) As explained above, in the method of the present invention, halftone images are determined based on the variation in the number of black pixels, line drawings are determined based on the proportion of the background, and the rest are determined as continuous tone images. , halftone gradation drawings, line drawings, and continuous gradation drawings can be accurately distinguished.

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

第1図は識別単位域の一例を示す説明図、第2
図は2値化画像の説明図、第3図は黒画素領域間
の測距の説明図、第4図は黒画素領域間の距離の
標準偏差と黒画素領域を構成する黒画素数の標準
偏差との関係を示す図、第5図は背景の割合を示
す図、第6図は領域抽出方法の一具体例における
手順を示すフローチヤート、第7図はウインドウ
の説明図、第8図は濃度ヒストグラムの説明図、
第9図は背景レベルの決定手順を示すフローチヤ
ート、第10図は画像のブロツク化の説明図、第
11図はブロツクのパターンの説明図、第12図
はパターン分類の説明図、第13図は画像領域抽
出の説明図、第14図はオリジナル画像を示す
図、第15図はパターン分類画像を示す図、第1
6図は領域抽出画像を示す図である。 α…ブロツク、α1,α2,α3,α4…小ブロツク、
1,2…文字画領域、3,4…連続階調画領域。
Figure 1 is an explanatory diagram showing an example of the identification unit area, Figure 2
The figure is an explanatory diagram of a binarized image, Figure 3 is an explanatory diagram of distance measurement between black pixel areas, and Figure 4 is a standard deviation of the distance between black pixel areas and the standard of the number of black pixels constituting the black pixel area. Figure 5 is a diagram showing the relationship with deviation, Figure 5 is a diagram showing the ratio of background, Figure 6 is a flowchart showing the procedure in a specific example of the area extraction method, Figure 7 is an explanatory diagram of the window, and Figure 8 is Explanatory diagram of density histogram,
Fig. 9 is a flowchart showing the background level determination procedure, Fig. 10 is an explanatory diagram of image blocking, Fig. 11 is an explanatory diagram of block patterns, Fig. 12 is an explanatory diagram of pattern classification, and Fig. 13 is an illustration of the pattern classification. is an explanatory diagram of image region extraction, FIG. 14 is a diagram showing the original image, FIG. 15 is a diagram showing a pattern classification image,
FIG. 6 is a diagram showing a region extracted image. α...Block, α1 , α2 , α3 , α4 ...Small block,
1, 2...Character image area, 3, 4...Continuous tone image area.

Claims (1)

【特許請求の範囲】[Claims] 1 画像を2値化する一方、複数の識別単位域に
分割し、識別単位域内の黒画素領域を構成する黒
画素数のばらつきを求め、該ばらつきが小さい場
合は当該識別単位域が網点階調画であると判別す
ると共に、当該識別単位域内の背景の割合を求
め、該割合が大きい場合は当該識別単位域が線画
であると判別し、前記判別により網点階調画とも
線画とも判別されない場合は当該識別単位域が連
続階調画であると判別する画像識別方法。
1 While binarizing the image, divide it into multiple discrimination unit areas, find the variation in the number of black pixels that constitute the black pixel area within the discrimination unit area, and if the variation is small, the discrimination unit area is In addition to determining that the identification unit area is a toned image, the ratio of the background within the identification unit area is determined, and if the ratio is large, the identification unit area is determined to be a line drawing, and based on the above determination, it is determined whether it is a halftone gradation image or a line drawing. If not, an image identification method that determines that the identification unit area is a continuous tone image.
JP15789584A 1984-07-27 1984-07-27 Picture identification method Granted JPS6135680A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP15789584A JPS6135680A (en) 1984-07-27 1984-07-27 Picture identification method
US06/757,653 US4741046A (en) 1984-07-27 1985-07-22 Method of discriminating pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15789584A JPS6135680A (en) 1984-07-27 1984-07-27 Picture identification method

Publications (2)

Publication Number Publication Date
JPS6135680A JPS6135680A (en) 1986-02-20
JPH0446500B2 true JPH0446500B2 (en) 1992-07-30

Family

ID=15659761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15789584A Granted JPS6135680A (en) 1984-07-27 1984-07-27 Picture identification method

Country Status (1)

Country Link
JP (1) JPS6135680A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4545165B2 (en) * 2006-09-19 2010-09-15 シャープ株式会社 Image processing apparatus, image forming apparatus, line area specifying method, document type determining method, computer program, and recording medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56161776A (en) * 1980-05-19 1981-12-12 Fujitsu Ltd Identifying system for network point video signal
JPS576964A (en) * 1980-06-13 1982-01-13 Ricoh Co Ltd Picture extracting method

Also Published As

Publication number Publication date
JPS6135680A (en) 1986-02-20

Similar Documents

Publication Publication Date Title
US4741046A (en) Method of discriminating pictures
US4656665A (en) Thresholding technique for graphics images using histogram analysis
CN109255350B (en) New energy license plate detection method based on video monitoring
CN109242870A (en) A kind of sea horizon detection method divided based on image with textural characteristics
CN112330593A (en) Building surface crack detection method based on deep learning network
KR910017328A (en) Position Recognition Device
CN112801227B (en) Typhoon identification model generation method, device, equipment and storage medium
CN114384073B (en) Subway tunnel crack detection method and system
EP0563897A1 (en) Defect inspection system
CN112686105B (en) Fog concentration grade identification method based on video image multi-feature fusion
JPH05280960A (en) Defect inspection device
US20040114830A1 (en) Method and apparatus for image processing
JPH0446500B2 (en)
CN117975360A (en) Deep learning-based stacked object distinguishing method and system
JPH07107275A (en) Image data discrimination device
JPH0418749B2 (en)
JPH06195511A (en) Binarization threshold value determining device
CN112560929A (en) Oil spilling area determining method and device and storage medium
JP3679241B2 (en) Construction drawing recognition method and recognition apparatus
CN115359346B (en) Small micro-space identification method and device based on street view picture and electronic equipment
JPH0319990B2 (en)
JPS61269779A (en) Document picture analyzing system
JP2859603B2 (en) Method and apparatus for binarizing image data
Wasala et al. Utilisation of Vision Systems and Digital Twin for Maintaining Cleanliness in Public Spaces
JPH02195774A (en) Multilevel image binarizing system