JP2002010090A - Image processing method, image processor and recording medium - Google Patents

Image processing method, image processor and recording medium

Info

Publication number
JP2002010090A
JP2002010090A JP2000189824A JP2000189824A JP2002010090A JP 2002010090 A JP2002010090 A JP 2002010090A JP 2000189824 A JP2000189824 A JP 2000189824A JP 2000189824 A JP2000189824 A JP 2000189824A JP 2002010090 A JP2002010090 A JP 2002010090A
Authority
JP
Japan
Prior art keywords
color
image data
gradation
gradation correction
area
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
JP2000189824A
Other languages
Japanese (ja)
Inventor
Masanori Hirano
政徳 平野
Satoshi Ouchi
敏 大内
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000189824A priority Critical patent/JP2002010090A/en
Publication of JP2002010090A publication Critical patent/JP2002010090A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To form monochromatic image data of high quality in which a color region where lightness difference from a peripheral part is not present or little is clearly expressed. SOLUTION: Regions of color image data which can be regarded as the same color are extracted with a color region dividing part 112. A gradation correction part 120 imparts gradation correction to monochromatic data converted with a monochromatic conversion part 100. The gradation correction is applied for adding gradation difference to neighboring regions extracted with the color region dividing part 112.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像データ処理の
分野に係り、特に、カラー画像データから高品質なモノ
クロ画像データを生成するための技術に関する。
The present invention relates to the field of image data processing, and more particularly, to a technique for generating high-quality monochrome image data from color image data.

【0002】[0002]

【従来の技術】複写機やプリンタなどの画像形成のため
の機器、スキャナなどの画像読み取りのための機器、フ
ァクスなどの画像通信のための機器などにおいては、原
稿から読み取ったカラー画像データや、外部から受信し
たカラー画像データからモノクロ画像データを生成する
機能がしばしば必要となる。
2. Description of the Related Art In image forming apparatuses such as copiers and printers, image reading apparatuses such as scanners, and apparatuses for image communication such as faxes, color image data read from a document, A function of generating monochrome image data from color image data received from the outside is often required.

【0003】カラー画像データをモノクロ画像データに
変換する一般的な方法は、カラー画像データの明度情報
のみを利用する方法である。最も簡易な方法として、R
GBカラー画像データのGデータをそのままモノクロ画
像データとして利用する方法も用いられることがある。
A general method for converting color image data into monochrome image data is to use only the brightness information of the color image data. As the simplest method, R
A method of using the G data of the GB color image data as monochrome image data as it is may be used.

【0004】また、特開平6−70180号公報には、
カラー画像通信装置(ファクス)において、フルカラー
画像データを例えば8色のカラー画像データに変換し、
変換後の各色に特定の白黒濃度を割り当てることにより
モノクロ画像データを生成する手法が開示されている。
[0004] Also, Japanese Patent Application Laid-Open No. 6-70180 discloses that
In a color image communication device (fax), full color image data is converted into, for example, eight color image data,
A method of generating monochrome image data by assigning a specific black and white density to each color after conversion is disclosed.

【0005】[0005]

【発明が解決しようとする課題】複写機でカラー原稿を
モノクロコピーした場合や、パソコン上で作成・編集し
たカラー画像データをプリンタでモノクロ出力した場合
などに、カラーで出力した時には明確に識別できる文字
や図形などが、モノクロ出力では部分的に識別不能とな
るという問題があった。これは、元のカラー画像データ
中の一部の色領域がモノクロ変換によって欠落するため
である。
When a color original is copied in monochrome by a copying machine or when color image data created and edited on a personal computer is output in monochrome by a printer, it can be clearly identified when output in color. There is a problem that characters and figures are partially indistinguishable in monochrome output. This is because some color regions in the original color image data are missing due to the monochrome conversion.

【0006】本発明の目的は、そのような問題点を改善
し、より高画質のモノクロ画像データをカラー画像デー
タから生成する画像処理方法及び装置を提供することに
ある。本発明のもう1つの目的は、カラー画像データの
高品質のモノクロ出力のための画像処理装置を提供する
ことにある。本発明のもう1つの目的は、カラー原稿を
読み取って高品質のモノクロ画像データを生成する画像
処理装置を提供することにある。本発明のもう1つの目
的は、カラー原稿を読み取って高品質のモノクロ画像を
形成する画像処理装置を提供することにある。
An object of the present invention is to provide an image processing method and apparatus which can solve such problems and generate higher quality monochrome image data from color image data. Another object of the present invention is to provide an image processing apparatus for high quality monochrome output of color image data. It is another object of the present invention to provide an image processing apparatus that reads a color original and generates high-quality monochrome image data. It is another object of the present invention to provide an image processing apparatus that reads a color original and forms a high-quality monochrome image.

【0007】なお、前記特開平6−70180号公報に
開示されているカラー・モノクロ変換方法は、フルカラ
ーから少ない色数の8色カラーへの変換の際に元のカラ
ー画像データのかなりの情報が切り捨てられてしまうた
め、高画質のモノクロ出力が要求される複写機やプリン
タなどの機器には適用できない。
The color / monochrome conversion method disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 6-70180 discloses a method for converting a full color image into a small number of eight-color images. Since the data is truncated, it cannot be applied to devices such as copiers and printers that require high-quality monochrome output.

【0008】[0008]

【課題を解決するための手段】本発明の主たる特徴は、
カラー画像データの同色とみなし得る領域を抽出し、カ
ラー画像データをその明度情報を用いてモノクロ画像デ
ータに変換し、このモノクロ画像データに対し、カラー
画像データより抽出された隣接領域間に所定値以上の階
調差を付与するための階調補正を施すことである。カラ
ー画像データの明度情報のみを利用したモノクロ画像デ
ータでは、階調レベル数が限られることもあって、カラ
ー画像データ中の十分な色差を持つが明度差の小さな領
域間に階調差がつかないか階調差が極めて小さくなる結
果、一部の色領域が識別不可能となったり不明瞭になる
という問題があった。 本発明によれば、モノクロ画像
データに対する階調補正によって、周囲との明度差の小
さい色領域も明瞭に表現された高品質のモノクロ画像デ
ータを得ることができる。
The main features of the present invention are as follows.
An area that can be regarded as the same color of the color image data is extracted, the color image data is converted into monochrome image data using the brightness information, and a predetermined value is set between the adjacent areas extracted from the color image data for the monochrome image data. This is to perform gradation correction for giving the above gradation difference. Monochrome image data using only the brightness information of color image data may have a limited number of gradation levels. As a result, there is a problem that some color regions become indistinguishable or unclear as a result. According to the present invention, it is possible to obtain high-quality monochrome image data in which a color region having a small difference in brightness from the surroundings is clearly represented by gradation correction of the monochrome image data.

【0009】本発明のもう1つの特徴は、カラー画像デ
ータ上での隣接領域間の明度バランスと階調補正後のモ
ノクロ画像データ上の同隣接領域間の明度バランスとを
一致させるように階調補正を制御することである。この
ような階調補正の制御により、例えば、カラー画像デー
タ中の明から暗へ明度が変化する部分は、モノクロ画像
データにおいも明から暗へ変化する部分として表現され
るため、階調補正後のモノクロ画像データから違和感の
ない高品質のモノクロ画像を形成することができる。
Another feature of the present invention is that the brightness balance between adjacent areas on color image data and the brightness balance between the same adjacent areas on monochrome image data after tone correction are matched. It is to control the correction. By such control of gradation correction, for example, a portion where the brightness changes from light to dark in the color image data is expressed as a portion where the brightness changes from light to dark in the monochrome image data. From the monochrome image data, it is possible to form a high-quality monochrome image without discomfort.

【0010】本発明のもう1つの特徴は、ハイライト領
域では明るくなる方向へ階調補正を施し、シャドー領域
では暗くなる方向へ階調補正を施すことである。このよ
うにハイライト領域とシャドー領域とで階調補正方向を
逆にすることによって、階調補正後のモノクロ画像デー
タが全体的にシャドー側又はハイライト側に過度に偏る
ことを回避できる。
Another feature of the present invention is that gradation correction is performed in a highlight region in a direction of brightening, and gradation correction is performed in a shadow region in a direction of darkening. By reversing the gradation correction direction between the highlight region and the shadow region in this way, it is possible to prevent the monochrome image data after the gradation correction from being excessively biased toward the shadow side or the highlight side as a whole.

【0011】本発明のもう1つの特徴は、ハイライト領
域において、所定の階調レベルを超える部分では明るく
なる方向へ階調補正を施すが、その所定階調レベル以下
の部分では暗くなる方向へ階調補正を施し、シャドー領
域において、所定の階調レベルを下回る部分では暗くな
る方向へ階調補正を施すが、その所定階調レベル以上の
部分では明るくなる方向へ階調補正を施すことである。
このようにハイライト領域及びシャドー領域における階
調補正の方向を制御することにより、階調補正後のモノ
クロ画像データが全体的にシャドー側又はハイライト側
に過度に偏ることを回避できるとともに、黒に近い部分
及び白に近い部分の階調潰れもしくは階調跳びを防止し
つつ、必要な階調差を付与することができる。
Another feature of the present invention is that, in a highlight area, gradation correction is performed in a direction that becomes brighter in a portion exceeding a predetermined gradation level, but becomes darker in a portion below the predetermined gradation level. The gradation correction is performed, and in the shadow area, the gradation correction is performed in a direction below the predetermined gradation level in a darker direction, and the gradation correction is performed in a part above the predetermined gradation level in a brighter direction. is there.
By controlling the direction of the tone correction in the highlight area and the shadow area in this way, it is possible to prevent the monochrome image data after the tone correction from being excessively biased toward the shadow side or the highlight side as a whole, and It is possible to provide a necessary gradation difference while preventing gradation collapse or gradation jump in a portion close to white and a portion close to white.

【0012】本発明のもう1つの特徴は、階調補正のた
めの階調補正値の大きさを、カラー画像データより抽出
された領域数に応じて決定することである。このように
領域数に応じて階調補正値を決定することにより、カラ
ー画像データの領域数、換言すれば色数が増加した場合
にも、階調補正後の階調レベルが表現可能な上限レベル
又は下限レベルを超えないように管理することができ
る。
Another feature of the present invention is that the magnitude of the gradation correction value for gradation correction is determined according to the number of areas extracted from the color image data. By determining the tone correction value in accordance with the number of areas in this way, even when the number of areas of color image data, in other words, the number of colors increases, the upper limit at which the tone level after tone correction can be expressed It can be managed so as not to exceed the level or the lower limit level.

【0013】本発明のもう1つの特徴は、ハイライト領
域及びシャドー領域ではミドル領域よりも階調補正のた
めの階調補正値を大きくすることである。このような階
調補正値の制御により、作像エンジンの階調特性(図
7)に関連して後述するように、シャドー領域からハイ
ライト領域まで階調レベルの全域にわたって十分な階調
補正効果を得ることができる。
Another feature of the present invention is that a gradation correction value for gradation correction is larger in a highlight region and a shadow region than in a middle region. By controlling such a tone correction value, a sufficient tone correction effect can be obtained over the entire range of tone levels from the shadow area to the highlight area, as will be described later in connection with the tone characteristics (FIG. 7) of the imaging engine. Can be obtained.

【0014】本発明のもう1つの特徴は、カラー画像デ
ータの領域抽出の際に隣接領域間の色差を検出し、隣接
領域間の色差に応じて階調補正のための階調補正値の大
きさを決定することである。このような階調補正値の制
御により、色差の大きさをモノクロ画像データに階調差
の大きさとして反映させることができる。
Another feature of the present invention is that a color difference between adjacent regions is detected at the time of extracting a region of color image data, and a gradation correction value for gradation correction is determined according to the color difference between the adjacent regions. Is to decide. By controlling such a gradation correction value, the magnitude of the color difference can be reflected as the magnitude of the gradation difference in the monochrome image data.

【0015】本発明のもう1つの特徴は、カラー画像デ
ータの領域抽出の際に領域の色を暖色と寒色に分類し、
暖色に分類された領域については明るくする方向へ、寒
色に分類された領域については暗くする方向へ階調補正
を施すことである。通常、寒色は「暗い」、暖色は「明
るい」という印象があるため、このような階調補正によ
り違和感のないモノクロ画像データが得られる。
Another feature of the present invention is that when extracting an area of color image data, the color of the area is classified into a warm color and a cool color,
Tone correction is performed in the direction of increasing the brightness of a region classified as a warm color and in the direction of decreasing the brightness of a region classified as a cool color. Normally, the cool color has an impression of “dark” and the warm color has an impression of “bright”, and thus such gradation correction can provide monochrome image data without a sense of incongruity.

【0016】本発明のもう1つの特徴は、カラー画像デ
ータのグラフィックス領域を抽出し、グラフィックス領
域のみを色領域分割及び階調補正の処理対象とすること
である。このようにグラフィックス領域のみを処理対象
とするため、カラー画像データ中に連続調のイメージ領
域が含まれている場合でも、階調補正によりイメージ領
域でコントラストが過剰となるなどの画質劣化を生じる
ことがない。
Another feature of the present invention is that a graphics area of color image data is extracted, and only the graphics area is subjected to color area division and gradation correction processing. As described above, since only the graphics area is to be processed, even when a continuous tone image area is included in the color image data, image quality degradation such as an excessive contrast in the image area due to gradation correction occurs. Nothing.

【0017】以上に述べた本発明の特徴及び他の特徴に
ついて、以下において実施の形態に関連して詳細に説明
する。
The features and other features of the present invention described above will be described in detail below with reference to embodiments.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態につい
て添付図面を参照し説明する。なお、説明の重複を回避
するため、添付図面中の複数の図面において同一もしく
は同等の部分に同一の参照番号を用い、その説明を省略
又は簡略化する場合がある。
Embodiments of the present invention will be described below with reference to the accompanying drawings. In addition, in order to avoid duplication of description, the same reference numerals are used for the same or equivalent parts in a plurality of drawings in the accompanying drawings, and description thereof may be omitted or simplified.

【0019】図1は、本発明の一実施形態である画像処
理装置のブロック構成の一例を示すブロック図である。
図1において、100はモノクロ変換部、110は階調
調整部であり、これらには外部からカラー画像データが
入力される。このカラー画像データは、例えば、スキャ
ナでカラー原稿から読み取られたデータであったり、パ
ソコンなどのコンピュータ上で動作するソフトウェアに
よって作成されたデータである。また、このカラー画像
データは、例えば1677万色のRGBデータであった
り、RGBデータからLuv表色系、XYZ表色系ある
いはL*a*b表色系に変換されたデータなどである。
FIG. 1 is a block diagram showing an example of a block configuration of an image processing apparatus according to an embodiment of the present invention.
In FIG. 1, reference numeral 100 denotes a monochrome conversion unit, and 110 denotes a gradation adjustment unit, to which color image data is input from outside. This color image data is, for example, data read from a color original by a scanner, or data created by software running on a computer such as a personal computer. The color image data is, for example, RGB data of 16.770,000 colors, data converted from the RGB data into the Luv color system, the XYZ color system, or the L * a * b color system.

【0020】モノクロ変換部100は、そのようなカラ
ー画像データを例えば256階調のモノクロ画像データ
に変換するための手段である。このモノクロ変換は、カ
ラー画像データの明度情報を利用する従来と同様の方法
で行われるが、RGBデータのGデータをそのままモノ
クロ画像データとするような簡便な方法も必要に応じて
利用し得る。
The monochrome conversion section 100 is a means for converting such color image data into monochrome image data of, for example, 256 gradations. This monochrome conversion is performed in the same manner as the conventional method using the brightness information of the color image data. However, a simple method of directly converting the G data of the RGB data into the monochrome image data may be used as needed.

【0021】階調調整部110は、モノクロ変換部10
0により変換されたモノクロ画像データに対し、異なっ
た色の領域の区分を明瞭にするための階調補正を施すた
めの手段である。ここに示すブロック構成では、階調調
整部110は色領域分割部112、色領域情報記憶部1
14、モノクロ画像記憶部118、階調補正部120、
作業用記憶部122及びモノクロ画像出力部124から
構成される。モノクロ変換部100より出力されたモノ
クロ画像データは、モノクロ画像記憶部118に格納さ
れる。
The tone adjusting section 110 is provided for the monochrome converting section 10.
This is a means for performing gradation correction on the monochrome image data converted by 0 to clarify the division of regions of different colors. In the block configuration shown here, the tone adjusting unit 110 is a color area dividing unit 112, a color area information storage unit 1
14, monochrome image storage unit 118, gradation correction unit 120,
It comprises a working storage unit 122 and a monochrome image output unit 124. The monochrome image data output from the monochrome conversion unit 100 is stored in the monochrome image storage unit 118.

【0022】色領域分割部112は、入力カラー画像デ
ータから同色とみなし得る部分を1つの領域として抽出
する手段である。したがって、抽出された隣り合う領域
は相互に異色である。抽出された各領域の範囲を示す情
報は、例えばマップ情報として色領域情報記憶部114
に格納される。色領域分割部112は必要に応じて隣り
合う領域間の色差情報も出力し、この色差情報も色領域
情報記憶部114に格納される。色領域分割部112
は、必要に応じて、各領域の色相や色度、色相角などの
情報に基づいて、各領域の色を寒色又は暖色に分類する
処理も行い、その分類情報も出力する。この寒色/暖色
分類情報も色領域情報記憶部114に格納される。
The color area dividing section 112 is a means for extracting a part which can be regarded as the same color from the input color image data as one area. Therefore, the extracted adjacent regions have different colors from each other. The information indicating the range of each of the extracted regions is, for example, color information storage unit 114 as map information.
Is stored in The color region dividing unit 112 also outputs color difference information between adjacent regions as necessary, and this color difference information is also stored in the color region information storage unit 114. Color region dividing unit 112
Performs a process of classifying the color of each region into a cool color or a warm color based on information such as the hue, chromaticity, and hue angle of each region as necessary, and also outputs the classification information. The cool / warm color classification information is also stored in the color area information storage unit 114.

【0023】色領域の抽出は、例えば、入力カラー画像
データを所定の大きさ(1画素又は複数画素の大きさ)
のブロックに分割し、隣り合うブロック間の色差を計算
し、色差が所定の閾値より小さい隣接ブロックを統合す
る方法で行われるが、この方法に限られるものではな
い。要は、人間の視覚にとって異なった色の領域と認識
される領域が分離されればよい。また、この色領域の抽
出は、フレームの左から右へ、上から下へ向かって処理
が進められ、抽出された色領域には順に領域番号が付け
られる。この領域番号も色領域情報記憶部114に格納
される。なお、ブロックa,b間の色差ΔE(a,b)
としては入力カラー画像データの表色系に応じた値を用
いればよく、例えばL*a*b表色系のカラー画像データ
が入力される場合には一般的な ΔE(a,b)=√(ΔL^2+Δa^2+Δb^2) を用いることができる。
The extraction of the color area is performed, for example, by converting the input color image data to a predetermined size (the size of one pixel or a plurality of pixels).
, The color difference between adjacent blocks is calculated, and adjacent blocks whose color difference is smaller than a predetermined threshold are integrated, but the method is not limited to this method. In short, it suffices if an area recognized as a different color area for human vision is separated. The process of extracting the color region is performed from left to right and from top to bottom of the frame, and the extracted color regions are sequentially assigned region numbers. This area number is also stored in the color area information storage unit 114. Note that the color difference ΔE (a, b) between the blocks a and b
May be used in accordance with the color system of the input color image data. For example, when color image data of the L * a * b color system is input, a general ΔE (a, b) = √ (ΔL ^ 2 + Δa ^ 2 + Δb ^ 2) can be used.

【0024】階調補正部120は、色領域情報記憶部1
14内の情報とモノクロ画像記憶部118内の情報を参
照して、各領域の階調レベルと領域間の隣接関係を表す
データ構造を作業用記憶部122上に作成し、このデー
タ構造を基にして、階調補正の必要な領域を検出し、そ
の補正後の階調レベルを決定し、決定した結果に従って
モノクロ画像記憶部118内のモノクロ画像データに対
し階調補正を行うための手段である。モノクロ画像出力
部124は、階調補正後のモノクロ画像データをモノク
ロ画像記憶部118より読み出し外部に出力するための
手段である。
The tone correction section 120 is provided in the color area information storage section 1.
With reference to the information in the storage unit 14 and the information in the monochrome image storage unit 118, a data structure representing the gradation level of each region and the adjacent relationship between the regions is created in the work storage unit 122, and based on this data structure. Means for detecting a region requiring gradation correction, determining a gradation level after the correction, and performing gradation correction on the monochrome image data in the monochrome image storage unit 118 according to the determined result. is there. The monochrome image output unit 124 is a unit for reading the monochrome image data after the gradation correction from the monochrome image storage unit 118 and outputting the read monochrome image data to the outside.

【0025】図2は、この画像処理装置の全体的な処理
フローの一例を示すフローチャートである。ここに示す
処理フローでは、1フレーム分のカラー画像データに対
し、モノクロ変換部100によるモノクロ変換処理(ス
テップS1)と色領域分割部112による色領域抽出処
理(ステップS2)とが並行して実行される。これらの
処理が終了すると、階調補正部120による階調補正処
理(ステップS3)が実行され、次にモノクロ画像出力
部124による階調補正後のモノクロ画像データの出力
処理(ステップS4)が実行される。ただし、1フレー
ムをいくつかの区間に分割し、ステップS1,S2の処
理とステップS3,S4の処理とを区間単位で並行的に
実行させてもよい。色領域情報記憶部114及びモノク
ロ画像記憶部118を複数フレーム分用意し、あるフレ
ームについてステップS3,S4の処理を実行中に、次
フレームについてステップS1,S2の処理を実行させ
ることも可能である。処理速度の面では不利ではある
が、ステップS1,ステップS2を1フレーム単位又は
1フレームの分割区間単位で順に行わせることも可能で
ある。なお、ステップS3の処理の詳細について、実施
例毎に以下に説明する。
FIG. 2 is a flowchart showing an example of the overall processing flow of the image processing apparatus. In the processing flow shown here, monochrome conversion processing (step S1) by the monochrome conversion unit 100 and color area extraction processing (step S2) by the color area division unit 112 are executed in parallel for one frame of color image data. Is done. When these processes are completed, a tone correction process (step S3) by the tone correction unit 120 is executed, and then a monochrome image data output process after tone correction by the monochrome image output unit 124 (step S4) is executed. Is done. However, one frame may be divided into several sections, and the processing of steps S1 and S2 and the processing of steps S3 and S4 may be executed in parallel in units of sections. It is also possible to prepare the color area information storage unit 114 and the monochrome image storage unit 118 for a plurality of frames, and execute the processing of steps S1 and S2 for the next frame while executing the processing of steps S3 and S4 for a certain frame. . Although it is disadvantageous in terms of processing speed, step S1 and step S2 can be sequentially performed in units of one frame or divided units of one frame. The details of the process in step S3 will be described below for each embodiment.

【0026】このような画像処理装置における処理を、
一般的なパソコンやワークステーションのようなコンピ
ュータ上でプログラムによって実行させることも可能で
ある。そのためのプログラムは、例えば、同プログラム
が記録された磁気ディスク、光ディスク、光磁気ディス
ク、半導体記憶素子などの記録媒体からコンピュータに
読み込まれ、あるいは、ネットワークを経由してコンピ
ュータに取り込まれ、実行されることになる。このよう
なプログラムが記録されたコンピュータが読み取り可能
な各種記録媒体も本発明に包含されるものである。
The processing in such an image processing apparatus is
It can also be executed by a program on a computer such as a general personal computer or a workstation. A program for that purpose is read into a computer from a recording medium such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory device on which the program is recorded, or is loaded into the computer via a network and executed. Will be. Various computer-readable recording media on which such a program is recorded are also included in the present invention.

【0027】《実施例1》実施例1におけるステップS
3の処理内容を、図3のフローチャートに沿って説明す
る。
<< Embodiment 1 >> Step S in Embodiment 1
3 will be described with reference to the flowchart of FIG.

【0028】ステップS11において、階調補正部12
0は、色領域情報記憶部114内の領域情報を参照して
各領域と領域間の隣接関係を認識するとともに、モノク
ロ画像記憶部118内のモノクロ画像データを参照し、
各領域を代表する階調レベル(明度)を求め、各領域の
階調レベルと領域間の隣接関係を表すデータ構造を作業
用記憶部122上に作成する(ステップS11)。な
お、各領域を代表する階調レベルとしては、例えば、各
領域内の任意の小領域の平均階調レベルを用いることが
できる。
In step S11, the gradation correction unit 12
0 refers to the area information in the color area information storage unit 114 to recognize the adjacency between each area and the monochrome image data in the monochrome image storage unit 118,
A gradation level (brightness) representative of each area is obtained, and a data structure representing the gradation level of each area and the adjacent relationship between the areas is created on the working storage unit 122 (step S11). In addition, as a gradation level representing each region, for example, an average gradation level of an arbitrary small region in each region can be used.

【0029】次のステップS12において、階調補正部
120は、作業用記憶部122内のデータ構造を参照
し、領域番号が若い領域から順に、隣接関係にある領域
との階調差(階調レベル差)を調べ、隣接した領域間の
階調差を所定値以上にするために階調レベルを補正する
必要がある領域を探す。そのような領域が見つかると、
データ構造中の当該領域の階調レベルを、隣接領域との
階調レベルの大小関係に応じて、それに一定の正又は負
の階調補正値を加算した階調レベルで書き換える。デー
タ構造には、このような階調レベルの書き換えが行われ
たか否かを示すフラグ情報が含まれる。階調レベルの補
正が必要な領域がなくなるまで、同様の処理が繰り返さ
れる。この処理の過程で、同じ領域に対し階調レベルの
書き換えが2回以上繰り返される可能性もある。
In the next step S12, the tone correcting section 120 refers to the data structure in the working storage section 122 and sequentially sets the tone difference (gradation) from the adjacent areas in ascending order of the area number. Level difference), and search for an area where the gray level needs to be corrected in order to make the gray level difference between adjacent areas equal to or more than a predetermined value. When such an area is found,
The gradation level of the area in the data structure is rewritten with a gradation level obtained by adding a constant positive or negative gradation correction value to the gradation level of the adjacent area in accordance with the magnitude relation of the gradation level with the adjacent area. The data structure includes flag information indicating whether or not such gradation level rewriting has been performed. The same processing is repeated until there is no region requiring the correction of the gradation level. In the course of this processing, there is a possibility that the rewriting of the gradation level is repeated twice or more for the same area.

【0030】このようなデータ構造に基づいた処理が終
了すると、次のステップS13に進む。このステップに
おいて、階調補正部120は、領域番号の若い領域か
ら、作業用記憶部122内のデータ構造のフラグ情報を
参照して階調レベルの書き換えの有無を調べる。その領
域の階調レベルが書き換えられているならば、その領域
の補正後の階調レベルをデータ構造より取得する。そし
て、色領域情報記憶部114の領域情報に従って、モノ
クロ画像記憶部118の当該領域に対応したアドレスの
データを補正後の階調レベルのデータによって書き換え
る。階調レベルが書き換えられた各領域に対し、同様の
モノクロ画像データの書き換えが繰り返され、最終的に
異色領域が明瞭に区別できるように階調補正されたモノ
クロ画像データがモノクロ画像記憶部118に得られ
る。
When the processing based on such a data structure is completed, the process proceeds to the next step S13. In this step, the gradation correction unit 120 checks whether or not the gradation level has been rewritten from the region having the smaller region number by referring to the flag information of the data structure in the working storage unit 122. If the gradation level of the area has been rewritten, the corrected gradation level of the area is obtained from the data structure. Then, in accordance with the area information in the color area information storage unit 114, the data of the address corresponding to the area in the monochrome image storage unit 118 is rewritten with the corrected gradation level data. Similar rewriting of monochrome image data is repeated for each area where the gradation level has been rewritten, and the monochrome image data corrected in gradation so that different color areas can be clearly distinguished is finally stored in the monochrome image storage unit 118. can get.

【0031】本実施例1によれば、図16に示すような
カラー画像のデータがモノクロ変換部10により図17
に示すような異色領域間に階調差が殆どないモノクロ画
像のデータに変換された場合に、図18に示すような異
色領域の区分が明瞭なモノクロ画像のデータに補正する
ことができる。すなわち、図17に示すようなモノクロ
画像のイエロー(Y)の領域とライトグリーン(LG)
の領域との間の階調差|n−m|は所定値より小さいた
め、ライトグリーン(LG)の領域の階調レベルがΔd
1だけ上げられる(より暗くなる)。また、ライトグリ
ーン(LG)領域とライトシアン(LC)領域の間の階
調差はゼロであるので、ライトシアン(LC)領域の階
調レベルがΔd2だけ上げられる(より暗くなる)。か
くして、3つの異色領域の間に必要な階調差が付与さ
れ、それらを明瞭に区別することができるようになる。
According to the first embodiment, the color image data as shown in FIG.
When the data is converted into monochrome image data having almost no gradation difference between different color regions as shown in FIG. 18, it is possible to correct the data into monochrome image data in which the distinction of the different color regions is clear as shown in FIG. That is, a yellow (Y) region and a light green (LG) of a monochrome image as shown in FIG.
Is smaller than the predetermined value, the gradation level of the light green (LG) region is Δd
Can be raised by 1 (darker). Further, since the gradation difference between the light green (LG) region and the light cyan (LC) region is zero, the gradation level in the light cyan (LC) region is increased by Δd2 (darker). Thus, a necessary gradation difference is provided between the three different color regions, and they can be clearly distinguished.

【0032】《実施例2》実施例2におけるステップS
3の処理フローは図3のフローチャートに示すとおりで
あり、ステップS11,S13における処理内容は前記
実施例1の場合と同様である。ただし、ステップS12
の処理内容は以下に述べるように前記実施例1と若干相
違する。
<< Embodiment 2 >> Step S in Embodiment 2
The processing flow of the third embodiment is as shown in the flowchart of FIG. 3, and the processing contents in steps S11 and S13 are the same as those in the first embodiment. However, step S12
Is slightly different from that of the first embodiment as described below.

【0033】領域番号が若い領域から順に(フレームの
左上の領域から右下の領域へ向かう順に)処理される関
係から、前記実施例1によると、階調補正によって領域
の明度バランスが元の原稿上での明度バランスと逆転す
る可能性がある。このことについて図19乃至図22を
参照して説明する。図19に示すカラー画像において
は、ライトブルー(LB)領域の方がダークグリーン
(DG)領域より明るい。このカラー画像のデータから
変換された図20に示すようなモノクロ画像のデータに
対し階調補正を行うと、ライトブルー(LB)領域とダ
ークグリーン(DG)領域の明度バランスが逆転した図
21に示すようなモノクロ画像になる可能性がある。本
実施例2においては、図22に示すような、元の明度バ
ランスが保存されたモノクロ画像となるように、次に述
べるようにして領域の階調補正を制御する。
According to the first embodiment, since the processing is performed in order from the region having the smallest region number (in order from the upper left region to the lower right region of the frame), according to the first embodiment, the brightness balance of the region is corrected by the gradation correction. There is a possibility that the brightness balance may be reversed. This will be described with reference to FIGS. In the color image shown in FIG. 19, the light blue (LB) region is brighter than the dark green (DG) region. When gradation correction is performed on the monochrome image data as shown in FIG. 20 converted from the color image data, the lightness balance between the light blue (LB) region and the dark green (DG) region is reversed as shown in FIG. There is a possibility that the image will become a monochrome image as shown. In the second embodiment, gradation correction of an area is controlled as described below so that a monochrome image in which the original brightness balance is preserved as shown in FIG.

【0034】すなわち、本実施例2においては、階調補
正部120は、前記実施例1と同様に、データ構造に基
づいて階調補正の必要な領域を検出し、その階調レベル
の書き換えを行うが、各領域の元の階調レベルは書き換
えることなく保存しておく。そして、図4のフローチャ
ートに示すように、ある領域の階調レベルを書き換える
際に、その領域と隣接領域の元の階調レベルを参照して
元の明度バランスを調べ(ステップS21)、元の明度
バランスと補正後の明度バランスとを比較する(ステッ
プS22)。明度バランスが逆転する場合には(ステッ
プS22,No)、元の明度バランスと一致するよう
に、隣接領域間で階調レベルを再調整する(ステップS
23)。
That is, in the second embodiment, similarly to the first embodiment, the gradation correction unit 120 detects an area that requires gradation correction based on the data structure and rewrites the gradation level. However, the original gradation level of each area is stored without rewriting. Then, as shown in the flowchart of FIG. 4, when rewriting the gradation level of a certain area, the original lightness balance is checked by referring to the original gradation levels of the area and the adjacent area (step S21), and the original brightness balance is checked. The brightness balance and the corrected brightness balance are compared (step S22). If the lightness balance is reversed (No in step S22), the tone level is readjusted between adjacent regions so as to match the original lightness balance (step S22).
23).

【0035】《実施例3》実施例3におけるステップS
3の処理フローは図3のフローチャートに示すとおりで
あり、ステップS11,S13における処理内容は前記
実施例1の場合と同様である。ただし、ステップS12
の処理内容は以下に述べるように若干相違する。
<< Embodiment 3 >> Step S in Embodiment 3
The processing flow of the third embodiment is as shown in the flowchart of FIG. 3, and the processing contents in steps S11 and S13 are the same as those in the first embodiment. However, step S12
Are slightly different as described below.

【0036】前記実施例1又は前記実施例2によれば、
隣接領域に所定値以上の階調差を付与するための階調補
正の累積効果により、階調補正後のモノクロ画像データ
が全体としてシャドー側又はハイライト側に偏りすぎる
可能性がある。
According to the first embodiment or the second embodiment,
Due to the cumulative effect of gradation correction for giving a gradation difference equal to or greater than a predetermined value to an adjacent area, the monochrome image data after gradation correction may be too biased toward the shadow side or the highlight side as a whole.

【0037】このような不都合を回避するため、本実施
例3においては図5に示すように、階調補正部120
は、階調補正が必要と判断した領域を検出した場合に、
その領域の階調レベルが所定レベルL1以下のハイライ
ト領域であるか、所定のレベルL2(>L1)以上のシ
ャドー領域であるか、それらの中間のミドル領域である
か調べる(ステップS31)。そして、階調レベルがミ
ドル領域ならば、階調補正値として状況に応じて正値又
は負値を選ぶ(ステップS32)。つまり、階調レベル
がミドル領域の領域については階調レベルを上げるか又
は下げることによって必要な階調差が付与されることに
なる。階調レベルがシャドー領域ならば、階調補正値と
して正値を選ぶ(ステップS33)。したがって階調レ
ベルを上げる方向(暗くなる方向)に補正して必要な階
調差が付与される。階調レベルがハイライト領域の領域
については、階調補正値として負値が選ばれる(ステッ
プS34)。したがって、必要な階調差を付与するため
に階調レベルが明るい方向へ補正される。
In order to avoid such inconvenience, in the third embodiment, as shown in FIG.
Is detected when an area determined to require gradation correction is detected.
It is checked whether the gradation level of the area is a highlight area equal to or lower than a predetermined level L1, a shadow area equal to or higher than a predetermined level L2 (> L1), or a middle area therebetween (step S31). If the gradation level is in the middle area, a positive value or a negative value is selected as the gradation correction value according to the situation (step S32). That is, in a region where the gradation level is a middle region, a necessary gradation difference is provided by increasing or decreasing the gradation level. If the gradation level is in the shadow area, a positive value is selected as the gradation correction value (step S33). Therefore, a necessary gradation difference is provided by correcting in the direction of increasing the gradation level (direction of darkening). A negative value is selected as the gradation correction value for the region where the gradation level is the highlight region (step S34). Therefore, the gradation level is corrected in a brighter direction to give a necessary gradation difference.

【0038】このようにハイライト領域とシャドー領域
とで階調補正方向を逆にすることによって、階調補正後
のモノクロ画像データが全体的にシャドー側又はハイラ
イト側に過度に偏ることを回避できる。
By thus reversing the gradation correction direction between the highlight region and the shadow region, it is possible to prevent the monochrome image data after gradation correction from being excessively biased toward the shadow side or the highlight side as a whole. it can.

【0039】《実施例4》実施例4におけるステップS
3の処理内容を、図6のフローチャートに沿って説明す
る。
<< Embodiment 4 >> Step S in Embodiment 4
The processing content of No. 3 will be described with reference to the flowchart of FIG.

【0040】前記実施例1乃至3においては、階調補正
値の大きさが一定であるため、対象とするカラー画像デ
ータの領域数、換言すれば色数が増加した場合に、階調
補正後の階調レベルが表現可能な上限レベル又は下限レ
ベルを超える危険がある。
In the first to third embodiments, since the magnitude of the gradation correction value is constant, when the number of regions of the target color image data, in other words, the number of colors increases, the gradation correction value is not changed. May exceed the upper limit level or lower limit level that can be expressed.

【0041】これを回避するため、本実施例4において
は、階調補正部120は、最初に、色領域情報記憶部1
14を参照して最大の領域番号つまり領域数を調べ、そ
の領域数に基づいて階調補正値を増減する(ステップS
41)。すなわち、領域数が多い場合には階調補正値を
小さめに決定し、領域数が少ない場合には大きめに決定
する。
In order to avoid this, in the fourth embodiment, the tone correcting section 120 firstly sets the color area information storing section 1
14, the maximum area number, that is, the number of areas is checked, and the gradation correction value is increased or decreased based on the number of areas (step S14).
41). That is, when the number of regions is large, the gradation correction value is determined to be smaller, and when the number of regions is small, the gradation correction value is determined to be larger.

【0042】これ以降の処理ステップS42,S43,
S44における処理内容は、前記実施例1乃至3のいず
れかにおける対応処理ステップS11,S12,S13
(図3)の処理内容と同様であるので、その説明は省略
する。
The subsequent processing steps S42, S43,
The processing contents in S44 correspond to the corresponding processing steps S11, S12, S13 in any of the first to third embodiments.
Since the processing content is the same as that of FIG. 3, the description is omitted.

【0043】《実施例5》実施例5におけるステップS
3の処理フローは図3のフローチャートに示す通りであ
り、ステップS11,S13における処理内容は前記実
施例1の場合と同様である。ただし、ステップS12の
処理内容だけは以下に述べるように若干相違する。
<< Embodiment 5 >> Step S in Embodiment 5
The processing flow of No. 3 is as shown in the flowchart of FIG. 3, and the processing contents in steps S11 and S13 are the same as those in the first embodiment. However, only the processing content of step S12 is slightly different as described below.

【0044】画像形成に使用されるレーザプリンタなど
の作像エンジンは、一般に図7に示すような階調特性を
有する。このような階調特性の作像エンジンを用いて階
調補正後のモノクロ画像データを出力した場合、前記各
実施例のように階調レベルの全範囲において一定の大き
さの階調補正値を用いたのでは、階調レベルの高いシャ
ドー領域あるいは階調レベルの低いハイライト領域の領
域に対し階調補正を行っても、ミドル領域の領域に比べ
階調補正の効果が現れにくい。
An image forming engine such as a laser printer used for image formation generally has a gradation characteristic as shown in FIG. When monochrome image data after gradation correction is output using an image forming engine having such gradation characteristics, a gradation correction value of a fixed size is set in the entire range of gradation levels as in the above-described embodiments. When the gradation correction is used, even if the gradation correction is performed on a shadow region having a high gradation level or a highlight region having a low gradation level, the effect of the gradation correction is less likely to be exhibited as compared with the middle region.

【0045】階調レベルの全域にわたって十分な階調補
正効果を得るため、本実施例5においては図8に示すよ
うに、階調補正部120は、階調補正が必要と判断した
領域を検出した場合に、その領域の階調レベルがシャド
ー領域、ミドル領域、ハイライト領域のいずれに含まれ
るか判定する(ステップS51)。ミドル領域と判定し
た場合には、比較的小さな正又は負の値±Δdaを階調
補正値として選ぶ(ステップS52)。シャドー領域と
判定した場合には、Δdaより大きな正の値+Δdbを
階調補正値として選ぶ(ステップS53)。また、ハイ
ライト領域と判定した場合には、Δdaより大きな負の
値−Δdcを階調補正値として選ぶ(ステップS5
4)。
In order to obtain a sufficient gradation correction effect over the entire range of gradation levels, in the fifth embodiment, as shown in FIG. 8, the gradation correction unit 120 detects an area determined to require gradation correction. Then, it is determined whether the gradation level of the area is included in the shadow area, the middle area, or the highlight area (step S51). If it is determined that the area is the middle area, a relatively small positive or negative value ± Δda is selected as the gradation correction value (step S52). If it is determined that the region is a shadow region, a positive value + Δdb larger than Δda is selected as a gradation correction value (step S53). If it is determined that the area is the highlight area, a negative value -Δdc larger than Δda is selected as the gradation correction value (step S5).
4).

【0046】《実施例6》実施例6におけるステップS
3の処理フローは図3のフローチャートに示す通りであ
り、ステップS11,S13における処理内容は前記実
施例1の場合と同様である。ただし、ステップS12の
処理内容だけは以下に述べるように若干相違する。
<< Embodiment 6 >> Step S in Embodiment 6
The processing flow of No. 3 is as shown in the flowchart of FIG. 3, and the processing contents in steps S11 and S13 are the same as those in the first embodiment. However, only the processing content of step S12 is slightly different as described below.

【0047】本実施例6においては、図9に示すよう
に、階調補正部120は階調補正が必要と判断した領域
を検出すると、前記実施例5と同様に、その領域の階調
レベルがシャドー領域、ミドル領域、ハイライト領域の
いずれに含まれるか判定する(ステップS61)。ミド
ル領域と判定した場合には、比較的小さな正又は負の値
±Δdaを階調補正値として選ぶ(ステップS62)。
In the sixth embodiment, as shown in FIG. 9, when the tone correction section 120 detects an area determined to require tone correction, the tone level of the area is determined in the same manner as in the fifth embodiment. Is included in the shadow area, the middle area, or the highlight area (step S61). If it is determined that the area is the middle area, a relatively small positive or negative value ± Δda is selected as the gradation correction value (step S62).

【0048】シャドー領域と判定した場合には、その階
調レベルが所定レベルLsを越えているか判定する(ス
テップS63)。階調レベルがLs以下ならば前記実施
例5と同様にΔdaより大きな正の値+Δdbを階調補
正値として選ぶ(ステップS64)。しかし、階調レベ
ルがLsを越えるときには、負の値−Δdbを階調補正
値として選ぶ(ステップS65)。すなわち、黒に近い
高い階調レベルでは、階調補正の方向を階調レベルを下
げる方向(明るくする方向)に切り替えることによっ
て、黒ベタ部分の階調潰れを回避しつつ必要な階調差を
付与することができる。
If it is determined that the area is a shadow area, it is determined whether the gradation level exceeds a predetermined level Ls (step S63). If the gradation level is equal to or lower than Ls, a positive value + Δdb larger than Δda is selected as the gradation correction value as in the fifth embodiment (step S64). However, when the gradation level exceeds Ls, a negative value -Δdb is selected as the gradation correction value (step S65). That is, at a high gradation level close to black, the direction of gradation correction is switched to a direction of lowering the gradation level (a direction of increasing the brightness), so that the necessary gradation difference can be reduced while avoiding the collapse of the solid black portion. Can be granted.

【0049】ハイライト領域と判定した場合には、その
階調レベルが所定レベルLhより低いか(明るいか)判
定する(ステップS66)。階調レベルがLh以上なら
ば、前記実施例5と同様に、Δdaより大きな負の値−
Δdcを階調補正値として選ぶ(ステップS67)。し
かし、階調レベルがLhより低いときには、正の値+Δ
dcを階調補正値として選ぶ(ステップS68)。この
ように白に近い低い階調レベルでは階調補正の方向を階
調レベルを上げる方向(暗くする方向)に切り替えるこ
とにより、ハイライト部の階調潰れ(もしはく階調跳
び)を回避しつつ必要な階調差を付与することができ
る。
If it is determined that the area is the highlight area, it is determined whether the gradation level is lower than the predetermined level Lh (bright) (step S66). If the gradation level is equal to or higher than Lh, a negative value larger than Δda−
Δdc is selected as a gradation correction value (step S67). However, when the gradation level is lower than Lh, a positive value + Δ
dc is selected as the gradation correction value (step S68). By switching the direction of gradation correction to a direction of increasing the gradation level (darkening direction) at a low gradation level close to white in this way, it is possible to avoid a gradation collapse (a jumping gradation) in a highlight portion. And a necessary gradation difference can be provided.

【0050】《実施例7》本実施例7におけるステップ
S3の処理フローは図3のフローチャートに示す通りで
あり、ステップS11,S13における処理内容は前記
実施例1の場合と同様である。ただし、ステップS12
の処理内容だけは以下に述べるように若干相違する。ま
た、本実施例7においては、色領域分割部112より隣
接領域間の色差情報も出力され、それが色領域情報記憶
部114に格納される。
Embodiment 7 The processing flow of step S3 in the seventh embodiment is as shown in the flowchart of FIG. 3, and the processing contents in steps S11 and S13 are the same as those in the first embodiment. However, step S12
Is slightly different as described below. In the seventh embodiment, color difference information between adjacent regions is also output from the color region dividing unit 112 and stored in the color region information storage unit 114.

【0051】本実施例7においては、図10のフローチ
ャートに示すように、階調補正部120は階調補正が必
要な領域を検出すると、その領域と、それとの階調差が
小さかった隣接領域との間の色差情報を色領域情報記憶
部114より読み込み(ステップS71)、色差が大き
いほど階調補正値を大きくする(ステップS72)。し
たがって、色差が大きな領域間ほど大きな階調差が付与
されるように階調が補正されるため、色差の大きさをモ
ノクロ画像データに階調差の大きさとして反映させるこ
とができる。
In the seventh embodiment, as shown in the flowchart of FIG. 10, when the gradation correction section 120 detects a region requiring gradation correction, the region and an adjacent region having a small gradation difference therefrom are detected. Is read from the color area information storage unit 114 (step S71), and the gradation correction value is increased as the color difference increases (step S72). Therefore, since the gradation is corrected so that a larger gradation difference is given to an area having a larger color difference, the magnitude of the color difference can be reflected on the monochrome image data as the magnitude of the gradation difference.

【0052】なお、色差による階調補正値の決定方法と
して、色差と階調補正値とを1対1に対応させたマトリ
クスデータを用意しておき、このマトリクスデータを色
差情報を用いて参照することによって、階調補正値を決
定する方法を利用し得る。
As a method of determining the gradation correction value based on the color difference, matrix data in which the color difference and the gradation correction value are made to correspond one to one is prepared, and this matrix data is referred to using the color difference information. Thus, a method of determining a gradation correction value can be used.

【0053】本実施例7の変形例においては、隣接領域
の色差と、隣接領域間の階調補正前の階調差との組み合
わせに応じて、階調補正値が決定される。
In the modification of the seventh embodiment, the gradation correction value is determined according to the combination of the color difference between the adjacent regions and the gradation difference between the adjacent regions before the gradation correction.

【0054】《実施例8》実施例8におけるステップS
3の処理フローは図3のフローチャートに示す通りであ
り、ステップS11,S13における処理内容は前記実
施例1の場合と同様である。ただし、ステップS12の
処理内容だけは以下に述べるように若干相違する。ま
た、本実施例8においては、色領域分割部112により
各領域の寒色/暖色分類が行われ、その分類情報も色領
域情報記憶部114に格納される。この寒色/暖色分類
は、利用している表色系の座標上に寒色/暖色の分類の
ための基準点を設定しておき、その基準点との色差に応
じて寒色/暖色の振り分けを行うような方法によって行
うことができる。
<< Embodiment 8 >> Step S in Embodiment 8
The processing flow of No. 3 is as shown in the flowchart of FIG. 3, and the processing contents in steps S11 and S13 are the same as those in the first embodiment. However, only the processing content of step S12 is slightly different as described below. In the eighth embodiment, the color region division unit 112 classifies each region as cold color / warm color, and the classification information is also stored in the color region information storage unit 114. In this cold color / warm color classification, a reference point for classification of the cold color / warm color is set on the coordinates of the color system being used, and the cold color / warm color is sorted according to the color difference from the reference point. It can be performed by such a method.

【0055】本実施例8においては、図11のフローチ
ャートに示すように、階調補正部120は階調補正が必
要な領域を検出すると、その領域の寒色/暖色分類情報
を色領域情報記憶部114より読み込み(ステップS8
1)、寒色であるか暖色であるか判定する(ステップS
82)。そして、寒色ならば正の階調補正値を選び(ス
テップS83)、暖色ならば負の階調補正値を選ぶ(ス
テップS84)。したがって、寒色の領域は暗い方へ階
調レベルが補正され、逆に暖色の領域は明るい方へ階調
レベルが補正されることになる。通常、寒色は「暗
い」、暖色は「明るい」という印象があるため、このよ
うな階調補正により違和感のないモノクロ画像データが
得られる。
In the eighth embodiment, as shown in the flowchart of FIG. 11, when the gradation correction unit 120 detects a region requiring gradation correction, it stores the cold / warm color classification information of the region in the color region information storage unit. 114 (step S8)
1), it is determined whether the color is cool or warm (step S)
82). If the color is cool, a positive gradation correction value is selected (step S83), and if the color is warm, a negative gradation correction value is selected (step S84). Therefore, the gradation level is corrected in a darker region in a cool color region, and the gradation level is corrected in a brighter region in a warm color region. Normally, the cool color has an impression of “dark” and the warm color has an impression of “bright”, and thus such gradation correction can provide monochrome image data without a sense of incongruity.

【0056】なお、前記各実施例においては、階調補正
部120によってモノクロ画像記憶部118内のモノク
ロ画像データに階調補正を施したが、モノクロ画像記憶
部118内のモノクロ画像データはそのままにしてお
き、これをモノクロ画像出力部124により外部に出力
する際に、階調補正部120より出力画素の属する領域
に対する階調補正量をモノクロ画像出力部124に与
え、この階調補正量に従ってモノクロ画像出力部124
で出力画素の階調レベルを補正するように構成すること
も可能である。この補正を演算によって行ってもよい
が、モノクロ画像出力部124の内部に傾きの異なる複
数種類のガンマテーブルを用意し、出力画素に適用する
ガンマテーブルを補正量に応じて選択することにより、
同様の階調補正を行うことも可能である。
In each of the above embodiments, the gradation correction unit 120 performs gradation correction on the monochrome image data in the monochrome image storage unit 118, but the monochrome image data in the monochrome image storage unit 118 is left as it is. When this is output to the outside by the monochrome image output unit 124, the tone correction amount for the area to which the output pixel belongs is given to the monochrome image output unit 124 by the tone correction unit 120, and the monochrome correction is performed according to the tone correction amount. Image output unit 124
It is also possible to correct the gradation level of the output pixel by using. This correction may be performed by calculation.However, by preparing a plurality of types of gamma tables having different inclinations in the monochrome image output unit 124 and selecting a gamma table to be applied to the output pixels according to the correction amount,
Similar gradation correction can be performed.

【0057】《実施例9》図12は、本発明の一実施形
態である画像処理装置のブロック構成の他の例を示すブ
ロック図である。この画像処理装置においては、グラフ
ィックス領域抽出部200が追加されている。このグラ
フィックス領域抽出部200は、入力カラー画像データ
のグラフィックス領域とイメージ領域とを分離し、グラ
フィックス領域でのみ出力を有効にする手段である。こ
こで、グラフィックス領域とは、図23に例示するよう
なビジネス文書などに多く見られる文字や図形の混在し
た、色調もしくは階調の変化の大きな画像領域であり、
イメージ領域とは写真に代表される連続調の画像領域で
ある。このような像域の分離は、特開平3−21977
4号公報などの多くの公知文献に述べられているような
公知手法により容易に行うことができる。詳細は省略す
るが、要は、入力画像データの2次元的な階調もしくは
色調の変化を調べ、それがグラフィックス領域における
階調もしくは色調変化の特性と一致する領域をグラフィ
ックス領域として抽出する。
Embodiment 9 FIG. 12 is a block diagram showing another example of a block configuration of an image processing apparatus according to an embodiment of the present invention. In this image processing apparatus, a graphics area extraction unit 200 is added. The graphics area extracting unit 200 is a means for separating the graphics area and the image area of the input color image data and enabling the output only in the graphics area. Here, the graphics area is an image area having a large change in color tone or gradation, in which characters and graphics commonly found in business documents and the like as illustrated in FIG. 23 are mixed.
The image area is a continuous tone image area represented by a photograph. Such separation of the image area is described in Japanese Patent Application Laid-Open No. Hei 3-21977.
This can be easily performed by a known method described in many known documents such as Japanese Patent Publication No. The details are omitted, but the point is that a two-dimensional change in tone or color tone of the input image data is checked, and an area where the change matches the characteristic of the change in tone or color tone in the graphics area is extracted as a graphics area. .

【0058】モノクロ変換部100は図1のものと同一
である。階調調整部110は図1に示したものと内部構
成及び動作は基本的に同じものである。ただし、階調調
整部110内の色領域分割部112は、グラフィックス
領域抽出部200の出力が有効となった領域、すなわち
グラフィックス領域のみを対象として前述の色領域分割
処理を行う。したがって、階調補正部120による階調
補正処理もモノクロ画像データのグラフィックス領域の
みに施されることになる。階調補正部120の階調補正
処理の内容は前記実施例1乃至7と同様である。
The monochrome converter 100 is the same as that shown in FIG. The internal configuration and operation of the tone adjusting unit 110 are basically the same as those shown in FIG. However, the color region dividing unit 112 in the gradation adjusting unit 110 performs the above-described color region dividing process only on the region where the output of the graphics region extracting unit 200 is valid, that is, only on the graphics region. Therefore, the gradation correction processing by the gradation correction unit 120 is also performed only on the graphics area of the monochrome image data. The content of the tone correction processing of the tone correction unit 120 is the same as in the first to seventh embodiments.

【0059】グラフィックス領域では、注目して欲しい
部分を目立たせるため、あるいは重要度を段階的に表現
するために色分けがなされることが多いため、モノクロ
変換によって異色領域を埋没させないために、前述の階
調補正を行うことが効果的である。これに対し、イメー
ジ領域では、色分けにそのような意味がないため、前述
の階調補正を行う利益はないうえに、階調補正により逆
にコントラストが過剰となって素材の微妙なバランスを
損ない、画質が劣化する恐れがある。このような画質劣
化は、本実施例9によれば回避することができる。ま
た、イメージ領域が階調調整部110の処理対象から除
外されるため、階調調整部110の処理量も削減される
という利益も得られる。
In the graphics area, colors are often categorized in order to make a desired portion noticeable or to express the importance in a stepwise manner. Is effective. On the other hand, in the image area, there is no advantage in performing the above-described gradation correction because the color classification does not have such a meaning, and in addition, the contrast is excessively increased due to the gradation correction, and the fine balance of the material is impaired. Image quality may be degraded. According to the ninth embodiment, such image quality degradation can be avoided. In addition, since the image area is excluded from the processing target of the gradation adjustment unit 110, there is an advantage that the processing amount of the gradation adjustment unit 110 is also reduced.

【0060】図13は、この画像処理装置の全体的な処
理フローの一例を示すフローチャートである。ここに示
す処理フローと図2のフローチャートに示された処理フ
ローとの違いは、ステップS1,S2の処理と並行して
グラフィックス領域抽出部200によるグラフィックス
領域抽出処理(ステップS5)が実行される点である。
ただし、1フレーム又は1フレームの部分区間を単位と
して、ステップS5とステップS2を順に実行する処理
形態も可能である。
FIG. 13 is a flowchart showing an example of the overall processing flow of the image processing apparatus. The difference between the processing flow shown here and the processing flow shown in the flowchart of FIG. 2 is that the graphics area extraction processing (step S5) by the graphics area extraction unit 200 is executed in parallel with the processing of steps S1 and S2. It is a point.
However, a processing mode in which step S5 and step S2 are sequentially executed in units of one frame or a partial section of one frame is also possible.

【0061】このような画像処理装置における処理を、
一般的なパソコンやワークステーションのようなコンピ
ュータ上でプログラムによって実行させることも可能で
ある。そのためのプログラムは、例えば、同プログラム
が記録された磁気ディスク、光ディスク、光磁気ディス
ク、半導体記憶素子などの記録媒体からコンピュータに
読み込まれ、あるいは、ネットワークを経由してコンピ
ュータに取り込まれ、実行されることになる。このよう
なプログラムが記録されたコンピュータが読み取り可能
な各種記録媒体も本発明に包含されるものである。
The processing in such an image processing apparatus is
It can also be executed by a program on a computer such as a general personal computer or a workstation. A program for that purpose is read into a computer from a recording medium such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory device on which the program is recorded, or is loaded into the computer via a network and executed. Will be. Various computer-readable recording media on which such a program is recorded are also included in the present invention.

【0062】なお、パソコンなどのコンピュータ上で動
作するソフトウェアによって作成されたカラー画像デー
タが処理対象となる場合には、使用されたソフトウェア
によってグラフィックス領域とイメージ領域とが予め分
類される。したがって、その分類情報に基づいてグラフ
ィックス領域のみを色領域分割処理の対象とすることが
できるため、グラフィックス領域抽出部200を省き得
る。
When color image data created by software running on a computer such as a personal computer is to be processed, the graphics area and the image area are classified in advance by the used software. Therefore, only the graphics area can be subjected to the color area division processing based on the classification information, so that the graphics area extraction unit 200 can be omitted.

【0063】《実施例10》本発明は、カラー原稿を読
み取り、そのモノクロコピーを出力する複写機、カラー
原稿を読み取り、そのモノクロ画像データを出力するス
キャナ、カラー画像データを取り込みモノクロ画像を出
力するプリンタやディスプレイ、カラー原稿を読み取
り、そのモノクロ画像データを送信し、あるいは、カラ
ー画像データを受信して、そのモノクロ画像を出力する
ファクスなどの各種画像処理装置に適用できる。そのよ
うな実施の一形態としてのデジタル複写機の実施例につ
いて次に説明する。
<< Embodiment 10 >> The present invention relates to a copying machine which reads a color original and outputs its monochrome copy, a scanner which reads a color original and outputs its monochrome image data, and takes in the color image data and outputs a monochrome image. The present invention can be applied to various image processing apparatuses such as a printer, a display, and a color document which reads a color document and transmits the monochrome image data, or receives the color image data and outputs the monochrome image. An example of such a digital copying machine as one embodiment will be described below.

【0064】図14は、デジタル複写機の画像読み取り
機構及び画像形成機構の構成例を示す概略断面図であ
る。このデジタル複写機は、原稿を光学的に走査して読
み取るスキャナ部400と、画像形成部としてのレーザ
プリンタ部411と、不図示の回路部300(図15)
とを有する。
FIG. 14 is a schematic sectional view showing a configuration example of an image reading mechanism and an image forming mechanism of a digital copying machine. This digital copier includes a scanner section 400 for optically scanning an original, a laser printer section 411 as an image forming section, and a circuit section 300 (not shown) (FIG. 15).
And

【0065】スキャナ部400は、平坦な原稿台403
上に載置された原稿を照明ランプ502により照明し、
その反射光像をミラー503,504,505およびレ
ンズ506を介してCCDなどのイメージセンサ507
に結像するとともに、照明ランプ502及びミラー50
3〜505の移動により原稿を副走査することにより、
原稿の画像情報を読み取る。イメージセンサ507より
出力されるアナログ画像信号は回路部300(図15)
に入力されて処理される。レーザプリンタ部411へ
は、回路部200から出力される画像データが入力され
る。
The scanner section 400 has a flat document table 403.
The original placed on top is illuminated by the illumination lamp 502,
The reflected light image is passed through mirrors 503, 504, 505 and a lens 506 to an image sensor 507 such as a CCD.
And the illumination lamp 502 and the mirror 50
By sub-scanning the original by moving 3 to 505,
Read the image information of the document. The analog image signal output from the image sensor 507 is supplied to the circuit unit 300 (FIG. 15).
Is input and processed. Image data output from the circuit unit 200 is input to the laser printer unit 411.

【0066】レーザプリンタ部411においては、書き
込み光学ユニット508が、回路部300から入力した
画像データを光信号に変換して、感光体からなる像担持
体、例えば感光体ドラム509を露光することにより、
原稿画像に対応した静電潜像を形成する。書き込み光学
ユニット508は、例えば、半導体レーザを発光駆動制
御部で上記画像データにより駆動して強度変調されたレ
ーザ光を出射させ、このレーザ光を回転多面鏡510に
より偏向走査してf/θレンズ及び反射ミラー511を
介し感光体ドラム509へ照射する。感光体ドラム50
9は、駆動部により回転駆動されて矢印で示すように時
計方向に回転し、帯電器512により一様に帯電された
後に、書き込み光学ユニット508により露光され、静
電潜像を形成される。この感光体ドラム509上の静電
潜像は、現像装置513により現像されてトナー像とな
る。また、複数の給紙部514〜518、手差し給紙部
519のいずれかより用紙がレジストローラ520へ給
紙される。レジストローラ520は、感光体ドラム50
9上のトナー像にタイミングに合わせて用紙を送出す
る。転写ベルト521は転写電源から転写バイアスを印
加され、感光体ドラム509上のトナー像を用紙へ転写
させるとともに用紙を搬送する。トナー像を転写された
用紙は、転写ベルト521により定着部522へ搬送さ
れてトナー像が定着された後、排紙トレイ523へ排出
される。また、感光体ドラム509は、トナー像転写後
にクリーニング装置524によりクリーニングされ、さ
らに除電器525により除電されて次の画像形成動作に
備える。
In the laser printer unit 411, the writing optical unit 508 converts the image data input from the circuit unit 300 into an optical signal, and exposes an image carrier made of a photosensitive member, for example, a photosensitive drum 509. ,
An electrostatic latent image corresponding to the document image is formed. The writing optical unit 508 drives, for example, a semiconductor laser in accordance with the image data by the light emission drive control unit to emit laser light whose intensity is modulated, and deflects and scans this laser light by the rotary polygon mirror 510 to perform f / θ lens. And irradiates the photosensitive drum 509 via the reflection mirror 511. Photoconductor drum 50
Reference numeral 9 is rotated by a driving unit, rotates clockwise as indicated by an arrow, is uniformly charged by a charger 512, and is then exposed by a writing optical unit 508 to form an electrostatic latent image. The electrostatic latent image on the photosensitive drum 509 is developed by the developing device 513 to become a toner image. Further, the sheet is fed to the registration roller 520 from one of the plurality of sheet feeding units 514 to 518 and the manual sheet feeding unit 519. The registration roller 520 is connected to the photosensitive drum 50.
9 is sent out in time with the toner image on the sheet 9. A transfer bias is applied to the transfer belt 521 from a transfer power supply, and the transfer belt 521 transfers the toner image on the photosensitive drum 509 to a sheet and conveys the sheet. The sheet on which the toner image has been transferred is conveyed to the fixing unit 522 by the transfer belt 521, where the toner image is fixed, and then discharged to the discharge tray 523. Further, the photosensitive drum 509 is cleaned by the cleaning device 524 after the transfer of the toner image, and is further discharged by the discharger 525 to prepare for the next image forming operation.

【0067】図15は、このデジタル複写機の回路部3
00の構成の一例を簡略化して示すブロック図である。
ただし、図15には、本発明と直接関連しない構成は示
されていない。この回路部300の入力は、スキャナ部
400のイメージセンサ507によって、例えば600
dpiで読み取られたアナログカラー画像信号(RGB
信号)である。このアナログカラー画像信号は、AGC
回路301によってレベルを調整された後、A/D変換
回路302により各色8bitのデジタルカラー画像デ
ータ(RGBデータ)に変換され、さらに、シェーディ
ング補正回路303によってイメージセンサ507の画
素毎の感度や照度のばらつきが補正される。シェーディ
ング補正後のデジタルカラー画像データは、フィルタ処
理部304に送られ、MTF補正と平滑化のためのフィ
ルタ処理を施される。
FIG. 15 shows a circuit section 3 of the digital copying machine.
It is a block diagram which shows an example of a structure of 00 in a simplified form.
However, FIG. 15 does not show a configuration not directly related to the present invention. The input of the circuit unit 300 is supplied to the image sensor 507 of the scanner unit 400 by, for example, 600
analog color image signal (RGB) read at dpi
Signal). This analog color image signal is AGC
After the level is adjusted by the circuit 301, it is converted into 8-bit digital color image data (RGB data) by the A / D conversion circuit 302, and further, the sensitivity and illuminance of each pixel of the image sensor 507 are converted by the shading correction circuit 303. The variation is corrected. The digital color image data after the shading correction is sent to the filter processing unit 304, and subjected to MTF correction and filter processing for smoothing.

【0068】フィルタ処理後のカラー画像データ(RG
Bデータ)はグラフィックス領域抽出部200と表色系
変換部305に入力される。グラフィックス領域抽出部
200は、前記実施例9(図12)のものと同じもので
あるが、ここではRGBデータを入力として前述のグラ
フィックス領域抽出を行う。表色系変換部305は、フ
ィルタ処理後のカラー画像データ(RGBデータ)を処
理に都合のよい他の表色系のデータ、例えばL*a*bデ
ータに変換する手段である。ただし、この表色系変換部
305は必要に応じて設けられるものであり、不要であ
れば省略可能である。この表色系変換部305により変
換後のカラー画像データは、画像補正部306と、図1
2に示したような構成の階調調整部110の色領域分割
部112に入力される。グラフィックス領域抽出部20
0の出力は階調調整部110の色領域分割部112に与
えられ、色領域分割部112は前記実施例9におけると
同様にグラフィックス領域のみを対象として色領域の抽
出を行う。なお、グラフィックス領域抽出部200に、
表色系変換部305により変換後のカラー画像データを
入力する構成も可能である。
The color image data (RG
B data) is input to the graphics area extraction unit 200 and the color system conversion unit 305. The graphics area extraction unit 200 is the same as that in the ninth embodiment (FIG. 12), but here, the above-described graphics area extraction is performed using RGB data as input. The color system conversion unit 305 is a unit that converts the color image data (RGB data) after the filter processing into other color system data convenient for processing, for example, L * a * b data. However, the color system conversion unit 305 is provided as needed, and can be omitted if unnecessary. The color image data converted by the color system conversion unit 305 is supplied to the image correction unit 306 and FIG.
2 is input to the color region dividing unit 112 of the gradation adjusting unit 110 having the configuration shown in FIG. Graphics area extraction unit 20
The output of 0 is given to the color region dividing unit 112 of the gradation adjusting unit 110, and the color region dividing unit 112 extracts the color region only for the graphics region as in the ninth embodiment. Note that the graphics area extraction unit 200
A configuration in which the color image data converted by the color system conversion unit 305 is input is also possible.

【0069】グラフィックス領域抽出部200の出力は
画像補正部306にも与えられる。この画像補正部30
6は、グラフィックス領域抽出部200の出力に応じ
て、グラフィックス領域用の補正処理とそれ以外の領域
(イメージ領域)用の補正処理をカラー画像データに施
し、それぞれの領域を最適化するための手段である。グ
ラフィックス領域用の補正処理の例は、特開平2−27
4174号公報に述べられているような文字部周囲の白
抜き処理である。このような補正処理は従来のデジタル
複写機と同様でよいので、これ以上は説明しない。
The output of the graphics area extraction unit 200 is also provided to an image correction unit 306. This image correction unit 30
Reference numeral 6 is for performing correction processing for a graphics area and correction processing for other areas (image areas) on color image data in accordance with the output of the graphics area extraction unit 200, and optimizing each area. Means. An example of the correction process for the graphics area is described in Japanese Patent Laid-Open No. 2-27.
This is a blanking process around a character portion as described in Japanese Patent No. 4174. Such correction processing may be the same as that of a conventional digital copying machine, and will not be described further.

【0070】画像補正部306によって補正後のカラー
画像データはモノクロ変換部100に入力され、モノク
ロ画像データに変換される。このモノクロ画像データは
階調調整部110のモノクロ画像記憶部118(図1
2)に格納される。階調調整部110より出力される階
調補正後のモノクロ画像データは、中間調処理部307
に送られ、作像エンジンであるレーザプリンタ部411
の特性に応じた中間調処理、例えばディザ法や誤差拡散
法による量子化処理を施されてからレーザプリンタ部4
11の書き込み光学ユニット508へ送られる。なお、
グラフィックス領域抽出部200の出力を中間調処理部
307にも接続し、グラフィックス領域とイメージ領域
とに異なった中間調処理を施すように構成することも可
能である。このデジタル複写機によれば、前述した如き
階調補正が階調調整部110によって施されるため、カ
ラー原稿の異色領域が明瞭に表現された高画質のモノク
ロコピーを得ることができる。
The color image data corrected by the image correction unit 306 is input to the monochrome conversion unit 100 and converted into monochrome image data. This monochrome image data is stored in a monochrome image storage unit 118 (FIG. 1) of the gradation adjustment unit 110.
2). The grayscale-corrected monochrome image data output from the grayscale adjustment unit 110 is output to the halftone processing unit 307.
Is sent to the laser printer unit 411 which is an image forming engine.
The laser printer unit 4 is subjected to halftone processing according to the characteristic of, for example, quantization processing by a dither method or an error diffusion method.
11 is sent to the writing optical unit 508. In addition,
The output of the graphics area extraction unit 200 can also be connected to the halftone processing unit 307 so that different halftone processing is performed on the graphics area and the image area. According to this digital copying machine, since the above-described gradation correction is performed by the gradation adjustment unit 110, it is possible to obtain a high-quality monochrome copy in which a different color area of a color document is clearly expressed.

【0071】ここで付言すれば、本発明によるスキャナ
は、例えば前記デジタル複写機からレーザプリンタ部4
11を取り除き、中間調処理部307の出力あるいは階
調調整部110の出力をパソコンなどの外部機器へ送出
するためのインターフェース手段を設けた如き構成とす
ることができる。本発明によるファクスは、例えば前記
デジタル複写機に、中間調処理部307の出力データか
らFAXデータを作成し送信するための手段と、外部か
らFAXデータを受信してカラー画像データを復元する
ための手段を付加した如き構成とすることができる。本
発明によるプリンタは、例えば前記デジタル複写機のフ
ィルタ処理部304から前段の構成部分を取り除き、外
部のパソコンなどの機器からカラー画像データを取り込
むインターフェース手段を設けた如き構成とすることが
できる。
It should be noted here that the scanner according to the present invention can be used, for example, from the digital copying machine to the laser printer unit 4.
11 can be removed, and an interface means for transmitting the output of the halftone processing unit 307 or the output of the gradation adjusting unit 110 to an external device such as a personal computer can be provided. The fax according to the present invention includes, for example, means for creating and transmitting FAX data from the output data of the halftone processing unit 307 to the digital copying machine, and for receiving FAX data from the outside and restoring color image data. It is possible to adopt a configuration in which means are added. The printer according to the present invention can be configured such that, for example, an interface unit that removes a preceding component from the filter processing unit 304 of the digital copying machine and captures color image data from an external device such as a personal computer is provided.

【0072】なお、以上に説明した各実施例において
は、階調調整部110とモノクロ変換部100とが独立
していたが、それらを統合することも可能である。特に
本発明をコンピュータ上でプログラムによって実現する
場合には、階調補正処理とモノクロ変換処理との統合が
容易である。例えば、1ページあるいは1ページの部分
毎に、始めに色領域抽出を行い、得られた情報に基づい
てモノクロ変換と同時に階調補正を施すような処理形態
をとり得る。ハードウエアにより本発明を実施する場合
においても、図1もしくは図12に示したブロック構成
に限定されるわけではない。
In each of the embodiments described above, the tone adjusting section 110 and the monochrome converting section 100 are independent, but they can be integrated. In particular, when the present invention is realized by a program on a computer, it is easy to integrate the gradation correction processing and the monochrome conversion processing. For example, a processing mode may be adopted in which a color region is first extracted for each page or a portion of one page, and gradation correction is performed simultaneously with monochrome conversion based on the obtained information. Even when the present invention is implemented by hardware, the present invention is not limited to the block configuration shown in FIG. 1 or FIG.

【0073】[0073]

【発明の効果】以上の詳細な説明から明らかなように、
請求項1乃至13記載の発明によれば、周囲との明度差
の小さい色領域も明瞭に表現された高品質のモノクロ画
像データを生成できる。請求項2記載の発明によれば、
カラー画像データにおける明度バランスが保存された違
和感のない高品質のモノクロ画像データを生成できる。
請求項3記載の発明によれば、階調補正によりモノクロ
画像データが全体的にシャドー側又はハイライト側に過
度に偏ることを回避できる。請求項4記載の発明によれ
ば、階調補正後のモノクロ画像データが全体的にシャド
ー側又はハイライト側に過度に偏ることを回避できると
ともに、黒に近い部分及び白に近い部分の階調潰れもし
くは階調跳びを防止しつつ、必要な階調差を付与するこ
とができる。請求項5記載の発明によれば、カラー画像
データの色領域数が増加した場合にも、階調補正後の階
調レベルが表現可能な上限レベル又は下限レベルを超え
ないように管理することができる。請求項6記載の発明
によれば、シャドー領域からハイライト領域まで階調レ
ベルの全域にわたって十分な階調補正効果を得ることが
できる。請求項7記載の発明によれば、カラー画像デー
タにおける色差の大きさを階調差の大きさとして反映さ
せたモノクロ画像データを生成できる。請求項8記載の
発明によれば、寒色は「暗い」、暖色は「明るい」とい
う印象を反映させた違和感のないモノクロ画像データを
生成できる。請求項9又は11記載の発明によれば、カ
ラー画像データ中に連続調のイメージ領域が含まれてい
る場合でも、階調補正によりイメージ領域でコントラス
トが過剰となるなどの画質劣化を生じることがないた
め、グラフィックス領域とイメージ領域が混在したカラ
ー画像データから全体的に高画質のモノクロ画像データ
を生成できる。請求項12記載の発明によれば、カラー
原稿の高品質なモノクロ画像データを生成することがで
きる。請求項13記載の発明によれば、高品質なモノク
ロ画像の形成が可能である。請求項14記載の発明によ
れば、一般的なコンピュータを利用し、請求項1乃至9
記載の発明を容易に実施することができる、等々の効果
を得られる。
As is apparent from the above detailed description,
According to the first to thirteenth aspects, it is possible to generate high-quality monochrome image data in which a color region having a small difference in brightness from the surroundings is clearly expressed. According to the invention described in claim 2,
It is possible to generate high-quality monochrome image data without discomfort in which the brightness balance in color image data is preserved.
According to the third aspect of the present invention, it is possible to prevent the entirety of the monochrome image data from being excessively biased toward the shadow side or the highlight side due to the gradation correction. According to the fourth aspect of the present invention, it is possible to prevent the monochrome image data after the tone correction from being excessively biased toward the shadow side or the highlight side as a whole, and to adjust the tone of a portion close to black and a portion close to white. The required gradation difference can be provided while preventing the collapse or the gradation jump. According to the fifth aspect of the present invention, even when the number of color regions of the color image data increases, it is possible to manage so that the gradation level after gradation correction does not exceed the expressible upper limit level or lower limit level. it can. According to the sixth aspect of the present invention, a sufficient gradation correction effect can be obtained over the entire range of gradation levels from the shadow region to the highlight region. According to the seventh aspect, it is possible to generate monochrome image data in which the magnitude of the color difference in the color image data is reflected as the magnitude of the gradation difference. According to the eighth aspect of the present invention, it is possible to generate monochrome image data that reflects the impression that the cool color is “dark” and the warm color is “bright” and does not give a sense of incongruity. According to the ninth or eleventh aspect, even when a continuous tone image area is included in the color image data, image quality degradation such as an excessive contrast in the image area due to gradation correction may occur. Therefore, high-quality monochrome image data can be generated as a whole from color image data in which a graphics area and an image area are mixed. According to the twelfth aspect, it is possible to generate high-quality monochrome image data of a color original. According to the thirteenth aspect, a high-quality monochrome image can be formed. According to the fourteenth aspect of the present invention, a general computer is used and the first to ninth aspects are used.
Various effects can be obtained, such as that the described invention can be easily implemented.

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

【図1】本発明による画像処理装置のブロック構成の一
例を示すブロック図である。
FIG. 1 is a block diagram illustrating an example of a block configuration of an image processing apparatus according to the present invention.

【図2】図1に示す画像処理装置の全体的な処理フロー
の一例を示すフローチャートである。
FIG. 2 is a flowchart illustrating an example of an overall processing flow of the image processing apparatus illustrated in FIG. 1;

【図3】実施例1の説明のためのフローチャートであ
る。
FIG. 3 is a flowchart for explaining the first embodiment.

【図4】実施例2の説明のためのフローチャートであ
る。
FIG. 4 is a flowchart for explaining a second embodiment.

【図5】実施例3の説明のためのフローチャートであ
る。
FIG. 5 is a flowchart for explaining a third embodiment.

【図6】実施例4の説明のためのフローチャートであ
る。
FIG. 6 is a flowchart for explaining a fourth embodiment;

【図7】作像エンジンの一般的な階調特性を示す図であ
る。
FIG. 7 is a diagram illustrating general gradation characteristics of an image forming engine.

【図8】実施例5の説明のためのフローチャートであ
る。
FIG. 8 is a flowchart for explaining a fifth embodiment;

【図9】実施例6の説明のためのフローチャートであ
る。
FIG. 9 is a flowchart for explaining a sixth embodiment;

【図10】実施例7の説明のためのフローチャートであ
る。
FIG. 10 is a flowchart for explaining a seventh embodiment.

【図11】実施例8の説明のためのフローチャートであ
る。
FIG. 11 is a flowchart for explaining an eighth embodiment.

【図12】本発明による画像処理装置のブロック構成の
他の例を示すブロック図である。
FIG. 12 is a block diagram showing another example of the block configuration of the image processing apparatus according to the present invention.

【図13】図12に示す画像処理装置の全体的処理フロ
ーの一例を示すフローチャートである。
13 is a flowchart illustrating an example of an overall processing flow of the image processing apparatus illustrated in FIG.

【図14】本発明によるデジタル複写機の画像読み取り
及び画像形成に関連した機構の構成例を示す概略断面図
である。
FIG. 14 is a schematic sectional view showing a configuration example of a mechanism related to image reading and image formation of the digital copying machine according to the present invention.

【図15】図14に示すデジタル複写機の回路部のブロ
ック構成の一例を示すブロック図である。
FIG. 15 is a block diagram illustrating an example of a block configuration of a circuit section of the digital copying machine illustrated in FIG. 14;

【図16】カラー画像の一例を説明するための図であ
る。
FIG. 16 is a diagram illustrating an example of a color image.

【図17】図16のカラー画像から変換されたモノクロ
画像の一例を説明するための図である。
FIG. 17 is a diagram illustrating an example of a monochrome image converted from the color image of FIG. 16;

【図18】図17のモノクロ画像に階調補正を施したモ
ノクロ画像の一例を説明するための図である。
18 is a diagram for explaining an example of a monochrome image obtained by performing gradation correction on the monochrome image of FIG. 17;

【図19】カラー画像の一例を説明するための図であ
る。
FIG. 19 is a diagram illustrating an example of a color image.

【図20】図19のカラー画像から変換されたモノクロ
画像の一例を説明するための図である。
FIG. 20 is a diagram illustrating an example of a monochrome image converted from the color image of FIG. 19;

【図21】階調補正により明度バランスが反転したモノ
クロ画像の一例を説明するための図である。
FIG. 21 is a diagram illustrating an example of a monochrome image in which the lightness balance is inverted by gradation correction.

【図22】明度バランスが保存されたモノクロ画像の一
例を説明するための図である。
FIG. 22 is a diagram for describing an example of a monochrome image in which the brightness balance is stored.

【図23】グラフィックス画像の一例を示す図である。FIG. 23 is a diagram illustrating an example of a graphics image.

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

100 モノクロ変換部 110 階調調整部 112 色領域分割部 114 色領域情報記憶部 118 モノクロ画像記憶部 120 階調補正部 124 モノクロ画像出力部 200 グラフィックス領域抽出部 400 スキャナ部 411 レーザプリンタ部 Reference Signs List 100 monochrome conversion unit 110 gradation adjustment unit 112 color region division unit 114 color region information storage unit 118 monochrome image storage unit 120 gradation correction unit 124 monochrome image output unit 200 graphics region extraction unit 400 scanner unit 411 laser printer unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/60 H04N 1/40 D 1/40 F Fターム(参考) 2C262 AA24 AA26 AA27 AB13 AC04 BA16 BA17 BB15 BC07 CA09 EA04 EA08 5B057 AA11 CA01 CA08 CA12 CA16 CB02 CB08 CB12 CB16 CC01 CE11 5C077 MP08 NN02 NN03 PP15 PP27 PP28 PP31 PP32 PP36 PP46 PP47 PQ08 PQ20 TT06 5C079 HA11 HB01 HB06 JA01 LA01 LA02 LA10 LA12 NA05 NA27──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 1/60 H04N 1/40 D 1/40 F F-term (Reference) 2C262 AA24 AA26 AA27 AB13 AC04 BA16 BA17 BB15 BC07 CA09 EA04 EA08 5B057 AA11 CA01 CA08 CA12 CA16 CB02 CB08 CB12 CB16 CC01 CE11 5C077 MP08 NN02 NN03 PP15 PP27 PP28 PP31 PP32 PP36 PP46 PP47 PQ08 PQ20 TT06 5C079 HA11 HB01 HB06 JA01 LA01 LA02 LA02

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 カラー画像データを、その明度情報を用
いてモノクロ画像データに変換するモノクロ変換処理
と、前記カラー画像データの同色とみなし得る領域を抽
出する色領域分割処理と、前記モノクロ変換処理により
変換されたモノクロ画像データに対し、前記色領域分割
処理により抽出された隣接領域間に所定値以上の階調差
を付与するための階調補正を施す階調補正処理とを含む
ことを特徴とする画像処理方法。
1. A monochrome conversion process for converting color image data into monochrome image data using its brightness information, a color region division process for extracting an area of the color image data that can be regarded as the same color, and the monochrome conversion process And a gradation correction process for applying a gradation correction for giving a gradation difference of a predetermined value or more between adjacent regions extracted by the color region division process to the monochrome image data converted by the above. Image processing method.
【請求項2】 階調補正処理において、カラー画像デー
タ上での隣接領域間の明度バランスと階調補正後のモノ
クロ画像データ上の同隣接領域間の明度バランスとを一
致させるように階調補正を制御することを特徴とする請
求項1記載の画像処理方法。
2. A gradation correction process in which gradation adjustment is performed such that the lightness balance between adjacent regions on color image data and the lightness balance between the same adjacent regions on monochrome image data after gradation correction are matched. 2. The image processing method according to claim 1, wherein
【請求項3】 階調補正処理において、ハイライト領域
では明るくなる方向へ階調補正を施し、シャドー領域で
は暗くなる方向へ階調補正を施すことを特徴とする請求
項1記載の画像処理方法。
3. The image processing method according to claim 1, wherein in the gradation correction processing, gradation correction is performed in a direction of becoming brighter in a highlight region, and gradation correction is performed in a direction of becoming darker in a shadow region. .
【請求項4】 階調補正処理において、ハイライト領域
内の所定の階調レベル以下の部分では暗くなる方向へ階
調補正を施し、シャドー領域内の所定の階調レベル以上
の部分では明るくなる方向へ階調補正を施すことを特徴
とする請求項3記載の画像処理方法。
4. In the gradation correction processing, gradation correction is performed in a darker direction in a portion below a predetermined gradation level in a highlight region, and becomes bright in a portion above a predetermined gradation level in a shadow region. 4. The image processing method according to claim 3, wherein gradation correction is performed in the direction.
【請求項5】 階調補正処理において、階調補正のため
の階調補正値の大きさを、色領域分割処理により抽出さ
れた領域数に応じて決定することを特徴とする請求項1
記載の画像処理方法。
5. The gradation correction processing according to claim 1, wherein the magnitude of the gradation correction value for the gradation correction is determined according to the number of regions extracted by the color region dividing process.
The image processing method described in the above.
【請求項6】 階調補正処理において、ハイライト領域
及びシャドー領域ではミドル領域よりも階調補正のため
の階調補正値を大きくすることを特徴とする請求項1記
載の画像処理方法。
6. The image processing method according to claim 1, wherein in the gradation correction processing, a gradation correction value for gradation correction is set larger in a highlight area and a shadow area than in a middle area.
【請求項7】 色領域分割処理において隣接領域間の色
差を検出し、階調補正処理において隣接領域間の色差に
応じて階調補正のための階調補正値の大きさを決定する
ことを特徴とする請求項1記載の画像処理方法。
7. A method for detecting a color difference between adjacent areas in a color area dividing process and determining a magnitude of a tone correction value for tone correction in the tone correction process according to the color difference between the adjacent areas. The image processing method according to claim 1, wherein:
【請求項8】 色領域分割処理において領域の色を暖色
と寒色に分類し、階調補正処理において、暖色に分類さ
れた領域については明るくする方向へ、寒色に分類され
た領域については暗くする方向へ階調補正を施すことを
特徴とする請求項1記載の画像処理方法。
8. In the color area division processing, the colors of the areas are classified into warm colors and cool colors, and in the gradation correction processing, the areas classified as warm colors are made brighter and the areas classified as cool colors are made darker. 2. The image processing method according to claim 1, wherein gradation correction is performed in the direction.
【請求項9】 カラー画像データのグラフィックス領域
を抽出するグラフィックス領域抽出処理をさらに含み、
抽出されたグラフィックス領域のみを色領域分割処理及
び階調補正処理の処理対象とすることを特徴とする請求
項1乃至8のいずれか1項記載の画像処理方法。
9. A graphics area extraction process for extracting a graphics area of the color image data,
9. The image processing method according to claim 1, wherein only the extracted graphics area is subjected to the color area division processing and the gradation correction processing.
【請求項10】 カラー画像データを、その明度情報を
用いてモノクロ画像データに変換するモノクロ変換手段
と、前記カラー画像データの同色とみなし得る領域を抽
出する色領域分割手段と、前記モノクロ画像データに対
し、前記色領域分割手段により抽出された隣接領域間に
所定値以上の階調差を付与するための階調補正を施す階
調補正手段とを有することを特徴とする画像処理装置。
10. A monochrome conversion means for converting color image data into monochrome image data using its brightness information, a color area dividing means for extracting an area of the color image data which can be regarded as being the same color, and said monochrome image data An image processing apparatus comprising: a tone correction unit for performing a tone correction for giving a tone difference of a predetermined value or more between adjacent regions extracted by the color region dividing unit.
【請求項11】 カラー画像データのグラフィックス領
域を抽出するグラフィックス領域抽出手段をさらに有
し、抽出されたグラフィックス領域のみを色領域分割手
段及び階調補正手段の処理対象とすることを特徴とする
請求項10記載の画像処理装置。
11. A graphics area extracting means for extracting a graphics area of color image data, wherein only the extracted graphics area is processed by the color area dividing means and the gradation correcting means. The image processing apparatus according to claim 10, wherein
【請求項12】 カラー原稿を光学的に走査して読み取
ることによりカラー画像データを入力する手段をさらに
有することを特徴とする請求項10又は11記載の画像
処理装置。
12. The image processing apparatus according to claim 10, further comprising means for inputting color image data by optically scanning and reading a color original.
【請求項13】 階調補正手段により階調補正を施され
たモノクロ画像データの画像形成のための手段をさらに
有することを特徴とする請求項10、11又は12記載
の画像処理装置。
13. The image processing apparatus according to claim 10, further comprising a unit for forming an image of monochrome image data subjected to gradation correction by the gradation correction unit.
【請求項14】 請求項1乃至9のいずれか1項記載の
画像処理方法のための処理をコンピュータに実行させる
ためのプログラムが記録されたコンピュータが読み取り
可能な記録媒体。
14. A computer-readable recording medium on which a program for causing a computer to execute the processing for the image processing method according to claim 1 is recorded.
JP2000189824A 2000-06-23 2000-06-23 Image processing method, image processor and recording medium Pending JP2002010090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000189824A JP2002010090A (en) 2000-06-23 2000-06-23 Image processing method, image processor and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000189824A JP2002010090A (en) 2000-06-23 2000-06-23 Image processing method, image processor and recording medium

Publications (1)

Publication Number Publication Date
JP2002010090A true JP2002010090A (en) 2002-01-11

Family

ID=18689408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000189824A Pending JP2002010090A (en) 2000-06-23 2000-06-23 Image processing method, image processor and recording medium

Country Status (1)

Country Link
JP (1) JP2002010090A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006331445A (en) * 2006-07-20 2006-12-07 Matsushita Electric Ind Co Ltd Image processing apparatus and image processing method
US7210757B2 (en) 2003-12-08 2007-05-01 Ricoh Compnay, Ltd. Image processing method and apparatus, image forming apparatus and system, program and recording medium
JP2009005331A (en) * 2007-05-24 2009-01-08 Fuji Xerox Co Ltd Image processing unit and program
US7481510B2 (en) 2004-04-19 2009-01-27 Ricoh Company, Ltd. Image forming apparatus, image processing method, and printer driver
JP2009089382A (en) * 2007-10-01 2009-04-23 Toshiba Corp Image processing apparatus, and image processing method
US7706033B2 (en) 2006-06-20 2010-04-27 Brother Kogyo Kabushiki Kaisha Image processing device, image processing method, and medium including image processing program
US7924466B2 (en) 2006-06-20 2011-04-12 Brother Kogyo Kabushiki Kaisha Image processing device, and medium employed for the same
JP2011113598A (en) * 2009-11-25 2011-06-09 Fujitsu Ltd Library control device and library system
JP2011130105A (en) * 2009-12-16 2011-06-30 Konica Minolta Business Technologies Inc Image processing apparatus
JP2011160030A (en) * 2010-01-29 2011-08-18 Hitachi Ltd Method of color customization of content screen
US8189236B2 (en) 2007-05-24 2012-05-29 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method and computer-readable medium
JP2013098669A (en) * 2011-10-31 2013-05-20 Kyocera Document Solutions Inc Image processing apparatus and image forming apparatus
JP2016225724A (en) * 2015-05-28 2016-12-28 株式会社沖データ Image processing apparatus and image forming system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7210757B2 (en) 2003-12-08 2007-05-01 Ricoh Compnay, Ltd. Image processing method and apparatus, image forming apparatus and system, program and recording medium
US7481510B2 (en) 2004-04-19 2009-01-27 Ricoh Company, Ltd. Image forming apparatus, image processing method, and printer driver
US7706033B2 (en) 2006-06-20 2010-04-27 Brother Kogyo Kabushiki Kaisha Image processing device, image processing method, and medium including image processing program
US7924466B2 (en) 2006-06-20 2011-04-12 Brother Kogyo Kabushiki Kaisha Image processing device, and medium employed for the same
JP4635975B2 (en) * 2006-07-20 2011-02-23 パナソニック株式会社 Image processing apparatus and image processing method
JP2006331445A (en) * 2006-07-20 2006-12-07 Matsushita Electric Ind Co Ltd Image processing apparatus and image processing method
JP2009005331A (en) * 2007-05-24 2009-01-08 Fuji Xerox Co Ltd Image processing unit and program
JP2011172261A (en) * 2007-05-24 2011-09-01 Fuji Xerox Co Ltd Image processing apparatus and image processing program
US8189236B2 (en) 2007-05-24 2012-05-29 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method and computer-readable medium
JP2009089382A (en) * 2007-10-01 2009-04-23 Toshiba Corp Image processing apparatus, and image processing method
JP2011113598A (en) * 2009-11-25 2011-06-09 Fujitsu Ltd Library control device and library system
JP2011130105A (en) * 2009-12-16 2011-06-30 Konica Minolta Business Technologies Inc Image processing apparatus
JP2011160030A (en) * 2010-01-29 2011-08-18 Hitachi Ltd Method of color customization of content screen
JP2013098669A (en) * 2011-10-31 2013-05-20 Kyocera Document Solutions Inc Image processing apparatus and image forming apparatus
JP2016225724A (en) * 2015-05-28 2016-12-28 株式会社沖データ Image processing apparatus and image forming system

Similar Documents

Publication Publication Date Title
US6816613B2 (en) Color image processing apparatus capable of reproducing colors with high-fidelity visually
US20040061882A1 (en) Image processing apparatus including low-linear-density dot region detection unit, and image forming apparatus including the same
US20020031263A1 (en) Method and system for processing character edge area data
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
US7158271B2 (en) Image processing apparatus
JPH11341284A (en) Picture processor
JP2006121674A (en) Image forming apparatus, image processing apparatus and image generating program
JP4329271B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP2002010090A (en) Image processing method, image processor and recording medium
JP4465377B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
JPH10341341A (en) Image processor
JP4280404B2 (en) Image processing apparatus and method
JPH07274021A (en) Picture processor
JP3333894B2 (en) Image processing device
JP4226278B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium recording the same
US7551320B2 (en) Image processing apparatus, image forming apparatus, control program, and computer-readable recording medium
JP2006121266A (en) Image processing apparatus, and image processing program
JP3407525B2 (en) Image reproduction device
JP4549227B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP3723043B2 (en) Image processing apparatus, image reading apparatus, and image forming apparatus
JP3176212B2 (en) Image processing device
JP3627889B2 (en) Digital image processing device
JPH10322568A (en) Image forming device
JPH0368270A (en) Picture processor
JP5361556B2 (en) Image processing apparatus and method, and computer program and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060712

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061122