JPH0594528A - Method for expanding graphic - Google Patents

Method for expanding graphic

Info

Publication number
JPH0594528A
JPH0594528A JP28047791A JP28047791A JPH0594528A JP H0594528 A JPH0594528 A JP H0594528A JP 28047791 A JP28047791 A JP 28047791A JP 28047791 A JP28047791 A JP 28047791A JP H0594528 A JPH0594528 A JP H0594528A
Authority
JP
Japan
Prior art keywords
picture element
graphic
center
image
convolution
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
Application number
JP28047791A
Other languages
Japanese (ja)
Inventor
Koji Matsumoto
幸治 松本
Manabu Aisaka
学 逢坂
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.)
Ezel Inc
Original Assignee
Ezel Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ezel Inc filed Critical Ezel Inc
Priority to JP28047791A priority Critical patent/JPH0594528A/en
Publication of JPH0594528A publication Critical patent/JPH0594528A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To obtain a graphic expanding method capable of preventing the generation of an erosion on a graphic by removing a center picture element from a target whose brightness value is to be converted when a graphic picture element in contact with another group is the center picture element. CONSTITUTION:A prescribed convolution in a labeled image is inputted. Then whether the center picture element of the convolution is a graphic picture element or not is judged. When another graphic picture element exists around the center picture element when the center picture element is a graphic picture element, expansion processing is not executed. When the center picture element is not a graphic picture element and when the center picture element is a graphic picture element, but no other picture element exists around the center picture element, the brightness value of a picture element having the maximum brightness value is applied to the center picture element to execute expansion processing. Whether the convolution to be processed is the end of the image or not is judged, and when the convolution is not the end of the image, the same processing is repeated until the end of the image. Consequently the number of groups in the image can be held and an expanded graphic prevented from being eroded by other graphics can be obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は図形膨張方法に係り、
特にラベル画像における所定コンボリューション内の最
大輝度値を中央画素に与える図形膨張方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic expansion method,
In particular, the present invention relates to a graphic expansion method for giving a central pixel a maximum luminance value within a predetermined convolution in a label image.

【0002】[0002]

【従来技術】従来、このタイプの図形膨張においては、
膨張の結果隣接図形が接触したときに、ラベル値がより
高い図形がより低い図形を侵食するという現象が生じ、
グループ数が変化する可能性があった。
2. Description of the Related Art Conventionally, in this type of graphic expansion,
When adjacent shapes come into contact as a result of expansion, the phenomenon that a figure with a higher label value erodes a lower figure,
The number of groups could change.

【0003】[0003]

【発明が解決しようとする課題】この発明はこのような
従来の問題点を解消すべく創案されたもので、図形侵食
を防止し得る図形膨張方法を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention was devised in order to solve such conventional problems, and an object thereof is to provide a graphic expansion method capable of preventing graphic erosion.

【0004】[0004]

【課題を解決する手段】この発明に係る図形膨張方法
は、他のグループに接する図形画素については輝度値変
換の対象から除外するものである。
In the graphic expansion method according to the present invention, graphic pixels in contact with another group are excluded from the subject of luminance value conversion.

【0005】[0005]

【作用】複数の図形に膨張処理を施しても、図形間の侵
食を回避し得る。
Even if a plurality of figures are expanded, erosion between the figures can be avoided.

【0006】[0006]

【実施例】次にこの発明に係る図形膨張方法の1実施例
を図面に基づいて説明する。まず、ラベル処理を施した
画像(図2)の所定コンボリューションを取り込む(ス
テップ1−1)。そして、そのコンボリューションの中
央画素が図形画素か否かを判断する(ステップ1−
2)。中央画素が図形画素である場合は、次に周囲に他
の図形画素が存在するか否かを判断する(ステップ1−
3)。周囲に他の図形画素が存在する場合に(図6A)
膨張処理を施すと、他の図形画素の輝度値が高い場合、
当該他の図形により侵食を受ける。従って、このような
図形間の侵食を防止するために中央画素には膨張処理を
施さず(図6B)、ステップ1−5に至る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, one embodiment of a graphic expansion method according to the present invention will be described with reference to the drawings. First, a predetermined convolution of the label-processed image (FIG. 2) is captured (step 1-1). Then, it is determined whether the central pixel of the convolution is a graphic pixel (step 1-
2). If the central pixel is a graphic pixel, then it is determined whether or not there is another graphic pixel in the vicinity (step 1-
3). When there are other graphic pixels around (Fig. 6A)
If the brightness value of other graphic pixels is high after the expansion process,
Eroded by the other figures. Therefore, in order to prevent such erosion between figures, the central pixel is not subjected to expansion processing (FIG. 6B), and steps 1 to 5 are reached.

【0007】ステップ1−2で中央画素が図形画素でな
いと判断した場合(図4A)、及びステップ1−3で中
央画素が図形画素ではあるが周囲に他の図形画素が存在
しない場合(図5A)は、ステップ1−4に至り、当該
コンボリューションの内、最大輝度値を有する画素の輝
度値を中央画素に与え、膨張処理を施す(ステップ1−
4)。このような場合のみ膨張処理対象とし、それぞれ
の結果を図4B及び図5Bに示す。ステップ1−5で
は、処理対象たるコンボリューションが画像終端か否か
を判断し、画像終端でない場合はステップ1−1からの
処理が繰り返される。当該コンボリューションが画像終
端の場合、ここで処理は終了し、グループ数に変化が無
く、かつ図形間の侵食が無い膨張処理が行われることに
なる(図3)。
When it is judged in step 1-2 that the central pixel is not a graphic pixel (FIG. 4A), and when in step 1-3 the central pixel is a graphic pixel but no other graphic pixel exists in the surroundings (FIG. 5A). In step 1-4, the brightness value of the pixel having the maximum brightness value is given to the central pixel in the convolution, and expansion processing is performed (step 1-).
4). Only in such a case, expansion processing is performed, and the respective results are shown in FIGS. 4B and 5B. In step 1-5, it is determined whether or not the convolution to be processed is the image end, and if it is not the image end, the processes from step 1-1 are repeated. If the convolution is at the end of the image, the process ends here, and the dilation process is performed without any change in the number of groups and without erosion between figures (FIG. 3).

【0008】[0008]

【発明の効果】以上のように、本発明によれば、グルー
プ数が保持され、かつ図形間の侵食がない膨張図形が得
られるという効果を有する。
As described above, according to the present invention, it is possible to obtain an expanded figure in which the number of groups is maintained and there is no erosion between figures.

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

【図1】本発明の1実施例示すフローチャートである。FIG. 1 is a flowchart showing an embodiment of the present invention.

【図2】ラベル画像の概念図である。FIG. 2 is a conceptual diagram of a label image.

【図3】ラベル画像に膨張処理を施した概念図である。FIG. 3 is a conceptual diagram in which a label image is subjected to expansion processing.

【図4A】膨張処理を施す1例である。FIG. 4A is an example of performing expansion processing.

【図4B】図4Aに膨張処理を施した概念図である。FIG. 4B is a conceptual diagram in which expansion processing is applied to FIG. 4A.

【図5A】膨張処理を施す他の1例である。FIG. 5A is another example of performing expansion processing.

【図5B】図5Aに膨張処理を施した概念図である。FIG. 5B is a conceptual diagram in which expansion processing is applied to FIG. 5A.

【図6A】膨張処理を施さない例である。FIG. 6A is an example in which expansion processing is not performed.

【図6B】図6Aに膨張処理を施さなかった概念図であ
る。
FIG. 6B is a conceptual diagram of FIG. 6A without expansion processing.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ラベル画像における所定コンボリューシ
ョン内の最大輝度値を中央画素に与える図形膨張方法に
おいて、他のグループに接する図形画素が前記中央画素
であったときに、その中央画素については輝度値変換の
対象から除外することを特徴とする図形膨張方法。
1. A graphic dilation method for providing a central pixel with a maximum brightness value within a predetermined convolution in a label image, and when a graphic pixel in contact with another group is the central pixel, the brightness value of the central pixel is calculated. A graphic expansion method characterized by excluding the object from conversion.
JP28047791A 1991-10-01 1991-10-01 Method for expanding graphic Pending JPH0594528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28047791A JPH0594528A (en) 1991-10-01 1991-10-01 Method for expanding graphic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28047791A JPH0594528A (en) 1991-10-01 1991-10-01 Method for expanding graphic

Publications (1)

Publication Number Publication Date
JPH0594528A true JPH0594528A (en) 1993-04-16

Family

ID=17625626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28047791A Pending JPH0594528A (en) 1991-10-01 1991-10-01 Method for expanding graphic

Country Status (1)

Country Link
JP (1) JPH0594528A (en)

Similar Documents

Publication Publication Date Title
US4665441A (en) Method and system for line-thinning in electronic image processing
CN110087096A (en) Method for processing video frequency, device and computer readable storage medium
JPH0594528A (en) Method for expanding graphic
US5920648A (en) Image processing method and apparatus which replace horizontal and vertical vectors with an inclined vector
JPH02161571A (en) Method for processing image
JP7758189B2 (en) Image processing device, image processing method, and image processing program
JP2005020733A (en) Error diffusion method for halftone processing
JPH05300372A (en) High speed sorting method for median filter
JPH0594527A (en) Method for reducing graphic
JPH07118002B2 (en) Image processing device
CN108805846B (en) Method and system for optimizing binary image processing
JP2917395B2 (en) Character pattern thinning device and character pattern thinning method
JP3039529B2 (en) Radar video display
JP2007087218A (en) Image processing device
JPH0418348B2 (en)
JP3109237B2 (en) Line segment constituent pixel extraction method and line segment judgment method in image
JPH06180568A (en) Image smoothing display system
CN121304461A (en) An image processing method, apparatus, device, medium, and program product
JPH05135163A (en) Image processing method
CN117812251A (en) Single-row correction method, device, equipment and medium for bright and bad point clusters of image cross star
JPS6220070A (en) Mask processing method
JPH0594529A (en) Method for expanding graphic
JPH0224786A (en) Method for shaping character pattern
JPH0213876B2 (en)
JP2006140558A (en) Image processing apparatus and image processing method