JP2001103328A - Image processing method and image processor - Google Patents

Image processing method and image processor

Info

Publication number
JP2001103328A
JP2001103328A JP27895999A JP27895999A JP2001103328A JP 2001103328 A JP2001103328 A JP 2001103328A JP 27895999 A JP27895999 A JP 27895999A JP 27895999 A JP27895999 A JP 27895999A JP 2001103328 A JP2001103328 A JP 2001103328A
Authority
JP
Japan
Prior art keywords
color
output
selection
pixel
colors
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.)
Granted
Application number
JP27895999A
Other languages
Japanese (ja)
Other versions
JP3817988B2 (en
Inventor
Masahiro Mitsusaki
雅弘 光崎
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP27895999A priority Critical patent/JP3817988B2/en
Priority to US09/645,586 priority patent/US6891641B1/en
Publication of JP2001103328A publication Critical patent/JP2001103328A/en
Application granted granted Critical
Publication of JP3817988B2 publication Critical patent/JP3817988B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enhance the reproducibility of an image by preventing an undesirable color pattern from being produced. SOLUTION: In this image processing method, applies a color error spread processing is applied to input color data of each pixel of an image to select and output a proper output enabled color by each pixel from an output enabled color group. This method selects a specific function among a plurality of functions on the basis of each color element of a received color and the output enabled color group and selects the output enable color by using the selected specific function.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、カラー誤差拡散処
理を適用して画素毎に適切な出力可能色を選択し、色再
現性のよい画像データを出力する画像処理方法および装
置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing method and apparatus for selecting an appropriate output color for each pixel by applying a color error diffusion process and outputting image data with good color reproducibility.

【0002】[0002]

【従来の技術】従来より、中間調のカラー画像を2値プ
リンタに出力する場合、または画像データの保存または
転送を行うためにデータ容量を減少させる場合などに、
誤差拡散法に代表される2値化処理が広く用いられてい
る。
2. Description of the Related Art Conventionally, when a halftone color image is output to a binary printer, or when the data capacity is reduced to store or transfer image data,
A binarization process represented by an error diffusion method is widely used.

【0003】つまり、図5に示すように、従来の誤差拡
散法による画像処理装置80では、周辺誤差付与部81
において、入力画像データDIに対し、それまでの処理
で生じた誤差を分配することによって補正を行う。補正
された画像データに対応して、出力色選択処理部82に
おいて、適切な出力可能色を選択し、これを出力画像デ
ータDOとして出力する。誤差算出・記憶部83におい
て、出力色選択処理部82に入力される画像データと出
力色選択処理部82で選択された出力可能色との誤差を
算出し、記憶する。出力可能色は中間調データである。
In other words, as shown in FIG. 5, in a conventional image processing apparatus 80 using the error diffusion method, a peripheral error adding section 81
In, the correction is performed by distributing the error generated in the processing up to that time to the input image data DI. In accordance with the corrected image data, the output color selection processing unit 82 selects an appropriate outputable color and outputs it as output image data DO. The error calculation / storage unit 83 calculates and stores an error between the image data input to the output color selection processing unit 82 and the available output color selected by the output color selection processing unit 82. The colors that can be output are halftone data.

【0004】周辺誤差付与部81では、既に処理された
画素において発生した誤差と注目画素の位置を基準とす
る重みマトリクス(拡散マトリクスなどとも呼称され
る)とにより算出される誤差を、入力画像データDIに
付与する。出力色選択処理部82ではしきい値を用いた
2値化処理を行う。
[0004] A peripheral error giving section 81 calculates an error calculated from an error generated in a pixel already processed and a weight matrix (also called a diffusion matrix or the like) based on the position of the pixel of interest as input image data. Assigned to DI. The output color selection processing unit 82 performs a binarization process using a threshold value.

【0005】一般的な誤差拡散法では、入力画像データ
DIは連続階調データ(中間調データ)、出力画像デー
タDOは2値データである。誤差拡散法を適用すること
により、原画像であり入力画像データDIの色および濃
度が保たれ、比較的忠実な画像が再現可能である。ま
た、2値化により画像データが圧縮され、出力画像デー
タDOを記憶するためのメモリ容量が低減される。この
ような画像処理装置は、特開平9−307776号など
として公知である。
In a general error diffusion method, input image data DI is continuous tone data (halftone data), and output image data DO is binary data. By applying the error diffusion method, the color and density of the input image data DI, which is the original image, are maintained, and a relatively faithful image can be reproduced. Further, the image data is compressed by the binarization, and the memory capacity for storing the output image data DO is reduced. Such an image processing apparatus is known as JP-A-9-307776.

【0006】従来の2値化処理において、フルカラー画
像に対しては、通常、プリンタまたはディスプレィなど
のデバイス(出力装置または表示装置)に依存する信
号、例えばCMYKまたはRGBなどで表される各信号
について、独立して2値化処理を行う。そして、出力時
(または表示時)に、それらの信号または出力を合成す
ることによって、擬似的にフルカラー画像を再現する。
In the conventional binarization processing, for a full-color image, a signal depending on a device (output device or display device) such as a printer or a display, for example, each signal represented by CMYK or RGB is usually used. , Independently perform the binarization processing. Then, at the time of output (or at the time of display), these signals or outputs are combined to reproduce a pseudo full-color image.

【0007】しかし、出力される各色の測色値はデバイ
スに依存する。また、同一の出力装置を用いて中間調を
表現する場合に、CMYK各色のドット発生率が同じで
あっても、それぞれの重なりの程度が異なれば、色は異
なって見えてしまう。一般的なカラー誤差拡散処理で
は、デバイスに依存した入力信号を用いており、しか
も、同一画素でのドットの重なりの問題も制御していな
いことから、所望の色再現は得られ難い。
[0007] However, the colorimetric value of each output color depends on the device. Also, when expressing the halftone using the same output device, even if the dot generation rates of the CMYK colors are the same, the colors will look different if the degree of overlap is different. In general color error diffusion processing, an input signal depending on a device is used, and furthermore, the problem of dot overlap in the same pixel is not controlled, so that it is difficult to obtain a desired color reproduction.

【0008】一方、誤差拡散処理による中間調化を色ベ
クトルを用いて行う方法が提案がされている。この手法
では、入力画像データを1次元量として扱う従来の手法
に対し、多次元量として扱うことが特徴である。ベクト
ルとして扱う色信号としては、デバイスに依存した色信
号を用いることも当然可能であるが、デバイスに依存し
ないXYZまたはCIELABなどの色空間で表現した
入力画像と、出力装置において予め分かっている出力可
能色(2値の場合では、シアン、マゼンタ、イエロー、
レッド、グリーン、ブルー、ホワイト、およびブラック
の8色)のXYZ値またはCIELAB値(ホワイトと
しては紙自体の測色値が用いられる場合が多い)を用い
て、次のように中間調処理を行なうことで、理論的には
入出力色を測色的に一致させることが期待できる。 1)出力可能色の決定は、入力色(ベクトル)と出力の
候補色(ベクトル)とを比較し、両者の差(ベクトル)
が最小となる色を選択することにより行う。つまり、色
空間上で入力色と最も近い出力可能色を選択する。 2)色の選択で発生した入力色と出力色との誤差を算出
する。 3)次の未処理画素について、入力色に対し、周辺の既
処理画素において発生した誤差を重み付け加算して入力
色を補正した後、再度、1)の処理を行なう。
On the other hand, there has been proposed a method of performing halftoning by error diffusion processing using color vectors. This method is characterized in that input image data is handled as a multi-dimensional quantity as compared with the conventional technique which handles input image data as a one-dimensional quantity. As a color signal to be handled as a vector, it is naturally possible to use a device-dependent color signal. However, an input image expressed in a device-independent color space such as XYZ or CIELAB and an output device known in advance in an output device are used. Possible colors (Cyan, Magenta, Yellow,
Using the XYZ values of the eight colors of red, green, blue, white, and black or the CIELAB value (colorimetric values of the paper itself are often used as white), halftone processing is performed as follows. Thus, it is theoretically expected that the input and output colors are colorimetrically matched. 1) The colors that can be output are determined by comparing the input color (vector) with the output candidate color (vector) and determining the difference (vector) between the two.
Is selected by selecting a color that minimizes. That is, the output possible color closest to the input color in the color space is selected. 2) Calculate the error between the input color and the output color generated by the color selection. 3) With respect to the next unprocessed pixel, the input color is corrected by weighting and adding the error generated in the peripheral processed pixels to the input color, and the process of 1) is performed again.

【0009】この手法はベクトル誤差拡散とも呼称され
ている。従来のベクトル誤差拡散では、1)の処理にお
いて「色ベクトルの各要素の差分の2乗和を最小にする
色」というのが選択の基準であり、常にこの選択基準を
用いて出力可能色の選択が行われる。
This technique is also called vector error diffusion. In the conventional vector error diffusion, in the processing of 1), “the color that minimizes the sum of squares of the differences between the elements of the color vector” is a selection criterion. A selection is made.

【0010】[0010]

【発明が解決しようとする課題】上に述べたように、従
来においては、差分の2乗和を最小にすることを唯一の
選択基準として出力可能色が選択されるが、この手法を
実際のカラーの2値プリンタで用いた場合に、色領域毎
に色再現が異なり、精度のよい色再現を達成することが
困難である。具体的には、低彩度色または無彩色の彩度
が出力の目標値よりも高くなるなどの問題がある。
As described above, in the prior art, output possible colors are selected based on minimizing the sum of squares of the difference as the only selection criterion. When used in a color binary printer, color reproduction differs for each color region, and it is difficult to achieve accurate color reproduction. Specifically, there is a problem that the saturation of the low-saturation color or the achromatic color becomes higher than the target value of the output.

【0011】また、上に述べた従来の手法では、各画素
の色の決定に当たって、色のみを考慮するので、色再現
の良否に係わらず、視覚上粒状感を増大させるようなド
ットを発生させる場合があった。
In the above-described conventional method, only the color is considered when determining the color of each pixel. Therefore, regardless of the quality of the color reproduction, dots that increase the visual granularity are generated. There was a case.

【0012】つまり、従来のベクトル誤差拡散法では、
単順に色誤差が最小になるような出力可能色を選択する
ので、目標色と出力可能色の位置関係によっては、低周
波の好ましくない色パターンを生じて視覚上粒状感を悪
化させる。
That is, in the conventional vector error diffusion method,
Since the output possible colors that minimize the color error are selected in the simple order, depending on the positional relationship between the target color and the output possible colors, an undesired low-frequency color pattern is generated, and the granularity is visually deteriorated.

【0013】また、出力可能色の種類が多い場合には、
その中から目的の出力可能色を選択するのに時間を要す
るため、選択処理を簡便に実行させる必要があった。本
発明は、上述の問題に鑑みてなされたもので、好ましく
ない色パターンが生じるのを防ぎ、画像の再現性の向上
を図ることを目的とする。
If there are many types of colors that can be output,
Since it takes time to select a target outputable color from among them, the selection process has to be executed easily. The present invention has been made in view of the above-described problem, and has as its object to prevent the generation of an undesired color pattern and improve the reproducibility of an image.

【0014】[0014]

【課題を解決するための手段】請求項1の発明に係る方
法は、画像の各画素の入力色データに対してカラー誤差
拡散処理を適用し、出力可能色群の中から画素毎に適切
な出力可能色を選択して出力する画像処理方法であっ
て、前記入力色および前記出力可能色群の各色要素に基
づく複数の関数値の中から特定の関数値を選択し、選択
された特定の関数値を用いて前記出力可能色を選択す
る。
According to a first aspect of the present invention, a color error diffusion process is applied to input color data of each pixel of an image, and an appropriate color for each pixel is selected from a group of outputable colors. An image processing method for selecting and outputting an outputable color, wherein a specific function value is selected from a plurality of function values based on each color element of the input color and the outputable color group, and the selected specific value is selected. The output possible colors are selected using the function values.

【0015】請求項2の発明に係る装置は、画像の画素
毎に出力可能色群の中から適切な出力可能色を選択する
出力色選択処理部と、前記出力色選択部での選択により
生じる誤差を当該画素の周辺の画素に拡散させる誤差拡
散処理部とを有し、各画素の入力色データに対しカラー
誤差拡散処理を適用して適切な出力可能色を選択して出
力する画像処理装置であって、前記出力色選択処理部
は、前記入力色および前記出力可能色群の各色要素に基
づく複数の関数値の中から特定の関数値を選択し、選択
された特定の関数値を用いて前記出力可能色を選択す
る。
According to a second aspect of the present invention, there is provided an output color selection processing unit for selecting an appropriate outputable color from a group of outputable colors for each pixel of an image, and the output color selection unit generates the output color selection processing unit. An image processing apparatus that has an error diffusion processing unit that diffuses an error to pixels around the pixel, and that applies color error diffusion processing to input color data of each pixel to select and output an appropriate outputable color Wherein the output color selection processing unit selects a specific function value from a plurality of function values based on each color element of the input color and the outputable color group, and uses the selected specific function value. Select the possible output colors.

【0016】請求項3の発明に係る装置は、前記出力色
選択処理部は、前記出力可能色群の中の特定の出力可能
色を選択禁止色とし、残りの出力可能色を候補色とし
て、当該候補色の中から前記出力可能色を選択する。
According to a third aspect of the present invention, the output color selection processing section sets a specific output available color in the output available color group as a selection prohibition color, and sets the remaining output available colors as candidate colors. The output possible colors are selected from the candidate colors.

【0017】請求項4の発明に係る装置は、前記入力色
に対応する出力可能色群のデータを記憶したルックアッ
プテーブルを有し、前記出力色選択処理部は前記ルック
アップテーブルを用いて前記出力可能色を選択する。
An apparatus according to a fourth aspect of the present invention has a look-up table storing data of an outputable color group corresponding to the input color, and the output color selection processing section uses the look-up table to perform the processing. Select a color that can be output.

【0018】[0018]

【発明の実施の形態】図1は本発明に係る画像処理装置
1の構成の例を示すブロック図である。図1において、
画像処理装置1は、周辺誤差付与部11、出力色選択処
理部12、誤差算出・記憶部13、属性判定部14、お
よび選択条件決定部15などからなる。周辺誤差付与部
11および誤差算出・記録部13は、図5において説明
した機能と同様の機能を有する。つまり、これらは本発
明における誤差拡散処理部に相当する。誤差拡散処理部
による誤差拡散処理それ自体は、従来と同様であり、上
に述べた特開平9−307776号を参照することがで
きる。
FIG. 1 is a block diagram showing an example of the configuration of an image processing apparatus 1 according to the present invention. In FIG.
The image processing apparatus 1 includes a peripheral error providing unit 11, an output color selection processing unit 12, an error calculation / storage unit 13, an attribute determination unit 14, a selection condition determination unit 15, and the like. The peripheral error giving section 11 and the error calculating / recording section 13 have the same functions as the functions described in FIG. That is, these correspond to the error diffusion processing unit in the present invention. The error diffusion processing itself by the error diffusion processing unit is the same as the conventional one, and the above-mentioned Japanese Patent Application Laid-Open No. 9-307776 can be referred to.

【0019】出力色選択処理部12は、選択条件決定部
15から出力される選択条件に基づいて、出力可能色を
選択する。すなわち、出力色選択処理部12では、周辺
誤差付与部11によって補正された画像データと、選択
条件決定部15から出力された出力可能色とを比較し、
選択条件決定部15から出力される選択基準に基づいて
出力可能色を選択する。
The output color selection processing section 12 selects an outputtable color based on the selection condition output from the selection condition determination section 15. That is, the output color selection processing unit 12 compares the image data corrected by the peripheral error providing unit 11 with the output available color output from the selection condition determination unit 15,
The available colors are selected based on the selection criteria output from the selection condition determination unit 15.

【0020】選択条件決定部15では、次のような選択
基準を提供する。 入力色および出力可能色群の各色要素に基づく複数
の関数値の中から特定の関数値を選択し、選択された特
定の関数値を用いて出力可能色を選択する。つまり、各
要素の差分の2乗和を最小にする従来の関数値とは異な
る関数値によって出力可能色を選択する。 出力可能色群の中の特定の出力可能色を選択禁止色
とし、残りの出力可能色を候補色として、候補色の中か
ら出力可能色を選択する。
The selection condition determining section 15 provides the following selection criteria. A specific function value is selected from a plurality of function values based on each color element of the input color and outputable color group, and an outputable color is selected using the selected specific function value. In other words, an output-capable color is selected based on a function value different from the conventional function value that minimizes the sum of squares of the difference between the elements. A specific output available color in the output available color group is set as a selection prohibition color, and the remaining output available colors are set as candidate colors, and an output available color is selected from the candidate colors.

【0021】属性判定部14では、目標色である入力画
像データDIから、色相、明度、彩度の3つの属性を取
得し、これによって入力画像データDIの属性を判定す
る。なお、入力画像データDIに代えて、周辺誤差付与
部11から出力される補正後の画像データから属性を取
得してもよい。
The attribute determining unit 14 acquires three attributes of hue, lightness, and saturation from the input image data DI as the target color, and determines the attribute of the input image data DI based on the three attributes. Note that, instead of the input image data DI, the attribute may be acquired from the corrected image data output from the peripheral error applying unit 11.

【0022】選択条件決定部15では、属性判定部14
で判定された属性にしたがって、複数の選択基準関数
(関数値)の中から特定の選択基準関数(関数値)を決
定する。また、選択条件決定部15では、予め特定の出
力可能色が選択されることを禁止し、候補色のセットを
設定しておく。
In the selection condition determining unit 15, the attribute determining unit 14
A specific selection criterion function (function value) is determined from a plurality of selection criterion functions (function values) in accordance with the attribute determined in (1). The selection condition determination unit 15 prohibits the selection of a specific outputable color in advance, and sets a set of candidate colors.

【0023】なお、候補色および選択基準が変わること
によって、選択される出力可能色は異なることとなる
が、注目画素における誤差は上に述べたように算出さ
れ、誤差拡散処理の効果によって、ある領域内において
条件を満たすことが可能である。
It should be noted that the possible output colors to be selected are different due to the change of the candidate colors and the selection criterion. However, the error in the target pixel is calculated as described above, and is determined by the effect of the error diffusion processing. It is possible to satisfy the condition within the area.

【0024】図2は選択条件SJの例を示す図、図3は
選択基準となる関数式の例を示す図である。図2におい
ては、選択条件SJとして、条件1〜nおよびその他の
条件が設定されている。各条件1〜nでは、出力可能色
群またはそれから抽出された候補色のセットとして、セ
ット1〜nが設定されている。そして、各セット1〜n
に対する選択基準として、関数式F1〜Fnがそれぞれ
最小となることが設定されている。
FIG. 2 is a diagram showing an example of the selection condition SJ, and FIG. 3 is a diagram showing an example of a function expression serving as a selection criterion. In FIG. 2, conditions 1 to n and other conditions are set as the selection condition SJ. In each of the conditions 1 to n, a set 1 to n is set as an outputable color group or a set of candidate colors extracted therefrom. And each set 1 to n
It is set that the function formulas F1 to Fn are minimized as selection criteria for.

【0025】また、その他の条件では、候補色セットと
して、上に述べた2値の場合の8色の出力可能色が設定
され、選択基準として、各要素の差分の2乗和を最小に
する従来の基準が標準として設定されている。選択条件
決定部15は、これらの選択条件SJの中から1つの条
件を選択する。
Under other conditions, the above-described eight output possible colors in the case of binary are set as the candidate color set, and the sum of squares of the differences between the elements is minimized as a selection criterion. Conventional standards are set as standards. The selection condition determination unit 15 selects one condition from these selection conditions SJ.

【0026】なお、この図の例では、候補色セットおよ
び選択基準の両方を各条件毎に個別に設定しているが、
いずれか一方のみを変更する構成としてもよい。出力色
選択処理部12は、目標色と、決定された候補色セット
の各色(候補色1〜m)とに対して、選択された特定の
関数式Fiから求められる値(DATA1〜DATAm)を比較
する。
In this example, both the candidate color set and the selection criterion are individually set for each condition.
A configuration in which only one of them is changed may be adopted. The output color selection processing unit 12 assigns values (DATA1 to DATAm) obtained from the selected specific function formula Fi to the target color and each of the determined candidate color sets (candidate colors 1 to m). Compare.

【0027】つまり、DATA1〜DATAmは、次のように示
される。 Fn(目標色、候補色1)=DATA1 Fn(目標色、候補色2)=DATA2 ・・・ Fn(目標色、候補色m)=DATAm この関数値DATA1〜DATAmの中で最小となる候補色、つ
まりDATAk=Minとなる候補色kを、出力可能色とし
て選択する。
That is, DATA1 to DATAm are represented as follows. Fn (Target color, Candidate color 1) = DATA1 Fn (Target color, Candidate color 2) = DATA2... Fn (Target color, Candidate color m) = DATAm Candidate color which is the smallest of these function values DATA1 to DATAm That is, a candidate color k for which DATAk = Min is selected as an outputable color.

【0028】図3(a)の関数式は、XYZの各要素の
差分に対して、それぞれ、α、β、γの重み付けを行っ
たものの総和として示される。図3(b)の関数式は、
XYZの各要素の差分の変化率を1から差し引いた値に
対して、それぞれ、α、β、γの重み付けを行ったもの
の総和として示される。
The function formula of FIG. 3A is shown as a sum of weights of α, β, and γ for the differences between the XYZ elements. The function expression of FIG.
The values obtained by subtracting the rate of change of the difference between the XYZ elements from 1 are weighted with α, β, and γ, respectively, and are shown as the sum total.

【0029】図3(c)の関数式は、XYZ−L*a*
b*変換を行った後、|ΔL|(明度差)、|△C|
(彩度差)、|△H|(色相差)に対して、それぞれ、
α、β、γの重み付けを行ったものの総和として示され
る。
The function equation of FIG. 3C is expressed as XYZ-L * a *
After b * conversion, | ΔL | (brightness difference), | △ C |
(Saturation difference) and | △ H | (hue difference)
It is shown as the sum of the weighted values of α, β, and γ.

【0030】一般に、色差を算出するための均等色空間
として広く用いられているCIE1976L*a*bま
たはL*u*vは、色差が視覚上の差に対応するように
設計されているものであるが、実際は色によっては同じ
色差でも感じ方が異なることがよく知られている。
Generally, CIE1976L * a * b or L * u * v, which is widely used as a uniform color space for calculating color differences, is designed so that the color differences correspond to visual differences. However, it is well known that, in fact, different colors have different feelings even with the same color difference.

【0031】例えば、彩度が高い色よりも、グレーのよ
うな彩度が低い色においては色差に敏感なことがある。
また、同じ色に対して、同じ色差を持つ色であっても、
そのずれる方向によっては許容レベルも異なる。さらに
は、色順応、観察条件など複雑な要因も介在する。ま
た、関数式の設定によっては、選択処理における計算負
荷をより軽減することが可能である。こうした種々の要
因を考慮した上で、出力可能色または候補色を設計する
ために、上に述べた本実施形態の方法は効果的である。
For example, a color having a low saturation such as gray may be more sensitive to a color difference than a color having a high saturation.
Also, even if the colors have the same color difference for the same color,
The permissible level differs depending on the direction of the deviation. Furthermore, complicated factors such as chromatic adaptation and observation conditions are also involved. Further, depending on the setting of the function formula, it is possible to further reduce the calculation load in the selection processing. In consideration of these various factors, the above-described method of the present embodiment is effective for designing an outputtable color or a candidate color.

【0032】また、候補色セットを制限することは、以
下に述べる場合において有効である。具体的には、ブル
ー近辺の色相で、明度および彩度がともに高い色と判定
された色に関して、プリンタの出力するブルーの色再現
範囲が特に狭い場合に、ブルーを候補色から除外し、シ
アン、マゼンタ、およびホワイトを候補色とする。これ
によって、併置混色的なドット発生になり易く、比較的
高彩度の再現が可能になる。
Restricting the candidate color set is effective in the following cases. Specifically, for a color determined to be both high in lightness and high saturation in a hue near blue, if the color reproduction range of blue output by the printer is particularly narrow, blue is excluded from candidate colors and cyan is excluded. , Magenta, and white as candidate colors. This makes it easy to generate dots of juxtaposed color mixture, and enables reproduction of relatively high saturation.

【0033】また、測色的な色再現性がある程度満足さ
れる場合でも、知覚される粒状性が好ましくないパター
ンを生じる場合がある。例えば肌色を再現する際に、ブ
ラックやブルーなどのドットが点在すると主観画質は悪
化する。上述のような粒状を悪化させるような色の発生
を制限することも可能である。
Further, even when the colorimetric color reproducibility is satisfied to some extent, a pattern in which the perceived granularity is not preferable may occur. For example, when reproducing skin color, if dots such as black and blue are scattered, the subjective image quality deteriorates. It is also possible to limit the occurrence of a color that deteriorates the graininess as described above.

【0034】次に、他の実施形態について説明する。図
4は本発明に係る他の実施形態の画像処理装置1Bの構
成の例を示すブロック図である。
Next, another embodiment will be described. FIG. 4 is a block diagram illustrating an example of a configuration of an image processing apparatus 1B according to another embodiment of the present invention.

【0035】図4に示す画像処理装置1Bでは、図1で
説明した画像処理装置1の出力色選択処理部12に代え
てLUT処理部12Bが、選択条件決定部15に代えて
LUT選択決定部15Bが、それぞれ設けられている。
これによって、出力可能色の選択がより一層迅速且つ簡
単に行える。
In the image processing apparatus 1B shown in FIG. 4, an LUT processing section 12B replaces the output color selection processing section 12 of the image processing apparatus 1 described in FIG. 15B are provided respectively.
This makes it possible to more quickly and easily select the colors that can be output.

【0036】すなわち、LUT選択決定部15Bには、
入力色に対応する出力可能色のデータを記憶したルック
アップテーブル(LUT)が、各選択条件毎に設けられ
ている。LUT選択決定部15Bにおいて、属性判定部
14で判定された属性にしたがって、それら複数のルッ
クアップテーブルの中から特定のルックアップテーブル
を決定する。また、LUT選択決定部15Bは、LUT
処理部12Bに対して、出力色選択処理部12と同様な
選択基準を提供する。
That is, the LUT selection determining unit 15B includes:
A look-up table (LUT) storing data of outputtable colors corresponding to input colors is provided for each selection condition. The LUT selection determination unit 15B determines a specific lookup table from the plurality of lookup tables according to the attribute determined by the attribute determination unit 14. In addition, the LUT selection determining unit 15B
A selection criterion similar to that of the output color selection processing unit 12 is provided to the processing unit 12B.

【0037】LUT処理部12Bは、選択されたルック
アップテーブルを用い、LUT選択決定部15Bから提
供された選択基準により、補正された画像データ(入力
色)から直接に出力可能色を決定して出力する。
The LUT processing unit 12B determines a color that can be output directly from the corrected image data (input color) based on the selection criterion provided by the LUT selection determination unit 15B using the selected lookup table. Output.

【0038】上の実施形態によると、選択基準を1つに
固定することなく、ベクトル各要素から演算できる複数
の関数値を準備し、選択の幅を持たせている。また、準
備されている全ての出力可能色の中から、選択禁止色を
除外した残りの出力可能色を候補色とし、候補色の中か
ら出力可能色を選択するようにしている。
According to the above embodiment, a plurality of function values that can be calculated from each element of the vector are prepared without fixing the selection criterion to one, and a range of selection is provided. Further, among all the prepared output possible colors, the remaining output possible colors excluding the selection prohibition colors are set as candidate colors, and the output possible colors are selected from the candidate colors.

【0039】したがって、従来のように一律の選択基準
による処理によって画質に不具合が生じるような場合で
あっても、本実施形態によれば必要な色の発生頻度を増
加させたり、不要な色の発生頻度を制限し、色やドット
発生のパターンを制御することが可能となる。これによ
って、画像の種類または用途に応じて画像の特性を制御
し、好ましくない色パターンが生じるのを防ぎ、画像の
再現性を向上させることができる。
Therefore, according to the present embodiment, the frequency of occurrence of necessary colors can be increased or unnecessary colors can be reduced even if the image quality is deteriorated by processing based on uniform selection criteria as in the prior art. It is possible to control the frequency of occurrence and control the pattern of color and dot generation. This makes it possible to control the characteristics of the image according to the type or use of the image, prevent an undesirable color pattern from occurring, and improve the reproducibility of the image.

【0040】さらに、選択される出力可能色をルックア
ップテーブル化し、選択されたルックアップテーブルを
参照して所望の選択基準により出力色を取得することに
より、処理が迅速に且つ簡便に行われる。
Further, by processing the selected outputtable colors into a look-up table and referring to the selected look-up table to obtain the output colors according to a desired selection criterion, the processing can be performed quickly and easily.

【0041】上に述べた実施形態では、入力色に対応し
た出力可能色群を選択することについて述べたが、入力
される画像データから空間フィルタ処理などを利用して
得られるエッジ部/非エッジ部の判別情報などを属性と
して用い、その結果に基づいて選択基準を切り替える構
成とすることも可能である。
In the above-described embodiment, the selection of the output possible color group corresponding to the input color has been described. However, the edge / non-edge obtained from the input image data by using the spatial filter processing or the like is described. It is also possible to adopt a configuration in which the discrimination information of a copy is used as an attribute and the selection criterion is switched based on the result.

【0042】また、上の実施形態では、1つの画素を単
位として出力可能色の選択または属性の判定を行ってい
るが、m×n画素(m、nは正の整数)からなるブロッ
クを単位として、つまり1ブロックを1画素と見做して
出力可能色の選択または属性の判定を行ってもよい。ま
た、属性の判定は、2値的に行なってもよく、また、選
択基準を示すパラメータに例えば明度の関数で表される
ようなものを設定し、連続的に設定することも可能であ
る。
In the above embodiment, the selection of the outputtable color or the determination of the attribute is performed with one pixel as a unit. However, a block composed of m × n pixels (m and n are positive integers) is set as a unit. In other words, one block may be regarded as one pixel to select an outputtable color or determine an attribute. The determination of the attribute may be performed in a binary manner, or a parameter indicating a selection criterion, for example, a parameter represented by a function of lightness may be set and continuously set.

【0043】さらには、入力画像データDIの中に、写
真領域、グラフィック領域、または文字領域などを表す
信号を予め含めておき、それらの信号を誤差拡散処理を
行う際に順次参照する構成としてもよい。また、上の述
べた種々の方法または構成を適宜組み合わせてもよい。
Further, a signal representing a photographic area, a graphic area, a character area, or the like is included in the input image data DI in advance, and these signals are sequentially referred to when performing the error diffusion processing. Good. Further, the various methods or configurations described above may be appropriately combined.

【0044】上に述べた実施形態において、画像処理装
置1,1Bの各部または全体の構成、回路、処理内容、
処理タイミングなどは、本発明の趣旨に沿って適宜変更
することができる。
In the above-described embodiment, the configuration, circuit, processing contents,
The processing timing and the like can be appropriately changed in accordance with the gist of the present invention.

【0045】[0045]

【発明の効果】本発明によると、好ましくない色パター
ンが生じるのを防ぎ、画像の再現性の向上を図ることが
できる。
According to the present invention, an undesirable color pattern can be prevented from occurring, and the reproducibility of an image can be improved.

【0046】請求項4の発明によると、処理が一層迅速
に且つ簡単に行われる。
According to the fourth aspect of the present invention, the processing is performed more quickly and easily.

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

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

【図2】選択条件の例を示す図である。FIG. 2 is a diagram illustrating an example of a selection condition.

【図3】選択基準となる関数式の例を示す図である。FIG. 3 is a diagram illustrating an example of a function expression serving as a selection criterion.

【図4】本発明に係る他の実施形態の画像処理装置の構
成の例を示すブロック図である。
FIG. 4 is a block diagram illustrating an example of a configuration of an image processing apparatus according to another embodiment of the present invention.

【図5】従来の誤差拡散法による画像処理装置を示す図
である。
FIG. 5 is a diagram illustrating an image processing apparatus using a conventional error diffusion method.

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

1 画像処理装置 11 周辺誤差付与部(誤差拡散処理部) 12 出力色選択処理部 13 誤差算出・記憶部(誤差拡散処理部) 14 属性判定部 15 選択条件決定部 1B 画像処理装置 12B LUT処理部(出力色選択処理部) 15B LUT選択決定部 LUT ルックアップテーブル DESCRIPTION OF SYMBOLS 1 Image processing apparatus 11 Peripheral error provision part (error diffusion processing part) 12 Output color selection processing part 13 Error calculation / storage part (error diffusion processing part) 14 Attribute determination part 15 Selection condition determination part 1B Image processing apparatus 12B LUT processing part (Output color selection processing unit) 15B LUT selection determination unit LUT lookup table

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 BA23 CA01 CA07 CA12 CA16 CB01 CB07 CB12 CB16 CC01 CE13 CE17 CE18 CH11 5C077 LL03 LL19 MP01 MP08 NN11 PP31 PP35 PP36 PP37 PP43 PP47 PP68 PQ08 PQ12 PQ18 PQ20 PQ23 RR08 5C079 HB05 HB06 HB08 HB11 LA31 LB01 LC09 MA04 MA11 NA02 NA03 NA11 NA27  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B057 BA23 CA01 CA07 CA12 CA16 CB01 CB07 CB12 CB16 CC01 CE13 CE17 CE18 CH11 5C077 LL03 LL19 MP01 MP08 NN11 PP31 PP35 PP36 PP37 PP43 PP47 PP68 PQ08 PQ12 PQ18 HQ05H08B08H08B08 HB11 LA31 LB01 LC09 MA04 MA11 NA02 NA03 NA11 NA27

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】画像の各画素の入力色データに対してカラ
ー誤差拡散処理を適用し、出力可能色群の中から画素毎
に適切な出力可能色を選択して出力する画像処理方法で
あって、 前記入力色および前記出力可能色群の各色要素に基づく
複数の関数値の中から特定の関数値を選択し、選択され
た特定の関数値を用いて前記出力可能色を選択する、 ことを特徴とする画像処理方法。
1. An image processing method for applying color error diffusion processing to input color data of each pixel of an image, selecting an appropriate outputable color for each pixel from an outputable color group, and outputting the selected color. Selecting a specific function value from a plurality of function values based on each color element of the input color and the outputable color group, and selecting the outputable color using the selected specific function value. An image processing method characterized by the following.
【請求項2】画像の画素毎に出力可能色群の中から適切
な出力可能色を選択する出力色選択処理部と、前記出力
色選択部での選択により生じる誤差を当該画素の周辺の
画素に拡散させる誤差拡散処理部とを有し、各画素の入
力色データに対しカラー誤差拡散処理を適用して適切な
出力可能色を選択して出力する画像処理装置であって、 前記出力色選択処理部は、前記入力色および前記出力可
能色群の各色要素に基づく複数の関数値の中から特定の
関数値を選択し、選択された特定の関数値を用いて前記
出力可能色を選択する、ことを特徴とする画像処理装
置。
2. An output color selection processing section for selecting an appropriate output possible color from a group of output possible colors for each pixel of an image, and an error generated by the selection by the output color selection section is set to a pixel around the pixel. An image processing apparatus comprising: an error diffusion processing unit configured to apply a color error diffusion process to input color data of each pixel to select and output an appropriate outputable color. The processing unit selects a specific function value from a plurality of function values based on each color element of the input color and the outputable color group, and selects the outputable color using the selected specific function value. An image processing apparatus characterized in that:
【請求項3】画像の画素毎に出力可能色群の中から適切
な出力可能色を選択する出力色選択処理部と、前記出力
色選択部での選択により生じる誤差を当該画素の周辺の
画素に拡散させる誤差拡散処理部とを有し、各画素の入
力色データに対しカラー誤差拡散処理を適用して適切な
出力可能色を選択して出力する画像処理装置であって、 前記出力色選択処理部は、前記出力可能色群の中の特定
の出力可能色を選択禁止色とし、残りの出力可能色を候
補色として、当該候補色の中から前記出力可能色を選択
する、ことを特徴とする画像処理装置。
3. An output color selection processing section for selecting an appropriate output possible color from a group of output possible colors for each pixel of an image, and an error generated by the selection by the output color selection section is set to a pixel around the pixel. An image processing apparatus comprising: an error diffusion processing unit configured to apply a color error diffusion process to input color data of each pixel to select and output an appropriate outputable color. The processing unit selects a specific output available color in the output available color group as a selection prohibition color, sets the remaining output available colors as candidate colors, and selects the output available color from the candidate colors. Image processing apparatus.
【請求項4】前記入力色に対応する出力可能色群のデー
タを記憶したルックアップテーブルを有し、 前記出力色選択処理部は前記ルックアップテーブルを用
いて前記出力可能色を選択する、 請求項2または請求項3記載の画像処理装置。
4. A look-up table storing data of an output possible color group corresponding to the input color, wherein the output color selection processing unit selects the output possible color using the look-up table. The image processing device according to claim 2 or 3.
JP27895999A 1999-08-27 1999-09-30 Image processing method and apparatus Expired - Fee Related JP3817988B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP27895999A JP3817988B2 (en) 1999-09-30 1999-09-30 Image processing method and apparatus
US09/645,586 US6891641B1 (en) 1999-08-27 2000-08-25 Method and apparatus for converting number of colors and processing image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27895999A JP3817988B2 (en) 1999-09-30 1999-09-30 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JP2001103328A true JP2001103328A (en) 2001-04-13
JP3817988B2 JP3817988B2 (en) 2006-09-06

Family

ID=17604460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27895999A Expired - Fee Related JP3817988B2 (en) 1999-08-27 1999-09-30 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3817988B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7672014B2 (en) 2004-05-11 2010-03-02 Riso Kagaku Corporation Image processing apparatus, image processing method and printer driver
US7983507B2 (en) 2006-06-05 2011-07-19 Konica Minolta Business Technologies, Inc. Image fo ming device and image forming method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7672014B2 (en) 2004-05-11 2010-03-02 Riso Kagaku Corporation Image processing apparatus, image processing method and printer driver
US7983507B2 (en) 2006-06-05 2011-07-19 Konica Minolta Business Technologies, Inc. Image fo ming device and image forming method

Also Published As

Publication number Publication date
JP3817988B2 (en) 2006-09-06

Similar Documents

Publication Publication Date Title
JP3737149B2 (en) Color image generation system and method
US5907415A (en) Image processing apparatus with color gamut dependent on color mode
US5729360A (en) Color image processing method and system
JPH07222019A (en) Printer
US7969628B2 (en) Apparatus and method for segmenting an output device color gamut and mapping an input device color gamut to the segmented output device color gamut
Spaulding et al. UltraColor: A new gamut-mapping strategy
US8773723B2 (en) Generating color separation table for printer having color forming materials with high and low relative densities using a gamut boundary to limit use of dark color material
JP2004188980A (en) Digital image printing in which reduced amount of colorant is used while maintaining sensed color
JP4429439B2 (en) Color conversion method and conversion processor
US7088373B2 (en) Link file generating program product, method and apparatus for generating link file used for color matching system
JPH07152904A (en) Image processor
JP3817988B2 (en) Image processing method and apparatus
US6891641B1 (en) Method and apparatus for converting number of colors and processing image data
US6847732B1 (en) Image error diffusion device with noise superposition
JPH0946529A (en) Image processing unit and method
JP4159912B2 (en) Color conversion method with hue correction using multiple lookup tables and interpolation
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them
JP2000101858A (en) Image forming device
JP3752906B2 (en) Color number conversion method and image processing apparatus
JP2001157066A (en) Method and device for processing color image
JP4101741B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2001257900A (en) Image processing method
JP3363275B2 (en) Color image processing equipment
JP3190527B2 (en) Color image processing equipment
JP2002374425A (en) Image processing method, image processing program, image processor, and image forming device equipped with image processor

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050614

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050704

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060404

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: 20060523

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060605

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090623

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100623

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110623

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120623

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130623

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees