JPH04312183A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH04312183A
JPH04312183A JP3104624A JP10462491A JPH04312183A JP H04312183 A JPH04312183 A JP H04312183A JP 3104624 A JP3104624 A JP 3104624A JP 10462491 A JP10462491 A JP 10462491A JP H04312183 A JPH04312183 A JP H04312183A
Authority
JP
Japan
Prior art keywords
processing
data
thinning
edge
fattening
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
JP3104624A
Other languages
Japanese (ja)
Other versions
JP2938217B2 (en
Inventor
Shinji Yamakawa
山川 慎二
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3104624A priority Critical patent/JP2938217B2/en
Publication of JPH04312183A publication Critical patent/JPH04312183A/en
Application granted granted Critical
Publication of JP2938217B2 publication Critical patent/JP2938217B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/403Edge-driven scaling; Edge-based scaling

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To obtain satisfactory thinning data or thickenning data. CONSTITUTION:A line memory part 201 which stores input data for (N+2) lines (here, for 19 lines) and simultaneously outputs data of the (N+2) lines, an edge processing part 202 which inputs (N+2) line data, forms the matrix of NXM (here, 17X17) and edge-processes as against binary data of a specified position and a thinning processing part 203 which executes an thinning processing as against binary data outputted from the edge processing part 202 are provided.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、所定の画像入力手段を
介して入力した画像データを2値データに変換し、パタ
ーンマッチング法によって細らせ処理、或いは、太らせ
処理を施す画像処理装置に関し、より詳細には、細らせ
処理、或いは、太らせ処理を良好に行える画像処理装置
に関する。
[Industrial Application Field] The present invention is an image processing apparatus that converts image data input through a predetermined image input means into binary data, and performs thinning processing or thickening processing using a pattern matching method. More specifically, the present invention relates to an image processing apparatus that can perform thinning processing or thickening processing favorably.

【0002】0002

【従来の技術】画像処理装置における2値処理後の画像
処理としては、例えば、中ウメ処理,輪郭処理,平カゲ
処理,立体カゲ処理,中ウメ・立体カゲ処理,輪郭・立
体カゲ処理,輪郭・平カゲ処理等がある。これらの処理
は2値データの細らせ処理及び太らせ処理を基本として
実行されているため、画像処理装置において細らせ処理
及び太らせ処理を良好に行うことが重要である。
[Prior Art] Image processing after binary processing in an image processing device includes, for example, mid-shade processing, contour processing, flat shadow processing, three-dimensional shadow processing, mid-shade/three-dimensional shadow processing, outline/three-dimensional shadow processing, and contour processing.・There is flat shadow processing, etc. Since these processes are basically executed on the basis of thinning and fattening of binary data, it is important that the thinning and fattening processes are performed well in the image processing apparatus.

【0003】一般に、細らせ処理及び太らせ処理を行う
場合には、パターンマッチング法が用いられており、例
えば、図16に示すような正方形パターンや、図17に
示すような円形パターンが使用されている(尚、図中の
〇は中心画素を示す)。図16に示す正方形パターンを
用いて細らせ処理を実行すると、図18に示すように、
オリジナルデータ900が細らせデータ(細らせ処理後
のデータ)901のようになる。また、図17に示す円
形パターンを用いて細らせ処理を実行すると、図19に
示すように、オリジナルデータ900が細らせデータ9
02のようになる。一方、図16に示す正方形パターン
を用いて太らせ処理を実行すると、図20に示すように
、オリジナルデータ903が太らせデータ(太らせ処理
後のデータ)904のようになる。また、図17に示す
円形パターンを用いて太らせ処理を実行すると、図21
に示すように、オリジナルデータ903が太らせデータ
905のようになる。尚、実際には、上記の図に示すオ
リジナルデータ,細らせデータ,太らせデータ等の閉ル
ープ内は全て黒画素のデータ(黒ベタ)であるが、説明
をわかり易くするために輪郭線のみで示す。
[0003] Generally, when performing thinning processing and thickening processing, a pattern matching method is used. For example, a square pattern as shown in FIG. 16 or a circular pattern as shown in FIG. 17 is used. (The circle in the figure indicates the center pixel). When the thinning process is executed using the square pattern shown in FIG. 16, as shown in FIG.
Original data 900 becomes thinned data (data after thinning processing) 901. Furthermore, when the thinning process is executed using the circular pattern shown in FIG. 17, the original data 900 is changed to the thinning data 9 as shown in FIG.
It will look like 02. On the other hand, when the fattening process is executed using the square pattern shown in FIG. 16, the original data 903 becomes fattened data (data after the fattening process) 904, as shown in FIG. Furthermore, when the thickening process is executed using the circular pattern shown in FIG.
As shown in , original data 903 becomes fattened data 905. In reality, the closed loops of the original data, thinned data, thickened data, etc. shown in the above figure are all black pixel data (solid black), but for the sake of clarity, only the outlines are shown. show.

【0004】0004

【発明が解決しようとする課題】しかしながら、従来の
パターンマッチング法を用いて細らせ処理或いは太らせ
処理を実行する画像処理装置によれば、特定のパターン
を用いて細らせ処理或いは太らせ処理を実行するため、
オリジナルデータと比較した場合、細らせデータ或いは
太らせデータに不自然な部分が生じるという問題点があ
った。具体的には、例えば、正方形パターンは極性を持
つため、正方形パターンを用いて細らせ処理或いは太ら
せ処理を実行した場合、図18及び図20に示すように
、縦方向及び横方向の細らせ量或いは太らせ量Δαと比
較して斜め方向の細らせ量或いは太らせ量Δβが大きく
なるという問題点があった。また、円形パターンを用い
て細らせ処理或いは太らせ処理を実行した場合、図19
及び図21に示すように、エッジ部に丸みが出るという
問題点があった。
[Problems to be Solved by the Invention] However, according to an image processing apparatus that performs thinning processing or thickening processing using a conventional pattern matching method, thinning processing or thickening processing using a specific pattern is not possible. To perform the process,
When compared with the original data, there is a problem in that unnatural parts appear in the thinned data or the thickened data. Specifically, for example, since a square pattern has polarity, when thinning or thickening processing is performed using a square pattern, as shown in FIGS. 18 and 20, the thinning in the vertical and horizontal directions There is a problem in that the amount of thinning or thickening Δβ in the diagonal direction is larger than the amount of thinning or thickening Δα. In addition, when thinning processing or thickening processing is performed using a circular pattern, FIG.
As shown in FIG. 21, there was a problem in that the edges were rounded.

【0005】本発明は上記に鑑みてなされたものであっ
て、良好な細らせデータを得ることを第1の目的とする
The present invention has been made in view of the above, and its first object is to obtain good attenuation data.

【0006】また、本発明は上記に鑑みてなされたもの
であって、良好な太らせデータを得ることを第2の目的
とする。
[0006] The present invention has been made in view of the above, and a second object thereof is to obtain good fattening data.

【0007】[0007]

【課題を解決するための手段】本発明は上記の第1の目
的を達成するために、所定の画像入力手段を介して入力
した画像データを2値データに変換し、パターンマッチ
ング法によって細らせ処理を施す画像処理装置において
、複数ラインの2値データを同時に入力して、N×Mの
マトリックスを形成し、マトリックス内の所定位置の2
値データに対してエッジ処理を施すエッジ処理手段と、
エッジ処理手段を介して出力された2値データに対して
細らせ処理を実行する細らせ処理手段とを備えた画像処
理装置を提供するものである。
[Means for Solving the Problems] In order to achieve the above-mentioned first object, the present invention converts image data input through a predetermined image input means into binary data, and finely analyzes the image data by a pattern matching method. In an image processing device that performs image processing, multiple lines of binary data are simultaneously input to form an N×M matrix, and
edge processing means for performing edge processing on value data;
The present invention provides an image processing apparatus including a thinning processing means for performing thinning processing on binary data outputted via an edge processing means.

【0008】また、本発明は上記の第2の目的を達成す
るために、所定の画像入力手段を介して入力した画像デ
ータを2値データに変換し、パターンマッチング法によ
って太らせ処理を施す画像処理装置において、複数ライ
ンの2値データを同時に入力して、N×Mのマトリック
スを形成し、マトリックス内の所定位置の2値データに
対してエッジ処理を施すエッジ処理手段と、エッジ処理
手段を介して出力された2値データに対して太らせ処理
を実行する太らせ処理手段とを備えた画像処理装置を提
供するものである。
Further, in order to achieve the above-mentioned second object, the present invention converts image data input through a predetermined image input means into binary data, and performs an image fattening process using a pattern matching method. The processing device inputs multiple lines of binary data at the same time to form an N×M matrix, and includes an edge processing means for performing edge processing on the binary data at a predetermined position in the matrix; An object of the present invention is to provide an image processing apparatus including a fattening processing means for carrying out fattening processing on binary data outputted through the image processing apparatus.

【0009】また、本発明は上記の第1の目的を達成す
るために、所定の画像入力手段を介して入力した画像デ
ータを2値データに変換し、パターンマッチング法によ
って細らせ処理を施す画像処理装置において、細らせ処
理用パターンを用いて細らせ処理を行う複数の細らせ処
理手段と、複数の細らせ処理手段の少なくとも1つの細
らせ処理手段の直前に配置され、複数ラインの2値デー
タを同時に入力して、N×Mのマトリックスを形成し、
マトリックス内の所定位置の2値データに対してエッジ
処理を施すエッジ処理手段とを備えた画像処理装置を提
供するものである。
[0009] Furthermore, in order to achieve the above first object, the present invention converts image data input through a predetermined image input means into binary data, and performs thinning processing using a pattern matching method. In the image processing device, a plurality of thinning processing means that perform thinning processing using a thinning processing pattern, and a plurality of thinning processing means arranged immediately before at least one thinning processing means of the plurality of thinning processing means. , input multiple lines of binary data simultaneously to form an N×M matrix,
The present invention provides an image processing device including edge processing means for performing edge processing on binary data at a predetermined position within a matrix.

【0010】更に、本発明は上記の第2の目的を達成す
るために、所定の画像入力手段を介して入力した画像デ
ータを2値データに変換し、パターンマッチング法によ
って太らせ処理を施す画像処理装置において、太らせ処
理用パターンを用いて太らせ処理を行う複数の太らせ処
理手段と、複数の太らせ処理手段の少なくとも1つの太
らせ処理手段の直前に配置され、複数ラインの2値デー
タを同時に入力して、N×Mのマトリックスを形成し、
マトリックス内の所定位置の2値データに対してエッジ
処理を施すエッジ処理手段とを備えた画像処理装置を提
供するものである。
Furthermore, in order to achieve the above-mentioned second object, the present invention converts image data input through a predetermined image input means into binary data, and performs an image fattening process using a pattern matching method. The processing device includes a plurality of fattening processing means that perform fattening processing using a fattening processing pattern, and is arranged immediately before at least one fattening processing means of the plurality of fattening processing means, and a plurality of binary value input data simultaneously to form an N×M matrix;
The present invention provides an image processing device including edge processing means for performing edge processing on binary data at a predetermined position within a matrix.

【0011】[0011]

【作用】本発明の請求項1の画像処理装置は、先ず、エ
ッジ処理手段において、複数ラインの2値データを同時
に入力して、N×Mのマトリックスを形成し、マトリッ
クス内の所定位置の2値データに対してエッジ処理を施
し、続いて、細らせ処理において、エッジ処理手段を介
して出力された2値データに対して細らせ処理を実行す
る。
[Operation] In the image processing apparatus according to claim 1 of the present invention, first, in the edge processing means, binary data of a plurality of lines are simultaneously inputted to form an N×M matrix, and two or more lines of binary data are input at a predetermined position in the matrix. Edge processing is performed on the value data, and then, in the thinning process, the thinning process is performed on the binary data outputted via the edge processing means.

【0012】本発明の請求項2の画像処理装置は、先ず
、エッジ処理手段において、複数ラインの2値データを
同時に入力して、N×Mのマトリックスを形成し、マト
リックス内の所定位置の2値データに対してエッジ処理
を施し、続いて、太らせ処理において、エッジ処理手段
を介して出力された2値データに対して太らせ処理を実
行する。
In the image processing apparatus according to claim 2 of the present invention, first, in the edge processing means, binary data of a plurality of lines are simultaneously inputted to form an N×M matrix, and two or more lines at a predetermined position in the matrix are Edge processing is performed on the value data, and then, in the fattening process, the binary data outputted via the edge processing means is fattened.

【0013】本発明の請求項3の画像処理装置は、細ら
せ処理用パターンを用いて複数の細らせ処理手段で細ら
せ処理を実行する。この時、複数の細らせ処理手段の少
なくとも1つの細らせ処理手段の直前に配置されたエッ
ジ処理手段によって、複数ラインの2値データを同時に
入力して、N×Mのマトリックスを形成し、マトリック
ス内の所定位置の2値データに対してエッジ処理を施す
In the image processing apparatus according to the third aspect of the present invention, a plurality of thinning processing means execute thinning processing using a thinning processing pattern. At this time, the edge processing means disposed immediately before at least one of the plurality of thinning processing means inputs the binary data of the plurality of lines at the same time to form an N×M matrix. , edge processing is performed on binary data at a predetermined position in the matrix.

【0014】本発明の請求項4の画像処理装置は、太ら
せ処理用パターンを用いて複数の太らせ処理手段で太ら
せ処理を実行する。この時、複数の太らせ処理手段の少
なくとも1つの太らせ処理手段の直前に配置されたエッ
ジ処理手段によって、複数ラインの2値データを同時に
入力して、N×Mのマトリックスを形成し、マトリック
ス内の所定位置の2値データに対してエッジ処理を施す
[0014] In the image processing apparatus according to the fourth aspect of the present invention, a plurality of fattening processing means execute the fattening process using the fattening process pattern. At this time, the edge processing means disposed immediately before at least one of the plurality of thickening processing means simultaneously inputs the binary data of the plurality of lines to form an N×M matrix. Edge processing is performed on the binary data at a predetermined position within.

【0015】[0015]

【実施例】以下、本発明の画像処理装置を図面に基づい
て、〔実施例1〕,〔実施例2〕,〔実施例3〕,〔実
施例4〕の順序で詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The image processing apparatus of the present invention will be described in detail below in the order of [Embodiment 1], [Embodiment 2], [Embodiment 3], and [Embodiment 4] based on the drawings.

【0016】〔実施例1〕図1は実施例1の画像処理装
置の基本構成のブロック図を示し、大別して、CCDセ
ンサ等からなる画像読取部100と、画像読取部100
を介して入力した入力画像データに所定の画像処理を施
す画像処理部200と、画像処理部200で画像処理を
施した出力画像データをレーザープリンタ等を介して出
力する画像記録部300とから構成される。
[Embodiment 1] FIG. 1 shows a block diagram of the basic configuration of an image processing apparatus according to Embodiment 1, which is roughly divided into an image reading section 100 consisting of a CCD sensor, etc.;
It consists of an image processing section 200 that performs predetermined image processing on input image data input through the image processing section 200, and an image recording section 300 that outputs the output image data that has been subjected to image processing by the image processing section 200 via a laser printer or the like. be done.

【0017】図2は、画像処理部200における種々の
画像処理のうち、本発明に関する部分の構成のみを抜き
出したブロック図を示し、入力データ(画像読取部10
0を介して入力した画像データを2値化したデータ)を
(N+2)ライン分(ここでは、19ライン分)蓄えて
、(N+2)ラインのデータを同時に出力するラインメ
モリ部201と、ラインメモリ部201から(N+2)
ラインのデータを入力して、N×M(ここでは、17×
17)のマトリックスを形成し、所定位置の2値データ
に対してエッジ処理を施すエッジ処理部202と、エッ
ジ処理部202から出力された2値データに対して細ら
せ処理を実行する細らせ処理部203とを備えている。
FIG. 2 is a block diagram showing only the structure of the part related to the present invention extracted from among various image processing in the image processing section 200.
A line memory unit 201 stores (binarized image data input via 0) for (N+2) lines (in this case, 19 lines) and simultaneously outputs (N+2) lines of data; From part 201 (N+2)
Input the line data and enter N×M (here, 17×
17), and an edge processing unit 202 that forms a matrix and performs edge processing on binary data at a predetermined position, and a thinning process that performs thinning processing on the binary data output from the edge processing unit 202. The processing unit 203 includes a processing unit 203.

【0018】以上の構成において、その動作を説明する
。先ず、ラインメモリ部201は入力データ(1ビット
データ)を19ライン分蓄えると、各ラインの先頭から
同期を取りながら同時にデータを出力する。従って、入
力データはラインメモリ部201を介することによって
、19ビットのデータ(即ち、19ライン分のデータ)
として出力される。
The operation of the above configuration will be explained. First, the line memory unit 201 stores input data (1-bit data) for 19 lines, and then simultaneously outputs data while synchronizing from the beginning of each line. Therefore, input data is 19-bit data (that is, data for 19 lines) by passing through the line memory section 201.
is output as

【0019】エッジ処理部202は、19ライン分のデ
ータを入力すると、19×19のマトリックスの中に、
図3に示すように17×17のマトリックスを形成する
。ここで、マトリックスの1マスは1画素(1ビットの
データ)に対応しており、〇は中心画素である。また、
17×17のマトリックスの外側(周辺の1マスの領域
)は後述するエッジ処理で参照する参照画素を保持する
ための領域である。
When the edge processing unit 202 inputs 19 lines of data, it stores the following in a 19×19 matrix:
A 17×17 matrix is formed as shown in FIG. Here, one square of the matrix corresponds to one pixel (one bit of data), and 0 is the center pixel. Also,
The outside of the 17×17 matrix (peripheral one square area) is an area for holding reference pixels to be referred to in edge processing to be described later.

【0020】次に、エッジ処理部202は、17×17
のマトリックス上に×で示したエッジ処理対象位置の画
素をエッジ処理対象として、以下のようにエッジ処理を
施す。エッジ処理は、図4に示すように、エッジ処理対
象画素を×で示した場合、その周辺画素A,B,C,D
を参照して、周辺画素A,B,C,Dのうち3つが黒デ
ータの画素で、且つ、エッジ処理対象画素(×の画素)
が白データの時のみ、エッジ処理対象画素を白データと
し、それ以外の場合にはエッジ処理対象画素を黒データ
に変換する処理である。
Next, the edge processing section 202 processes the 17×17
Edge processing is performed as follows, with pixels at edge processing target positions indicated by x on the matrix as edge processing targets. In edge processing, as shown in FIG. 4, when a pixel to be edge processed is indicated by an
With reference to , three of the surrounding pixels A, B, C, and D are black data pixels, and the edge processing target pixel (× pixel)
This process converts the edge processing target pixel to white data only when is white data, and otherwise converts the edge processing target pixel to black data.

【0021】細らせ処理部203は、エッジ処理部20
2からデータを入力すると、図5に示すようなN×Nの
正方形パターン(ここでは、17×17の正方形パター
ン)を用いて、細らせ処理を実行する。前述したエッジ
処理を施したデータに対して細らせ処理を行うと、図6
に示すように、エッジ部においては、正方形パターンで
処理をした場合と同様の細らせデータが得られ、その他
の部分では、円形パターンで処理をした場合と同様の細
らせデータが得られる。従って、図18及び図19で示
した従来例と比較すると明らかなように、良好な細らせ
データを得ることができる。換言すれば、細らせ処理の
対象データに対して、エッジ部とエッジ部以外とで、処
理に使用するパターンを切り換えて使用することにより
、細らせ処理を良好に行っている。
[0021] The thinning processing unit 203 includes the edge processing unit 20
When data is input from 2, the thinning process is executed using an N×N square pattern (here, a 17×17 square pattern) as shown in FIG. When thinning processing is performed on the data that has been subjected to the edge processing described above, Figure 6
As shown in , thinning data similar to that obtained when processing with a square pattern is obtained at the edge part, and thinning data similar to that obtained when processing with a circular pattern is obtained in other parts. . Therefore, as is clear from a comparison with the conventional example shown in FIGS. 18 and 19, good thinning data can be obtained. In other words, the thinning process is performed satisfactorily by switching the pattern used for processing between the edge portion and the non-edge portion of the target data for the thinning process.

【0022】尚、オリジナルデータは、従来例で示した
図18及び図19のオリジナルデータと同一である。ま
た、実際には、上記の図に示すオリジナルデータ,細ら
せデータ等の閉ループ内は全て黒画素のデータ(黒ベタ
)であるが、説明をわかり易くするために輪郭線のみで
示す。
Note that the original data is the same as the original data in FIGS. 18 and 19 shown in the conventional example. Furthermore, in reality, the closed loops of the original data, thinning data, etc. shown in the above diagram are all black pixel data (solid black), but are shown only by outlines to make the explanation easier to understand.

【0023】〔実施例2〕図7は、図1に示した画像処
理部200の実施例2に関する部分の構成のみを抜き出
したブロック図を示す。尚、基本構成は図1と同様につ
き図示及び説明を省略する。入力データ(画像読取部1
00を介して入力した画像データを2値化したデータ)
を(N+2)ライン分(ここでは、19ライン分)蓄え
て、(N+2)ラインのデータを同時に出力するライン
メモリ部204と、ラインメモリ部204から(N+2
)ラインのデータを入力して、N×M(ここでは、17
×17)のマトリックスを形成し、所定位置の2値デー
タに対してエッジ処理を施すエッジ処理部205と、エ
ッジ処理部205から出力された2値データに対して太
らせ処理を実行する太らせ処理部206とを備えている
[Embodiment 2] FIG. 7 shows a block diagram in which only the configuration of the portion related to Embodiment 2 of the image processing section 200 shown in FIG. 1 is extracted. Note that the basic configuration is the same as that in FIG. 1, so illustration and description will be omitted. Input data (image reading section 1
Data obtained by converting image data input via 00 into binary data)
A line memory unit 204 stores data for (N+2) lines (here, 19 lines) and simultaneously outputs data for the (N+2) lines;
) line data and enter the data of N×M (here, 17
x17) matrix and performs edge processing on the binary data at a predetermined position; and The processing unit 206 is also provided with a processing unit 206.

【0024】以上の構成において、その動作を説明する
。先ず、ラインメモリ部204は入力データ(1ビット
データ)を19ライン分蓄えると、各ラインの先頭から
同期を取りながら同時にデータを出力する。従って、入
力データはラインメモリ部204を介することによって
、19ビットのデータ(即ち、19ライン分のデータ)
として出力される。
The operation of the above configuration will be explained. First, the line memory unit 204 stores input data (1-bit data) for 19 lines, and then simultaneously outputs data while synchronizing from the beginning of each line. Therefore, the input data is 19 bits of data (that is, 19 lines of data) by passing through the line memory section 204.
is output as

【0025】エッジ処理部205は、19ライン分のデ
ータを入力すると、19×19のマトリックスの中に、
図3に示すように17×17のマトリックスを形成する
。ここで、マトリックスの1マスは1画素(1ビットの
データ)に対応しており、〇は中心画素である。また、
17×17のマトリックスの外側(周辺の1マスの領域
)は後述するエッジ処理で参照する参照画素を保持する
ための領域である。
When the edge processing unit 205 inputs 19 lines of data, it stores the following in a 19×19 matrix:
A 17×17 matrix is formed as shown in FIG. Here, one square of the matrix corresponds to one pixel (one bit of data), and 0 is the center pixel. Also,
The outside of the 17×17 matrix (peripheral one square area) is an area for holding reference pixels to be referred to in edge processing to be described later.

【0026】次に、エッジ処理部205は、マトリック
ス上に×で示したエッジ処理対象位置の画素をエッジ処
理対象として、以下のようにエッジ処理を施す。エッジ
処理は、図4に示すように、エッジ処理対象画素を×で
示した場合、その周辺画素A,B,C,Dを参照して、
周辺画素A,B,C,Dのうち何れか1つが黒データの
画素で、且つ、エッジ処理対象画素(×の画素)が黒デ
ータのみ、エッジ処理対象画素を黒データとし、それ以
外の場合にはエッジ処理対象画素を白データに変換する
処理である。
Next, the edge processing unit 205 performs edge processing on the pixels at the edge processing target positions indicated by x on the matrix as edge processing targets. In edge processing, as shown in FIG. 4, when a pixel to be edge processed is indicated by an x, referring to its surrounding pixels A, B, C, and D,
Any one of the surrounding pixels A, B, C, and D is a black data pixel, and the edge processing target pixel (x pixel) is only black data, or the edge processing target pixel is black data, otherwise This process converts pixels to be edge processed into white data.

【0027】太らせ処理部206は、エッジ処理部20
5からデータを入力すると、図5に示すようなN×Nの
正方形パターン(ここでは、17×17の正方形パター
ン)を用いて、太らせ処理を実行する。前述したエッジ
処理を施したデータに対して太らせ処理を行うと、図8
に示すように、エッジ部においては、正方形パターンで
処理をした場合と同様の太らせデータが得られ、その他
の部分では、円形パターンで処理をした場合と同様の太
らせデータが得られる。従って、図20及び図21で示
した従来例と比較すると明らかなように、良好な太らせ
データを得ることができる。尚、オリジナルデータは、
従来例で示した図20及び図21のオリジナルデータと
同一である。また、実際には、上記の図に示すオリジナ
ルデータ,太らせデータ等の閉ループ内は全て黒画素の
データ(黒ベタ)であるが、説明をわかり易くするため
に輪郭線のみで示す。
[0027] The thickening processing unit 206
5, the thickening process is executed using an N×N square pattern (here, a 17×17 square pattern) as shown in FIG. When thickening processing is performed on the data that has been subjected to the edge processing described above, Figure 8
As shown in FIG. 2, thickening data similar to that obtained when processing with a square pattern is obtained in the edge portion, and thickening data similar to that obtained when processing with a circular pattern is obtained in other portions. Therefore, as is clear from the comparison with the conventional example shown in FIGS. 20 and 21, good fattening data can be obtained. In addition, the original data is
This is the same as the original data in FIGS. 20 and 21 shown in the conventional example. Furthermore, in reality, all of the closed loops of the original data, thickened data, etc. shown in the above diagram are black pixel data (solid black), but are shown only as outlines to make the explanation easier to understand.

【0028】前述した実施例1及び実施例2では、図3
で示した×の位置をエッジ対象位置として、エッジ処理
を行ったが、特にこれに限定するものではない。また、
図4で示した参照周辺画素はA,B,C,Dに限定する
ものではなく、参照画素及びその組合せを変えても良い
。更に、図3のマトリックスも正方形である必要はない
In the first and second embodiments described above, FIG.
Although edge processing was performed using the position of the x shown in as the edge target position, the present invention is not particularly limited to this. Also,
The reference peripheral pixels shown in FIG. 4 are not limited to A, B, C, and D, and the reference pixels and their combinations may be changed. Furthermore, the matrix of FIG. 3 need not be square either.

【0029】〔実施例3〕実施例3は、細らせ処理用パ
ターンを用いて細らせ処理を行う複数の細らせ処理部と
、複数の細らせ処理部の少なくとも1つの細らせ処理部
の直前に、複数ラインの2値データを同時に入力して、
N×Mのマトリックスを形成し、マトリックス内の所定
位置の2値データに対してエッジ処理を施すエッジ処理
部を配置したものである。
[Example 3] Example 3 includes a plurality of thinning processing sections that perform thinning processing using a thinning processing pattern, and at least one thinning processing section of the plurality of thinning processing sections. Just before the processing section, input multiple lines of binary data at the same time,
An N×M matrix is formed, and an edge processing unit is arranged to perform edge processing on binary data at a predetermined position within the matrix.

【0030】図9は、図1に示した画像処理部200の
実施例3に関する部分の構成のみを抜き出したブロック
図を示す。尚、基本構成は図1と同様につき図示及び説
明を省略する。入力データ(画像読取部100を介して
入力した画像データを2値化したデータ)を9ライン分
蓄えて、9ラインのデータを同時に出力するラインメモ
リ部207と、ラインメモリ部207から9ラインのデ
ータを入力して、細らせ処理を実行する第1の細らせ処
理部208と、第1の細らせ処理部208の細らせデー
タ(ここでは、1ビットデータ)を11ライン分蓄えて
、11ラインのデータを同時に出力するラインメモリ部
209と、ラインメモリ部209から11ラインのデー
タを入力して、N×M(ここでは、9×9)のマトリッ
クスを形成し、所定位置の2値データに対してエッジ処
理を施すエッジ処理部210と、エッジ処理部210か
ら出力された2値データに対して細らせ処理を実行する
第2の細らせ処理部211とを備えている。
FIG. 9 shows a block diagram in which only the configuration of the portion related to the third embodiment of the image processing section 200 shown in FIG. 1 is extracted. Note that the basic configuration is the same as that in FIG. 1, so illustration and description will be omitted. A line memory unit 207 stores nine lines of input data (binarized image data input via the image reading unit 100) and outputs nine lines of data simultaneously; The first thinning processing unit 208 inputs data and executes thinning processing, and the thinning data (here, 1-bit data) of the first thinning processing unit 208 is processed for 11 lines. A line memory unit 209 stores and simultaneously outputs 11 lines of data, and inputs 11 lines of data from the line memory unit 209 to form an N×M (here, 9×9) matrix, and stores it at a predetermined position. an edge processing unit 210 that performs edge processing on the binary data, and a second thinning processing unit 211 that performs thinning processing on the binary data output from the edge processing unit 210. ing.

【0031】以上の構成において、その動作を説明する
。先ず、ラインメモリ部207は入力データ(1ビット
データ)を9ライン分蓄えると、各ラインの先頭から同
期を取りながら同時にデータを出力する。従って、入力
データはラインメモリ部207を介することによって、
9ビットのデータ(即ち、9ライン分のデータ)として
出力される。
The operation of the above configuration will be explained. First, the line memory unit 207 stores nine lines of input data (1-bit data), and then simultaneously outputs data while synchronizing from the beginning of each line. Therefore, by passing the input data through the line memory section 207,
It is output as 9-bit data (ie, data for 9 lines).

【0032】第1の細らせ処理部208は、図10に示
すような、9×9の正方形パターンを用いて細らせ処理
を実行し、ラインメモリ部209へ細らせデータ(1ビ
ットデータ)を出力する。
The first thinning processing unit 208 executes thinning processing using a 9×9 square pattern as shown in FIG. data).

【0033】ラインメモリ部209は、入力データ(1
ビットデータ)を11ライン分蓄えると、各ラインの先
頭から同期を取りながら同時にデータを出力する。従っ
て、入力データはラインメモリ部209を介することに
よって、11ビットのデータ(即ち、11ライン分のデ
ータ)として出力される。
The line memory section 209 stores input data (1
When 11 lines of data (bit data) are stored, data is output simultaneously while synchronizing from the beginning of each line. Therefore, the input data is output as 11-bit data (that is, data for 11 lines) via the line memory section 209.

【0034】エッジ処理部210は、11ライン分のデ
ータを入力すると、11×11のマトリックスの中に、
図11に示すように9×9のマトリックスを形成する。 ここで、マトリックスの1マスは1画素(1ビットのデ
ータ)に対応しており、〇は中心画素である。また、9
×9のマトリックスの外側(周辺の1マスの領域)は後
述するエッジ処理で参照する参照画素を保持するための
領域である。
When the edge processing unit 210 inputs 11 lines of data, it stores the following in an 11×11 matrix:
A 9×9 matrix is formed as shown in FIG. Here, one square of the matrix corresponds to one pixel (one bit of data), and 0 is the center pixel. Also, 9
The area outside the x9 matrix (one square area around it) is an area for holding reference pixels to be referred to in edge processing, which will be described later.

【0035】次に、エッジ処理部210は、マトリック
ス上に×で示したエッジ処理対象位置の画素をエッジ処
理対象として、以下のようにエッジ処理を施す。エッジ
処理は、図12に示すように、エッジ処理対象画素を×
で示した場合、その周辺画素A,B,C,Dを参照して
、周辺画素A,B,C,Dのうち3つが黒データの画素
で、且つ、エッジ処理対象画素(×の画素)が白データ
の時のみ、エッジ処理対象画素を白データとし、それ以
外の場合にはエッジ処理対象画素を黒データに変換する
処理である。
Next, the edge processing unit 210 performs edge processing on the pixels at the edge processing target positions indicated by x on the matrix as edge processing targets. In edge processing, as shown in FIG.
In the case shown by , referring to the surrounding pixels A, B, C, and D, three of the surrounding pixels A, B, C, and D are black data pixels, and the edge processing target pixel (× pixel) This process converts the edge processing target pixel to white data only when is white data, and otherwise converts the edge processing target pixel to black data.

【0036】第2の細らせ処理部211は、エッジ処理
部210からデータを入力すると、図10に示すような
9×9の正方形パターンを用いて、細らせ処理を実行す
る。前述したエッジ処理を施したデータに対して細らせ
処理を行うと、エッジ部においては、正方形パターンで
処理をした場合と同様の細らせデータが得られ、その他
の部分では、正方形を45度回転させたパターン(図1
1に示す×部分以外で形成されるパターン)で処理をし
た場合と同様の細らせデータが得られる。従って、正方
形パターンと正方形を45度回転させたパターンとで処
理を行っているので、縦,横,斜め線とも良好で、且つ
、エッジ処理を行った細らせデータが得られる。図13
に細らせデータを示す。尚、中間データは第1の細らせ
処理部208から出力された細らせデータを示す。また
、オリジナルデータは、従来例で示した図18及び図1
9のオリジナルデータと同一である。図18及び図19
で示した従来例と比較すると明らかなように、良好な細
らせデータを得ることができる。また、実際には、上記
の図に示すオリジナルデータ,細らせデータ等の閉ルー
プ内は全て黒画素のデータ(黒ベタ)であるが、説明を
わかり易くするために輪郭線のみで示す。
When the second thinning processing section 211 receives data from the edge processing section 210, it executes thinning processing using a 9×9 square pattern as shown in FIG. When thinning processing is performed on the data that has been subjected to the edge processing described above, thinning data similar to that obtained when processing with a square pattern is obtained at the edge part, and the square pattern is reduced to 45% in other parts. Pattern rotated by 1 degree (Fig. 1
The same thinning data as in the case of processing with the pattern formed other than the x portion shown in 1) is obtained. Therefore, since the processing is performed using a square pattern and a pattern obtained by rotating the square by 45 degrees, narrowed data with good vertical, horizontal, and diagonal lines and edge processing can be obtained. Figure 13
Shows the reduced data. Note that the intermediate data indicates thinning data output from the first thinning processing section 208. In addition, the original data is shown in Figures 18 and 1 in the conventional example.
It is the same as the original data of 9. Figures 18 and 19
As is clear from the comparison with the conventional example shown in , it is possible to obtain good thinning data. Furthermore, in reality, the closed loops of the original data, thinning data, etc. shown in the above diagram are all black pixel data (solid black), but are shown only by outlines to make the explanation easier to understand.

【0037】〔実施例4〕実施例4は、太らせ処理用パ
ターンを用いて太らせ処理を行う複数の太らせ処理部と
、複数の太らせ処理部の少なくとも1つの太らせ処理部
の直前に、複数ラインの2値データを同時に入力して、
N×Mのマトリックスを形成し、マトリックス内の所定
位置の2値データに対してエッジ処理を施すエッジ処理
部を配置したものである。
[Embodiment 4] In Embodiment 4, there are a plurality of fattening processing sections that perform fattening processing using a fattening processing pattern, and immediately before at least one fattening processing section of the plurality of fattening processing sections. Input multiple lines of binary data at the same time,
An N×M matrix is formed, and an edge processing unit is arranged to perform edge processing on binary data at a predetermined position within the matrix.

【0038】図14は、図1に示した画像処理部200
の実施例4に関する部分の構成のみを抜き出したブロッ
ク図を示す。尚、基本構成は図1と同様につき図示及び
説明を省略する。入力データ(画像読取部100を介し
て入力した画像データを2値化したデータ)を9ライン
分蓄えて、9ラインのデータを同時に出力するラインメ
モリ部212と、ラインメモリ部212から9ラインの
データを入力して、太らせ処理を実行する第1の太らせ
処理部213と、第1の太らせ処理部213の太らせデ
ータ(ここでは、1ビットデータ)を11ライン分蓄え
て、11ラインのデータを同時に出力するラインメモリ
部214と、ラインメモリ部214から11ラインのデ
ータを入力して、N×M(ここでは、9×9)のマトリ
ックスを形成し、所定位置の2値データに対してエッジ
処理を施すエッジ処理部215と、エッジ処理部215
から出力された2値データに対して太らせ処理を実行す
る第2の太らせ処理部216とを備えている。
FIG. 14 shows the image processing section 200 shown in FIG.
A block diagram is shown in which only the configuration of a portion related to the fourth embodiment is extracted. Note that the basic configuration is the same as that in FIG. 1, so illustration and description will be omitted. A line memory unit 212 stores nine lines of input data (binarized image data input via the image reading unit 100) and outputs nine lines of data simultaneously; The first fattening processing unit 213 inputs data and executes fattening processing, and the fattening data (here, 1-bit data) of the first fattening processing unit 213 is stored for 11 lines. A line memory section 214 simultaneously outputs line data, and 11 lines of data are input from the line memory section 214 to form an N×M (here, 9×9) matrix, and binary data at a predetermined position is input. an edge processing unit 215 that performs edge processing on the edge processing unit 215;
and a second fattening processing section 216 that executes fattening processing on the binary data output from the .

【0039】以上の構成において、その動作を説明する
。先ず、ラインメモリ部212は入力データ(1ビット
データ)を9ライン分蓄えると、各ラインの先頭から同
期を取りながら同時にデータを出力する。従って、入力
データはラインメモリ部212を介することによって、
9ビットのデータ(即ち、9ライン分のデータ)として
出力される。
The operation of the above configuration will be explained. First, the line memory section 212 stores nine lines of input data (1-bit data), and then simultaneously outputs data while synchronizing from the beginning of each line. Therefore, by passing the input data through the line memory section 212,
It is output as 9-bit data (ie, data for 9 lines).

【0040】第1の太らせ処理部213は、図10に示
すような、9×9の正方形パターンを用いて太らせ処理
を実行し、ラインメモリ部214へ太らせデータ(1ビ
ットデータ)を出力する。
The first fattening processing unit 213 executes fattening processing using a 9×9 square pattern as shown in FIG. Output.

【0041】ラインメモリ部214は、入力データ(1
ビットデータ)を11ライン分蓄えると、各ラインの先
頭から同期を取りながら同時にデータを出力する。従っ
て、入力データはラインメモリ部214を介することに
よって、11ビットのデータ(即ち、11ライン分のデ
ータ)として出力される。
The line memory section 214 stores input data (1
When 11 lines of data (bit data) are stored, data is output simultaneously while synchronizing from the beginning of each line. Therefore, the input data is outputted as 11-bit data (that is, data for 11 lines) via the line memory section 214.

【0042】エッジ処理部215は、11ライン分のデ
ータを入力すると、11×11のマトリックスの中に、
図11に示すように9×9のマトリックスを形成する。 ここで、マトリックスの1マスは1画素(1ビットのデ
ータ)に対応しており、〇は中心画素である。また、9
×9のマトリックスの外側(周辺の1マスの領域)は後
述するエッジ処理で参照する参照画素を保持するための
領域である。
When the edge processing unit 215 inputs data for 11 lines, the edge processing unit 215 stores the following data in an 11×11 matrix.
A 9×9 matrix is formed as shown in FIG. Here, one square of the matrix corresponds to one pixel (one bit of data), and 0 is the center pixel. Also, 9
The area outside the x9 matrix (one square area around it) is an area for holding reference pixels to be referred to in edge processing, which will be described later.

【0043】次に、エッジ処理部215は、マトリック
ス上に×で示したエッジ処理対象位置の画素をエッジ処
理対象として、以下のようにエッジ処理を施す。エッジ
処理は、図12に示すように、エッジ処理対象画素を×
で示した場合、その周辺画素A,B,C,Dを参照して
、周辺画素A,B,C,Dのうち何れか1つが黒データ
の画素で、且つ、エッジ処理対象画素(×の画素)が黒
データのみ、エッジ処理対象画素を黒データとし、それ
以外の場合にはエッジ処理対象画素を白データに変換す
る処理である。
Next, the edge processing unit 215 performs edge processing on the pixels at the edge processing target positions indicated by x on the matrix as edge processing targets. In edge processing, as shown in FIG.
In the case indicated by If the pixel (pixel) is only black data, the pixel to be edge processed is black data, and in other cases, the pixel to be edge processed is converted to white data.

【0044】第2の太らせ処理部216は、エッジ処理
部215からデータを入力すると、図10に示すような
9×9の正方形パターンを用いて、太らせ処理を実行す
る。前述したエッジ処理を施したデータに対して太らせ
処理を行うと、エッジ部においては、正方形パターンで
処理をした場合と同様の太らせデータが得られ、その他
の部分では、正方形を45度回転させたパターン(図1
1に示す×部分以外で形成されるパターン)で処理をし
た場合と同様の太らせデータが得られる。従って、正方
形パターンと正方形を45度回転させたパターンとで処
理を行っているので、縦,横,斜め線とも良好で、且つ
、エッジ処理を行った太らせデータが得られる。図15
に太らせデータを示す。尚、中間データは第1の太らせ
処理部213から出力された太らせデータを示す。また
、オリジナルデータは、従来例で示した図18及び図1
9のオリジナルデータと同一である。図18及び図19
で示した従来例と比較すると明らかなように、良好な太
らせデータを得ることができる。また、実際には、上記
の図に示すオリジナルデータ,太らせデータ等の閉ルー
プ内は全て黒画素のデータ(黒ベタ)であるが、説明を
わかり易くするために輪郭線のみで示す。
When the second fattening processing unit 216 receives data from the edge processing unit 215, it executes fattening processing using a 9×9 square pattern as shown in FIG. When the data that has been subjected to the edge processing described above is thickened, the same fattening data is obtained at the edges as when processing with a square pattern, and in other parts, the square is rotated by 45 degrees. pattern (Figure 1
The same fattening data as in the case of processing using the pattern formed other than the x portion shown in 1) is obtained. Therefore, since processing is performed using a square pattern and a pattern obtained by rotating the square by 45 degrees, thickened data with good vertical, horizontal, and diagonal lines and edge processing can be obtained. Figure 15
shows the fattening data. Note that the intermediate data indicates fattening data output from the first fattening processing section 213. In addition, the original data is shown in Figures 18 and 1 in the conventional example.
It is the same as the original data of 9. Figures 18 and 19
As is clear from the comparison with the conventional example shown in , it is possible to obtain good fattening data. Furthermore, in reality, all of the closed loops of the original data, thickened data, etc. shown in the above diagram are black pixel data (solid black), but are shown only as outlines to make the explanation easier to understand.

【0045】前述した実施例3及び実施例4では、図1
1で示した×の位置をエッジ対象位置として、エッジ処
理を行ったが、特にこれに限定するものではない。また
、図12で示した参照周辺画素はA,B,C,Dに限定
するものではなく、参照画素及びその組合せを変えても
良い。更に、図11のマトリックスも正方形である必要
はない。
In the third and fourth embodiments described above, FIG.
Although edge processing was performed using the position of the x shown in 1 as the edge target position, the present invention is not particularly limited to this. Furthermore, the reference peripheral pixels shown in FIG. 12 are not limited to A, B, C, and D, and the reference pixels and their combinations may be changed. Furthermore, the matrix of FIG. 11 need not be square either.

【0046】更に、前述した実施例1から実施例4にお
いて、エッジ処理部は周辺画素を参照する方法であるの
で、ハードウェア処理を容易に実現することができる。
Furthermore, in the first to fourth embodiments described above, since the edge processing section uses a method of referring to peripheral pixels, hardware processing can be easily implemented.

【0047】[0047]

【発明の効果】以上説明したように本発明の画像処理装
置は、所定の画像入力手段を介して入力した画像データ
を2値データに変換し、パターンマッチング法によって
細らせ処理を施す画像処理装置において、複数ラインの
2値データを同時に入力して、N×Mのマトリックスを
形成し、マトリックス内の所定位置の2値データに対し
てエッジ処理を施すエッジ処理手段と、エッジ処理手段
を介して出力された2値データに対して細らせ処理を実
行する細らせ処理手段とを備えたため、良好な細らせデ
ータを得ることができる。
As explained above, the image processing apparatus of the present invention performs image processing in which image data input through a predetermined image input means is converted into binary data and thinned by a pattern matching method. In the device, multiple lines of binary data are input simultaneously to form an N×M matrix, and edge processing is performed on the binary data at a predetermined position in the matrix through an edge processing means and an edge processing means. Since the present invention is provided with a thinning processing means for executing thinning processing on the binary data outputted from the filter, it is possible to obtain good thinning data.

【0048】また、本発明の画像処理装置は、所定の画
像入力手段を介して入力した画像データを2値データに
変換し、パターンマッチング法によって太らせ処理を施
す画像処理装置において、複数ラインの2値データを同
時に入力して、N×Mのマトリックスを形成し、マトリ
ックス内の所定位置の2値データに対してエッジ処理を
施すエッジ処理手段と、エッジ処理手段を介して出力さ
れた2値データに対して太らせ処理を実行する太らせ処
理手段とを備えたため、良好な太らせデータを得ること
ができる。
The image processing apparatus of the present invention is an image processing apparatus that converts image data input through a predetermined image input means into binary data and performs thickening processing using a pattern matching method. An edge processing means that simultaneously inputs binary data to form an N×M matrix and performs edge processing on the binary data at a predetermined position in the matrix, and a binary value outputted through the edge processing means. Since the present invention includes a fattening processing means for carrying out fattening processing on data, good fattening data can be obtained.

【0049】また、本発明の画像処理装置は、所定の画
像入力手段を介して入力した画像データを2値データに
変換し、パターンマッチング法によって細らせ処理を施
す画像処理装置において、細らせ処理用パターンを用い
て細らせ処理を行う複数の細らせ処理手段と、複数の細
らせ処理手段の少なくとも1つの細らせ処理手段の直前
に配置され、複数ラインの2値データを同時に入力して
、N×Mのマトリックスを形成し、マトリックス内の所
定位置の2値データに対してエッジ処理を施すエッジ処
理手段とを備えたため、良好な細らせデータを得ること
ができる。
The image processing apparatus of the present invention is an image processing apparatus that converts image data input through a predetermined image input means into binary data and performs thinning processing using a pattern matching method. A plurality of thinning processing means that perform thinning processing using a thinning processing pattern, and a plurality of thinning processing means arranged immediately before at least one thinning processing means of the plurality of thinning processing means, and a plurality of lines of binary data. are input simultaneously to form an N×M matrix, and edge processing means is provided for performing edge processing on binary data at a predetermined position in the matrix, so that good thinning data can be obtained. .

【0050】更に、本発明の画像処理装置は、所定の画
像入力手段を介して入力した画像データを2値データに
変換し、パターンマッチング法によって太らせ処理を施
す画像処理装置において、太らせ処理用パターンを用い
て太らせ処理を行う複数の太らせ処理手段と、複数の太
らせ処理手段の少なくとも1つの太らせ処理手段の直前
に配置され、複数ラインの2値データを同時に入力して
、N×Mのマトリックスを形成し、マトリックス内の所
定位置の2値データに対してエッジ処理を施すエッジ処
理手段とを備えたため、良好な太らせデータを得ること
ができる。
Furthermore, the image processing apparatus of the present invention is an image processing apparatus that converts image data input through a predetermined image input means into binary data, and performs fattening processing using a pattern matching method. a plurality of fattening processing means for carrying out fattening processing using a pattern for fattening; Since an N×M matrix is formed and edge processing means is provided for performing edge processing on binary data at a predetermined position within the matrix, good fattened data can be obtained.

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

【図1】本発明の画像処理装置の基本構成のブロック図
である。
FIG. 1 is a block diagram of the basic configuration of an image processing apparatus according to the present invention.

【図2】実施例1の画像処理部における種々の画像処理
のうち本発明に関する部分の構成のみを抜き出したブロ
ック図である。
FIG. 2 is a block diagram in which only the configuration of a portion related to the present invention is extracted from among various image processing in the image processing section of the first embodiment.

【図3】エッジ処理部で形成するマトリックスを示す説
明図である。
FIG. 3 is an explanatory diagram showing a matrix formed by an edge processing section.

【図4】エッジ処理を説明するための説明図である。FIG. 4 is an explanatory diagram for explaining edge processing.

【図5】実施例1で使用する17×17の正方形パター
ンを示す説明図である。
FIG. 5 is an explanatory diagram showing a 17×17 square pattern used in Example 1.

【図6】実施例1によって出力される細らせデータを示
す説明図である。
FIG. 6 is an explanatory diagram showing thinning data output by the first embodiment.

【図7】実施例2の画像処理部における種々の画像処理
のうち本発明に関する部分の構成のみを抜き出したブロ
ック図である。
FIG. 7 is a block diagram in which only the configuration of a portion related to the present invention is extracted from among various image processing in the image processing section of the second embodiment.

【図8】実施例2によって出力される太らせデータを示
す説明図である。
FIG. 8 is an explanatory diagram showing fattening data output according to the second embodiment.

【図9】実施例3の画像処理部における種々の画像処理
のうち本発明に関する部分の構成のみを抜き出したブロ
ック図である。
FIG. 9 is a block diagram in which only the configuration of a portion related to the present invention is extracted from among various image processing in the image processing unit of the third embodiment.

【図10】実施例3で使用する9×9の正方形パターン
を示す説明図である。
10 is an explanatory diagram showing a 9×9 square pattern used in Example 3. FIG.

【図11】エッジ処理部で形成するマトリックスを示す
説明図である。
FIG. 11 is an explanatory diagram showing a matrix formed by an edge processing section.

【図12】エッジ処理を説明するための説明図である。FIG. 12 is an explanatory diagram for explaining edge processing.

【図13】実施例3によって出力される細らせデータを
示す説明図である。
FIG. 13 is an explanatory diagram showing thinning data output by the third embodiment.

【図14】実施例4の画像処理部における種々の画像処
理のうち本発明に関する部分の構成のみを抜き出したブ
ロック図である。
FIG. 14 is a block diagram in which only the configuration of a portion related to the present invention is extracted from among various image processing in the image processing section of the fourth embodiment.

【図15】実施例4によって出力される太らせデータを
示す説明図である。
FIG. 15 is an explanatory diagram showing fattening data output according to the fourth embodiment.

【図16】従来のパターンマッチング法で使用する正方
形パターンを示す説明図である。
FIG. 16 is an explanatory diagram showing a square pattern used in a conventional pattern matching method.

【図17】従来のパターンマッチング法で使用する円形
パターンを示す説明図である。
FIG. 17 is an explanatory diagram showing a circular pattern used in a conventional pattern matching method.

【図18】正方形パターンを用いた場合の細らせ処理の
従来例を示す説明図である。
FIG. 18 is an explanatory diagram showing a conventional example of thinning processing when a square pattern is used.

【図19】円形パターンを用いた場合の細らせ処理の従
来例を示す説明図である。
FIG. 19 is an explanatory diagram showing a conventional example of thinning processing when a circular pattern is used.

【図20】正方形パターンを用いた場合の太らせ処理の
従来例を示す説明図である。
FIG. 20 is an explanatory diagram showing a conventional example of thickening processing when a square pattern is used.

【図21】円形パターンを用いた場合の太らせ処理の従
来例を示す説明図である。
FIG. 21 is an explanatory diagram showing a conventional example of thickening processing when a circular pattern is used.

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

100    画像読取部             
       200    画像処理部 201    ラインメモリ部           
     202    エッジ処理部 203    細らせ処理部            
      204    ラインメモリ部 205    エッジ処理部            
      206    太らせ処理部 207    ラインメモリ部           
     208    第1の細らせ処理部 209    ラインメモリ部           
     210    エッジ処理部 211    第2の細らせ処理部         
   212    ラインメモリ部 213    第1の太らせ処理部         
   214    ラインメモリ部 215    エッジ処理部            
      216    第2の太らせ処理部 300    画像記録部
100 Image reading section
200 Image processing section 201 Line memory section
202 Edge processing section 203 Thinning processing section
204 Line memory section 205 Edge processing section
206 Thickening processing section 207 Line memory section
208 First thinning processing section 209 Line memory section
210 Edge processing section 211 Second thinning processing section
212 Line memory section 213 First thickening processing section
214 Line memory section 215 Edge processing section
216 Second thickening processing section 300 Image recording section

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】  所定の画像入力手段を介して入力した
画像データを2値データに変換し、パターンマッチング
法によって細らせ処理を施す画像処理装置において、複
数ラインの2値データを同時に入力して、N×Mのマト
リックスを形成し、前記マトリックス内の所定位置の2
値データに対してエッジ処理を施すエッジ処理手段と、
前記エッジ処理手段を介して出力された2値データに対
して細らせ処理を実行する細らせ処理手段とを備えたこ
とを特徴とする画像処理装置。
Claim 1: An image processing device that converts image data input through a predetermined image input means into binary data and performs thinning processing using a pattern matching method, which simultaneously inputs multiple lines of binary data. to form an N×M matrix, and 2
edge processing means for performing edge processing on value data;
An image processing apparatus comprising: thinning processing means for performing thinning processing on the binary data outputted via the edge processing means.
【請求項2】  所定の画像入力手段を介して入力した
画像データを2値データに変換し、パターンマッチング
法によって太らせ処理を施す画像処理装置において、複
数ラインの2値データを同時に入力して、N×Mのマト
リックスを形成し、前記マトリックス内の所定位置の2
値データに対してエッジ処理を施すエッジ処理手段と、
前記エッジ処理手段を介して出力された2値データに対
して太らせ処理を実行する太らせ処理手段とを備えたこ
とを特徴とする画像処理装置。
[Claim 2] An image processing device that converts image data input through a predetermined image input means into binary data and performs fattening processing using a pattern matching method, which simultaneously inputs multiple lines of binary data. , form an N×M matrix, and 2 at a given position in said matrix.
edge processing means for performing edge processing on value data;
An image processing apparatus comprising: fattening processing means for carrying out fattening processing on the binary data outputted via the edge processing means.
【請求項3】  所定の画像入力手段を介して入力した
画像データを2値データに変換し、パターンマッチング
法によって細らせ処理を施す画像処理装置において、細
らせ処理用パターンを用いて細らせ処理を行う複数の細
らせ処理手段と、前記複数の細らせ処理手段の少なくと
も1つの細らせ処理手段の直前に配置され、複数ライン
の2値データを同時に入力して、N×Mのマトリックス
を形成し、前記マトリックス内の所定位置の2値データ
に対してエッジ処理を施すエッジ処理手段とを備えたこ
とを特徴とする画像処理装置。
3. An image processing apparatus that converts image data input through a predetermined image input means into binary data and performs thinning processing using a pattern matching method. A plurality of thinning processing means for performing thinning processing are arranged immediately before at least one thinning processing means of the plurality of thinning processing means, and binary data of a plurality of lines are simultaneously inputted. An image processing device comprising: an edge processing unit that forms a xM matrix and performs edge processing on binary data at a predetermined position within the matrix.
【請求項4】  所定の画像入力手段を介して入力した
画像データを2値データに変換し、パターンマッチング
法によって太らせ処理を施す画像処理装置において、太
らせ処理用パターンを用いて太らせ処理を行う複数の太
らせ処理手段と、前記複数の太らせ処理手段の少なくと
も1つの太らせ処理手段の直前に配置され、複数ライン
の2値データを同時に入力して、N×Mのマトリックス
を形成し、前記マトリックス内の所定位置の2値データ
に対してエッジ処理を施すエッジ処理手段とを備えたこ
とを特徴とする画像処理装置。
4. An image processing apparatus that converts image data input through a predetermined image input means into binary data and performs fattening processing using a pattern matching method, which performs fattening processing using a pattern for fattening processing. a plurality of fattening processing means for performing the above-mentioned fattening processing means; and a plurality of fattening processing means arranged immediately before at least one fattening processing means of the plurality of fattening processing means, and simultaneously inputting binary data of a plurality of lines to form an N×M matrix. and edge processing means for performing edge processing on binary data at a predetermined position within the matrix.
JP3104624A 1991-04-10 1991-04-10 Image processing device Expired - Fee Related JP2938217B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3104624A JP2938217B2 (en) 1991-04-10 1991-04-10 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3104624A JP2938217B2 (en) 1991-04-10 1991-04-10 Image processing device

Publications (2)

Publication Number Publication Date
JPH04312183A true JPH04312183A (en) 1992-11-04
JP2938217B2 JP2938217B2 (en) 1999-08-23

Family

ID=14385598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3104624A Expired - Fee Related JP2938217B2 (en) 1991-04-10 1991-04-10 Image processing device

Country Status (1)

Country Link
JP (1) JP2938217B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350680A (en) * 2005-06-16 2006-12-28 Fuji Xerox Co Ltd Image processing apparatus, image processing method, and computer program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350680A (en) * 2005-06-16 2006-12-28 Fuji Xerox Co Ltd Image processing apparatus, image processing method, and computer program

Also Published As

Publication number Publication date
JP2938217B2 (en) 1999-08-23

Similar Documents

Publication Publication Date Title
US4658428A (en) Image recognition template generation
US6226400B1 (en) Defining color borders in a raster image by identifying and breaking contrast ties
US4665554A (en) Apparatus and method for implementing dilation and erosion transformations in digital image processing
EP0316135A2 (en) Producing images from tomographic data
JP2591984B2 (en) Pattern recognition device
JPH0525144B2 (en)
US6141017A (en) Method and apparatus for scaling an array of digital data using fractal transform
EP0069542B1 (en) Data processing arrangement
JP2857292B2 (en) Apparatus for realizing two-dimensional digital filter
JP2938217B2 (en) Image processing device
US20090046953A1 (en) Image Processing Apparatus And Method
JPH01303578A (en) Picture converting device
JPH07118002B2 (en) Image processing device
US8180169B2 (en) System and method for multi-scale sigma filtering using quadrature mirror filters
JP2822792B2 (en) Image noise removal device
JP2613589B2 (en) Mask processing method
JPH0562798B2 (en)
JP2575641B2 (en) Image editing processing method
JPH0363885A (en) Filtering system
JP3344791B2 (en) Line segment extraction method
JPS63161774A (en) Expanding method for binary picture by picture element density conversion
JPS62210596A (en) Split pattern matching method
JPH02118782A (en) Method for processing picture
JPS59172066A (en) Painting circuit
JPS62140176A (en) Image editing processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees