JPS62171275A - Image area separating device - Google Patents

Image area separating device

Info

Publication number
JPS62171275A
JPS62171275A JP61012384A JP1238486A JPS62171275A JP S62171275 A JPS62171275 A JP S62171275A JP 61012384 A JP61012384 A JP 61012384A JP 1238486 A JP1238486 A JP 1238486A JP S62171275 A JPS62171275 A JP S62171275A
Authority
JP
Japan
Prior art keywords
area
line drawing
halftone
white
write
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.)
Granted
Application number
JP61012384A
Other languages
Japanese (ja)
Other versions
JPH0436625B2 (en
Inventor
Hironori Takashima
洋典 高島
Hiroyuki Matsushita
浩之 松下
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61012384A priority Critical patent/JPS62171275A/en
Publication of JPS62171275A publication Critical patent/JPS62171275A/en
Publication of JPH0436625B2 publication Critical patent/JPH0436625B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To separate the dot area and the line drawing area even when a dot photograph with unknown line number and angle and a line picture exist in mixture by converting an input picture signal into a binary picture signal and discriminating whether an area is a dot photograph area or a line drawing area depending on the presence of white or black level closed area of the signal in a prescribed area and storing the result of discrimination of the dot photograph area with priority. CONSTITUTION:An input picture signal is converted into a binary picture signal at a fixed threshold level by a binarization circuit 11 and a closed area detection circuit 12 discriminates whether a black picture element surrounded by a white level or a white picture element surrounded by a black level exists in a noted area, and in case of existence, logic 1 is outputted as the existence of the closed area an in case of nonexistence not, logic 0 is outputted. A write circuit 13 receives the output of the detection circuit 12 to write the result of closed area detection in the corresponding location of a built-in picture memory. The write is applied to logic 1 with priority at the write. The result of write is outputted from a terminal 102.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は網点写真と文字等の線画の混在する画像を網
点写真領域と線画領域に分離する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an apparatus for separating an image containing a mixture of halftone photographs and line drawings such as characters into a halftone photograph area and a line drawing area.

(従来技術とその問題点) 近年のファクシミリの普及により、文字等の線画のみな
らず印刷された写真等からなる画像を伝送する機会が増
えてきている。写真を印刷する場合には一般に網点写真
が用いられることが多い。
(Prior art and its problems) With the spread of facsimiles in recent years, there are increasing opportunities to transmit not only line drawings such as characters but also images such as printed photographs. When printing photographs, generally halftone photographs are often used.

この網点写真をファクシミリがら入力すると、モワレの
発生する事がある。このモワレの発生を抑圧できる2値
出力式も知られてはいるが、モワレの発生を抑えるため
の特殊な2値出力式を採用すると線画部分において、細
い線の切れや線の周辺に不要なノツチが現われることが
あった。そのため両者を分離し各々に応じた2値出力式
を適用するために網点写真領域と線画領域の分離装置が
いくつか提唱されている。これらの方式は網点写真に特
有なパターンを検出し両者の区別をつけるというもので
あった。ところがこういった方式においてはあらかじめ
網点写真に特有のパターンがわかっていなければその効
力を発揮しない。従って線数、角度ともに任意のものが
種々に発生する様な画像に対しては十分な像域分離が行
なえず所期の目標を達成できなかった。
When inputting this halftone photograph using a facsimile, moiré may occur. A binary output formula that can suppress the occurrence of moire is also known, but if you use a special binary output formula to suppress the occurrence of moire, it will cause unnecessary cuts in thin lines and around the lines in line drawings. Nottuchi sometimes appeared. For this reason, several devices for separating the halftone photographic area and the line drawing area have been proposed in order to separate the two and apply a binary output formula suitable for each. These methods detect patterns unique to halftone photographs and distinguish between the two. However, these methods are not effective unless the unique patterns of halftone photographs are known in advance. Therefore, sufficient image area separation cannot be achieved for images in which various line numbers and angles are generated, and the desired goal cannot be achieved.

(発明の目的) 本発明の目的は上記不都合を取り除き、あらかじめ予想
できない線数、角度の網点写真と線画が混在しても効果
的に網点領域と線画領域の分離が行なえる像域分離装置
を提供することにある。
(Object of the Invention) The object of the present invention is to eliminate the above-mentioned disadvantages, and to perform image area separation that effectively separates the halftone dot area and the line drawing area even when halftone photographs and line drawings with unpredictable line counts and angles coexist. The goal is to provide equipment.

(発明の構成) 本発明によれば、入力画像信号を2値画像信号に変換す
る手段と、該2値画像信号の所定の領域内における白ま
たは黒の閉領域の有無に応じて該所定領域が網点写真領
域であるかまたは線画領域であるかの判断をする手段と
、該判断結果を網点写真領域であるという結果を優先さ
せて格納する記憶手段とを備えたことを特徴とする像域
分離装置が得られる。
(Structure of the Invention) According to the present invention, there is provided a means for converting an input image signal into a binary image signal, and a means for converting an input image signal into a binary image signal; The present invention is characterized by comprising means for determining whether the area is a halftone photographic area or a line drawing area, and a storage means for storing the determination result with priority given to the result that the area is a halftone photographic area. An image area separation device is obtained.

(発明の原理) 網点写真は濃淡情報を微少な白または黒のドツトの面積
で表現するものである。従って網点写真領域においては
白または黒の特徴的なドツトの繰り返しが発生する。本
発明においてはこのドツト、すなわち白に囲まれた黒、
または黒に囲まれた白の領域を閉領域と呼び、この閉領
域の有無を用いて網点写真領域であるか否かを判断する
。まず入力画像を一旦2値化し、次に設定された領域内
において白または黒の画素に囲まれた閉領域が存在すれ
ば網点領域であると判断し、そうでなければ線画領域で
あると判断する。そして最後に判断結果をメモリーに格
納する。ここで用いる2値画像信号は像域の分離に使う
だけであるのでモワレが発生してもさしつかえが無いの
で固定のスレッショルドによる2値化でもかまわない。
(Principle of the Invention) Halftone photography expresses gradation information using the areas of minute white or black dots. Therefore, in the halftone photographic area, a characteristic repetition of white or black dots occurs. In the present invention, this dot, that is, black surrounded by white,
Alternatively, a white area surrounded by black is called a closed area, and the presence or absence of this closed area is used to determine whether or not it is a halftone photographic area. First, the input image is once binarized, and then if there is a closed area surrounded by white or black pixels within the set area, it is determined that it is a halftone dot area, otherwise it is determined that it is a line drawing area. to decide. Finally, the judgment result is stored in memory. Since the binary image signal used here is only used to separate image areas, there is no problem even if moire occurs, so binarization using a fixed threshold may be used.

閉領域の検出は注目領域の周囲がが白又は黒の同一色で
囲まれ、かつ注目領域内に周囲を囲む画素とは異なる色
の画素が存在するか否かで判断する。この判断結果は参
照領域全てに書き込みが行なわれ、しかも判断結果を格
納するメモリーにはそれまでの線画であるという結果に
対しては網点写真であるという結果が優先する様に格納
を行なう。
Detection of a closed area is determined based on whether or not the area of interest is surrounded by the same color, white or black, and there are pixels in the area of interest that have a different color from the surrounding pixels. This judgment result is written in all reference areas, and is stored in the memory that stores the judgment result so that the result that it is a halftone photograph has priority over the previous result that it is a line drawing.

(実施例) 以下に図面を参照して、本発明の詳細な説明する。第1
図は本発明を実現する装置の一例を示すブロック図であ
る。端子101から入力される画像信号は2値化回路1
1で固定のスレッショルドで2値画像信号に変換される
。次に閉領域検出回路12で注目領域内に白で囲まれた
黒画素もしくは黒で囲まれた白画素が存在するか否かが
判定され、存在した場合には閉領域が存在したというこ
とで、1を出力し、そうでない場合には0を出力する。
(Example) The present invention will be described in detail below with reference to the drawings. 1st
The figure is a block diagram showing an example of a device that implements the present invention. The image signal input from the terminal 101 is sent to the binarization circuit 1.
It is converted into a binary image signal with a fixed threshold of 1. Next, the closed area detection circuit 12 determines whether or not there is a black pixel surrounded by white or a white pixel surrounded by black in the area of interest, and if there is, it is determined that a closed area exists. , outputs 1, otherwise outputs 0.

書き込み回路13では閉領域検出回路12の出力を受け
て内蔵する画像メモリーの対応する位置に閉領域検出結
果を書き込む。この書き込みの時に1が優先する様に書
き込みを行なう。書き込まれた結果は端子102から出
力される。
The writing circuit 13 receives the output of the closed area detection circuit 12 and writes the closed area detection result into the corresponding position of the built-in image memory. During this writing, writing is performed so that 1 has priority. The written result is output from the terminal 102.

第2図に閉領域検出回路12のブロック図を示す。FIG. 2 shows a block diagram of the closed area detection circuit 12.

ここでは簡単のため、閉領域の検出に用いる注目領域の
大きさを5×5画素としているが、7×7゜9×9画素
と大きくすることもほぼ同様の回路構成で可能である。
Here, for simplicity, the size of the region of interest used for detecting a closed region is set to 5×5 pixels, but it is also possible to increase the size to 7×7° or 9×9 pixels using almost the same circuit configuration.

第4図に注目領域での周辺画素とその内部の画素の位置
関係を示す。図中Al、 A2. A3゜A4が周辺部
に対応しBがその内部に対応する。図中のXで示した画
素の値は無視している。2値画像信号は端子201から
供給される。1画素遅延素子22A。
FIG. 4 shows the positional relationship between peripheral pixels in the region of interest and pixels inside the region. In the figure, Al, A2. A3°A4 corresponds to the periphery, and B corresponds to the inside. The pixel values indicated by X in the figure are ignored. A binary image signal is supplied from a terminal 201. 1 pixel delay element 22A.

22B、 22Cは第4図中のA3に対応する画素値を
出力し、ROM23A(READ 0NLY MEMO
RY読みだし専用メモリー)に供給する。ROM23A
はA3全ての画素が白、黒もしくは両者が混在している
かを判定する。同じ様にして1画素遅延素子22H,2
2L、 22Pの内容すなわち第4図A4の部分はRO
M23Fで、22Q。
22B and 22C output the pixel value corresponding to A3 in FIG.
RY read-only memory). ROM23A
determines whether all pixels in A3 are white, black, or a mixture of both. In the same way, one pixel delay element 22H, 2
The contents of 2L and 22P, that is, the part A4 in Figure 4 is RO.
M23F, 22Q.

22R,228の内容すなわちA1の部分はROM23
Eで、1ラインより4画素少ない遅延素子21A、 2
1B、 21Cの出力すなわちA2の部分はROM23
Hで判定される。
The contents of 22R and 228, that is, the A1 part, are stored in ROM23.
E, delay element 21A, 2 with 4 pixels less than 1 line
The output of 1B and 21C, that is, the A2 part is stored in ROM23.
It is judged as H.

それぞれのROMの出力は再びROM24AでAI、 
A2゜A3.A4全てが白、黒もしくは両者が混在して
いるかが判定される。次に第4図中のAl、 A2. 
A3. A4で囲まれたBの部分は以下の様にして全て
白、黒もしくは両者が混在するかが判定される。1画素
遅延素子22E、 22F、 22Gの出力はROM2
3Bで全てが白、黒あるいは両者が混在しているかが判
定される。同様にして、ROM23Cテハ1画素遅延素
子22I、 22J。
The output of each ROM is AI again in ROM24A,
A2゜A3. It is determined whether all of A4 is white, black, or a mixture of both. Next, Al in FIG. 4, A2.
A3. It is determined whether the part B surrounded by A4 is entirely white, black, or a mixture of both in the following manner. The outputs of the 1-pixel delay elements 22E, 22F, and 22G are ROM2
At 3B, it is determined whether all the colors are white, black, or a mixture of both. Similarly, the ROM 23C has one-pixel delay elements 22I and 22J.

22にの内容が判定し、ROM23Dは1画素遅延素子
22M、 22N、 220の内容の判定を行なう。こ
れらの判定結果はROM24Bで再び全てが白、黒また
は両者の混在が判定される。ROM24AとROM24
Bの出力はROM25Aに入力されて、閉領域があった
が否かが判定され閉領域があった場合には値1が出力さ
れる。閉領域があったと判断されるのはROM24Aの
出力が全て白でありかつROM24Bの出力が全て黒ま
たは白と黒の混在であった場合、およびROM24Aの
出力が全て黒でありかつROM24Bの出力が全て白ま
たは白と黒の混在であった場合である。結局、同一の色
で囲まれた領域内に周囲とは異なった色の画素があれば
閉領域があったと判断サレル。ROM23G トROM
25B ハ第5図に示した3×3画素の場合の閉領域の
存在の判定をする。
The contents of 22 are determined, and the ROM 23D determines the contents of 1-pixel delay elements 22M, 22N, and 220. These determination results are again determined in the ROM 24B as to whether all are white, black, or a mixture of both. ROM24A and ROM24
The output of B is input to the ROM 25A, and it is determined whether or not there is a closed area. If there is a closed area, a value of 1 is output. It is determined that there is a closed region if all the outputs of ROM24A are white and the outputs of ROM24B are all black or a mixture of white and black, and if all the outputs of ROM24A are black and the outputs of ROM24B are all black. This is the case when the color is all white or a mixture of white and black. In the end, if there are pixels of a different color from the surrounding area within an area surrounded by the same color, Sarel determines that there is a closed area. ROM23G ROM
25B C It is determined whether there is a closed region in the case of 3×3 pixels shown in FIG.

ROM25AとROM25Bの出力はORゲート26で
論理ORがとられて端子202に出力される。
The outputs of ROM 25A and ROM 25B are logically ORed by OR gate 26 and output to terminal 202.

第3図は書き込み回路13のブロック図である。端子3
01からは常にOが供給され、端子302からは閉領域
検出回路12の出力が供給される。1ラインより4画素
少ない遅延素子31Aから31Dと1画素遅延素子32
Aから32Tとからなる画像メモリーには像域分離結果
が格納されているが、論理ORゲートによって注目領域
が網点領域であるという情報が優先されて書き込まれる
。この結果は端子303から出力される。
FIG. 3 is a block diagram of the write circuit 13. terminal 3
01 is always supplied with O, and the terminal 302 is supplied with the output of the closed area detection circuit 12. Delay elements 31A to 31D with 4 pixels less than 1 line and 1 pixel delay element 32
The image area separation result is stored in the image memory consisting of A to 32T, but the information that the area of interest is a halftone area is written with priority by the logical OR gate. This result is output from terminal 303.

なお以上の説明においては、閉領域検出回路における閉
領域の判定及び書込み回路における優先判定はともに5
×5画素を単位として行なう例について述べたが、処理
の単位はこのサイズに限られるものではない。また閉領
域検出回路、書込み回路で処理の単位をかえてもよい。
In the above explanation, both the closed area determination in the closed area detection circuit and the priority determination in the write circuit are 5.
Although an example has been described in which processing is performed in units of ×5 pixels, the unit of processing is not limited to this size. Further, the unit of processing may be changed between the closed area detection circuit and the writing circuit.

(発明の効果) 以上に述べたように、本発明による像域分離装置によれ
ば、あらかじめ予想できない線数、角度の網点写真と線
画が混在しても効果的に網点領域と線画領域の分離が行
なえる。
(Effects of the Invention) As described above, according to the image area separation device according to the present invention, even if halftone photographs and line drawings with unpredictable line counts and angles coexist, halftone areas and line drawing areas can be effectively separated. can be separated.

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

第1図は本発明の一実施例を示すブロック図、第2図は
閉領域検出回路のブロック図、第3図は書き込み回路の
ブロック図、第4図は注目領域が5×5画素の場合の周
辺画素とその内部の画素の位置関係を示す図、第5図は
3×3画素の場合の周辺画素とその内部の画素の位置関
係を示す図のブロック図である。 図において、 11・・・固定スレッショルドによる2値化回路、12
・・・閉領域検出回路、 13・・・書き込み回路、 2LA、 21B、 21C,21D・・・1ラインよ
り4画素少ない遅延素子、 22A、 22B、 22C,22D、 22E、 2
2F、 22G、 22H,22I、 22J。 22に、 22L、 22M、 22N、 220.2
2P、 22Q、 22R,228,22T、、。 1画素遅延素子、 23A、 23B、 23C,23D、 23E、 2
3F、 23G、 23H・・・ROM(読み出し専用
メモリー)、 24A、 24B・・・ROM(読み出し専用メモリー
)、26・・・論理ORゲート、 31A、 31B、 31C,31D・・・1ラインよ
り4画素少ない遅延素子、 32A、 32B、 32C,32D、 32E、 3
2F、 32G、 32H,32I、 32J。 32に、 32L、 32M、 32N、 320.3
2P、 32Q、 32R,32S、 32T、、。 1画素遅延素子、 33A、 33B、 33C,33D、 33E、 3
3F、 33G、 33H,33I。 33J、 33に、 33L、 33M、 33N、 
330.33P、 33Q、 33R,338゜33T
、 33U、 33V、 33W、 33X、 33Y
−・・論理ORゲート\”−++−−’ 第1図 第4図 第5図 笛つ「;]
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a block diagram of a closed area detection circuit, Fig. 3 is a block diagram of a writing circuit, and Fig. 4 is a case where the area of interest is 5 x 5 pixels. FIG. 5 is a block diagram showing the positional relationship between peripheral pixels and internal pixels in the case of 3×3 pixels. In the figure, 11...Binarization circuit with fixed threshold, 12
...Closed area detection circuit, 13...Writing circuit, 2LA, 21B, 21C, 21D...Delay element with 4 pixels less than 1 line, 22A, 22B, 22C, 22D, 22E, 2
2F, 22G, 22H, 22I, 22J. 22, 22L, 22M, 22N, 220.2
2P, 22Q, 22R, 228, 22T, . 1 pixel delay element, 23A, 23B, 23C, 23D, 23E, 2
3F, 23G, 23H...ROM (read-only memory), 24A, 24B...ROM (read-only memory), 26...Logic OR gate, 31A, 31B, 31C, 31D...4 from 1 line Delay element with fewer pixels, 32A, 32B, 32C, 32D, 32E, 3
2F, 32G, 32H, 32I, 32J. 32, 32L, 32M, 32N, 320.3
2P, 32Q, 32R, 32S, 32T, . 1 pixel delay element, 33A, 33B, 33C, 33D, 33E, 3
3F, 33G, 33H, 33I. 33J, 33, 33L, 33M, 33N,
330.33P, 33Q, 33R, 338°33T
, 33U, 33V, 33W, 33X, 33Y
-・Logic OR gate \"-++--' Figure 1 Figure 4 Figure 5 Whistle ';]

Claims (2)

【特許請求の範囲】[Claims] (1)、網点写真と文字等の線画の混在する画像を網点
写真領域と線画領域に分離する装置において、該入力画
像信号を2値画像信号に変換する手段と、該2値画像信
号の所定の領域内における白または黒の閉領域の有無に
応じて該所定領域が網点写真領域であるかまたは線画領
域であるかの判断をする手段と、該判断結果を網点写真
領域であるという結果を線画領域であるという結果に優
先させて格納する記憶手段とを備えたことを特徴とする
像域分離装置。
(1) In a device for separating an image containing a mixture of halftone photographs and line drawings such as characters into a halftone photograph area and a line drawing area, a means for converting the input image signal into a binary image signal; and a means for converting the input image signal into a binary image signal; means for determining whether a predetermined region is a halftone photographic region or a line drawing region according to the presence or absence of a white or black closed region within the predetermined region; 1. An image area separation device comprising: storage means for storing a result indicating that the area is a line drawing area with priority over a result indicating that the area is a line drawing area.
(2)、前記所定領域が網点写真領域であるかまたは線
画領域であるかの判断をする手段は該所定の領域として
矩形を設定し、該矩形の四隅の画素を除く周辺部の画素
によって囲まれる閉領域の有無に応じて該領域が網点写
真領域であるかまたは線画領域であるかの判断を行なう
手段であることを特徴とする特許請求の範囲第(1)項
に記載の像域分離装置。
(2) The means for determining whether the predetermined area is a halftone photographic area or a line drawing area is to set a rectangle as the predetermined area, and to determine whether the predetermined area is a halftone photographic area or a line drawing area, and to determine whether the predetermined area is a halftone photographic area or a line drawing area. The image according to claim (1), characterized in that the image is a means for determining whether the area is a halftone photograph area or a line drawing area depending on the presence or absence of a closed area surrounded by the image. area separation device.
JP61012384A 1986-01-22 1986-01-22 Image area separating device Granted JPS62171275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61012384A JPS62171275A (en) 1986-01-22 1986-01-22 Image area separating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61012384A JPS62171275A (en) 1986-01-22 1986-01-22 Image area separating device

Publications (2)

Publication Number Publication Date
JPS62171275A true JPS62171275A (en) 1987-07-28
JPH0436625B2 JPH0436625B2 (en) 1992-06-16

Family

ID=11803768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61012384A Granted JPS62171275A (en) 1986-01-22 1986-01-22 Image area separating device

Country Status (1)

Country Link
JP (1) JPS62171275A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01126876A (en) * 1987-11-12 1989-05-18 Sharp Corp Picture reader
JP2002373341A (en) * 2001-06-15 2002-12-26 Ricoh Co Ltd Device and method for detecting half-tone dot meshing area, program and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01126876A (en) * 1987-11-12 1989-05-18 Sharp Corp Picture reader
JP2002373341A (en) * 2001-06-15 2002-12-26 Ricoh Co Ltd Device and method for detecting half-tone dot meshing area, program and storage medium

Also Published As

Publication number Publication date
JPH0436625B2 (en) 1992-06-16

Similar Documents

Publication Publication Date Title
JP2614369B2 (en) Image processing device
JPH09274660A (en) Method, device for recognizing image, copy machine mounting the same and scanner
US5418602A (en) Image processing with anti-forgery provision
JPH0415661B2 (en)
JPS62171275A (en) Image area separating device
JPH05316377A (en) Picture processing unit
JP2008103917A (en) Image processor
JPS62226770A (en) Image area separation device
JP3618776B2 (en) Image processing apparatus and method
US6947595B2 (en) System for processing object areas of an image
JP2911806B2 (en) Image reading device
JPH0541796A (en) Copying machine
JPH05153368A (en) Image processor
JPS62171274A (en) Image area separating device
JP3281391B2 (en) Full-color image reproducing apparatus and full-color image reproducing method
JP2009027250A (en) Image processor and image processing method
JPS6382169A (en) Image area separating device
JPH07123267A (en) Color image forming device
JPH065880B2 (en) Image area separation device
JP4438469B2 (en) Image processing apparatus and method
JP3268645B2 (en) Image processing apparatus and method
JPH11220618A (en) Color picture processor and color picture processing method
JP3227174B2 (en) Image processing apparatus and control method for image processing apparatus
JP3302039B2 (en) Image processing device
JP3109984B2 (en) Color image processing equipment

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term