JPH0594527A - Method for reducing graphic - Google Patents
Method for reducing graphicInfo
- Publication number
- JPH0594527A JPH0594527A JP3280449A JP28044991A JPH0594527A JP H0594527 A JPH0594527 A JP H0594527A JP 3280449 A JP3280449 A JP 3280449A JP 28044991 A JP28044991 A JP 28044991A JP H0594527 A JPH0594527 A JP H0594527A
- Authority
- JP
- Japan
- Prior art keywords
- graphic
- image
- convolution
- picture element
- pixel
- 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
- 238000000034 method Methods 0.000 title claims abstract description 20
- 230000008602 contraction Effects 0.000 claims description 15
- 230000003628 erosive effect Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000002372 labelling Methods 0.000 description 2
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
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, it relates to a graphic shrinking method for shrinking a graphic in a multivalued image.
【0002】[0002]
【従来技術】従来、図形に収縮処理を施すことは膨張処
理とともに図形のエッジ部分のノイズを除去するために
有効な方法である。しかしながら、多値画像における図
形に収縮処理を施すと、隣接した輝度値の異なる図形間
では輝度値の小さい方の図形が輝度値の高い図形を侵食
することが発生する。2. Description of the Related Art Conventionally, performing a contraction process on a graphic is an effective method for removing noise at the edge portion of the graphic together with the expansion process. However, when a graphic in a multi-valued image is subjected to contraction processing, a graphic having a smaller brightness value between adjacent graphics having different brightness values may erode a graphic having a high brightness value.
【0003】[0003]
【発明が解決しようとする課題】この発明はこのような
従来の問題点を解消すべく創案されたもので、多値画像
における輝度値の異なる図形に収縮処理をほどこして
も、図形間の侵食がない図形収縮方法を提供することを
目的とする。The present invention was devised in order to solve the above-mentioned conventional problems. Even if a graphic having different brightness values in a multi-valued image is subjected to contraction processing, the erosion between the graphics is eroded. It is an object of the present invention to provide a method of shrinking a figure that does not have a pattern.
【0004】[0004]
【課題を解決する手段】この発明に係る図形収縮方法
は、ラベリングした画像と図形画素に特定の輝度値をあ
たえた画像の画像間演算を行うものである。A graphic contraction method according to the present invention performs an inter-image calculation between a labeled image and an image in which a specific luminance value is given to a graphic pixel.
【0005】[0005]
【作用】輝度値の異なる複数の図形に収縮処理を施して
も、図形間の侵食を回避し得る。Even if a plurality of figures having different brightness values are subjected to contraction processing, the erosion between the figures can be avoided.
【0006】[0006]
【実施例】次にこの発明に係る図形収縮方法の1実施例
を図面に基づいて説明する。図1は同実施例のフローチ
ャートを示すものであり、処理対象となる画像はビデオ
カメラ等の入力手段により取り込まれ(ステップ1−
1)、取り込んだ画像を図2に示すようにラベリング処
理する(ステップ1−2)。ここでは、後述する特定輝
度値以外の輝度値、例えば、背景を輝度値「0」、図形
Aを輝度値「1」、図形Bを輝度値「2」とし、一旦メ
モリに登録する(ステップ1−3)。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. FIG. 1 shows a flow chart of the embodiment, in which an image to be processed is captured by an input means such as a video camera (step 1-
1), the captured image is labeled as shown in FIG. 2 (step 1-2). Here, luminance values other than the specific luminance value described later, for example, the background luminance value “0”, the figure A luminance value “1”, and the figure B luminance value “2” are once registered in the memory (step 1 -3).
【0007】ラベリング処理した画像を所定コンボリュ
ーションごとに取り込み(ステップ1−4)、下記条件
の下で収縮処理を行う。すなわち、中央画素が図形画素
であり、当該コンボリューションに背景画素が存在する
場合のみ(ステップ1−5)、中央画素に当該コンボリ
ューション内の画素の最小輝度値(背景画素の輝度値
「0」)を与えるものである(ステップ1−6)。この
ような条件下のみ収縮処理を施せば、図5に示すような
コンボリューション、すなわち、背景画素(輝度値
「0」)が存在しない場合は収縮処理の対象から除外さ
れるので、輝度値の小さい図形Aが輝度値の大きい図形
Bを侵食することはない。この処理を1画像につき終端
まで行う(ステップ1−7)。なお、この処理は図形等
に基づき必要回数行うものとする。The image subjected to the labeling process is taken in every predetermined convolution (step 1-4), and the contraction process is performed under the following conditions. That is, only when the central pixel is a graphic pixel and the background pixel exists in the convolution (step 1-5), the minimum luminance value of the pixel in the convolution (the luminance value of the background pixel is “0”) is present in the central pixel. ) Is given (step 1-6). If the contraction process is performed only under such a condition, the convolution as shown in FIG. 5, that is, if the background pixel (the brightness value “0”) does not exist, it is excluded from the contraction process. The small figure A does not erode the figure B having a large luminance value. This process is performed for each image up to the end (step 1-7). It should be noted that this process is performed a required number of times based on the figure or the like.
【0008】この収縮処理を施した後、図3に示すよう
に全ての図形画素(輝度値「1」及び「2」)を特定輝
度値、ここでは255に変換し(ステップ1−8)、そ
の画像をメモリに登録する(ステップ1−9)。そし
て、ステップ1−3で登録した画像とステップ1−9で
登録した画像をMIN演算する(ステップ1−10)。
ここでは両画像を比較し、ミニマムの輝度値を取ると図
4が得られる。After this contraction processing, as shown in FIG. 3, all graphic pixels (luminance values "1" and "2") are converted into a specific luminance value, here 255 (step 1-8), The image is registered in the memory (step 1-9). Then, the image registered in step 1-3 and the image registered in step 1-9 are subjected to MIN calculation (step 1-10).
Here, when both images are compared and the minimum luminance value is taken, FIG. 4 is obtained.
【0009】図4から明らかなように、背景画素に隣接
した部分、すなわちエッジ部分については所定の収縮処
理が行われているが、その他の部分については収縮処理
は行われず、いわゆる侵食は防止されている。As is apparent from FIG. 4, a predetermined contraction process is performed on the part adjacent to the background pixel, that is, the edge part, but the contraction process is not performed on the other parts, so-called erosion is prevented. ing.
【0010】[0010]
【発明の効果】以上のように本発明によれば、図形収縮
処理を施しても隣接する輝度値の異なる図形間では侵食
は発生せずにノイズ処理のなされた図形が抽出可能とい
う効果を有する。As described above, according to the present invention, even if a graphic contraction process is performed, no erosion occurs between adjacent graphics having different luminance values, and a graphic subjected to noise processing can be extracted. .
【図1】本発明の1実施例を示すフローチャートであ
る。FIG. 1 is a flowchart showing an embodiment of the present invention.
【図2】ラベリング処理を施した概念図である。FIG. 2 is a conceptual diagram in which labeling processing is performed.
【図3】図形画素に特定輝度値を与えた概念図である。FIG. 3 is a conceptual diagram in which a specific luminance value is given to a graphic pixel.
【図4】図2の画像と図3の画像のミニマムの輝度値を
取った概念図である。FIG. 4 is a conceptual diagram in which minimum luminance values of the images of FIGS. 2 and 3 are taken.
【図5】隣接する輝度値の異なる図形を含むコンボリュ
ーションの概念図である。FIG. 5 is a conceptual diagram of convolution including adjacent graphics having different brightness values.
Claims (1)
ション内の中央画素が図形画素であり、かつこのコンボ
リューション内に背景画素を含むことを条件として、こ
のコンボリューション内の最小輝度値を中央画素に与
え、その他の条件では前記画像の画素の輝度値をそのま
ま採用することを特徴とする図形収縮方法。1. The minimum luminance value in the convolution is given to the central pixel provided that the central pixel in the predetermined convolution of the labeled image is a graphic pixel and the background pixel is included in the convolution. Under the other conditions, the brightness value of the pixel of the image is adopted as it is, and the graphic contraction method is characterized.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3280449A JPH0594527A (en) | 1991-10-01 | 1991-10-01 | Method for reducing graphic |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3280449A JPH0594527A (en) | 1991-10-01 | 1991-10-01 | Method for reducing graphic |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0594527A true JPH0594527A (en) | 1993-04-16 |
Family
ID=17625217
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3280449A Pending JPH0594527A (en) | 1991-10-01 | 1991-10-01 | Method for reducing graphic |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0594527A (en) |
-
1991
- 1991-10-01 JP JP3280449A patent/JPH0594527A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6625325B2 (en) | Noise cleaning and interpolating sparsely populated color digital image using a variable noise cleaning kernel | |
| JP3793258B2 (en) | Moving image processing apparatus and method | |
| JP5767064B2 (en) | Image edge enhancement method | |
| JP4004736B2 (en) | Embed watermark in image | |
| JP4803178B2 (en) | Image processing apparatus, computer program product, and image processing method | |
| US6323855B1 (en) | Sharpening edge features in digital image providing high frequency edge enhancement | |
| US6876777B2 (en) | Image enhancement method | |
| US5920648A (en) | Image processing method and apparatus which replace horizontal and vertical vectors with an inclined vector | |
| US6795586B1 (en) | Noise cleaning and interpolating sparsely populated color digital image | |
| JP3006290B2 (en) | Noise reduction device | |
| JPH0594527A (en) | Method for reducing graphic | |
| JPH0981754A (en) | Motion detection circuit | |
| WO2001099412A1 (en) | Image sensor signal defect correction | |
| JP3062394B2 (en) | Moving image extraction method | |
| JP4035696B2 (en) | Line segment detection apparatus and image processing apparatus | |
| JP2004173060A (en) | Noise removal method, imaging device, and noise removal program | |
| JPH0594528A (en) | Method for expanding graphic | |
| JPH05160996A (en) | Image processing method | |
| JP2601156B2 (en) | Image processing device | |
| JPH05135163A (en) | Image processing method | |
| JPH04157872A (en) | Image processing device | |
| JPH01169581A (en) | Image processor | |
| JPH03133262A (en) | Character area separation system | |
| JPH0466153B2 (en) | ||
| JPH02128575A (en) | Image processing device |