JPH05298442A - Picture outline emphasizing device - Google Patents

Picture outline emphasizing device

Info

Publication number
JPH05298442A
JPH05298442A JP4101006A JP10100692A JPH05298442A JP H05298442 A JPH05298442 A JP H05298442A JP 4101006 A JP4101006 A JP 4101006A JP 10100692 A JP10100692 A JP 10100692A JP H05298442 A JPH05298442 A JP H05298442A
Authority
JP
Japan
Prior art keywords
contour
rgb
hsi
primary colors
lightness
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.)
Withdrawn
Application number
JP4101006A
Other languages
Japanese (ja)
Inventor
Toru Eguchi
亨 江口
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4101006A priority Critical patent/JPH05298442A/en
Publication of JPH05298442A publication Critical patent/JPH05298442A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the color of a picture from getting out of balance at the time of the emphasis of an outline in the case that outline emphasis processing is executed about the picture represented by three primary colors R, G, B. CONSTITUTION:In an outline emphasizing device for the picture whose color pixel is represented by the three primary colors of red, green, and blue, an HSI converting means 2 to convert the picture whose each pixel is the three primary colors into hue (H), saturation (S), and lightness (I), an outline emphasis processing means 3 to outline-emphasis-process only the lightness (I), and a three primary colors converting means 4 to obtain the three primary colors from the hue and the satuation obtained from the HSI converting means are provided, and the outline emphasis is executed by the lightness.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、三原色R(赤)G
(緑)B(青)で表現される画素について輪郭強調処理
を行うに際し、輪郭強調の際に画像の色バランスを崩さ
ないようにした輪郭強調装置に関する。
The present invention relates to three primary colors R (red) G.
The present invention relates to a contour enhancement device that does not disturb the color balance of an image when performing contour enhancement processing on pixels represented by (green) B (blue).

【0002】画像入力装置において、RGBで表現され
た原画像を入力すると、画像入力装置による劣化が生じ
る。そのため特に輪郭に対する劣化を補うために、一般
的に輪郭を強調する画像輪郭強調処理が施される。
When an original image expressed in RGB is input to the image input device, deterioration due to the image input device occurs. Therefore, in particular, in order to compensate for the deterioration of the contour, an image contour enhancement process for enhancing the contour is generally performed.

【0003】[0003]

【従来の技術】従来、RGBで表現された原画像の輪郭
強調処理装置を図6により説明する。図6において、1
0はRGBで表現される原画像を保持するRGB原画像
保持部、11は輪郭強調フィルタ、12は輪郭強調処理
されたRGB画像を保持するRGB輪郭強調画像保持部
である。
2. Description of the Related Art A conventional outline emphasis processing apparatus for an original image represented by RGB will be described with reference to FIG. In FIG. 6, 1
Reference numeral 0 is an RGB original image holding unit that holds an original image expressed in RGB, 11 is a contour emphasis filter, and 12 is an RGB contour emphasis image holding unit that holds a contour-enhanced RGB image.

【0004】原画像保持部10には、図6においてで
示す如きR、G、Bで表現された画像が保持される。輪
郭強調空間フィルタ11は、図6においてで示す如き
空間フィルタ係数を有するものであって、これにより図
6における輪郭強調後のピクセル値の計算がで示す如
きR′、B′、G′についてそれぞれ行われ、その演算
結果のR′、G′、B′がRGB輪郭強調画像保持部1
2に保持される。
An image represented by R, G, and B as shown in FIG. 6 is held in the original image holding section 10. The contour emphasis spatial filter 11 has a spatial filter coefficient as shown by in FIG. 6, whereby R ′, B ′, G ′ as shown in the calculation of the pixel value after the contour emphasis in FIG. R ′, G ′, and B ′ of the calculation result performed are the RGB contour emphasized image holding unit 1
Held at 2.

【0005】なお、前記の演算結果が負のとき、ゼロ
として計算される。即ち、図6のに示す如く、R′
(i、j)<0の場合、R′(i、j)=0 G′(i、j)<0の場合、G′(i、j)=0 B′(i、j)<0の場合、B′(i、j)=0 となる。
When the above calculation result is negative, it is calculated as zero. That is, as shown in FIG.
When (i, j) <0, R ′ (i, j) = 0 G ′ (i, j) <0, G ′ (i, j) = 0 B ′ (i, j) <0 In this case, B '(i, j) = 0.

【0006】[0006]

【発明が解決しようとする課題】ところで、図6に示す
如き従来の輪郭強調処理では、あるピクセルのRGBそ
れぞれの成分が周りのピクセルの同種の成分からのみ
(RはRのみ、GはGのみ、BはBのみ)影響を受ける
ので、ピクセルにおけるRGBの比率がくずれ、結果と
して原画像にない色を呈してしまうという問題を生じて
いた。
By the way, in the conventional contour enhancement processing as shown in FIG. 6, the RGB components of a pixel are made only from the components of the same kind in the surrounding pixels (R is only R, G is only G). , B only B) are affected, the ratio of RGB in the pixel collapses, resulting in a problem that a color not present in the original image appears.

【0007】RGBで入力された画像の輪郭を強調する
場合、図6のに示すように、R、G、Bそれぞれの面
に対し輪郭を強調するのが一般的であるが、このため画
像の中で隣り合うピクセルの色の変化の少ない単調な領
域に、原画像にはない色のピクセルが頻繁に現れる。
When the contour of an image input by RGB is emphasized, the contour is generally emphasized for each of the R, G, and B planes, as shown in FIG. Pixels of a color that is not in the original image frequently appear in a monotonous area where the color change of adjacent pixels is small.

【0008】例えば、図7に示す如きR、G、Bのピク
セルを前記の如く空間フィルタにより輪郭強調処理する
と、その中心のピクセルは(50、50、50)から
(58、42、58)と変化する。即ち初めにR、G、
Bがバランスして、灰色状態であったものが、色バラン
スが崩れ、R、Bが強調されたカラーに変化する。
For example, when the R, G, and B pixels shown in FIG. 7 are subjected to contour enhancement processing by the spatial filter as described above, the central pixel is (50, 50, 50) to (58, 42, 58). Change. That is, first R, G,
What was in a gray state with B being balanced is broken in color balance and changed to a color in which R and B are emphasized.

【0009】従って何度も輪郭を強調するにつれて原画
像にはない色を持つピクセルが更に強調され、結果とし
てこれらのピクセルはノイズとなって画像上に現れる。
従って原画像にはない色を持つピクセルが現れないよう
な輪郭強調装置の提供が必要とされている。
Therefore, as the contour is emphasized many times, pixels having a color which is not in the original image are further emphasized, and as a result, these pixels appear as noise in the image.
Therefore, there is a need to provide a contour enhancement device that prevents the appearance of pixels with colors that are not present in the original image.

【0010】[0010]

【課題を解決するための手段】このため、本発明では、
図1に示す如く、RGB原画像をHSI変換部2によ
り、各ピクセルをマンセルの表色系に代表される色相
(H)、彩度(S)、明度(I)にHSI変換する。そ
して明度(I)に対してのみ、輪郭を強調する空間フィ
ルタ換算を輪郭強調空間フィルタ3で行い、前記H、S
と、この空間フィルタ演算された明度(I′)を、RG
B変換部4によりRGB変換して三原色RGBを得る。
Therefore, according to the present invention,
As shown in FIG. 1, the RGB original image is HSI-converted by the HSI conversion unit 2 into each pixel having a hue (H), a saturation (S), and a lightness (I) represented by Munsell's color system. Then, for the lightness (I) only, the spatial filter conversion for enhancing the contour is performed by the contour enhancing spatial filter 3, and the H, S
And the brightness (I ′) calculated by the spatial filter
RGB conversion is performed by the B conversion unit 4 to obtain RGB of three primary colors.

【0011】[0011]

【作用】RGB原画像保持部1から出力されるRGBの
原画像からHSIの中間画像に変換した時点でIは明度
を表す値になっている。この明度IはRGBの比率(色
合い)に関する情報を含んでいないことから、明度Iに
対してのみ輪郭強調を行い、これを用いて再びRGBに
変換することによって色合いや色の鮮やかさが変化する
ことはない。このようにして原画像にはない色を持つピ
クセルが現れない輪郭強調処理を行うことができる。
Operation When the RGB original image output from the RGB original image holding unit 1 is converted into the HSI intermediate image, I has a value representing the lightness. Since the lightness I does not include information on the ratio (hue) of RGB, only the lightness I is edge-emphasized, and the lightness I is converted to RGB again to change the hue and vividness of the color. There is no such thing. In this way, it is possible to perform the edge enhancement processing in which pixels having a color that does not appear in the original image do not appear.

【0012】[0012]

【実施例】本発明の一実施例を図2〜図5にもとづき説
明する。図2は本発明の一実施例構成図、図3はそのH
SI変換部説明図、図4はそのRGB変換部説明図、図
5は本発明における輪郭強調状態説明図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. FIG. 2 is a block diagram of an embodiment of the present invention, and FIG.
FIG. 4 is an explanatory diagram of the SI conversion unit, FIG. 4 is an explanatory diagram of the RGB conversion unit thereof, and FIG. 5 is an explanatory diagram of a contour emphasis state in the present invention.

【0013】図中他図と同一記号部は同一部分を示し、
1はRGB原画像保持部、2はHSI変換部、3は輪郭
強調空間フィルタ、4はRGB変換部、5はHSI画像
保持部、6はRGB輪郭強調画像保持部である。
In the drawings, the same symbol parts as in the other drawings indicate the same parts,
Reference numeral 1 is an RGB original image holding unit, 2 is an HSI conversion unit, 3 is a contour emphasis spatial filter, 4 is an RGB conversion unit, 5 is an HSI image holding unit, and 6 is an RGB contour emphasis image holding unit.

【0014】RGB原画像保持部1は輪郭強調処理され
る三原色の原画像を一時保持するものである。HSI変
換部2は三原色の原画像をマンセルの表色系に代表され
る色相(H)、彩度(S)、明度(I)に変換するもの
である。このHSI変換部2は、R、G、Bに応じて図
3に示す〜の演算を行いH、S、Iを出力する。こ
のH、S、Iは例えばHSI画像保持部5に保持され
る。
The RGB original image holding unit 1 temporarily holds the original images of the three primary colors to be subjected to contour enhancement processing. The HSI conversion unit 2 converts a primary image of three primary colors into a hue (H), a saturation (S), and a lightness (I) represented by Munsell's color system. The HSI conversion unit 2 performs the operations (1) to (3) shown in FIG. 3 according to R, G, and B, and outputs H, S, and I. The H, S, and I are held in the HSI image holding unit 5, for example.

【0015】輪郭強調空間フィルタ3は、前記HSI変
換部2から出力されたIに対して輪郭強調演算が行われ
たI′が出力されるものであり、例えば前記図6におい
てで示す如き空間フィルタ係数により、図2に示す
のI′の如き演算を行いRGB変換部4に伝達する。
The contour enhancement spatial filter 3 outputs I'which is obtained by performing contour enhancement calculation on I output from the HSI conversion unit 2. For example, the spatial filter as shown in FIG. An operation such as I ′ shown in FIG. 2 is performed by the coefficient and the result is transmitted to the RGB converter 4.

【0016】RGB変換部4はH′、S′、I′から
R、G、Bを算出するものであり、図2のに示すよう
に、H′、S′については前記HSI変換部2から出力
されたH、Sが入力され、またI′については前記輪郭
強調空間フィルタ3において輪郭強調処理されたI′が
入力される。そしてこれらの値に応じて図4に示す〜
の如き演算を行う。
The RGB converter 4 calculates R, G, B from H ', S', I '. As shown in FIG. 2, H', S'from the HSI converter 2 is calculated. The output H and S are input, and for I ', I'which has been subjected to the edge enhancement processing in the edge enhancement spatial filter 3 is input. And shown in FIG. 4 according to these values ~
Is calculated.

【0017】なお、図4におけるH、S、Iは、図2に
おけるH′、S′、I′に対応するものである。そし
て、これら図3、図4の変換動作は、HSI←→RGB
変換として知られているものの1つであるHaydnの
定義にもとづくものであり、RGB空間、HSI空間の
それぞれのパラメータ値は、0≦R、G、B≦255、
0≦H、S、I≦255に規格化されるものとしてい
る。
Note that H, S, and I in FIG. 4 correspond to H ', S', and I'in FIG. Then, the conversion operation of these FIG. 3 and FIG.
It is based on the definition of Haydn, which is one of the known conversions, and the respective parameter values of RGB space and HSI space are 0 ≦ R, G, B ≦ 255,
It is assumed that the standardization is 0 ≦ H, S, and I ≦ 255.

【0018】従って他の変換手法により変換する場合に
は、図3、図4の演算はそれに応じて変わるものとな
る。本発明の動作について説明する。
Therefore, when conversion is performed by another conversion method, the operations of FIGS. 3 and 4 are changed accordingly. The operation of the present invention will be described.

【0019】(1) 先ず図2のRGB原画像保持部1に、
例えば図5(A)に示す如き輪郭強調前の原画像を入力
する。そしてこれをHSI変換部2により図3に示す演
算を行って、図5(B)に示すようにHSI変換を行
う。そしてこのHSI変換した中間画像をHSI画像保
持部5により保持する。
(1) First, in the RGB original image holding unit 1 of FIG.
For example, an original image before contour enhancement as shown in FIG. 5A is input. Then, the HSI conversion unit 2 performs the calculation shown in FIG. 3 to perform the HSI conversion as shown in FIG. Then, the HSI-converted intermediate image is held by the HSI image holding unit 5.

【0020】(2) HSI画像保持部5により保持された
中間画像のうち、その明度Iを輪郭強調空間フィルタ3
に送出し、図6のに示す如き空間フィルタ係数により
輪郭強調演算を行う。そしてこの演算結果のI′をRG
B変換部4に送出する。このときHSI画像保持部5か
ら前記HSI変換部2でHSI変換して得られた色相H
と彩度SをそれぞれH′、S′としてRGB変換部4に
送出する。これによりRGB変換部4には、図2ので
示すH′、S′、I′が送出され、図5(B)のHSI
変換されたデータが、Iだけ輪郭強調された図5(G)
に示すものとなって、伝達される。
(2) The brightness I of the intermediate image held by the HSI image holding unit 5 is defined by the contour emphasis spatial filter 3
Then, the contour emphasis calculation is performed by the spatial filter coefficient as shown in FIG. Then, I'of the calculation result is RG
It is sent to the B conversion unit 4. At this time, the hue H obtained by HSI conversion from the HSI image holding unit 5 by the HSI conversion unit 2 is performed.
And the saturation S as H ′ and S ′, respectively, are sent to the RGB converter 4. As a result, H ', S', and I'shown in FIG. 2 are sent to the RGB conversion unit 4, and the HSI shown in FIG.
The transformed data is contour-enhanced by I in FIG. 5 (G).
It is transmitted as shown in.

【0021】(3) そしてRGB変換部4は、これらに対
して図4に示す演算を行って、RGBをRGB輪郭強調
画像保持部6に送出する。このとき、図5(C)に示
す、Iが輪郭強調されたデータが図5(D)に示す如く
なる。
(3) Then, the RGB conversion section 4 performs the calculation shown in FIG. 4 on these, and sends RGB to the RGB contour emphasized image holding section 6. At this time, the data in which the contour of I is emphasized as shown in FIG. 5C is as shown in FIG. 5D.

【0022】これにより明らかなように、図5(A)に
示す原画像の中心ピクセルはR、G、Bが(50、5
0、50)であって、R、G、Bがそれぞれ1:1:1
で灰色を呈しているが、図5(D)に示す如く、本発明
により輪郭強調処理された中心ピクセルは、(58、5
8、58)であって、R、G、Bの比率がこれまた1:
1:1のままであり、色合を変化せずに輪郭強調される
ことが明らかである。
As is clear from this, the central pixels of the original image shown in FIG.
0, 50), and R, G, and B are 1: 1: 1, respectively.
However, as shown in FIG. 5D, the central pixel subjected to the edge enhancement processing according to the present invention is (58, 5).
8, 58), and the ratio of R, G, B is also 1:
It remains 1: 1 and it is clear that the contour is emphasized without changing the hue.

【0023】[0023]

【発明の効果】本発明によれば、輪郭強調による画像の
色合いの劣化を防ぎ、原画像にない色合いのピクセルを
生じることはない。さらに強度の輪郭強調効果を得るた
めに、複数回にわたって輪郭強調を行っても、全く色合
いの劣化は起らず、高品質の輪郭強調効果を得ることが
できる。
According to the present invention, it is possible to prevent the deterioration of the color tone of an image due to the edge enhancement and to prevent the generation of a pixel having a color tone which is not present in the original image. Even if contour enhancement is performed a plurality of times in order to obtain a stronger contour enhancement effect, the hue is not deteriorated at all, and a high-quality contour enhancement effect can be obtained.

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

【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の一実施例構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】HSI変換部の説明図である。FIG. 3 is an explanatory diagram of an HSI conversion unit.

【図4】RGB変換部の説明図である。FIG. 4 is an explanatory diagram of an RGB conversion unit.

【図5】本発明における輪郭強調状態説明図である。FIG. 5 is an explanatory diagram of a contour emphasis state according to the present invention.

【図6】従来例である。FIG. 6 is a conventional example.

【図7】従来例の問題点説明図である。FIG. 7 is a diagram illustrating a problem of the conventional example.

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

1 RGB原画像保持部 2 HSI変換部 3 輪郭強調空間フィルタ 4 RGB変換部 5 HSI画像保持部 6 RGB輪郭強調画像保持部 1 RGB original image storage unit 2 HSI conversion unit 3 Edge enhancement spatial filter 4 RGB conversion unit 5 HSI image storage unit 6 RGB outline enhancement image storage unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 画素の色ピクセルが赤、緑、青の三原色
で表現される画像の輪郭強調装置において、 各ピクセルの三原色の画像を色相(H)、彩度(S)、
明度(I)に変換するHSI変換手段(2)と、 前記明度(I)のみを輪郭強調処理する輪郭強調処理手
段(3)と、 前記輪郭強調処理された明度と、前記HSI変換手段か
ら得られた色相、彩度から三原色を得る三原色変換手段
(4)を具備することを特徴とする画像輪郭強調装置。
1. A contour enhancement device for an image in which color pixels of a pixel are represented by three primary colors of red, green, and blue. The image of the three primary colors of each pixel is hue (H), saturation (S),
HSI conversion means (2) for converting to lightness (I), contour emphasis processing means (3) for performing contour emphasis processing only on the lightness (I), lightness subjected to the contour emphasis processing, and the HSI conversion means An image contour emphasizing apparatus comprising: three primary color conversion means (4) for obtaining three primary colors from the obtained hue and saturation.
JP4101006A 1992-04-21 1992-04-21 Picture outline emphasizing device Withdrawn JPH05298442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4101006A JPH05298442A (en) 1992-04-21 1992-04-21 Picture outline emphasizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4101006A JPH05298442A (en) 1992-04-21 1992-04-21 Picture outline emphasizing device

Publications (1)

Publication Number Publication Date
JPH05298442A true JPH05298442A (en) 1993-11-12

Family

ID=14289168

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4101006A Withdrawn JPH05298442A (en) 1992-04-21 1992-04-21 Picture outline emphasizing device

Country Status (1)

Country Link
JP (1) JPH05298442A (en)

Similar Documents

Publication Publication Date Title
KR100782818B1 (en) Method and system for luminance preserving color conversion from YUV to RGB
JP3686684B2 (en) Airbrush method
JPH0216876A (en) Method and apparatus for color conversion display
JPWO2002021849A1 (en) Image processing apparatus and color system conversion method
Reddy et al. Grey level to RGB using YCbCr color space Technique
JPH11250227A (en) Method and device for correcting face area and record medium for recording face area correction program
KR100331839B1 (en) apparatus and method for decoding using television video signal
JP4375580B2 (en) Image processing apparatus, image processing method, and image processing program
JPH05298442A (en) Picture outline emphasizing device
JPH05174142A (en) Color picture contour emphasis/relaxation processing method
US7557953B2 (en) Image processing device and image processing method
JP4051919B2 (en) Color image signal processing apparatus, color image signal processing method, and color image signal processing program
JP2002094826A (en) Image processing unit, image forming unit and method for processing image
JP2002314827A (en) Image processing method, image processing device, image forming device equipped therewith, image processing program, and recording medium
JPH09147098A (en) Method and device for processing color image
JPH09275496A (en) Image contour emphasis processing unit and its method
JP2000184216A (en) Image processing unit
JPH0364192A (en) Picture signal processor
JPH06334850A (en) Color conversion processing unit
JP2001320593A (en) Image processing unit, and image forming device provided with it, and image processing method
JP2004312250A (en) Image processing apparatus and image forming apparatus
JPH05115001A (en) Color converter
JP3205054B2 (en) Color image processing apparatus and method
JPH11146210A (en) Image processor
JP2001157072A (en) Image processing method, image processor and image- forming device provided with the same

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990706