JPH11185017A - Color image monochromating device - Google Patents

Color image monochromating device

Info

Publication number
JPH11185017A
JPH11185017A JP9355188A JP35518897A JPH11185017A JP H11185017 A JPH11185017 A JP H11185017A JP 9355188 A JP9355188 A JP 9355188A JP 35518897 A JP35518897 A JP 35518897A JP H11185017 A JPH11185017 A JP H11185017A
Authority
JP
Japan
Prior art keywords
color image
image
hue
hue angle
monochrome
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
JP9355188A
Other languages
Japanese (ja)
Inventor
Toru Sugiyama
徹 杉山
Yoshiaki Kudo
芳明 工藤
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP9355188A priority Critical patent/JPH11185017A/en
Publication of JPH11185017A publication Critical patent/JPH11185017A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide images for which optimum gradation conversion is applied to respective hues almost without eliminating the gradation of a specified hue, yellow for instance. SOLUTION: This monochromating device reads the L*a*b value of one picture element of a color image by a scanner 3 (step 501). In a computer, saturation C and a hue angle H are calculated from the L*a*b value (step 502). Then, it is retrieved to determine between which hue angles of a lookup table 19 for indicating the correspondence relation of a hue angle and a correction coefficient, the hue angle H of the color image is present (step 503). The hue angles before and after the hue angle H of the color image are read the lookup table 19 and a correction amount corresponding to the hue angle H of the color image is calculated by using arithmetic interpolation (step 504). By using the obtained correction amount, one picture element of the color image is appropriately monochromated (step 505).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、カラー画像を、モ
ノクロ画像に変換するカラー画像のモノクロ化装置に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for converting a color image into a monochrome image and converting the color image into a monochrome image.

【0002】[0002]

【従来の技術】従来、カラー画像をモノクロ化する場
合、主に画像の明度情報を利用していた。明度情報を表
現する手法のひとつとしてL* a* b* 色空間がある。
L* a* b* 色空間では、L* は明度を表し、0〜10
0の値を取り値が大きいほど明度が高い。すなわち、明
るい画像ということになる。また、a* は赤〜緑方向の
強さを表し、だいたい−100〜100の値をとる(こ
の範囲を越えることもある)。正の値を取るときは赤、
負の値のときは緑を示す。またb* は黄〜青方向の色の
強さを表し、だいたい−100〜100の値をとる(こ
の範囲を越えることもある)。正の値を取るときは黄、
負の値のときは青を示す。
2. Description of the Related Art Conventionally, when a color image is converted to monochrome, brightness information of the image is mainly used. One of the methods for expressing brightness information is an L * a * b * color space.
In the L * a * b * color space, L * represents lightness,
Taking a value of 0, the larger the value, the higher the brightness. That is, it is a bright image. A * indicates the intensity in the red to green direction, and generally takes a value of -100 to 100 (this range may be exceeded). Red for positive values,
A negative value indicates green. B * represents the intensity of the color in the yellow to blue direction, and generally takes a value of -100 to 100 (may exceed this range). Yellow for positive values,
A negative value indicates blue.

【0003】モノクロ画像をL* a* b* 色空間で表現
すると、すべての画素についてa*=b* =0であり、
L* のみが値を持つ。一方、カラー画像は、L* 、a*
、b* それぞれについて値を持つ。したがって、カラ
ー画像をモノクロ化するためには、(1)式に従って演
算を行えば良い。カラー画像の明度値をL* とし、モノ
クロ化画像のL* a* b* 値をL* ´、a* ´、b* ´
とすると、L* ´はL*の関数として表現される。ま
た、a* ´、b* ´はカラー画像のa* 、b* の値にか
かわらず、常に0である。 L* ´=f(L* ) a* ´=0 b* ´=0 ・・・(1)
When a monochrome image is expressed in an L * a * b * color space, a * = b * = 0 for all pixels.
Only L * has a value. On the other hand, color images are L *, a *
, B *. Therefore, in order to convert a color image into a monochrome image, the operation may be performed according to the equation (1). The lightness value of the color image is L *, and the L * a * b * values of the monochrome image are L * ', a *', b * '
Then, L * 'is expressed as a function of L *. A * 'and b *' are always 0 irrespective of the values of a * and b * of the color image. L * '= f (L *) a *' = 0 b * '= 0 (1)

【0004】[0004]

【発明が解決しようとする課題】ところで、一般的なカ
ラー画像では、黄色の色相を持つ領域では、L* の取る
範囲はだいたい70〜90程度であり、他の色の取る範
囲よりもかなり狭い。したがって、L* ´を、L* のみ
の関数としてモノクロ化を行うとき、カラー画像中の無
彩色や他の色の部分の階調を生かすように変換すると、
黄色の階調がほとんどなくなってしまう、という問題点
が生じる。また、黄色の階調を生かすように変換する
と、無彩色や他の色の階調がつぶれてしまう。
By the way, in a general color image, in a region having a yellow hue, the range of L * is about 70 to 90, which is considerably narrower than the range of other colors. . Therefore, when L * 'is converted to monochrome as a function of only L *, if it is converted so as to make use of the gradation of achromatic or other color portions in a color image,
There is a problem that the yellow gradation almost disappears. Further, if the conversion is performed so as to make use of the yellow gradation, the gradation of an achromatic color or another color will be lost.

【0005】本発明は、このような問題に鑑みてなされ
たもので、その目的とするところは、特定の色相、例え
ば黄色の階調がほとんどなくなってしまうということが
なく、各色相に対して最適な階調変換がかけられた画像
を得ることができるカラー画像のモノクロ化装置を提供
することにある。
The present invention has been made in view of such a problem, and an object of the present invention is to prevent a specific hue, for example, a yellow tone from almost disappearing. An object of the present invention is to provide a color image monochromizing device capable of obtaining an image subjected to optimal gradation conversion.

【0006】[0006]

【問題を解決するための手段】前述した目的を達成する
ために、本発明は色相角と彩度に応じた補正係数を用い
て、カラー画像をモノクロ画像に変換することを特徴と
するカラー画像のモノクロ化装置である。
SUMMARY OF THE INVENTION In order to achieve the above-mentioned object, the present invention provides a color image characterized by converting a color image into a monochrome image by using a correction coefficient corresponding to a hue angle and saturation. Device.

【0007】本発明では、まず(2)式のようにa* 、
b* から彩度C、色相角Hを定める。C=(a* 2 +b
* 2 )1/2 a* >0,b* ≧0のとき H=atan(b* /a* ) a* =0,b* ≧0のとき H=π/2 a* <0のとき H=π+atan(b* /a* ) a* =0,b* <0のとき H=3π/2 a* >0,b* <0のとき H=2π+atan(b* /a* ) ・・・(2) カラー画像のモノクロ化は、L* と(2)式で定めた
C、Hを用いた(3)式によって行う。 L* ´=L* +g(H)C a* ´=0 b* ´=0 ・・・(3)
In the present invention, first, a *,
The saturation C and the hue angle H are determined from b *. C = (a * 2 + b
* 2) 1/2 When a *> 0, b * ≧ 0 H = atan (b * / a *) When a * = 0, b * ≧ 0 H = π / 2 a * <H = Π + atan (b * / a *) a * = 0, b * <0 H = 3π / 2 a *> 0, b * <0 H = 2π + atan (b * / a *) 2) Monochrome conversion of a color image is performed by equation (3) using L * and C and H determined by equation (2). L * '= L * + g (H) C a *' = 0 b * '= 0 (3)

【0008】g(H)は、色相角Hの関数であり、ある
色相角Hのときの彩度Cが「1」のときの補正量を示
す。g(H)は、最適な補正をかけられるように、ユー
ザが決めることができる。(3)式を用いることによ
り、各色相ごとに補正をかけながらモノクロ化を行うこ
とができる。
[0008] g (H) is a function of the hue angle H, and indicates the correction amount when the saturation C at a certain hue angle H is "1". g (H) can be determined by the user so that optimum correction can be applied. By using the expression (3), monochrome conversion can be performed while correcting each hue.

【0009】[0009]

【発明の実施の形態】以下、図面に基づいて本発明の実
施の形態を詳細に説明する。図1は、本発明の1実施の
形態に係るカラー画像のモノクロ化装置1の概略構成図
である。図1に示すように、モノクロ化装置1はスキャ
ナ3と、コンピュータ5からなる。スキャナ3は、オリ
ジナルカラー画像11やカラー画像を読み取る。コンピ
ュータ5は、スキャナ3で読み取られた画像に対して適
宜処理を行う。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a schematic configuration diagram of a color image monochrome conversion apparatus 1 according to one embodiment of the present invention. As shown in FIG. 1, the monochrome conversion device 1 includes a scanner 3 and a computer 5. The scanner 3 reads an original color image 11 and a color image. The computer 5 performs appropriate processing on the image read by the scanner 3.

【0010】このモノクロ化装置1では、カラー画像を
モノクロ化する場合、スキャナ3でカラー画像を読み取
り、コンピュータ5が(3)式の変換を行い、カラー画
像に対して、(3)式で示すような色相角と彩度に応じ
た補正係数を用いてモノクロ化する。
In the monochrome converting apparatus 1, when a color image is converted to a monochrome image, the color image is read by the scanner 3, the computer 5 performs the conversion of the expression (3), and the color image is expressed by the expression (3). Monochrome conversion is performed using the correction coefficient according to the hue angle and the saturation.

【0011】次に、具体的に(3)式の関数g(H)を
求め、モノクロ化を行う処理について説明する。図2、
図3は、ルックアップテーブル19を作成する手順を示
すフローチャート及び説明図である。図2、図3に示す
ように、オリジナルカラー画像11を読み取り、L* a
* b* 値(L* 1 ,a* 1 ,b* 1 )を得る(ステップ
201)。図3のオリジナルカラー画像11として、全
色相についてまんべんなく色が分布したカラーパッチの
入った画像を用意する。例えば、ISO 12641に
おいて規定されている、IT8.7/1−1993カラ
ーターゲットなどが最適である。これは、透過リバーサ
ルフィルム作成されたカラーパッチで、各パッチのL*
a* b* 値が規定されている。
Next, the processing for obtaining the function g (H) of the equation (3) and performing monochrome conversion will be specifically described. FIG.
FIG. 3 is a flowchart and an explanatory diagram showing a procedure for creating the lookup table 19. As shown in FIGS. 2 and 3, the original color image 11 is read, and L * a
A * b * value (L * 1, a * 1, b * 1) is obtained (step 201). As the original color image 11 in FIG. 3, an image containing color patches in which the colors are uniformly distributed for all hues is prepared. For example, an IT8.7 / 1-1993 color target specified in ISO 12641 is optimal. This is a color patch made of a transparent reversal film.
a * b * values are specified.

【0012】オリジナルカラー画像11をスキャナ3で
読み込み、コンピュータ5は画像処理ソフト13を用い
て教師モノクロ画像15を生成する。教師モノクロ画像
15は、オリジナルカラー画像11を最適にモノクロ化
した画像である。即ち教師モノクロ画像15のL* a*
b* 値(L* 2 ,0,0)を得る(ステップ202)。
また、教師モノクロ画像15は、製版用スキャナのカ
ラーコレクション機能を用いてカラーターゲットをスキ
ャンするときに補正をかけて得ることもできる。
The original color image 11 is read by the scanner 3, and the computer 5 generates the teacher monochrome image 15 by using the image processing software 13. The teacher monochrome image 15 is an image obtained by optimally converting the original color image 11 to monochrome. That is, L * a * of the teacher monochrome image 15
The b * value (L * 2, 0, 0) is obtained (step 202).
The teacher monochrome image 15 can also be obtained by performing correction when scanning a color target using the color correction function of the plate-making scanner.

【0013】オリジナルカラー画像11のL* a* b*
値(L* 1 ,a* 1 ,b* 1 )を、教師モノクロ画像1
5のL* a* b* 値(L* 2 ,0,0)とを比較して、
補間係数T(H)を得てルックアップテーブル19を作
成する(ステップ203)。即ち、オリジナルカラー画
像11のL* a* b* 値(L* 1 ,a* 1 ,b* 1)を
(2)式を用いて彩度、色相角に変換した値を(L* 1
、C1 ,H1 )とし、教師モノクロ画像15のL* a*
b* 値を(L* 2 ,0,0)とする。色相角H1 にお
ける補正係数T(H1 )を、(4)式で求めて、ルック
アップテーブル19を作成する。 T(H1 )=(L* 2 −L* 1 )/C1 (4) 図4は、作成されるルックアップテーブル19を示し、
色相角Hに対して補正係数T(H)が定まる。IT8.7/1-
1993カラーターゲットを用い、製版用スキャナのカラー
コレクション機能を用いて教師モノクロ画像を作成した
場合、A〜L行、7列の合計12個のカラーパッチにつ
いて補正係数を求めると、ほぼ全色相角に関してまんべ
んなく分布した、12個の値を持つルックアップテーブ
ル19を求めることができる。
L * a * b * of original color image 11
The values (L * 1, a * 1, b * 1) are converted to the teacher monochrome image 1
5 with the L * a * b * value (L * 2, 0, 0)
The lookup table 19 is created by obtaining the interpolation coefficient T (H) (step 203). That is, the values obtained by converting the L * a * b * values (L * 1, a * 1, b * 1) of the original color image 11 into the saturation and the hue angle using the equation (2) are expressed as (L * 1
, C1, H1) and L * a * of the teacher monochrome image 15
Let the b * value be (L * 2, 0, 0). The look-up table 19 is created by obtaining the correction coefficient T (H1) at the hue angle H1 by equation (4). T (H1) = (L * 2-L * 1) / C1 (4) FIG. 4 shows a lookup table 19 to be created.
A correction coefficient T (H) is determined for the hue angle H. IT8.7 / 1-
When a teacher monochrome image is created using the color correction function of a plate-making scanner using a 1993 color target, when correction coefficients are obtained for a total of 12 color patches of A to L rows and 7 columns, almost all hue angles are obtained. A look-up table 19 having 12 values distributed evenly can be obtained.

【0014】次に、このようにして得られたルックアッ
プテーブル19を用いて、カラー画像をモノクロ化する
処理を図5を用いて説明する。まず、スキャナ3でカラ
ー画像を読み取り(ステップ501)、コンピュータ5
はL* a* b* 値に対して(2)式の変換を行い彩度、
色相角を計算する(ステップ502)。次に算出された
色相角H( 例えば色相角H3 ) がルックアップテーブル
19のどの色相角の間にあるかを検索する(ステップ5
03)。即ち、H2 <H3 <H4 となる色相角H2 、H
4 をルックアップテーブル19から求める。例えばH3
=1/4πであれば、H2 =1/6π、H4 =1/3π
が算出される。
Next, a process for converting a color image into a monochrome image using the look-up table 19 obtained as described above will be described with reference to FIG. First, a color image is read by the scanner 3 (step 501).
Converts the value of L * a * b * to equation (2) and calculates the saturation.
The hue angle is calculated (step 502). Next, a search is performed to determine which hue angle of the calculated hue angle H (for example, hue angle H3) is in the look-up table 19 (step 5).
03). That is, hue angles H2 and H2 satisfying H2 <H3 <H4
4 is obtained from the lookup table 19. For example, H3
= 1 / 4π, H2 = 1 / 6π, H4 = 1 / 3π
Is calculated.

【0015】次に、色相角H3 に対する補正係数を、ル
ックアップテーブル19から補間演算で求める(ステッ
プ504)。即ち、H2 、H4 を(5)式に用いて線形
補間してH3 における補正量g(H3 )を、 g(H3 )={ (H4 −H3 )T(H2 )+(H3 −H2 )T(H4 )} /(H 4 −H2 )・・・(5) により求める。図6はステップ504の処理の説明図で
あり、図6に示されるようにT(H2)とT(H4 )の
値から線形補間を用いてg(H3 )の値が定められる。
Next, a correction coefficient for the hue angle H3 is obtained from the lookup table 19 by interpolation (step 504). That is, H2 and H4 are linearly interpolated using the equation (5), and the correction amount g (H3) at H3 is calculated as follows: g (H3) = {(H4-H3) T (H2) + (H3-H2) T ( H4)} / (H4-H2) (5) FIG. 6 is an explanatory diagram of the processing in step 504. As shown in FIG. 6, the value of g (H3) is determined from the values of T (H2) and T (H4) using linear interpolation.

【0016】この補正量g(H3 )を、(3)式のg
(H)に代入してカラー画像中の1画素に対して適正に
モノクロ化したL* a* b* 値(L* ´,0,0)を得
る(ステップ505)。カラー画像の全ての画素につい
て、以上の作業をして最適なモノクロ画像を得る。
This correction amount g (H 3) is calculated as g
By substituting into (H), an L * a * b * value (L * ', 0, 0) appropriately monochrome for one pixel in the color image is obtained (step 505). The above operation is performed on all the pixels of the color image to obtain an optimal monochrome image.

【0017】尚、読み込むカラー画像の形態がL* a*
b* 値以外、例えばRGBの場合、何らかの方法でRG
B→L* a* b* 変換を行ってからモノクロ化を行う。
同様に、出力するモノクロ画像の形態がL* a* b* 値
以外、例えばCMYKの場合、何らかの方法でL* a*
b* →CMYK変換を行ってから出力を行う。
The form of the color image to be read is L * a *
Other than b * value, for example, in the case of RGB, RG
Perform B → L * a * b * conversion and then convert to monochrome.
Similarly, if the form of the monochrome image to be output is other than the L * a * b * value, for example, CMYK, the L * a *
Output after b * → CMYK conversion.

【0018】[0018]

【発明の効果】以上、詳細に説明したように本発明によ
れば、特定の色相、例えば黄色の階調がほとんどなくな
ってしまうということがなく、各色相に対して最適な階
調変換がかけられた画像を得ることができる。
As described above in detail, according to the present invention, a specific hue, for example, a yellow gradation is hardly lost, and an optimum gradation conversion is applied to each hue. The obtained image can be obtained.

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

【図1】カラー画像のモノクロ化装置1の概略構成図FIG. 1 is a schematic configuration diagram of a color image monochrome converting apparatus 1.

【図2】ルックアップテーブル19を作成するフローチ
ャート
FIG. 2 is a flowchart for creating a lookup table 19;

【図3】ルックアップテーブル19を作成する手順を説
明する図
FIG. 3 is a diagram illustrating a procedure for creating a lookup table 19;

【図4】ルックアップテーブル19を示す図FIG. 4 is a diagram showing a lookup table 19;

【図5】カラー画像中の1画素に対するモノクロ化の手
順を示すフローチャート
FIG. 5 is a flowchart showing a procedure for converting one pixel in a color image into a monochrome image;

【図6】ステップ504の処理を示す説明図FIG. 6 is an explanatory diagram showing processing of step 504.

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

1………モノクロ化装置 3………スキャナ 5………コンピュータ 1. Monochrome conversion device 3. Scanner 5. Computer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】色相角、彩度に応じた補正係数を用いて、
カラー画像をモノクロ画像に変換することを特徴とする
カラー画像のモノクロ化装置。
1. Using a correction coefficient according to a hue angle and saturation,
An apparatus for converting a color image into a monochrome image.
【請求項2】前記変換に用いる補正係数を、色相角、彩
度に応じて算定することを特徴とするカラー画像のモノ
クロ化装置。
2. An apparatus for converting a color image into a monochrome image, wherein a correction coefficient used for the conversion is calculated according to a hue angle and a saturation.
JP9355188A 1997-12-24 1997-12-24 Color image monochromating device Pending JPH11185017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9355188A JPH11185017A (en) 1997-12-24 1997-12-24 Color image monochromating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9355188A JPH11185017A (en) 1997-12-24 1997-12-24 Color image monochromating device

Publications (1)

Publication Number Publication Date
JPH11185017A true JPH11185017A (en) 1999-07-09

Family

ID=18442468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9355188A Pending JPH11185017A (en) 1997-12-24 1997-12-24 Color image monochromating device

Country Status (1)

Country Link
JP (1) JPH11185017A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020037448A (en) * 2000-11-14 2002-05-22 이성수 Method of converting color image to binary data for one-bit display
KR100533310B1 (en) * 2001-10-01 2005-12-05 캐논 가부시끼가이샤 Image processing method and apparatus, and storage medium
KR102027106B1 (en) * 2018-09-28 2019-11-04 한국생산기술연구원 Apparatus and method for acquiring an image with enhanced contrast, Computer program for the same, and Recording medium storing computer program for the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020037448A (en) * 2000-11-14 2002-05-22 이성수 Method of converting color image to binary data for one-bit display
KR100533310B1 (en) * 2001-10-01 2005-12-05 캐논 가부시끼가이샤 Image processing method and apparatus, and storage medium
KR102027106B1 (en) * 2018-09-28 2019-11-04 한국생산기술연구원 Apparatus and method for acquiring an image with enhanced contrast, Computer program for the same, and Recording medium storing computer program for the same

Similar Documents

Publication Publication Date Title
JP2887158B2 (en) Image processing device
JP5481021B2 (en) Heterogeneous color gamut mapping method and apparatus
JP3676402B2 (en) Method and apparatus for cascading natural scene images
JP3723604B2 (en) Image dependent color saturation correction method and apparatus for natural scene image in electronic document
JP4375781B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP5179829B2 (en) Gray data correction apparatus and method
JP4308392B2 (en) Digital image processing method and mapping method
US8265411B2 (en) Image recording apparatus, image recording method, image processing apparatus, image processing method and image processing system
US8731288B2 (en) Image processing techniques for color correction
US20080043268A1 (en) Apparatus, method and medium outputting wide gamut space image
JPH1169186A (en) Method for setting color correction function
JP2001014448A (en) Device and method for converting color data and computer readable recording medium with program for computer to execute the same method recorded therein
JP4244105B2 (en) Image processing method and apparatus, and recording medium
US7224833B2 (en) Method for fast color saturation control
JP4375580B2 (en) Image processing apparatus, image processing method, and image processing program
JP4058244B2 (en) Image processing method
JPH11185017A (en) Color image monochromating device
JP3749102B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP2007312313A (en) Image processor, image processing method and program
JP2004297617A (en) Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium recorded with image processing program
JP4396107B2 (en) Video display system
JP2002314827A (en) Image processing method, image processing device, image forming device equipped therewith, image processing program, and recording medium
JPH05115001A (en) Color converter
JP4266002B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2000101824A (en) Image processing method, it system and recording medium