JPH05143733A - Contour extracting device - Google Patents
Contour extracting deviceInfo
- Publication number
- JPH05143733A JPH05143733A JP3302123A JP30212391A JPH05143733A JP H05143733 A JPH05143733 A JP H05143733A JP 3302123 A JP3302123 A JP 3302123A JP 30212391 A JP30212391 A JP 30212391A JP H05143733 A JPH05143733 A JP H05143733A
- Authority
- JP
- Japan
- Prior art keywords
- contour
- extracted
- exclusive
- pixel
- pixel group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000605 extraction Methods 0.000 abstract description 16
- 238000000034 method Methods 0.000 description 26
- 238000010586 diagram Methods 0.000 description 16
- 238000001514 detection method Methods 0.000 description 11
- 230000003936 working memory Effects 0.000 description 3
- 230000015654 memory Effects 0.000 description 2
- 239000013598 vector Substances 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- Image Analysis (AREA)
Abstract
(57)【要約】
【目的】 ハードウェアによる輪郭内領域の塗りつぶ
し、及び排他的論理和の演算による内側に存在する輪郭
に囲まれた領域の抽出を併せもつ手段によって、高速か
つ容易に全ての輪郭を抽出することを目的とする。
【構成】 量子化された画像データの、輪郭を抽出する
手段の内、注目する画像データの、抽出されている輪郭
によって囲まれている閉領域を塗りつぶした画素群と、
注目する閉領域との排他的論理和をとる手段、及び、排
他的論理和をとることによって抽出された、注目する閉
領域の輪郭の内側に存在する、塗りつぶしの行われない
閉領域の輪郭抽出を逐次行う手段により構成されている
ことを特徴としている。
(57) [Abstract] [Purpose] All the areas inside the contour are filled by hardware and the area enclosed by the contour inside by the operation of exclusive OR is extracted. The purpose is to extract the contour. A pixel group in which a closed region of the image data of interest, which is surrounded by the extracted contour, is filled, among the means for extracting the contour of the quantized image data,
Means for taking exclusive OR with the closed area of interest, and contour extraction of closed area existing inside the outline of the closed area of interest extracted by taking exclusive OR It is characterized in that it is configured by means for sequentially performing.
Description
【0001】[0001]
【産業上の利用分野】本発明はコンピュータ周辺機器の
一つである、印刷装置、表示装置に係わり、詳しくは文
字、画像を表す2値化画像の輪郭抽出の装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus and a display apparatus, which are one of computer peripherals, and more particularly to an apparatus for extracting contours of a binarized image representing characters and images.
【0002】[0002]
【従来の技術】従来、2値化画像の内側輪郭の検出に
は、逐次検出法が用いられた。これは、以下の3つの手
順を持つものである。2. Description of the Related Art Conventionally, a sequential detection method has been used to detect the inner contour of a binarized image. This has the following three procedures.
【0003】(1)縦横いずれかを走査方向と定め、走
査方向に画素の1/0を順次検査し、白領域を求める手
順。(1) A procedure of determining either the vertical or horizontal direction as the scanning direction, sequentially inspecting 1/0 of pixels in the scanning direction, and obtaining a white area.
【0004】(2)求めた白領域に内の1つの点から出
発し、上、下、右、左の各方向に白領域を探査する手
順。(2) A procedure for starting a white area in the obtained white area and searching the white area in the upward, downward, right, and left directions.
【0005】(3)現在探査中の白領域が、すでに求め
た白領域の一部と、同一座標の点を含んでいた場合、両
白領域が、同一であることを登録する手順。(3) A procedure for registering that both white regions are the same when the white region currently being searched includes a part of the already obtained white region and a point having the same coordinates.
【0006】上記の3手順を逐次行うことで、白領域の
検出をすれば、閉じた黒領域に含まれる内側輪郭の検出
が可能となる。例えば、「B」という文字を形成する画
素群には、内側に2つの白領域が存在する。上記3手順
の繰り返しを行うことで、互いに独立した2つの白領域
の検出が可能となる。図17にこの例の説明図を示す。
矢印40の方向への走査により第1の白領域が検出さ
れ、矢印41、42で検出される白領域は、第1の白領
域と同一であると判断される。これに対し、矢印43方
向の走査で、第2の白領域が検出される。If the white area is detected by sequentially performing the above three steps, the inner contour included in the closed black area can be detected. For example, the pixel group forming the character “B” has two white areas inside. By repeating the above three procedures, it is possible to detect two white areas independent of each other. FIG. 17 shows an explanatory diagram of this example.
The first white area is detected by scanning in the direction of arrow 40, and the white areas detected by arrows 41 and 42 are determined to be the same as the first white area. On the other hand, the second white area is detected by scanning in the direction of arrow 43.
【0007】一方「C」という文字を形成する画素群に
同様の手段を用いれば、白領域が、走査開始の座標を含
むものであることが検出されるため、閉じた黒領域の内
側の輪郭が存在しないと判断できる。On the other hand, if the same means is used for the pixel group forming the character "C", it is detected that the white region includes the coordinates of the start of scanning, so that the outline inside the closed black region exists. You can decide not to.
【0008】[0008]
【発明が解決しようとする課題】上記の例からも明らか
なように、従来の方法では、矢印40〜43等のよう
に、縦方向の画素数に同一の回数だけ走査を実行する必
要があった。この場合、処理時間を多く必要とするとい
う問題があった。As is apparent from the above example, in the conventional method, it is necessary to perform the scanning the same number of times in the number of pixels in the vertical direction as indicated by arrows 40 to 43 and the like. It was In this case, there is a problem that a lot of processing time is required.
【0009】本発明は、この様な従来技術の問題点を解
決するために発明されたもので、ハードウェアによる輪
郭内領域の塗りつぶし、及び排他的論理和の演算による
内側に存在する輪郭に囲まれた領域の抽出を併せもつ手
段によって、高速かつ容易に全ての輪郭を抽出すること
を目的とする。The present invention has been invented in order to solve the above-mentioned problems of the prior art, and it is surrounded by the outline existing inside by the filling of the area within the outline by the hardware and the exclusive OR operation. It is an object to extract all contours at high speed and easily by a means that also combines the extraction of the extracted regions.
【0010】[0010]
【課題を解決するための手段】本発明は量子化された画
像データの、輪郭を抽出する装置であって、抽出されて
いる輪郭の閉領域を塗りつぶした画素群と、注目する閉
領域との排他的論理和をとる手段と、排他的論理和をと
ることによって抽出され、注目する閉領域の輪郭の内側
に存在する、塗りつぶしの行われない閉領域の輪郭抽出
を逐次行う手段とから構成されたことを特徴とする。SUMMARY OF THE INVENTION The present invention is a device for extracting the outline of quantized image data, which comprises a pixel group in which a closed region of the extracted outline is filled and a closed region of interest. It is composed of a means for taking an exclusive OR, and a means for sequentially extracting the contour of a closed region which is extracted by taking the exclusive OR and exists inside the contour of the closed region of interest and which is not filled. It is characterized by
【0011】[0011]
【作用】本発明の上記装置によれば、2値化画像の輪郭
抽出において、特に内側の輪郭を抽出する場合、直前に
抽出された輪郭に囲まれた閉領域を、ハードウェアによ
り塗りつぶし、得られた画素群と元の画素群との排他的
論理和をとることによって、本来塗りつぶしの行われな
い白領域を抽出できる。さらに、この領域についても同
様な処理を行い内側の輪郭も抽出する。上記の方法を繰
り返すことにより、全ての輪郭を抽出する。According to the above apparatus of the present invention, in extracting the contour of a binarized image, particularly when extracting the inner contour, a closed area surrounded by the contour extracted immediately before is filled by hardware to obtain By taking the exclusive OR of the selected pixel group and the original pixel group, it is possible to extract a white area that is not originally filled. Further, the same processing is performed for this area, and the inner contour is also extracted. All contours are extracted by repeating the above method.
【0012】[0012]
【実施例】以下、本発明について、実施例に基づき詳細
に説明する。図1は、本発明の輪郭抽出の構成図であ
る。図中51は、元画像メモリであり、元データは、文
字、画像を表す一般の2値化画像データが格納されてい
る。52は、フローチャート図3で後述する輪郭抽出手
段を実行する輪郭抽出部である。元画像データの一番外
側の輪郭がこの処理によって抽出され、次にこの画素デ
ータを元にして、塗り潰し部53において、奇数偶数規
則に従った既知の方法により塗り潰しを行う。その結果
得られた画素データを1次作業メモリ54に格納し、さ
らに元画像の画素データをそのまま2次作業メモリ55
に格納する。ここで、塗り潰しの行われる黒領域の画素
を1塗り潰しの行われない白領域の画素を0とする。バ
ンド読み取り部56a及び56bによって、それぞれの
作業メモリ54、55から画素データを読み取り、排他
的論理和回路57によって両データの排他的論理和をと
る。これより、輪郭抽出部52で抽出された輪郭の内側
に含まれている最初の閉領域が検出できる。バンド書き
込み部58は、この検出された画素データを、イメージ
メモリ59に書き込む。これらの一連の行程は、出力装
置の分解能に対し、必要な画素数まで繰り返される。ま
た、画像の全ての範囲にわたって、排他的論理和回路5
7によって画素群を抽出した結果、0でない画素が存在
しなかった場合、全ての輪郭が抽出されたことは明かで
あり、この行程は終了する。以上の処理を行うためのプ
ログラムは、ROM61上に記述されており、アドレス
バス62、データバス63を介して、マイクロプロセッ
サユニット(MPU)が制御を行っている。EXAMPLES The present invention will be described in detail below based on examples. FIG. 1 is a configuration diagram of contour extraction of the present invention. In the figure, reference numeral 51 denotes an original image memory, and the original data stores general binary image data representing characters and images. Reference numeral 52 is a contour extraction unit that executes a contour extraction unit described later in FIG. The outermost contour of the original image data is extracted by this processing, and then, based on this pixel data, the filling section 53 performs filling by a known method according to the odd-even rule. The pixel data obtained as a result is stored in the primary working memory 54, and the pixel data of the original image is stored as it is in the secondary working memory 55.
To store. Here, the pixels in the black area to be filled are set to 1 and the pixels in the white area to be not filled are set to 0. The band reading units 56a and 56b read the pixel data from the respective working memories 54 and 55, and the exclusive OR circuit 57 takes the exclusive OR of both data. From this, the first closed region included inside the contour extracted by the contour extraction unit 52 can be detected. The band writing unit 58 writes the detected pixel data in the image memory 59. These series of steps are repeated up to the required number of pixels for the resolution of the output device. In addition, the exclusive OR circuit 5 is provided over the entire range of the image.
If there is no non-zero pixel as a result of extracting the pixel group by 7, it is clear that all contours have been extracted, and this process ends. A program for performing the above processing is written in the ROM 61, and is controlled by the microprocessor unit (MPU) via the address bus 62 and the data bus 63.
【0013】図2は、本発明の輪郭抽出の基本構成を示
すフローチャートである。元データは、文字、画像を表
す一般の2値化画像データを用いる。この装置において
は、半導体ROM等に記録された、ドットによって形成
された元データが、図中(1)において読み取られる。
次に、検出領域内を順次調べることにより、注目する画
素を取り出す。ドットによって形成された元の画素群の
データをD0とする(2)。この取り出した画素を開始
点として輪郭抽出を実行する(3)。FIG. 2 is a flowchart showing the basic structure of contour extraction according to the present invention. As the original data, general binary image data representing characters and images is used. In this device, original data formed by dots, which is recorded in a semiconductor ROM or the like, is read at (1) in the figure.
Next, the pixel of interest is extracted by sequentially examining the inside of the detection area. The data of the original pixel group formed by the dots is D0 (2). Contour extraction is executed using the extracted pixel as a starting point (3).
【0014】輪郭抽出は、ANIL K.JAINの報
告にある方法(ANILK.JAIN ”FUNDAM
ENTALS OF DIGITAL IMAGE P
ROCESSING” Prentice−Hall
1989)に従う。公知ではあるが、簡単に述べる。J
AINの方法は、2値化画像について、図3のフローチ
ャートのように輪郭部分の座標を決める。ここでは、表
示されるべき画素が値”1”をとり、表示されない画素
は、値”0”をとるものとする。まず注目する画素を取
り出す(10)。画素を取り出したとき、検出領域をす
でに一周していれば、処理は終了である(11)。それ
以外の場合は、注目する画素の値が1であるか判断し
(12)、1であれば、左周りに進行方向を決めて1ス
テップ進む(13)。判断(12)の結果1でないとき
は、右周りに進行方向を決めて、1ステップ進む(1
4)。この後、処理(10)に戻り、同様に繰り返す。
この処理の様子を、図4に図示した。まず検出領域の境
界15の中を、点群16で示される画素群を順次調べ、
最初の0でない画素を捜し出す。これは、0でない画素
群18の中に含まれる画素である。その後、図3(フロ
ーチャート)の方法を用いると、折れ線17に示される
軌跡に添って、輪郭部分に位置する画素群が検出され
る。処理(13)が行なわれる度に、その位置座標を記
録し続ければ、輪郭部分の画素の位置座標の配列が得ら
れる。この位置座標の配列の隣り合う要素間で、距離の
差分をとれば、水平・垂直方法の差分から、{上、下、
右、左}の4方向からなるベクトルの配列を作ることが
できる。このベクトルの配列を辿れば、図5の折れ線1
9の様に輪郭線を取り出すことができる。The contour extraction is performed by ANIL K. Method reported by JAIN (ANILK.JAIN "FUNDAM
ENTALS OF DIGITAL IMAGE P
LOCSING "Prentice-Hall
1989). It is known, but briefly described. J
In the AIN method, the coordinates of the contour portion of the binarized image are determined as shown in the flowchart of FIG. Here, it is assumed that the pixel to be displayed has the value “1” and the pixel that is not displayed has the value “0”. First, the pixel of interest is taken out (10). When the pixel is taken out, if the detection area has already made one round, the processing ends (11). In other cases, it is judged whether the value of the pixel of interest is 1 (12), and if it is 1, the traveling direction is determined to the left and the process proceeds by one step (13). If the result of the judgment (12) is not 1, the direction of travel is determined clockwise and the process proceeds one step (1
4). After that, the process returns to the process (10) and the same process is repeated.
The state of this processing is shown in FIG. First, in the boundary 15 of the detection area, the pixel groups indicated by the point group 16 are sequentially examined,
Find the first non-zero pixel. This is a pixel included in the non-zero pixel group 18. After that, when the method of FIG. 3 (flow chart) is used, the pixel group located in the contour portion is detected along the locus shown by the polygonal line 17. If the position coordinates are continuously recorded each time the process (13) is performed, an array of position coordinates of pixels in the contour portion can be obtained. If the distance difference is calculated between the adjacent elements of this position coordinate array, the difference between the horizontal and vertical methods is {{up, down,
An array of vectors consisting of four directions of right and left can be created. If you trace the array of this vector, you can see the polygonal line 1 in FIG.
The contour line can be taken out as shown in 9.
【0015】以上に延べた手段を用いて抽出した輪郭に
よって囲まれた閉領域の塗りつぶしを行う(4)。この
ときのドットの画素群のデータをD1としておく。塗り
つぶし方法は、周知である奇数偶数規則に従った方法を
採用した。本実施例では、ハードウェアにより塗りつぶ
しを行うものである。The closed area surrounded by the contours extracted by the above-mentioned means is filled (4). The data of the pixel group of dots at this time is set as D1. As the filling method, a method according to the well-known odd-even rule was adopted. In this embodiment, the filling is performed by hardware.
【0016】次に、上記手段によって抽出されたデータ
D1と元データD0の排他的論理和をとる(5)。後述
の説明のために、ここで求められたデータを再びD0と
する。つまり、もし、既に抽出された輪郭の閉領域に含
まれる輪郭が存在する場合、排他的論理和をとることに
よって、内側にある輪郭に囲まれる閉領域を取り出すこ
とが可能である。従って、再度、注目する画素があるか
どうかを調べ(6)、存在しない場合は終了となる。し
かし、存在した場合、今度は、上述で生成された画素群
の輪郭抽出を行う(3)。この動作を注目する画素がな
くなるまで行うことによって、全ての輪郭を抽出するこ
とが出来る。Next, the exclusive OR of the data D1 and the original data D0 extracted by the above means is calculated (5). The data obtained here will be referred to as D0 again for the following description. That is, if there is a contour included in the closed area of the already extracted contour, it is possible to extract the closed area surrounded by the inner contour by taking the exclusive OR. Therefore, it is checked again whether there is a pixel of interest (6), and if it does not exist, the process ends. However, if it exists, the contour extraction of the pixel group generated above is performed (3). By performing this operation until there are no more pixels of interest, all contours can be extracted.
【0017】さらに、図2における処理を以降に詳細に
延べる。Further, the processing in FIG. 2 will be described in detail later.
【0018】図6において、最初の0でない画素を求め
る。まず検出領域の境界25の中に存在する、これから
抽出すべき、ドット読み取り手段により取り出された、
元データである画素群27を、図7において、順次画素
を調べる。その後さらに、図3に示した処理を施すこと
により、検出処理の軌跡26に沿って輪郭部分に位置す
る画素群が検出される。輪郭部分の画素の位置座標の配
列を取得すれば、図8の輪郭線28を取り出すことが出
来る。In FIG. 6, the first non-zero pixel is determined. First, it is present in the boundary 25 of the detection area and should be extracted from now on.
The pixel group 27 which is the original data is sequentially examined in FIG. After that, by further performing the processing shown in FIG. 3, the pixel group located in the contour portion along the locus 26 of the detection processing is detected. The contour line 28 in FIG. 8 can be extracted by obtaining the array of position coordinates of pixels in the contour portion.
【0019】次に、奇数偶数規則に従った方法の塗りつ
ぶしのハードウェアを使用して、図8の輪郭線28で囲
まれる閉領域の塗りつぶしを行う。この画素群を図9の
29に示す。図6の検出する元データの画素群と、今求
められた輪郭の内部を塗りつぶした画素群との排他的論
理和をとると、図10の31に示す画素群が抽出でき
る。この画素群は、元データにおいて、塗りつぶしの実
施されない閉領域である。Next, using the filling hardware of the method according to the odd-even rule, the closed area surrounded by the contour line 28 in FIG. 8 is filled. This pixel group is shown at 29 in FIG. If the exclusive OR of the pixel group of the original data to be detected in FIG. 6 and the pixel group in which the inside of the contour thus obtained is filled in, the pixel group indicated by 31 in FIG. 10 can be extracted. This pixel group is a closed region in the original data, which is not filled.
【0020】今、排他的論理和をとることによって、本
来塗りつぶしをされない部分領域が抽出できた。ここ
で、この閉領域を図6の画素群27と同一の状態にある
ものと考えることができる。本実施例では、元データで
ある注目する領域の内側に、輪郭を伴う領域が複数個存
在している場合について行っているが、通常必ず存在す
るとは限らないのは明かであり、その場合には、直ちに
終了となる。図10に戻り、再び順次検出領域の画素を
調べ最初に0でない画素を捜す。後は、前述した方法で
図7の処理と同様に、図11の検出処理の軌跡30に沿
って輪郭部分に位置する画素群が検出できる。さらに図
12に示すように内側領域の輪郭線32も抽出すること
ができる。この輪郭に囲まれた閉領域を、塗りつぶしハ
ードウェアを用いて塗りつぶした画素群(図13の3
3)と、前回、排他的論理和演算によって得られた画素
群(図10の31)との排他的論理和をとると、図14
に示す様に、最後の求めるべき輪郭線が囲む閉領域34
を抽出することができる。この、最後の画素群34につ
いても、図3に示したような処理を行えば(図15にそ
の処理過程を示す)、輪郭線(図16の36)が求めら
れる。このように、注目する画素データの内部に、幾つ
も求めるべき輪郭線が存在したとしても、上記の動作を
複数回繰り返すことによって、最終的に全ての輪郭線を
求めることが可能である。Now, by taking the exclusive OR, it is possible to extract the partial area which is not originally filled. Here, this closed region can be considered to be in the same state as the pixel group 27 in FIG. In the present embodiment, the case where there are a plurality of regions with contours inside the region of interest, which is the original data, is clear, but it is clear that they usually do not always exist. Ends immediately. Returning to FIG. 10, the pixels in the detection area are sequentially examined again, and the first non-zero pixel is searched. After that, similarly to the processing of FIG. 7, the pixel group located in the contour portion can be detected along the locus 30 of the detection processing of FIG. Furthermore, as shown in FIG. 12, the contour line 32 of the inner area can also be extracted. The closed area surrounded by this contour is filled with a pixel group using the filling hardware (3 in FIG. 13).
When the exclusive OR of 3) and the pixel group (31 in FIG. 10) obtained by the exclusive OR calculation last time is taken,
As shown in FIG.
Can be extracted. Also for this last pixel group 34, if the processing shown in FIG. 3 is performed (the processing process is shown in FIG. 15), the contour line (36 in FIG. 16) is obtained. As described above, even if many contour lines to be obtained exist inside the pixel data of interest, it is possible to finally obtain all the contour lines by repeating the above operation a plurality of times.
【0021】[0021]
【発明の効果】以上の実施例から明らかなように、本発
明の輪郭抽出手段によれば、内側の白領域の検出が容易
にできるため、2値化画像における全ての輪郭が、従来
の、走査方向の画素数に同一の回数だけ走査を実行する
逐次検出法を行うよりも高速に抽出でき、かつハードウ
ェアに置き換えることも容易であると言える。As is apparent from the above embodiments, the contour extracting means of the present invention makes it easy to detect the inner white area, so that all contours in the binarized image are It can be said that the extraction can be performed faster than the sequential detection method in which the same number of scans is performed for the number of pixels in the scanning direction and the hardware can be easily replaced.
【図1】本発明の輪郭抽出手段の構成図。FIG. 1 is a block diagram of a contour extracting means of the present invention.
【図2】本発明の処理の流れ図。FIG. 2 is a flow chart of processing of the present invention.
【図3】輪郭線抽出法の流れ図。FIG. 3 is a flow chart of a contour line extraction method.
【図4】輪郭線抽出法の説明図。FIG. 4 is an explanatory diagram of a contour line extraction method.
【図5】抽出された輪郭線の説明図。FIG. 5 is an explanatory diagram of an extracted contour line.
【図6】輪郭抽出する元データの説明図。FIG. 6 is an explanatory diagram of original data for contour extraction.
【図7】最初の輪郭抽出の過程の説明図。FIG. 7 is an explanatory diagram of a process of first contour extraction.
【図8】最初に抽出された輪郭線の説明図。FIG. 8 is an explanatory diagram of a contour line extracted first.
【図9】最初に抽出された輪郭線の内部の塗りつぶしの
説明図。FIG. 9 is an explanatory diagram of filling the inside of the first extracted contour line.
【図10】元データと、最初に抽出された輪郭線の内部
を塗りつぶした画素データとの、排他的論理和の説明
図。FIG. 10 is an explanatory diagram of an exclusive OR of original data and pixel data in which the inside of the first extracted contour line is filled.
【図11】元データの内部の輪郭線抽出の過程の説明
図。FIG. 11 is an explanatory diagram of a process of extracting an internal contour line of original data.
【図12】抽出された内部の輪郭線の1つの説明図。FIG. 12 is an explanatory diagram of one of the extracted internal contour lines.
【図13】抽出された、内部の輪郭線の1つに囲まれた
閉領域の説明図。FIG. 13 is an explanatory diagram of the extracted closed area surrounded by one of the internal contour lines.
【図14】排他的論理和をとることによって、最初に得
られた画素データと、内部の輪郭線の1つに囲まれた閉
領域との排他的論理和の説明図。FIG. 14 is an explanatory diagram of an exclusive OR of the pixel data initially obtained by taking the exclusive OR and a closed region surrounded by one of the internal contour lines.
【図15】元データの内部の輪郭線抽出の過程の説明
図。FIG. 15 is an explanatory diagram of a process of extracting an internal contour line of original data.
【図16】抽出された内部の輪郭線の1つの説明図。FIG. 16 is an explanatory diagram of one of the extracted internal contour lines.
【図17】従来の内側輪郭の検出手段の説明図。FIG. 17 is an explanatory view of a conventional inner contour detecting means.
25 検出領域の境界 26 検出処理の軌跡 27 元データの画素群 28 輪郭線 29 塗りつぶし実行後の画素群 31 排他的論理和演算による画素群 32 内側領域の輪郭線 52 輪郭抽出部 53 塗り潰し部 57 排他的論理和回路 25 Boundary of Detection Area 26 Trajectory of Detection Processing 27 Pixel Group of Original Data 28 Contour Line 29 Pixel Group after Filling Execution 31 Pixel Group by Exclusive OR Operation 32 Contour Line of Inner Area 52 Contour Extraction Section 53 Filling Section 57 Exclusive Logical OR circuit
Claims (1)
出する装置であって、抽出されている輪郭の閉領域を塗
りつぶした画素群と、注目する閉領域との排他的論理和
をとる手段と、排他的論理和をとることによって抽出さ
れ、注目する閉領域の輪郭の内側に存在する、塗りつぶ
しの行われない閉領域の輪郭抽出を行う手段と、から構
成されることを特徴とする輪郭抽出装置。1. A device for extracting a contour of quantized image data, said means for obtaining an exclusive OR of a pixel group filling a closed region of the extracted contour and a closed region of interest. And a means for extracting the contour of the closed region which is extracted by exclusive OR and is present inside the contour of the closed region of interest and which is not filled. Extractor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3302123A JPH05143733A (en) | 1991-11-18 | 1991-11-18 | Contour extracting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3302123A JPH05143733A (en) | 1991-11-18 | 1991-11-18 | Contour extracting device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05143733A true JPH05143733A (en) | 1993-06-11 |
Family
ID=17905206
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3302123A Pending JPH05143733A (en) | 1991-11-18 | 1991-11-18 | Contour extracting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05143733A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017183441A1 (en) * | 2016-04-22 | 2017-10-26 | 株式会社Screenホールディングス | Image processing method, image processing device, and image processing program |
| CN112001934A (en) * | 2019-05-27 | 2020-11-27 | 株式会社东芝 | Reading system, moving object, reading method, and storage medium |
| US20230077875A1 (en) * | 2018-05-04 | 2023-03-16 | Hydromax USA, LLC | Multi-sensor pipe inspection system and method |
-
1991
- 1991-11-18 JP JP3302123A patent/JPH05143733A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017183441A1 (en) * | 2016-04-22 | 2017-10-26 | 株式会社Screenホールディングス | Image processing method, image processing device, and image processing program |
| JP2017194879A (en) * | 2016-04-22 | 2017-10-26 | 株式会社Screenホールディングス | Image processing method, image processing apparatus, and image processing program |
| US20230077875A1 (en) * | 2018-05-04 | 2023-03-16 | Hydromax USA, LLC | Multi-sensor pipe inspection system and method |
| US12222298B2 (en) * | 2018-05-04 | 2025-02-11 | Hydromax USA, LLC | Multi-sensor pipe inspection system and method |
| CN112001934A (en) * | 2019-05-27 | 2020-11-27 | 株式会社东芝 | Reading system, moving object, reading method, and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3308032B2 (en) | Skew correction method, skew angle detection method, skew correction device, and skew angle detection device | |
| US4953224A (en) | Pattern defects detection method and apparatus | |
| JP7212247B2 (en) | Target detection program, target detection device, and target detection method | |
| JP2001109895A (en) | Processing method for digital images | |
| US5222158A (en) | Pattern recognition apparatus | |
| JPH0721320A (en) | Automatic determination device of script | |
| JP2001101426A (en) | Digital image processing method | |
| JPH05500875A (en) | Method and apparatus for thinning alphanumeric characters for optical character recognition | |
| JP3887843B2 (en) | Method and apparatus for detecting and correcting vertical and horizontal lines of digitized image | |
| JPH05143733A (en) | Contour extracting device | |
| US4656468A (en) | Pattern data processing apparatus | |
| JP2000242798A (en) | Extraction of feature quantity of binarty image | |
| JP3698867B2 (en) | Circular pattern determination method, apparatus and recording medium | |
| JP2004334461A (en) | Character recognition device and character recognition program | |
| KR100295245B1 (en) | A parallel thinning method using weighted value | |
| JP2878278B2 (en) | Image processing method | |
| JP4064068B2 (en) | Image processing apparatus, image processing method, and recording medium | |
| JP2966448B2 (en) | Image processing device | |
| JP3657725B2 (en) | Line figure image processing method | |
| JP2634905B2 (en) | How to paint shapes | |
| JP2001076158A (en) | Image processing method and apparatus and medium | |
| JP2587812B2 (en) | Figure extraction method | |
| JPH06131459A (en) | Contour detection method | |
| JPS596419B2 (en) | Character extraction method | |
| JPH087042A (en) | Image recognition method and apparatus thereof |