JPH0594530A - Method for contracting graphic - Google Patents
Method for contracting graphicInfo
- Publication number
- JPH0594530A JPH0594530A JP28082891A JP28082891A JPH0594530A JP H0594530 A JPH0594530 A JP H0594530A JP 28082891 A JP28082891 A JP 28082891A JP 28082891 A JP28082891 A JP 28082891A JP H0594530 A JPH0594530 A JP H0594530A
- Authority
- JP
- Japan
- Prior art keywords
- graphic
- contraction
- image
- point
- directions
- 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
Landscapes
- Image Processing (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は図形収縮方法に係り、
特に融合図形を分離しつつ、分離された各グループを、
その直感的な中心であり、かつそのグループ中に位置す
る孤立点に収束させる図形収縮方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic contraction method,
In particular, while separating the fused figures,
It relates to a graphic contraction method for converging to an isolated point which is the intuitive center and is located in the group.
【0002】[0002]
【従来技術】例えば、粒状物の画像においては粒子相互
が重り合った画像が生じることが多く、粒子解析を実行
するためには、粒子相互を分離する必要がある。ここに
単なる図形分離であれば適当回数の図形収縮によって実
現し得るが、その収縮回数は不均一であるとともに予測
困難である。2. Description of the Related Art For example, in an image of a granular material, an image in which particles are overlapped with each other often occurs, and it is necessary to separate the particles from each other in order to perform a particle analysis. If simple figure separation is possible here, it can be realized by a proper number of figure contractions, but the number of contractions is not uniform and difficult to predict.
【0003】[0003]
【発明が解決しようとする課題】この発明はこのような
従来の問題点を解消すべく創案されたもので、図形を本
来のグループに分離し、かつ各グループをその直感的な
中心点で代表する図形分離方法を提供することを目的と
する。SUMMARY OF THE INVENTION The present invention was devised to solve the above-mentioned problems of the prior art. It separates figures into original groups and represents each group by its intuitive center point. It is an object of the present invention to provide a method for separating figures.
【0004】[0004]
【課題を解決する手段】この発明に係る図形分離方法
は、図形を各方向から順次収縮し、孤立点が生じた時点
でそのグループについては収縮を終了するものである。According to the figure separating method of the present invention, a figure is contracted sequentially from each direction, and when the isolated point occurs, the contraction is finished for the group.
【0005】[0005]
【作用】この発明に係る図形分離方法によれば、各グル
ープをその直感的な中心点で代表しつつ本来のグループ
に分割し得る。According to the figure separation method of the present invention, each group can be divided into original groups while being represented by its intuitive center point.
【0006】[0006]
【実施例】次にこの発明に係る図形収縮方法の1実施例
を図面に基づいて説明する。まず、原画像を取り込み
(ステップ1−1)、2値化する(ステップ1−2)。
次に図形画像の面積を求め(ステップ1−3)、図形画
像を収縮する4方向を与える。4方向の与え方は変数を
4で割ることにより行うものである。つまり変数を割
り、例えば、余りが0の場合は上方向から、1の場合は
左方向から、2の場合は下方向から、3の場合は右方向
から収縮するものである(ステップ1−4)。この収縮
によって、各図形を周囲から均等に収縮でき、直観的中
心に位置する1点に収束させる。この1点よりなる図形
は孤立点であり、従って各図形を孤立点に収束させるこ
とになる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the graphic contraction method according to the present invention will now be described with reference to the drawings. First, the original image is captured (step 1-1) and binarized (step 1-2).
Next, the area of the graphic image is obtained (step 1-3), and four directions for contracting the graphic image are given. The method of giving the four directions is performed by dividing the variable by 4. That is, the variable is divided, and for example, when the remainder is 0, the contraction is performed from the upward direction, when the remainder is 1, the leftward direction is contracted, when the remainder is 2, the downward direction is contracted, and when the remainder is 3, the contraction is performed from the right direction (step 1-4 ). By this contraction, each figure can be contracted evenly from the surroundings and converge to one point located at the intuitive center. The figure consisting of one point is an isolated point, and therefore each figure is converged to the isolated point.
【0007】次に、2値化された画像に、孤立点が存在
する場合には、孤立点をマスク処理して登録する(ステ
ップ1−5)。ここに、各図形はその大きさが異なり、
孤立点に至る収縮回数が異なるため、孤立点となった図
形については、その後の収縮を防止する必要がある。前
記マスク処理はこの孤立点消去の防止策である。2値化
された当初の画像には、ノイズ等を除けば孤立点は存在
しないのが通常であるため、最初の2値画像に孤立点が
あればノイズとして除去することも可能である。次に、
上記で求められた余りに基づいて、図形画像を各方向か
ら収縮する(ステップ1−6)。Next, when an isolated point exists in the binarized image, the isolated point is masked and registered (step 1-5). Here, the size of each figure is different,
Since the number of contractions reaching the isolated point is different, it is necessary to prevent the subsequent contraction of the figure which has become the isolated point. The masking process is a measure for preventing this isolated point erasure. Since there are usually no isolated points in the initial binary image except noise and the like, if there are isolated points in the first binary image, it is possible to remove them as noise. next,
The graphic image is contracted from each direction based on the remainder obtained above (step 1-6).
【0008】収縮を行った図形の面積を求め(ステップ
1−7)、その収縮を行う直前の図形の面積と比較する
(ステップ1−8)。面積が等しくないときはステップ
1−3からの処理が繰り返される。全ての図形が孤立点
に収束したときにはその後図形の面積変化は生じないの
で、面積が不変になったとき、収縮の処理を終了する。
図2から図5は異なる大きさの収縮過程を示すものであ
り、図形A、図形B、図形Cを収縮すると、最小図形C
の孤立点が最も早く生じる(図3)。一旦孤立点が生じ
ると、この孤立点についてはそれ以上の収縮処理は行わ
ず、画像にその孤立点を残す。また、この孤立点にマス
ク処理を施し他のプレーンに登録する。The area of the contracted figure is obtained (step 1-7) and compared with the area of the figure immediately before the contraction (step 1-8). If the areas are not equal, the processing from step 1-3 is repeated. When all the figures converge to the isolated point, the area of the figure does not change thereafter. Therefore, when the area becomes invariant, the shrinking process is terminated.
2 to 5 show contraction processes of different sizes. When the figures A, B, and C are contracted, the minimum figure C is obtained.
Is the earliest isolated point (Fig. 3). Once an isolated point occurs, no further contraction processing is performed on this isolated point, and that isolated point is left in the image. Also, this isolated point is masked and registered in another plane.
【0009】このように、収縮処理を繰り返えせば、次
に図形Bの孤立点(図4)、最後に図形Cの孤立点(図
5)が生じ、それぞれにマスク処理が行われ、登録され
る。これら図形A、B、Cの孤立点のみの画像はその後
面積は変化しないので、ある収縮処理とその次の回の収
縮処理後の面積が等しい場合は、各図形の孤立点抽出が
完了したことであり、ここで処理は終了する。If the contraction process is repeated in this way, then an isolated point of the figure B (FIG. 4) and finally an isolated point of the figure C (FIG. 5) are generated, and mask processing is performed for each of them to register. To be done. Since the area of the image of only isolated points of these figures A, B, and C does not change after that, if the area after a certain contraction processing and the area after the next contraction processing is equal, the isolated point extraction of each figure has been completed. Then, the process ends here.
【0010】[0010]
【発明の効果】以上のように、本発明によれば、図形各
グループを直感的な中心点で代表しつつ分割し得る。As described above, according to the present invention, each group of figures can be divided while being represented by an intuitive center point.
【図1】本発明の1実施例を説明するフローチャートで
ある。FIG. 1 is a flowchart illustrating an embodiment of the present invention.
【図2】収縮処理対象の大きさの異なる図形の概念図で
ある。FIG. 2 is a conceptual diagram of figures of different sizes to be contracted.
【図3】図形Cの孤立点が生じた概念図である。FIG. 3 is a conceptual diagram in which an isolated point of a graphic C is generated.
【図4】図形Cの孤立点に加え、図形Bの孤立点が生じ
た概念図である。FIG. 4 is a conceptual diagram in which an isolated point of a graphic B is generated in addition to an isolated point of a graphic C.
【図5】図形C及び図形Bの孤立点に加え、図形Aの孤
立点が生じ、全ての図形の孤立点が抽出された概念図で
ある。FIG. 5 is a conceptual diagram in which, in addition to the isolated points of the graphic C and the graphic B, the isolated points of the graphic A occur and the isolated points of all the graphics are extracted.
Claims (1)
1層ずつの収縮を順次実行し、この収縮実行に際して孤
立点をその対象から除外し、すべての図形を孤立点に収
束させることを特徴とする図形収縮方法。1. Concerning each figure in an image, contraction is performed one layer at a time from each direction, and when performing this contraction, isolated points are excluded from the object, and all figures are converged to isolated points. Characteristic shrinkage method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28082891A JPH0594530A (en) | 1991-10-01 | 1991-10-01 | Method for contracting graphic |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28082891A JPH0594530A (en) | 1991-10-01 | 1991-10-01 | Method for contracting graphic |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0594530A true JPH0594530A (en) | 1993-04-16 |
Family
ID=17630555
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP28082891A Pending JPH0594530A (en) | 1991-10-01 | 1991-10-01 | Method for contracting graphic |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0594530A (en) |
-
1991
- 1991-10-01 JP JP28082891A patent/JPH0594530A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0594530A (en) | Method for contracting graphic | |
| US5555314A (en) | Fingerprint data processing method | |
| JPH0634233B2 (en) | Hierarchical structural template matching method | |
| Gopakumar | A survey on image splice forgery detection and localization techniques | |
| JPH0594534A (en) | Method for separating graphic | |
| JPH06259551A (en) | Method for separating graphics | |
| JPS619776A (en) | Picture image processor | |
| JPS63170789A (en) | Pattern resemblance degree detection circuit | |
| JP2859794B2 (en) | Individual identification method using finger sweat glands | |
| JP3585143B2 (en) | Character string extraction method and device | |
| JP3051936B2 (en) | Image analysis method | |
| JPH0312786A (en) | Drawing processor | |
| JPS6346875B2 (en) | ||
| JPS63280379A (en) | Processor for pore like flaw picture | |
| JPS60117382A (en) | Recognition device | |
| JPH10335206A (en) | Method and apparatus for generating mask pattern data | |
| JPH02132965A (en) | Image processing device | |
| JPH0498470A (en) | Classifying system for line width of linear diagram | |
| JPH04115374A (en) | Line element direction extracting circuit | |
| JPS6376080A (en) | Linear graphic separating device | |
| JPH0229782A (en) | Automatic generation system for outline font | |
| JPH03158709A (en) | Recognizing device for solid body shape | |
| JPS62247473A (en) | Image processing device | |
| JPH0520454A (en) | Bold generation method | |
| JPH07129779A (en) | Intruding object recognizing method |