JP6293466B2 - Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium - Google Patents
Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium Download PDFInfo
- Publication number
- JP6293466B2 JP6293466B2 JP2013249295A JP2013249295A JP6293466B2 JP 6293466 B2 JP6293466 B2 JP 6293466B2 JP 2013249295 A JP2013249295 A JP 2013249295A JP 2013249295 A JP2013249295 A JP 2013249295A JP 6293466 B2 JP6293466 B2 JP 6293466B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- color
- image
- color space
- mode
- 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.)
- Active
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
本発明は、カラー画像を示すカラー画像データを、モノクロ画像を示すモノクロ画像データに変換する画像処理装置に関する。 The present invention relates to an image processing apparatus that converts color image data representing a color image into monochrome image data representing a monochrome image.
カラーの原稿を読み取って得られたカラー画像データ(例えばRGBの信号)をモノクロ画像データ(グレーの階調値からなる信号)に変換し、このモノクロ画像データに基づいてモノクロ画像を出力(例えば印刷)することが従来からなされている。例えば、特許文献1には、RGBの色信号をLCHの色信号に変換し、LCHの色信号に対して色調整処理を行った後、LCHの色信号をRGBの色信号に逆変換し、逆変換後のRGBの色信号を、モノクロ画像データに変換する印刷装置が示されている。 Color image data (for example, RGB signals) obtained by reading a color document is converted into monochrome image data (a signal composed of gray gradation values), and a monochrome image is output (for example, printed) based on the monochrome image data ) Has traditionally been made. For example, in Patent Document 1, RGB color signals are converted into LCH color signals, color adjustment processing is performed on the LCH color signals, and then LCH color signals are inversely converted into RGB color signals. A printing apparatus that converts RGB color signals after inverse conversion into monochrome image data is shown.
前記の従来技術によってカラー画像データをモノクロ画像データに変換した場合、カラー画像の状態では目視で認識できる色の差異がモノクロ画像の状態では目視で認識困難になるという現象が生じるが、画像の種類によっては当該現象が不都合になることもある。例えば、文章の重要性や注目度に応じて文字の色(黒文字、赤文字、青文字等)を使い分けている文書においては、文字の色の違いをわかり易く示さなければならないが、このような文書を示すカラー画像データをモノクロ画像データに変換した場合、文字の色の違いが不明確になるという不都合がある。 When color image data is converted into monochrome image data by the above-described conventional technology, a color difference that is visually recognizable in the color image state becomes difficult to visually recognize in the monochrome image state. Depending on the situation, this phenomenon may be inconvenient. For example, in a document that uses different character colors (black characters, red characters, blue characters, etc.) depending on the importance of the text and the degree of attention, the difference in character colors must be clearly shown. When the color image data indicating is converted into monochrome image data, there is an inconvenience that the difference in character color is unclear.
本発明は、カラー画像の状態では目視で認識できる色の差異をモノクロ画像の状態でも目視で認識可能にする必要性が高い画像については、カラー画像データをモノクロ画像データに変換しても前記の色の差異が認識困難になることを抑制できる画像処理装置を提供することを目的とする。 In the present invention, the color difference that can be visually recognized in a color image state is highly required to be visually recognizable in a monochrome image state even if the color image data is converted into monochrome image data. An object of the present invention is to provide an image processing apparatus capable of suppressing color recognition from becoming difficult to recognize.
上記の課題を解決するために、本発明の一態様に係る画像処理装置は、明度に相関する明暗値と、色相角度および/または彩度に相関する色彩値とを少なくとも座標値として含む色空間のカラー画像データを、グレー階調値によって示されるモノクロ画像データに変換する変換処理を行う画像変換部を有し、前記画像変換部は、前記変換処理において、少なくとも前記明暗値に相関する前記グレー階調値を出力する第1モードと、前記第1モードよりも前記色彩値に対する相関が強い前記グレー階調値を出力する第2モードとを切り替えることを特徴とする。 In order to solve the above-described problem, an image processing apparatus according to an aspect of the present invention provides a color space that includes, as coordinate values, a light / dark value correlated with lightness and a color value correlated with hue angle and / or saturation. An image conversion unit that performs a conversion process of converting the color image data into monochrome image data indicated by a gray gradation value, and the image conversion unit correlates at least the light and dark values in the conversion process. A first mode for outputting a gradation value and a second mode for outputting the gray gradation value having a stronger correlation with the color value than the first mode are switched.
本発明の一態様によれば、カラー画像の状態では目視で認識できる色の差異をモノクロ画像の状態でも目視で認識可能にする必要性が高い画像については、前記の第2モードに切り替えて前記変換処理を行うことにより、前記の色の差異が認識困難になることを抑制できるという効果を奏する。 According to one aspect of the present invention, for an image that is highly required to be visually recognizable even in the state of a monochrome image, the color difference that can be visually recognized in the state of the color image is switched to the second mode. By performing the conversion process, it is possible to suppress the above-described color difference from becoming difficult to recognize.
〔実施形態1〕
(実施形態1の概要)
まずは実施形態1の概要について説明する。本実施形態のモノクロ画像印刷装置(以下単に「印刷装置」と称す)は、LCH色空間のカラー画像データを、K信号(グレーの階調値を示す階調信号)からなるモノクロ画像データに変換する変換処理を行い、モノクロ画像の印刷を行うものである。
Embodiment 1
(Outline of Embodiment 1)
First, an outline of the first embodiment will be described. The monochrome image printing apparatus of the present embodiment (hereinafter simply referred to as “printing apparatus”) converts color image data in the LCH color space into monochrome image data composed of K signals (gradation signals indicating gray gradation values). Conversion processing is performed, and monochrome images are printed.
特に、本実施形態の印刷装置は、前記変換処理において、(1)LCH色空間におけるC値およびH値を使用せずにL値のみからK信号を出力する明暗強調モードと、(2)H値の重みを最も重くして、L値とC値とH値との加重平均値を求め、この加重平均値をK信号として出力する色差強調モードとを切り替えるようになっている。特に、本実施形態の印刷装置は、印刷写真領域または印画紙写真領域に属する画素については明暗強調モード(第1モード)にて前記変換処理を行い、文字領域に属する画素については色差強調モード(第2モード)にて前記変換処理を行うようになっている。 In particular, the printing apparatus according to the present embodiment includes (1) a brightness enhancement mode that outputs a K signal from only the L value without using the C value and the H value in the LCH color space, and (2) H A weighted average value of the L value, the C value, and the H value is determined with the highest value weight, and the color difference enhancement mode for outputting the weighted average value as a K signal is switched. In particular, the printing apparatus according to the present embodiment performs the conversion process in the light / dark enhancement mode (first mode) for pixels belonging to the print photograph area or the photographic paper photograph area, and the color difference enhancement mode (for the pixels belonging to the character area). The conversion process is performed in the second mode).
これにより、カラー画像の状態では目視で認識できる色の差異をモノクロ画像の状態でも目視で認識可能にする必要性が高い画像(文字)については、カラーからモノクロに変換した後でも前記の色の差異が認識困難になることを抑制できる。 As a result, for images (characters) that are highly required to be visually recognizable even in the state of a monochrome image, the color difference that can be recognized visually in the state of a color image, even after conversion from color to monochrome, It can suppress that a difference becomes difficult to recognize.
(実施形態1の詳細)
つぎに、実施形態1を詳細に説明する。図1は、本実施形態に係る印刷装置(画像形成装置)の構成を示すブロック図である。
(Details of Embodiment 1)
Next, the first embodiment will be described in detail. FIG. 1 is a block diagram illustrating a configuration of a printing apparatus (image forming apparatus) according to the present embodiment.
図1に示すように、本実施形態の印刷装置1は、画像入力装置10と画像処理装置11と画像出力装置12とを備える。画像入力装置10は、カラー原稿を読み取ることにより、RGBの3色の色情報に分解されたカラー画像データ(つまりRGBの色空間の画像データ)を生成する。なお、Rは赤を意味し、Gは緑を意味し、Bは青を意味する。画像処理装置11は、画像入力装置10から画像データを入力し、この画像データに対して所定の画像処理を施す装置である。画像処理装置11の詳細については後述する。画像出力装置12は、画像処理装置11にて画像処理の施された後の画像データを入力し、この画像データの画像をシートに印刷(出力)する装置である。
As shown in FIG. 1, the printing apparatus 1 of this embodiment includes an
つぎに、画像処理装置11の構成を詳細に説明する。図1に示すように、画像処理装置11は、前処理部21と、領域分離処理部22と、色変換処理部23と、モノクロ画像出力部(画像変換部)24と、中間調処理部25とを備える。また、前処理部21は、メモリ処理部211とRGB補正部222とライン間調整部233とを備える。
Next, the configuration of the
メモリ処理部211は、画像入力装置10にて生成されたRGBの画像データをFIFO(first in first out)メモリに一旦記憶させる処理を行うブロックである。また、メモリ処理部211は、FIFOメモリに格納された画像データを原稿1枚分毎に読み出してRGB補正部222へ伝送する。
The
RGB補正部222は、FIFOメモリから読み出されたRGBの画像データを入力し、この画像データにγ補正等のカラースキャナの特性の補正を行うブロックである。
The
ライン間調整部233は、RGB補正部222による補正が行われた後の画像データをライン間調整用RAMに展開し、ライン間の画素値補正処理を行うブロックである。
The
領域分離処理部22は、前処理部21における一連の処理を終えた後のRGBの画像データを入力し、この画像データを参照して領域分離処理を行うブロックである。具体的には、領域分離処理部22は、画素毎(若しくは複数画素からなるブロック毎)に、当該画素(若しくはブロック)が文字画像領域、網点画像領域、写真画像領域等のいずれの画像領域に属するかを判定し、いずれの画像領域であるかを示した領域判別信号を出力する。なお、領域分離処理部22に入力したRGBの画像データは、領域分離処理の後に、色変換処理部23に送られる。
The region
色変換処理部23は、RGB色空間のカラー画像信号であるRGBの画像データを、人間の色感覚に近いLCH色空間のカラー画像信号であるLCHの画像データに変換するブロックである。ここで、Lは明度値、Cは彩度値、Hは色相角度を示す。
The color
具体的には、色変換処理部23は、図1に示すように、L変換部23a、C変換部23b、H変換部23cを有している。L変換部23aは、RGBの画像データをL値に変換するブロックである。C変換部23bは、RGBの画像データをCデータに変換するブロックである。H変換部23cは、RGBの画像データをHデータに変換するブロックである。
Specifically, as shown in FIG. 1, the color
L変換部23aにおける変換手法については、詳細な説明は省略するが、例えば1画素毎にRGBの信号をL信号に変換すればよく、周知の変換式によって変換できる。また、C変換部23b、H変換部23cについても、L変換部23aと同様、例えば1画素毎に変換処理を行えばよく、周知の変換式によって変換できる。
Although a detailed description of the conversion method in the
なお、本実施形態では、RGBの値は、各々、8ビット(0〜255)である一方、RGBの値から変換されるL値の数値範囲は0(暗)〜99(明)であり、RGBの値から変換されるC(彩度値)の数値範囲は0(くすんだ)〜99(鮮やか)であり、L、C共に100段階で表される。また、RGBの値から変換されるH(色相角度)の数値範囲は0〜359度であり、360段階で表される(例えば、0〜59:赤〜黄色、60〜119:黄色〜緑、120〜179:緑〜水色、180〜239:水色〜青、240〜299:青〜紫、300〜359:紫〜赤)。 In this embodiment, the RGB values are each 8 bits (0 to 255), while the numerical value range of the L value converted from the RGB values is 0 (dark) to 99 (bright). The numerical value range of C (saturation value) converted from RGB values is 0 (dull) to 99 (bright), and both L and C are expressed in 100 levels. The numerical range of H (hue angle) converted from RGB values is 0 to 359 degrees, and is expressed in 360 steps (for example, 0 to 59: red to yellow, 60 to 119: yellow to green, 120 to 179: green to light blue, 180 to 239: light blue to blue, 240 to 299: blue to purple, 300 to 359: purple to red).
これに対し、本実施形態において、色変換処理部23の後段のモノクロ画像出力部24では、8ビットのLCHの値から8ビット(0〜255)のグレー階調値を出力するようになっている。そこで、本実施形態の色変換処理部23では、R値、G値、B値からL値、C値、H値を変換した後、さらに、L値、C値、H値の各々を8ビットのデータに正規化した上で、L値、C値、H値のカラー画像データをモノクロ画像出力部24へ出力するようになっている。
On the other hand, in the present embodiment, the monochrome
つまり、L変換部23aは、0〜99のL値を0〜255のL値に正規化し、C変換部23bは、0〜99のC値を0〜255のC値に正規化し、H変換部23cは、0〜359のH値を0〜255のH値に正規化する。そして、正規化されたL値、C値、H値のカラー画像データが、色変換処理部23からモノクロ画像出力部24に伝送される。
That is, the
モノクロ画像出力部24は、色変換処理部23から送られてくるカラー画像データを、K信号(グレー階調値)にて示されるモノクロ画像データに変換する変換処理を行うブロックである。なお、モノクロ画像出力部24の処理の詳細については後述する。
The monochrome
中間調処理部25は、モノクロ画像出力部24にて変換されたモノクロ画像データを入力し、擬似階調法(誤差拡散、ディザ等)によって、モノクロ画像データに対して中間調処理を施す。この際、中間調処理部25は、領域分離処理部22から領域判別信号を入力し、この領域判別信号を参照して、文字領域、印刷写真(網点写真)、印画紙写真の各画像領域に対し、領域毎に適した中間調処理を行うようになっている。
The
中間調処理部25にて中間調処理の施された後のモノクロ画像データは、中間調処理部25から画像出力装置12へ伝送される。そして、画像出力装置12は、中間調処理部25から伝送されてきたモノクロ画像データに基づいてシートへモノクロ画像を印刷する。
The monochrome image data that has been subjected to the halftone processing by the
なお、前処理部21による前処理以降の処理の流れは図3のようになる。つまり、画素毎に領域分離処理が行われ(S11)、S11の後でRGBの画像データをLCHの画像データに変換する処理が行われる(S12a〜12c)。その後、L値、C値、H値を用いてグレー階調値が生成され(S13)、グレー階調値からなるモノクロ画像データに対して中間調処理が施される(S14)。
The flow of processing after the preprocessing by the preprocessing
(モノクロ画像出力部について)
つぎにモノクロ画像出力部24を詳細に説明する。本実施形態のモノクロ画像出力部24は、前述したように、カラー画像データをモノクロ画像データに変換する変換処理を行うブロックであるが、領域分離処理部22の判定結果に応じて前記変換処理の内容を切り替えるようになっている。
(About monochrome image output part)
Next, the monochrome
具体的には、モノクロ画像出力部24は、印刷写真領域または印画紙写真領域に属する画素については明暗強調モードを実行し、文字画像領域に属する画素については色差強調モードを実行するようになっている。
Specifically, the monochrome
明暗強調モード(第1モード)は、C値、H値の夫々よりもL値に対する相関が強いK値を出力するモードであり、本実施形態では、下記の式1に示すようにL値をそのままK値として出力するようになっている。 The brightness enhancement mode (first mode) is a mode for outputting a K value having a stronger correlation with the L value than the C value and the H value. In this embodiment, the L value is expressed as shown in the following equation 1. The K value is output as it is.
これに対して、色差強調モード(第2モード)は、明暗強調モードよりもH値に対する相関が強いK値を出力するモードであり、本実施形態ではH値に与える重みを最も重くした上でL値とC値とH値との加重平均を求め、この加重平均をK値として出力するようになっている。具体的には、上記の式2によってK値を出力するようになっている。 On the other hand, the color difference enhancement mode (second mode) is a mode for outputting a K value having a stronger correlation with the H value than in the light and dark enhancement mode. In this embodiment, the weight given to the H value is made the heaviest. A weighted average of the L value, the C value, and the H value is obtained, and this weighted average is output as a K value. Specifically, the K value is output by the above equation 2.
これにより、処理対象の画像が印刷写真または印画紙写真である場合、明度に対する相関が強いグレー階調のモノクロ画像が出力され、処理対象の画像が文字画像(文書等)である場合、色相角度に対する相関が強いグレー階調のモノクロ画像が出力されることになる。 Thereby, when the image to be processed is a printed photograph or photographic paper photograph, a gray-scale monochrome image having a strong correlation with the lightness is output, and when the image to be processed is a character image (such as a document), the hue angle Thus, a gray-scale monochrome image having a strong correlation with respect to is output.
つまり、(1)印刷写真または印画紙写真については、従来技術と同様に明度に対する相関の強いグレー階調のモノクロ画像に変換していることから、自然な感じを損なうことなくモノクロ画像を出力でき、(2)カラー画像の状態では目視で認識できる色の差異をモノクロ画像の状態でも目視で認識可能にする必要性が高い文字画像については、色相角度に対する相関が強いグレー階調のモノクロ画像を出力しているため、前記の色の差異が認識困難になることを抑制することが可能になるという効果を奏する。 In other words, (1) For printed photographs or photographic paper photographs, since they are converted into gray-scale monochrome images having a strong correlation with lightness as in the prior art, a monochrome image can be output without impairing the natural feeling. (2) For a character image that is highly required to be visually recognizable even in a monochrome image state, the color difference that can be visually recognized in the color image state is a gray-tone monochrome image that has a strong correlation with the hue angle. Since the data is output, it is possible to suppress the above-described color difference from becoming difficult to recognize.
つぎに、従来技術と比較した、本実施形態の利点を説明する。図2Aは、(R,G,B)=(0,0,0)の黒文字と、(R,G,B)=(255,0,0)の赤文字と、(R,G,B)=(0,0,255)の青文字とが示されているカラー文書から読み取ったカラー画像データからモノクロ画像データを生成する処理を従来技術の画像処理装置にて行った場合の結果を示す説明図である。図2Bは、前記のカラーの文書から読み取ったカラー画像データからモノクロ画像データを生成する処理を本実施形態の画像処理装置11にて行った場合の結果を示す説明図である。
Next, advantages of this embodiment compared to the prior art will be described. FIG. 2A shows a black character of (R, G, B) = (0, 0, 0), a red character of (R, G, B) = (255, 0, 0), and (R, G, B). = Description showing results when processing of generating monochrome image data from color image data read from a color document indicated with blue characters of (0,0,255) is performed by a conventional image processing apparatus FIG. FIG. 2B is an explanatory diagram showing a result when the
従来技術の画像処理装置では、画像領域の種類に関係なく、図2Aに示す変換式によってR値とG値とB値との加重平均をK値とするようになっている。よって、従来技術によれば、図2Aに示すように、黒文字、赤文字、青文字の間で生じるグレー階調値の差分の平均が51であり、差分の最小が28.05となる。 In the conventional image processing apparatus, the weighted average of the R value, the G value, and the B value is set as the K value by the conversion formula shown in FIG. 2A regardless of the type of the image region. Therefore, according to the prior art, as shown in FIG. 2A, the average of the gray gradation value differences generated between black characters, red characters, and blue characters is 51, and the minimum difference is 28.05.
これに対し、本実施形態の画像処理装置11では、文字画像領域については、前記色差強調モードが選択されるため、前記の式2によってK値を求めることになる。よって、本実施形態の画像処理装置11によれば、図2Bに示すように、黒文字、赤文字、青文字の間で生じるグレー階調値の差分の平均が136であり、差分の最小が102となる。
On the other hand, in the
すなわち、本実施形態の画像処理装置11の色差強調モードによれば、黒文字、赤文字、青文字を含むカラー画像から変換されたモノクロ画像において、前記黒文字に対応する画素のグレー階調値と前記赤文字に対応する画素のグレー階調値と前記青文字に対応する画素のグレー階調値との差を従来技術の画像処理装置よりも大きくできる。それゆえ、本実施形態によれば、従来技術の画像処理装置よりも、カラーの文字画像をモノクロ画像に変換した場合、モノクロ画像においてカラーであった時の色の差異が不明確になることを抑制できる。
That is, according to the color difference enhancement mode of the
なお、以上の実施形態では、印刷写真画像または印画紙写真に属する画素については明暗強調モードが選択されることになるが、明暗強調モードでは、モノクロ画像出力部24は、C値、H値を用いずにL値のみからK値を出力するようになっている。そこで、図1に示すように領域分離信号を色変換処理部23にも入力し、印刷写真または印画紙写真に属する画素の場合にはC変換部23bおよびH変換部23cの処理を中止してL変換部23aのみに処理を行わせ、文字画像に属する画素の場合には、L変換部23a、C変換部23b、H変換部23cの全てに処理を行わせるようになっていてもよい。これにより、無駄な処理を省略できる。
In the above embodiment, the contrast enhancement mode is selected for the pixels belonging to the printed photograph image or the photographic paper photograph. In the contrast enhancement mode, the monochrome
(変形例)
以上の色差強調モードでは、H値に与える重みを最も重くした上で式2によってK値を出力する構成であるが、当該構成に限定されるものではない。要は、明度に相関する座標値(明暗値)と、前記明暗値よりも明度との相関が弱く且つ色相角度および/または彩度に対する相関が強い座標値(色彩値)とを少なくとも含む色空間の画像データをモノクロ画像データに変換する場合において、明暗強調モードよりも、前記色彩値との相関が強いグレー階調のモノクロ画像データが出力されるようになっていればよい。
(Modification)
In the above color difference emphasis mode, the weight given to the H value is set to be the heaviest and the K value is output according to Equation 2. However, the present invention is not limited to this configuration. In short, a color space including at least a coordinate value (brightness value) correlated with lightness and a coordinate value (color value) having a weaker correlation with lightness than the lightness value and a strong correlation with hue angle and / or saturation. In the case of converting the image data into monochrome image data, it is only necessary to output gray-scale monochrome image data having a stronger correlation with the color value than in the contrast enhancement mode.
例えば、明暗強調モードでは式1によってK値を出力するようになっている場合、色差強調モードでは、前記色彩値(C値またはH値)に与える重みを最も重くした上で前記色空間の各座標値の加重平均を求め、この加重平均をK値として出力するようにさえなっていればよい(つまり、式2においてbまたはcを最も大きくする)。また、色差強調モードでは、いずれか1種の色彩値(C値またはH値)に与える重みを1として、他の座標値に与える重みをゼロとして加重平均を求め、この加重平均をK値として出力するようになっていてもよい。つまり、この場合、色差強調モードでは、C値をそのままK値として出力するか、H値をそのままK値として出力することになる。 For example, in the light / dark emphasis mode, when the K value is output by Equation 1, in the color difference emphasis mode, the weight given to the color value (C value or H value) is made the heaviest and each color space is It is only necessary to obtain a weighted average of coordinate values and output the weighted average as a K value (that is, b or c is maximized in Equation 2). In the color difference enhancement mode, the weight given to any one of the color values (C value or H value) is set to 1, the weight given to the other coordinate values is set to zero, the weighted average is obtained, and this weighted average is set as the K value. It may be designed to output. That is, in this case, in the color difference enhancement mode, the C value is output as it is as the K value, or the H value is output as it is as the K value.
また、以上の明暗強調モードでは、式1に示すようにL値をそのままK値として出力する構成になっているが、当該構成に限定されるものではない。要は、出力されるグレー階調値が、C値(色彩値)、H値(色彩値)の夫々よりもL値(明暗値)に対する相関が強くなっていればよい。例えば、L値(明暗値)の重みを最も重くした上で、L値とC値(色彩値)とH値(色彩値)との加重平均を求め、この加重平均をK値として出力するようになっていてもよい。 Further, in the above-described contrast enhancement mode, the L value is output as it is as the K value as shown in Equation 1, but the present invention is not limited to this configuration. In short, it is only necessary that the output gray gradation value has a stronger correlation with the L value (brightness value) than the C value (color value) and the H value (color value). For example, the weight of the L value (brightness / darkness value) is set to the highest weight, the weighted average of the L value, the C value (color value), and the H value (color value) is obtained, and this weighted average is output as the K value. It may be.
また、モノクロ画像出力部24から出力されるモノクロ画像データは、印刷処理に用いられる画像データに限定されるものではなく、PDFファイルやTIFFファイルを生成するファイリング処理や、インターネットファックスによる送信処理に用いられてもよい。
The monochrome image data output from the monochrome
〔実施形態2〕
実施形態1においては、モノクロ画像出力部24は、領域分離処理の結果に応じて明暗強調モードと色差強調モードとを切り替えるようになっているが、領域分離処理の結果をモード切り替えのトリガーとする形態に限られるものではなく、ユーザの指示をモード切り替えのトリガーとしてもよい。
[Embodiment 2]
In the first embodiment, the monochrome
例えば、モノクロ画像印刷装置1の操作パネルにおいて、通常原稿処理モードを示すボタンと色差強調モードを示すボタンとを表示し、ユーザが通常モードを選択した場合にはモノクロ画像出力部24が明暗強調モードで処理を行い、ユーザが色差強調モードを選択した場合にはモノクロ画像出力部24が色差強調モードで処理を行うようになっていてもよい。
For example, on the operation panel of the monochrome image printing apparatus 1, a button indicating the normal document processing mode and a button indicating the color difference enhancement mode are displayed, and when the user selects the normal mode, the monochrome
〔実施形態3〕
また、実施形態1では画像入力装置10において原稿から読み取られたカラー画像データをモノクロ画像データに変換して印刷する例を説明したが、勿論、モノクロ画像印刷装置1はネットワーク等を介して接続されている端末装置から送信されてくるカラー画像データをモノクロ画像データに変換して印刷するようになっていてもよい。この場合、画像処理装置11は、端末装置から送信されてくるカラー画像データに付加されているタグ情報を参照して各画素の属する画像領域を判定する領域判定部を備えている。ここで判定される画像領域とは、文字画像、グラフ、写真画像等である。そして、色変換処理部23が、前記のカラー画像データからLCH値を出力するようになっており、モノクロ画像出力部24が、写真については明暗強調モードで処理を行い、文字画像またはグラフについては色差強調モードで処理を行うようになっている。
[Embodiment 3]
In the first embodiment, an example in which color image data read from an original document is converted into monochrome image data and printed by the
〔実施形態4〕
実施形態1では、RGB色空間の画像データをLCH色空間の画像データに変換し、LCH色空間の画像データをモノクロ画像データに変換するようになっているが、LCH色空間以外の色空間のカラー画像データをモノクロ画像データに変換するようになっていてもよい。具体的には、明度に相関する座標値(明暗値)と、彩度または色相角度の少なくともいずれかに相関する座標値(色彩値)とを少なくとも含む色空間であれば、LCH色空間に限定されるものではない。
[Embodiment 4]
In the first embodiment, image data in the RGB color space is converted into image data in the LCH color space, and image data in the LCH color space is converted into monochrome image data. Color image data may be converted into monochrome image data. Specifically, the color space is limited to the LCH color space as long as the color space includes at least a coordinate value (brightness value) correlated with lightness and a coordinate value (color value) correlated with at least one of saturation and hue angle. Is not to be done.
例えば、LCH色空間の代わりにL*a*b*色空間を用いてもよい(L*が前記明暗値に相当し、a*値、b*値が前記色彩値に相当する)。この場合の実施形態の一例として以下の構成が挙げられる。例えば、色変換処理部23が、RGBの画像データをL*a*b*の画像データに変換する。そして、モノクロ画像出力部24が、明暗強調モードにおいて、L*値をそのままK値としてとして出力し、色差強調モードにおいて、a*値およびb*値のうちの一方の重みを最も重くしてL*値とa*値とb*値との加重平均を求め、この加重平均をK値として出力する。
For example, an L * a * b * color space may be used instead of the LCH color space (L * corresponds to the brightness value, and the a * value and b * value correspond to the color value). The following structure is mentioned as an example of embodiment in this case. For example, the color
また、LCH色空間の代わりにL*u*v*色空間を用いてもよい(L*が前記明暗値に相当し、u*値、v*値が前記色彩値に相当する)。この場合の実施形態の一例として以下の構成が挙げられる。色変換処理部23が、RGBの画像データをL*u*v*の画像データに変換する。そして、モノクロ画像出力部24が、明暗強調モードにおいて、L*値をそのままK値としてとして出力し、色差強調モードにおいて、u*値およびv*値のうちの一方の重みを最も重くしてL*値とu*値とv*値との加重平均を求め、この加重平均をK値として出力する。
Further, an L * u * v * color space may be used instead of the LCH color space (L * corresponds to the brightness value, and the u * value and v * value correspond to the color value). The following structure is mentioned as an example of embodiment in this case. The color
或いは、LCH色空間の代わりにXYZ色空間を用いてもよい(Y値が前記明暗値に相当し、X値、Z値が前記色彩値に相当する)。この場合の実施形態の一例として以下の構成が挙げられる。色変換処理部23が、RGBの画像データをXYZの画像データに変換する。そして、モノクロ画像出力部24が、明暗強調モードにおいて、Y値をそのままK値としてとして出力し、色差強調モードにおいて、X値およびZ値のうちの一方の重みを最も重くしてX値とY値とZ値との加重平均を求め、この加重平均をK値として出力する。
Alternatively, an XYZ color space may be used instead of the LCH color space (Y value corresponds to the brightness value, and X value and Z value correspond to the color value). The following structure is mentioned as an example of embodiment in this case. The color
〔ソフトウェアによる実現例〕
本実施形態の画像処理装置11の制御ブロック(領域分離処理部22、色変換処理部23、モノクロ画像出力部24)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェアによって実現してもよい。
[Example of software implementation]
The control blocks (the area
後者の場合、画像処理装置11は、各機能を実現するソフトウェアであるプログラムの命令を実行するCPU、上記プログラムおよび各種データがコンピュータ(またはCPU)で読み取り可能に記録されたROM(Read Only Memory)または記憶装置(これらを「記録媒体」と称する)、上記プログラムを展開するRAM(Random Access Memory)などを備えている。そして、コンピュータ(またはCPU)が上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記記録媒体としては、「一時的でない有形の媒体」、例えば、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。
In the latter case, the
〔まとめ〕
本発明の態様1に係る画像処理装置は、明度に相関する明暗値と、色相角度および/または彩度に相関する色彩値とを少なくとも座標値として含む色空間のカラー画像データを、グレー階調値によって示されるモノクロ画像データに変換する変換処理を行う画像変換部を有し、前記画像変換部は、前記変換処理において、少なくとも前記明暗値に相関する前記グレー階調値を出力する第1モードと、前記第1モードよりも前記色彩値に対する相関が強い前記グレー階調値を出力する第2モードとを切り替えることを特徴とする。
[Summary]
An image processing apparatus according to aspect 1 of the present invention provides color image data in a color space that includes, as coordinate values, a light / dark value correlated with lightness and a color value correlated with hue angle and / or saturation. A first mode for outputting the gray gradation value correlated with at least the brightness value in the conversion process, the image converting unit performing a conversion process for converting into monochrome image data indicated by the value; And a second mode that outputs the gray gradation value having a stronger correlation with the color value than the first mode.
前記態様1の構成によれば、カラー画像の状態では目視で認識できる色の差異をモノクロ画像の状態でも目視で認識可能にする必要性が高い画像については、前記の第2モードに切り替えて前記変換処理を行うことにより、前記の色の差異が認識困難になることを抑制できるという効果を奏する。 According to the configuration of the aspect 1, for an image that is highly required to be visually recognizable even in a monochrome image state, the color difference that can be recognized visually in the state of the color image is switched to the second mode. By performing the conversion process, it is possible to suppress the above-described color difference from becoming difficult to recognize.
また、本発明の態様2に係る画像処理装置は、前記態様1の構成に加え、前記画像変換部が、前記第1モードにおいて、前記明暗値を前記グレー階調値として出力し、前記第2モードにおいて、前記色彩値に与える重みを最も重くした上で前記色空間の各座標値の加重平均を求め、この加重平均を前記グレー階調値として出力するようになっていることを特徴とする。 In the image processing device according to aspect 2 of the present invention, in addition to the configuration of aspect 1, the image conversion unit outputs the brightness value as the gray gradation value in the first mode, and the second mode In the mode, a weighted average of each coordinate value in the color space is obtained after the weight given to the color value is made heaviest, and the weighted average is output as the gray gradation value. .
前記態様2の構成によれば、前記第1モードでは、前記明暗値に相関する前記グレー階調値を出力でき、前記第2モードでは、前記第1モードよりも前記色彩値に対する相関が強い前記グレー階調値を出力できる。 According to the configuration of the aspect 2, in the first mode, the gray gradation value correlated with the brightness value can be output, and in the second mode, the correlation with the color value is stronger than in the first mode. Gray tone value can be output.
また、本発明の態様3に係る画像処理装置は、態様1または態様2の構成に加え、前記色空間が、LCH色空間、XYZ色空間、L*a*b*色空間、L*u*v*色空間のうちのいずれかの色空間であり、(a)前記色空間が前記LCH色空間である場合、前記明暗値はL値であり、前記色彩値はC値およびH値のうちのいずれか一方であり、(b)前記色空間が前記XYZ色空間である場合、前記明暗値はY値であり、前記色彩値はX値およびZ値のうちのいずれか一方であり、(c)前記色空間がL*a*b*色空間のデータである場合、前記明暗値はL*値であり、前記色彩値はa*値およびb*値のうちのいずれか一方であり、(d)前記色空間がL*u*v*色空間である場合、前記明暗値はL*値であり、前記色彩値はu*値およびv*値のうちのいずれか一方であることを特徴とする。 In addition to the configuration of aspect 1 or aspect 2, the image processing apparatus according to aspect 3 of the present invention includes an LCH color space, an XYZ color space, an L * a * b * color space, and an L * u *. v * is any one of the color spaces; (a) when the color space is the LCH color space, the brightness value is an L value, and the color value is a C value or an H value. (B) When the color space is the XYZ color space, the brightness value is a Y value, and the color value is one of an X value and a Z value, c) When the color space is data of L * a * b * color space, the brightness value is an L * value, and the color value is one of an a * value and a b * value, (d) if the color space is L * u * v * color space, the brightness values are L * value, before Color value may be equal to either one of the u * values and v * values.
また、本発明の態様4に係る画像処理装置は、態様1〜態様3のいずれかの構成に加え、前記カラー画像データに基づいて領域分離処理を行う領域分離処理部を有し、前記画像変換部は、前記領域分離処理において印刷写真または印画紙写真と判定された画像領域については前記第1モードによって前記変換処理を行い、前記領域分離処理において文字と判定された画像領域については前記第2モードによって前記変換処理を行うことを特徴とする。 An image processing apparatus according to aspect 4 of the present invention includes an area separation processing unit that performs area separation processing based on the color image data, in addition to the configuration of any one of aspects 1 to 3. The image conversion The image processing unit performs the conversion process in the first mode for an image area determined to be a printed photograph or a photographic paper photograph in the area separation process, and the second for an image area determined to be a character in the area separation process. The conversion process is performed according to a mode.
これにより、カラー画像の状態では目視で認識できる色の差異をモノクロ画像の状態でも目視で認識可能にする必要性が高い画像(文字)については第2モードで処理を行い、前記の必要性の低い画像(写真)については第1モードで処理を行うことになるが、第1モードと第2モードとの切り替えを自動で行うことができる。 As a result, for the image (character) that is highly required to be visually recognizable even in the monochrome image state, the color difference that can be visually recognized in the color image state is processed in the second mode. A low image (photo) is processed in the first mode, but switching between the first mode and the second mode can be performed automatically.
また、写真と文字とが混在しているような画像についてカラー画像データをモノクロ画像データに変換する場合、写真領域に属する画素については第1モードで処理を行い、文字領域に属する画素については第2モードで処理を行うといったことが可能になる。 In addition, when color image data is converted into monochrome image data for an image in which a photograph and a character are mixed, the pixel belonging to the photograph area is processed in the first mode, and the pixel belonging to the character area is changed to the first mode. It is possible to perform processing in two modes.
また、本発明の態様5に係る画像形成装置は、前記態様1〜4のいずれかの画像処理装置を備えていることを特徴とする。 An image forming apparatus according to an aspect 5 of the invention includes the image processing apparatus according to any one of the aspects 1 to 4.
また、本発明の態様6に係る画像処理方法は、明度に相関する明暗値と、色相角度および/または彩度に相関する色彩値とを少なくとも座標値として含む色空間のカラー画像データを、グレー階調値によって示されるモノクロ画像データに変換する変換工程を有し、前記変換工程では、少なくとも前記明暗値に相関する前記グレー階調値を出力する第1モードと、前記第1モードよりも前記色彩値に対する相関が強い前記グレー階調値を出力する第2モードとが切り替わるようになっていることを特徴とする。 In addition, the image processing method according to aspect 6 of the present invention provides color image data in a color space that includes at least coordinate values including a light-dark value correlated with lightness and a color value correlated with hue angle and / or saturation. A conversion step of converting into monochrome image data indicated by a gradation value, and in the conversion step, a first mode for outputting the gray gradation value correlated with at least the brightness value, and the first mode more than the first mode. The second mode for outputting the gray gradation value having a strong correlation with the color value is switched.
また、本発明の各態様に係る画像処理装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記画像処理装置が備える各部として動作させることにより上記画像処理装置をコンピュータにて実現させる画像処理プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。 The image processing apparatus according to each aspect of the present invention may be realized by a computer. In this case, the image processing apparatus is realized by a computer by causing the computer to operate as each unit included in the image processing apparatus. An image processing program to be executed and a computer-readable recording medium on which the image processing program is recorded also fall within the scope of the present invention.
本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。さらに、各実施形態にそれぞれ開示された技術的手段を組み合わせることにより、新しい技術的特徴を形成することができる。 The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention. Furthermore, a new technical feature can be formed by combining the technical means disclosed in each embodiment.
本発明は、デジタル画像データを処理する画像処理装置に利用できる。 The present invention can be used in an image processing apparatus that processes digital image data.
1 モノクロ画像印刷装置(印刷装置、画像形成装置)
11 画像処理装置
22 領域分離処理部
24 モノクロ画像出力部(画像変換部)
1 Monochrome image printing device (printing device, image forming device)
11
Claims (7)
前記画像変換部は、前記変換処理において、前記明暗値を前記グレー階調値として出力する第1モードと、前記第1モードよりも前記色彩値に対する相関が強い前記グレー階調値を出力する第2モードとを切り替えるものであり、
前記第2モードにおいて、前記色彩値に与える重みを最も重くした上で前記色空間の各座標値の加重平均を求め、この加重平均を前記グレー階調値として出力するようになっていることを特徴とする画像処理装置。 A conversion process that converts color image data in a color space that includes at least coordinate values of brightness values that correlate with brightness and hue values that represent hue angles and / or saturation , to monochrome image data that is indicated by gray gradation values. Having an image conversion unit to perform,
Wherein the image conversion section, in the conversion process, the outputs a first mode for outputting the brightness value as the gray level value, the gray level value is a strong correlation with respect to the color value than the first mode To switch between two modes ,
In the second mode, a weighted average of each coordinate value in the color space is obtained with the highest weight given to the color value, and the weighted average is output as the gray gradation value. A featured image processing apparatus.
(a)前記色空間が前記LCH色空間である場合、前記明暗値はL値であり、前記色彩値はC値およびH値のうちのいずれか一方であり、
(b)前記色空間が前記XYZ色空間である場合、前記明暗値はY値であり、前記色彩値はX値およびZ値のうちのいずれか一方であり、
(c)前記色空間がL*a*b*色空間のデータである場合、前記明暗値はL*値であり、前記色彩値はa*値およびb*値のうちのいずれか一方であり、
(d)前記色空間がL*u*v*色空間である場合、前記明暗値はL*値であり、前記色彩値はu*値およびv*値のうちのいずれか一方であることを特徴とする請求項1に記載の画像処理装置。 The color space is any one of an LCH color space, an XYZ color space, an L * a * b * color space, and an L * u * v * color space,
(A) When the color space is the LCH color space, the brightness value is an L value, and the color value is one of a C value and an H value,
(B) When the color space is the XYZ color space, the brightness value is a Y value, and the color value is one of an X value and a Z value,
(C) When the color space is data in the L * a * b * color space, the brightness value is an L * value, and the color value is one of an a * value and a b * value. ,
(D) When the color space is an L * u * v * color space, the brightness value is an L * value, and the color value is one of a u * value and a v * value. The image processing apparatus according to claim 1, wherein:
前記画像変換部は、前記領域分離処理において印刷写真または印画紙写真と判定された画像領域については前記第1モードによって前記変換処理を行い、前記領域分離処理において文字と判定された画像領域については前記第2モードによって前記変換処理を行うことを特徴とする請求項1または2に記載の画像処理装置。 A region separation processing unit that performs region separation processing based on the color image data;
The image conversion unit performs the conversion process in the first mode for an image area determined as a printed photograph or a photographic paper photograph in the area separation process, and for an image area determined as a character in the area separation process. the image processing apparatus according to claim 1 or 2, characterized in that said conversion processing by the second mode.
前記変換工程では、前記明暗値を前記グレー階調値として出力する第1モードと、前記第1モードよりも前記色彩値に対する相関が強い前記グレー階調値を出力する第2モードとが切り替わるようになっており、
前記第2モードにおいて、前記色彩値に与える重みを最も重くした上で前記色空間の各座標値の加重平均を求め、この加重平均を前記グレー階調値として出力するようになっていることを特徴とする画像処理方法。 A conversion step of converting color image data in a color space including at least coordinate values including a light-dark value correlated with lightness and a hue value representing hue angle and / or saturation into monochrome image data indicated by a gray gradation value; Have
In the conversion step, a first mode in which the light / dark value is output as the gray gradation value and a second mode in which the gray gradation value having a stronger correlation with the color value than in the first mode is switched are switched. It has become,
In the second mode, a weighted average of each coordinate value in the color space is obtained with the highest weight given to the color value, and the weighted average is output as the gray gradation value. A featured image processing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013249295A JP6293466B2 (en) | 2013-12-02 | 2013-12-02 | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013249295A JP6293466B2 (en) | 2013-12-02 | 2013-12-02 | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2015106881A JP2015106881A (en) | 2015-06-08 |
| JP6293466B2 true JP6293466B2 (en) | 2018-03-14 |
Family
ID=53436758
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013249295A Active JP6293466B2 (en) | 2013-12-02 | 2013-12-02 | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6293466B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114968009B (en) * | 2021-02-24 | 2025-06-06 | 华为技术有限公司 | Display mode switching method, device, electronic device and medium |
| JP2023161937A (en) * | 2022-04-26 | 2023-11-08 | ローランドディー.ジー.株式会社 | Monotonazation printing method of color image |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07226850A (en) * | 1994-02-10 | 1995-08-22 | Fuji Xerox Co Ltd | Color document processor |
| JP2001016459A (en) * | 1999-06-28 | 2001-01-19 | Riso Kagaku Corp | Black and white image printing method and apparatus based on color image information |
| JP4304846B2 (en) * | 2000-08-04 | 2009-07-29 | ノーリツ鋼機株式会社 | Image processing method and recording medium recording image processing program |
| JP4957668B2 (en) * | 2008-07-04 | 2012-06-20 | 村田機械株式会社 | Image processing device |
-
2013
- 2013-12-02 JP JP2013249295A patent/JP6293466B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2015106881A (en) | 2015-06-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5230705B2 (en) | Image processing device | |
| US7903872B2 (en) | Image-processing apparatus and method, computer program, and storage medium | |
| JP4700721B2 (en) | Image processing device | |
| JP6031286B2 (en) | Image processing apparatus and image processing method | |
| US10373030B2 (en) | Image processing apparatus that executes halftone process on target image data including edge pixel | |
| CN108476271A (en) | Image data conversion equipment, image data conversion method, image data conversion program, computer, POS terminal equipment and server | |
| CN102055882B (en) | Image processing apparatus, image forming apparatus and image processing method | |
| JP2010258799A (en) | Image processing apparatus, image forming apparatus including the same, image processing method, control program, and recording medium | |
| JP4957668B2 (en) | Image processing device | |
| US11196874B2 (en) | Image processing device, image forming apparatus, image reading device, control method, and recording medium | |
| JP2007097171A (en) | Image forming apparatus and subtractive color printing method | |
| JP2017130811A (en) | Image processing apparatus, image processing method, image processing program, and recording medium | |
| JP4903851B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
| JP2015015599A (en) | Image processing apparatus, image forming apparatus, image processing method, program, and recording medium thereof | |
| JP6293466B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
| JP2021106056A (en) | Image processing apparatus and image processing method | |
| JP2000032287A (en) | Image processor and image processing method | |
| JP2011059193A (en) | Image processing device, image forming device equipped with the same, image processing method, control program, and recording medium | |
| JP6781398B2 (en) | Image processing equipment and computer programs | |
| JP4990340B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
| JP5122507B2 (en) | Image processing apparatus, image forming apparatus, image processing method, program, and recording medium | |
| JP2011130092A (en) | Image forming apparatus and image forming method | |
| JP2010041349A (en) | Image processor and image forming apparatus provided with same | |
| JP2001320593A (en) | Image processing apparatus, image forming apparatus having the same, and image processing method | |
| JP6834701B2 (en) | Image processing equipment and computer programs |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160923 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170626 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170704 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20171003 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171120 |
|
| A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20171130 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180206 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180214 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6293466 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |